[MPlayer-users] mplayer fails to build with Live555 library

Josh joshf87 at live.com
Thu Aug 1 18:39:21 CEST 2013


On 7/29/2013 15:21, Reimar Döffinger wrote:
> On Sat, Jul 27, 2013 at 05:16:09AM -0400, Josh wrote:
>> On 7/27/2013 04:24, Carl Eugen Hoyos wrote:
>>> Josh <joshf87 <at> live.com> writes:
>>>
>>>> On 7/25/2013 19:00, Umar Qureshey wrote:
>>>>> I am trying to compile a recent svn version of
>>>>> mplayer with the latest livemedia library
>>>>> (http://live555.com/liveMedia/public/) so I can do
>>>>> RTSP streaming.  However, the build fails:
>>>>>
>>>> MPlayer only supports the sync interface and it was
>>>> dropped after Live555 4.30.2013. You'll need to use
>>>> 4.30.2013 or older.
>>>
>>> This is correct, before testing with unsupported
>>> patches please try:
>>> $ mplayer ffmpeg://rtsp://your.rtsp.stream/and/its/path
>>> (with mplayer without live555 support)
>>>
>>> If this does not work, please report back, support is
>>> much more likely than for the patch.
>>>
>>> Carl Eugen
>>>
>>> _______________________________________________
>>> MPlayer-users mailing list
>>> MPlayer-users at mplayerhq.hu
>>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>>
>>>
>>
>> I dropped Live555 from my builds for a bit, ffmpeg://rtsp:// worked
>> just fine I didn't see any need for it but from a end-user
>> standpoint they may get annoyed that they can't simply plug in a
>> "rtsp://" url & may not go through the trouble of Googling and
>> finding out they had to add "ffmpeg://". Might be time to update to
>> Live555 async, or automatically have ffmpeg handle rtsp:// without
>> "ffmpeg://".
>
> Well, the live555 support and that the interaction is unclear is the
> only reason it isn't like that.
> Might make sense to do something like this if it works? Anyone care to test:
> Index: stream/stream_ffmpeg.c
> ===================================================================
> --- stream/stream_ffmpeg.c	(revision 36350)
> +++ stream/stream_ffmpeg.c	(working copy)
> @@ -154,7 +154,11 @@
>     "",
>     "",
>     open_f,
> -  { "ffmpeg", "rtmp", NULL },
> +  { "ffmpeg", "rtmp",
> +#ifndef CONFIG_LIVE555
> +    "rtsp",
> +#endif
> +    NULL },
>     NULL,
>     1 // Urls are an option string
>   };
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>

It looks like it tries to stream it as "http" without "ffmpeg://"

MPlayer Redxii-SVN-r36380-4.6.3 (C) 2000-2013 MPlayer Team
Compiled against FFmpeg version N-55113-g38536e5
Build date: Thu Aug  1 12:32:25 EDT 2013

CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (Family: 6, Model: 42, 
Stepping: 7)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 
SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> 
'E:/Buildsys/projects/mplayer/mpl-bin-x64-r36380-2/mplayer/codecs.conf'
Reading optional codecs config file 
E:/Buildsys/projects/mplayer/mpl-bin-x64-r36380-2/mplayer/codecs.conf: 
No such file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: 
No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 
'E:/Buildsys/projects/mplayer/mpl-bin-x64-r36380-2/mplayer/fonts'
Configuration: --extra-cflags=-I/mingw/src/live-x64 --enable-static 
--enable-runtime-cpudetection --enable-menu --disable-inet6 
--disable-libmpeg2-internal --di
sable-tv --disable-vidix --disable-faac-lavc --disable-mencoder 
--disable-live
CommandLine: '-v' 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov'
Using Windows native timing
get_path('input.conf') -> 
'E:/Buildsys/projects/mplayer/mpl-bin-x64-r36380-2/mplayer/input.conf'
Parsing input config file 
E:/Buildsys/projects/mplayer/mpl-bin-x64-r36380-2/mplayer/input.conf
Input config file 
E:/Buildsys/projects/mplayer/mpl-bin-x64-r36380-2/mplayer/input.conf 
parsed: 92 binds
get_path('BigBuckBunny_115k.mov.conf') -> 
'E:/Buildsys/projects/mplayer/mpl-bin-x64-r36380-2/mplayer/BigBuckBunny_115k.mov.conf'

Playing rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov.
get_path('sub/') -> 
'E:/Buildsys/projects/mplayer/mpl-bin-x64-r36380-2/mplayer/sub/'
WINSOCK2 init: 0
STREAM_RTSP, URL: rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov
Filename for url is now rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov
Filename for url is now rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov
Connecting to server 184.72.239.149[184.72.239.149]: 554...

SDP:
v=0
o=- 763880010 763880010 IN IP4 127.0.0.1
s=BigBuckBunny_115k.mov
c=IN IP4 0.0.0.0
t=0 0
a=sdplang:en
a=range:npt=0- 596.48
a=control:*
m=audio 0 RTP/AVP 96
a=rtpmap:96 mpeg4-generic/12000/2
a=fmtp:96 
profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1490
a=control:trackID=1
m=video 0 RTP/AVP 97
a=rtpmap:97 H264/90000
a=fmtp:97 
packetization-mode=1;profile-level-id=42C01E;sprop-parameter-sets=Z0LAHtkDxWhAAAADAEAAAAwDxYuS,aMuMsg==
a=cliprect:0,0,160,240
a=framesize:97 240-160
a=framerate:24.0
a=control:trackID=2

A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'Wowza Media 
Server 3.6.2.07 build5983'.
WINSOCK2 init: 0
Filename for url is now rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov
Filename for url is now rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov
STREAM_HTTP(2), URL: rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov
Connecting to server 184.72.239.149[184.72.239.149]: 80...

--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [0]
Fields:
  0 - Content-Type: text/html
  1 - Connection: Keep-Alive
  2 - Server: FlashCom/3.5.7
  3 - Cache-Control: no-cache
  4 - Content-Length: 164
--- HTTP DEBUG HEADER --- END ---
Content-Length: [164]
Content-Type: [text/html]
Cache size set to 320 KBytes
STREAM: [null] rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov
STREAM: Description: http streaming
STREAM: Author: Bertrand, Albeu, Arpi? who?
STREAM: Comment: plain http, also used as fallback for many other protocols
CACHE_PRE_INIT: 0 [0] 0  pre:65536  eof:0
Cache fill:  0.05% (164 bytes)

libavformat version 55.12.102 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: no clue about this gibberish!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename 
rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov ext: .mov
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 104
Checking for PVA
Checking for MPEG-TS...
THIS DOESN'T LOOK LIKE AN MPEG-TS FILE!
TRIED UP TO POSITION 0, FOUND ffffff00, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=15464 size=1816018016
LMLM4 Stream Format not found
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 
0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 0, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 
0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 0, synced: 3
Not MPEG System Stream format... (maybe Transport Stream?)
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: no clue about this gibberish!
demux_aac_probe, failed to detect an AAC stream

WINSOCK2 uninit

Exiting... (End of file)


More information about the MPlayer-users mailing list