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.
$npx -y skills add damionrashford/media-os --skill ffmpeg-bitstreamInstalls into the current project.
Run `npx skills use "https://github.com/damionrashford/media-os" --skill "damionrashford/media-os/ffmpeg-bitstream"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/damionrashford/media-os" that are relevant to the current task. Run `npx skills add "https://github.com/damionrashford/media-os"` and select the relevant skills, then follow their instructions.