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, [email protected] 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
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user


_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to