I have a code that extracting raw HEVC from a hevc/mp4 file
ffmpeg -i video3.mp4 -c:v copy -bsf hevc_mp4toannexb output.hevc
and I've read this topic: How to properly wrap H264 into FLV with FFMPEG? It's about a method that can wrap a raw H264 video in to flv with ffmpeg. Then i researched google for a while but i can't figure a way wrap HEVC Annex B raw video file into a mp4 container without changing its start code( every NALU starts with a start code 0x000001 or 0x00000001 ), so is it possible with ffmpeg?
User contributions licensed under CC BY-SA 3.0