[FFmpeg-user] Invalid non monotonically increasing dts

richard richard at richsim900.plus.com
Wed Jun 15 13:46:42 CEST 2011


Downloaded a live concert (320 kbps) using get_iplayer. Unpacked the flv
file using:

ffmpeg -i input.flv -acodec copy output.m4a

but ffmpeg aborts with this error message:

[ipod @ 0x8dff810] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 634952 >= 634599
av_interleaved_write_frame(): Invalid data found when processing input 
MP4ERROR: MP4File::FindIntegerProperty: no such property -
moov.mvhd.modificationTime 

Searching for a solution or workaround I found:

https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2011-March/110053.html

and

http://ffmpeg.org/pipermail/ffmpeg-user/2011-May/001053.html

Not sure whether the suggested patches would break something else.

Tried to re-encode the flv with:

ffmpeg -i input.flv -acodec libfaac -ab 320k output.m4a

This produced a playable m4a but it encoded at 152kbps instead of
320kbps. I wanted 320 kbps sound quality.

I'm trying to find a way to unpack this flv to m4a at 320 kbps without
losing sound quality.




More information about the ffmpeg-user mailing list