[FFmpeg-trac] #10348(undetermined:open): Invalid B-frames timestamps importing .h264 or .hevc stream

FFmpeg trac at avcodec.org
Mon May 8 22:58:19 EEST 2023


#10348: Invalid B-frames timestamps importing .h264 or .hevc stream
-------------------------------------+-------------------------------------
             Reporter:  slydiman     |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  frames       |               Blocked By:
  timestamp h264 hevc                |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by slydiman):

 Replying to [comment:6 pdr0]:
 > works ok for chrome playback
 > ffmpeg -f h264 -r 50 -i b-frames.h264 out.mp4

 No, this means libx264 encoding by default. It is the equivalent of
 %ffmpeg -i b-frames.h264 -c h264 valid.mp4

 The problem is that **remuxing without reencoding** produces an invalid
 file
 %ffmpeg -i b-frames.h264 **-c copy** invalid.mp4
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10348#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list