#7449(undetermined:new): copyts fails if PCR near rollover
#7449: copyts fails if PCR near rollover --------------------------------------+---------------------------------- Reporter: jafa | Type: defect Status: new | Priority: normal Component: undetermined | Version: 3.4 Keywords: copyts pcr | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------------+---------------------------------- When the -copyts option is used and the PCR is near the rollover point (doesn't need to rollover, just be near it) ffmpeg appears to drop every video frame and fails to produce video output. ffmpeg version 3.4.4 (Ubuntu 18.04) Command: ffmpeg -i pcr_near_rollover.ts -copyts -c:v libx264 -c:a copy output.ts Input media: https://download.silicondust.com/tmp/pcr_near_rollover.ts The output file is small containing the audio but no video. Debug output shows a large number of "cur_dts is invalid" messages and "dropping frame 0" messages. Removing -copyts produces valid video. Supply an input file with a PCR further away from the rollover produces valid video. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7449> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7449: copyts fails if PCR near rollover -------------------------------------+------------------------------------- Reporter: jafa | Owner: Type: defect | Status: new Priority: normal | Component: Version: 3.4 | undetermined Keywords: copyts dts | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: copyts pcr => copyts dts Comment: Is the issue reproducible with current FFmpeg git head, the only version supported here? Why are you using `-copyts` if not using it produces better results? -- Ticket URL: <https://trac.ffmpeg.org/ticket/7449#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7449: copyts fails if PCR near rollover ------------------------------------+------------------------------------ Reporter: jafa | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: 3.4 | Resolution: Keywords: copyts dts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by Mista_D): * component: undetermined => avformat Comment: Looks like a similar problem still exists in 4.3.1 must have been fixed 7 years ago, it seemed: https://trac.ffmpeg.org/ticket/3176 no? -- Ticket URL: <https://trac.ffmpeg.org/ticket/7449#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7449: copyts fails if PCR near rollover ------------------------------------+------------------------------------ Reporter: jafa | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: 3.4 | Resolution: Keywords: copyts dts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by Balling): * status: new => open Comment: No, I doubt 738ebb4a0e0c8fbdc83b44cf30b8c9b7ac866270 can fix rollover. Do you have the source file? -- Ticket URL: <https://trac.ffmpeg.org/ticket/7449#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7449: copyts fails if PCR near rollover ------------------------------------+------------------------------------ Reporter: jafa | Owner: Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: copyts dts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * version: 3.4 => git-master Comment: Looks like a long-time regression. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7449#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7449: copyts fails if PCR near rollover ------------------------------------+------------------------------------ Reporter: Nick | Owner: (none) Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: copyts dts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by Balling): Some realated stuff https://patchwork.ffmpeg.org/project/ffmpeg/patch/1514545850-24529-1-git- send-email-mymoeyard@gmail.com/ and https://patchwork.ffmpeg.org/project/ffmpeg/patch/20191112212906.18539-9-cus... and THIS https://patchwork.ffmpeg.org/project/ffmpeg/patch/CAMig2e6EAkYTCMWPu=i-yd6Zo =yj2AnUKwmx_7B4tXxjoXG-xw@mail.gmail.com/ Which was reported to fix this problem https://lists.ffmpeg.org/pipermail /ffmpeg-user/2017-May/036277.html. Of course, it was NAK'ed. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7449#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7449: copyts fails if PCR near rollover ------------------------------------+------------------------------------ Reporter: Nick | Owner: (none) Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: copyts dts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by Balling): I will just point out that rollover happens at 0x1FFFFFFFF that is decimal 858993'''4'''592. Yet in #7876 it happens at 858993'''1'''780 and in #8689 it happens in 858'''6'''744840. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7449#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7449: copyts fails if PCR near rollover ------------------------------------+------------------------------------ Reporter: Nick | Owner: (none) Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: copyts dts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by Balling): Very nice patch: https://github.com/mpv-player/mpv/issues/7816 -- Ticket URL: <https://trac.ffmpeg.org/ticket/7449#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7449: copyts fails if PCR near rollover ------------------------------------+------------------------------------ Reporter: Nick | Owner: (none) Type: defect | Status: open Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: copyts dts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by Balling): Unfortunately aa20294b317558957cf124bb8e4da0521ab3c423 still did not help it. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7449#comment:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg