[FFmpeg-devel] FW: Recording RTSP stream / av_interleaved_write_frame(): Invalid

juha s. salmjuh at hotmail.com
Thu Apr 5 12:28:33 CEST 2012

On Wed, Apr 4, 2012 at 13:24, juha s. <salmjuh at hotmail.com> wrote:

>when streaming using RTSP, the separate RTP streams have timestamps
>starting from different offsets, so at the beginning of the stream>timestamps are quite meaningless.
>After the first RR packet is sent, these offsets can be synced and
>meaningful timestamps can be issued.

>my idea for fixing this bug, is to output avpacket(s) from avformat with
>dts=pts=AV_NOPTS_VALUE until the timestamps become synched across the
>streams, and only then set the dts and pts.

Super and thanks for this. Is there anyone who can do this or how we/I should proceed ?BR,Jiii 		 	   		  

More information about the ffmpeg-devel mailing list