Ffmpeg Bitstream

Apply bitstream filters (-bsf) with ffmpeg to rewrite packet metadata without re-encoding: h264_mp4toannexb, hevc_mp4toannexb, aac_adtstoasc, extract_extradata, dump_extra, setts, noise, remove_extra, filter_units, mjpeg2jpeg, mpeg4_unpack_bframes. Use when the user asks to fix MP4-to-TS mux errors, convert H.264/HEVC between MP4 and Annex-B, fix AAC ADTS to ASC for MP4, repair a broken container, change PTS/DTS without re-encode, or extract raw codec extradata/SPS-PPS.

damionrashford c3c1852 3 files · 45.0 KB Updated

File contents

damionrashford/media-os/tree/main/skills/ffmpeg-bitstream commit c3c185264a

Frequently asked questions

npx skillmds@latest add damionrashford/ffmpeg-bitstream