[FFmpeg-trac] #6905(undetermined:closed): When copying video from .avi to .mp4, frames have incorrect pts values
FFmpeg
trac at avcodec.org
Thu Dec 14 09:37:16 EET 2017
#6905: When copying video from .avi to .mp4, frames have incorrect pts values
-------------------------------------+-------------------------------------
Reporter: Misaki | Owner:
Type: defect | Status: closed
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution:
Blocking: | needs_more_info
Analyzed by developer: 0 | Blocked By:
| Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by Misaki):
The workaround, MP4Box, stopped working on episode 6 when the encoder
switched from XVID to DX50. The resulting file was half the size and had
lots of missing frames (and pts not matching dts for frames). Playback was
fine for the first 12 seconds, with no missing frames.
Copying using ffmpeg starting at 13 seconds to another avi, and then
copying that to mp4 using MP4Box, led to good output. Two videos had been
combined, with different encoding parameters. For the original, MP4Box
indicated 'Has B-Frames (8 max consecutive B-VOPs)'. For the video
starting at the keyframe before 13 sec, it said 'Has B-Frames (2 max
consecutive B-VOPs)'. (no packed bitstream.)
This information is for anyone trying to get this to work when ffmpeg is
bugged.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6905#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list