[MPlayer-dev-eng] Re: [PATCH] h264 over rtsp without code duplication

Alan Nisota alannisota at gmail.com
Tue Mar 20 18:12:40 CET 2007


Carl Eugen Hoyos wrote:
> On 2007-03-19 23:36, Carl Eugen Hoyos wrote:
>> I don't think it's the only way;-)
>>
>> Attached PoC should also work. Please test.
>> If your stream contains B-Frames, I'll make an improved version.
> 
> Slightly cleaner version attached which might support CoreAVC. Still
> doesn't like B frames.
> 
> Alan, could you test if this patch allows you to play following rtsp
> stream with CoreAVC? If yes, I'll try to fix the B frames issue.
> 
> rtsp://a2047.v1412b.c1412.g.vq.akamaistream.net/5/2047/1412/1_h264_350/1a1a1ae555c531960166df4dbc3095c327960d7be756b71b49aa1576e344addb3ead1a497aaedf11/mw_2006_1_350.mov
> 
> Thank you, Carl Eugen
I was able to build mplayer fine with LiveMedia support, but it doesn't 
seem to be working properly.

mplayer just hangs with:
STREAM_LIVE555, URL: 
rtsp://a2047.v1412b.c1412.g.vq.akamaistream.net/5/2047/1412/1_h264_350/1a1a1ae555c531960166df4dbc3095c327960d7be756b71b49aa1576e344addb3ead1a497aaedf11/mw_2006_1_350.mov
Stream not seekable!
  file format detected.
Initiated "audio/MPEG4-GENERIC" RTP subsession on port 32994
Initiated "video/H264" RTP subsession on port 32996

It seems to be hung here:
#0  0xb75402f8 in select () from /lib/tls/libc.so.6
#1  0x08689bea in BasicTaskScheduler::SingleStep ()
#2  0x0868941e in BasicTaskScheduler0::doEventLoop ()
#3  0x081dd911 in getBuffer ()
#4  0x081ddaa6 in awaitRTPPacket ()
#5  0x081de63d in needVideoFrameRate ()
#6  0x081ded83 in rtpCodecInitialize_video ()
#7  0x081ddf84 in demux_open_rtp ()
#8  0x0817c1e8 in demux_open_stream ()

I'm not really sure how to proceed here, but it doesn't seem to have 
gotten as far as CoreAVC before it hung (also it hangs with -vc ffh264 
in the same manner)




More information about the MPlayer-dev-eng mailing list