Fragmented MP4 - problem playing in browser

后端 未结 4 1095
醉梦人生
醉梦人生 2021-02-09 05:28

I try to create fragmented MP4 from raw H264 video data so I could play it in internet browser\'s player. My goal is to create live streaming system, where media server would se

4条回答
  •  有刺的猬
    2021-02-09 06:28

    MP4 atoms for both files look very similiar (they have identical avcc section for sure)

    Double check that, The code supplied suggests otherwise to me.

    What's interesting (but not sure if it's of any importance), both files have different NALs format than input file (RPI camera produces video stream in Annex-B format, while output MP4 files contain NALs in AVCC format... or at least it looks like it's the case when I compare mdat atoms with input H264 data).

    It is very important, mp4 will not work with annex b.

提交回复
热议问题