[FFmpeg-trac] #6301(avformat:new): Bitstream filter 'h264_mp4toannexb' isn't auto-inserted for hls muxer

FFmpeg trac at avcodec.org
Thu Apr 13 16:10:14 EEST 2017

#6301: Bitstream filter 'h264_mp4toannexb' isn't auto-inserted for hls muxer
             Reporter:  Alexander    |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  hls          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by Alexander):

 As it can be seen from my workflow, I create target streams manually, so
 there is no extradata in them.

 If I understand correctly, auto-inserting bitstream filter depends on
 output format context (and its streams) because we must know output format
 to check if we need to auto insert filter. But for correct work
 'h264_mp4toannexb' needs extradata from input stream. So I must copy
 extradata from input stream to output stream or, if there is no one source
 of frames (my case), don't rely on auto-inserting, filter frames manually
 and write already Annex B frames.

Ticket URL: <https://trac.ffmpeg.org/ticket/6301#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list