[Libav-user] Invalid Timestamps

number1coder at gmail.com number1coder at gmail.com
Thu Jul 14 05:13:09 CEST 2011


I ended up figuring this one out.  Switching to 
av_interleaved_write_frame() solved the problem.  Thought I'd share in 
case someone else runs into this issue.

On 6/27/2011 11:22 PM, number1coder at gmail.com wrote:
> Hi, Everyone,
>
>   I get the following errors when creating an MPEG-TS file:
>
> [mpegts @ 0x8051030]Invalid timestamps stream=0, pts=0, 
> dts=8589931589, size=5267
> [mpegts @ 0x8051030]max_analyze_duration reached
>
>   Can anyone tell me either what I need to do to fix this, or how PTS 
> and DTS are supposed to be set when writing to a file?  Is there a 
> difference between what has to be set when opening the file vs writing 
> each frame?  I'm currently on libav 0.6.1.  Thanks.
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>


More information about the Libav-user mailing list