________________________________

From: [email protected] on behalf of Estelle W. Paus
Sent: Thu 8/19/2010 4:39 PM
To: [email protected]
Subject: [Live-devel] Decoding h264 from an RTSP stream



Using your live555 libraries and ffmpeg, I am trying to write an h264
player that uses RTSP.  Although I successfully seem to be receiving
the RTP packets, they are not being decoded.  In researching this
problem I have noticed the following:

ffmpeg h264 decoder seems to be looking for 001

When stepping through mplayer code, it finds this 001.
When I look at the stream with Wireshark, I do not see a 001.

My program that uses live555 and ffmpeg can't find 001 in the frame.

Questions:

Is the live555 library adding this 001 and if so where and how do I tell
it to do it?

Hello Estelle,

According to the RFC for H.264 RTP the RTP sender does not have to send the 
NALU start code prefix (0x000001). Neither does the RTP framing logic on the 
receiver have to insert this. This is done to save bandwidth. You can easily 
prefix the start code prefix to the NALU you receive in your sink 
implementation. You can look at the H264VideoFileSink implementation it must be 
doing the same, I used my own sink though.

pushkar

 

 

 

 

<<winmail.dat>>

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to