#10667: Matroska muxer doesn't support H.264/H.265 without global header
-------------------------------------+------------------------------------
             Reporter:  bubbleguuum  |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Comment (by bubbleguuum):

 Inspired by the AV1 snippet, I've tried this hack (using an arbitrary
 value of 10000 for size_to_reserve) and it seem to produce playable MKV:


 {{{
 case AV_CODEC_ID_H264:
             if (extradata_size)
                     return ff_isom_write_avcc(dyn_cp, extradata,
                                               extradata_size);
             else
                     *size_to_reserve = 10000;
             break;
 }}}


 This will do it for me, until there is eventually a proper fix.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10667#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to