[MPlayer-users] dumping h.264 stream into file

Ratin ratin3 at gmail.com
Fri Feb 13 09:25:30 CET 2009


Hi I am experimenting with a h.264 source stream, the stream plays fine on
mplayer over rtsp. However when I dump the video stream using -dumpvideo and
-umpfile mplayer can't play it back. It looks like the bitstream only has
one IDR frame (00 00 00 01 65) and no other NALU like sps/pps and mplayer
complains about not finding them. But the rtsp stream version works
flawlessly. If I look at the wireshark trace, I see that the stream starts
with the rtp payload

0x7c 85 88 84 ..very first rtp packet
0x7c05d34f ... 2nd rtp packet

:::::

:::::

0x7c457c1ff         being the last one in the gop (marker bit set)


i think thats a idr frame..



the subsequent frames rtp payloads are:

5c819a20    first paket of 2nd frame
534172c4  2nd  and mrkar set


7c05c3f4  3rd frame 1st pkt
5c819a40 3rd frame 2nd pkt
5c41b8bc 3rd frame 3rd pkt, marker set

etc etc


Anybody have any clue how to interprete these nalu headers in terms of
anex b style bitstream?

thnx



More information about the MPlayer-users mailing list