[FFmpeg-trac] #9892(undetermined:new): When ffmpeg converts one mkv file to mp4 it finds errors in it

FFmpeg trac at avcodec.org
Fri Aug 26 05:56:57 EEST 2022


#9892: When ffmpeg converts one mkv file to mp4 it finds errors in it
-------------------------------------+-------------------------------------
             Reporter:  Yuri         |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by Yuri:

Old description:

> This mkv file (https://people.freebsd.org/~yuri/problematic-for-
> ffmpeg.mkv) has no errors according to this ffmpeg command:
> {{{
> $ ffmpeg -v error -i "problematic-for-ffmpeg.mkv" -f null -
> }}}
>
> Then the above file is converted to mp4 with this command:
> {{{
> $ ffmpeg -fflags +genpts -i "problematic-for-ffmpeg.mkv" -codec copy -r
> 24 "problematic-for-ffmpeg.mkv.mp4"
> }}}
> to this file: https://people.freebsd.org/~yuri/problematic-for-
> ffmpeg.mkv.mp4
>
> Now problematic-for-ffmpeg.mkv.mp4 fails the sane check:
> {{{
> $ ffmpeg -v error -i "problematic-for-ffmpeg.mkv.mp4" -f null -
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 371 >= 371
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 382 >= 382
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 1448 >= 1448
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 1458 >= 1458
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 2514 >= 2514
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 2524 >= 2524
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 2535 >= 2535
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 3590 >= 3590
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 3601 >= 3601
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 3611 >= 3611
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 4667 >= 4667
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 4677 >= 4677
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 5743 >= 5743
> [null @ 0x85f883e00] Application provided invalid, non monotonically
> increasing dts to muxer in stream 0: 5754 >= 5754
> }}}
>
> ffmpeg-4.4.2_5
> FreeBSD 13.1

New description:

 This mkv file (https://people.freebsd.org/~yuri/problematic-for-
 ffmpeg.mkv) has no errors according to this ffmpeg command:
 {{{
 $ ffmpeg -v error -i "problematic-for-ffmpeg.mkv" -f null -
 }}}

 Then the above file is converted to mp4 with this command:
 {{{
 $ ffmpeg -fflags +genpts -i "problematic-for-ffmpeg.mkv" -codec copy -r 24
 "problematic-for-ffmpeg.mkv.mp4"
 }}}
 to this file: https://people.freebsd.org/~yuri/problematic-for-
 ffmpeg.mkv.mp4

 Now problematic-for-ffmpeg.mkv.mp4 fails the same check:
 {{{
 $ ffmpeg -v error -i "problematic-for-ffmpeg.mkv.mp4" -f null -
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 371 >= 371
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 382 >= 382
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 1448 >= 1448
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 1458 >= 1458
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 2514 >= 2514
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 2524 >= 2524
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 2535 >= 2535
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 3590 >= 3590
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 3601 >= 3601
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 3611 >= 3611
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 4667 >= 4667
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 4677 >= 4677
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 5743 >= 5743
 [null @ 0x85f883e00] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 5754 >= 5754
 }}}

 ffmpeg-4.4.2_5
 FreeBSD 13.1

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9892#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list