[MPlayer-users] ffmpeg & mplayer problems

Jeremy Hall jhall at UU.NET
Wed Feb 26 09:26:37 CET 2003


Hi,

Did you ever resolve this?

_J

In the new year, Mihai RUSU wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi
> 
> Some time ago (6 months) I tried to stream with ffmpeg to mplayer and WMM
> clients (Windows Media Player). It was working ok for mplayer but not for
> WMM. Now (with ffmpeg 0.4.6 release) its reversed :( . Its working ok for
> WMM but mplayer "hangs"  (from ffserver logs I can see that mplayer
> downloads the movie instead of live showing it).
> 
> ffserver uses a redirection so I cannot wget it and pipe it to mplayer :(
> 
> $ wget http://localhost:8090/test.asf
> --13:31:20--  http://localhost:8090/test.asf
>            => `test.asf'
> Resolving localhost... done.
> Connecting to localhost[127.0.0.1]:8090... connected.
> HTTP request sent, awaiting response... 200 ASF Redirect follows
> Length: unspecified [video/x-ms-asf]
> 
>     [ <=>                                 ] 50            48.83K/s
> 
> 13:31:20 (48.83 KB/s) - `test.asf' saved [50]
> 
> $ cat test.asf
> [Reference]
> Ref1=http://localhost:8090/test.asf
> 
> mplayer seems to know the redirection and tries to follow it but it doesnt
> show live the stream but instead downloads it.
> 
> Here are more info about the sytem:
> - uname -a : FreeBSD 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Jan 14 18:55:22 EET 2003 root at sys:/usr/src/sys/compile/DIZZY  i386
> - ls -l /usr/lib/libc.*
> $ ls -l /usr/lib/libc.*
> 
> -r--r--r--  1 root  wheel  1229334 Jan 19 22:48 /usr/lib/libc.a
> lrwxr-xr-x  1 root  wheel        9 Jan 19 22:48 /usr/lib/libc.so -> libc.so.4
> -r--r--r--  1 root  wheel   587248 Jan 19 22:48 /usr/lib/libc.so.4
> - X -version:
> XFree86 Version 4.2.1 / X Window System
> (protocol Version 11, revision 0, vendor release 6600)
> Release Date: 3 September 2002
>         If the server is older than 6-12 months, or if your card is
>         newer than the above date, look for a newer version before
>         reporting problems.  (See http://www.XFree86.Org/)
> Build Operating System: FreeBSD 4.7-RELEASE i386 [ELF]
> Module Loader present
> 
> - gcc -v
> Using builtin specs.
> gcc version 2.95.4 20020320 [FreeBSD]
> 
> - ld -v
> GNU ld version 2.12.1 [FreeBSD] 2002-07-20
> 
> - as --version
> GNU assembler 2.12.1 [FreeBSD] 2002-07-20
> Copyright 2002 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License.  This program has absolutely no warranty.
> This assembler was configured for a target of `i386-obrien-freebsd5.0'.
> 
> And also mplayer verbosity level 1 output:
> 
> 
> MPlayer 0.90rc2-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)
> 
> CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
> Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection
> Reading config file /usr/local/share/mplayer/mplayer.conf: No such file or directory
> Reading config file /home/dizzy/.mplayer/config
> Reading /home/dizzy/.mplayer/codecs.conf: 49 audio & 125 video codecs
> CommandLine: '-v' 'http://localhost:8090/test.asf'
> get_path('font/font.desc') -> '/home/dizzy/.mplayer/font/font.desc'
> Font /home/dizzy/.mplayer/font/font.desc loaded successfully! (206 chars)
> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> Using usleep() timing
> get_path('input.conf') -> '/home/dizzy/.mplayer/input.conf'
> Parsing input config file /home/dizzy/.mplayer/input.conf
> Input config file /home/dizzy/.mplayer/input.conf parsed : 50 binds
> 
> Playing http://localhost:8090/test.asf
> Resolving localhost ...
> Connecting to server localhost[127.0.0.1]:8090 ...
> --- HTTP DEBUG HEADER --- START ---
> protocol:           [HTTP/1.0]
> http minor version: [0]
> uri:                [(null)]
> method:             [(null)]
> status code:        [200]
> reason phrase:      [ASF Redirect follows]
> body size:          [45]
> Fields:
>  0 - Content-type: video/x-ms-asf
> --- HTTP DEBUG HEADER --- END ---
> Content-Type: [video/x-ms-asf]
> Trying ASF/HTTP...
> Resolving localhost ...
> Connecting to server localhost[127.0.0.1]:8090 ...
> =====> ASF Redirector
> Connected to server: localhost
> Parsing playlist http://localhost:8090/test.asf...
> 
> 
> MPlayer interrupted by signal 2 in module: handle_playlist
> vo: x11 uninit called but X11 not inited..
> 
> I interupted it with ctrl-c because it "hangs".
> 
> Here is the ffserver log that proves that mplayer has downloaded from the
> stream while it was "hanged":
> 
> 127.0.0.1 - - [Wed Jan 22 13:39:29 2003] "GET /test.asf HTTP/1.0" 200 112
> 127.0.0.1 - - [Wed Jan 22 13:39:48 2003] "GET /test.asf HTTP/1.0" 200 733087
> 
> Thanks for any help :)
> 
> PS: I can put up a example stream for testing if it helps
> 
> ----------------------------
> Mihai RUSU
> 
> Disclaimer: Any views or opinions presented within this e-mail are solely
> those of the author and do not necessarily represent those of any company,
> unless otherwise specifically stated.
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 


-- 
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.



More information about the MPlayer-users mailing list