ws-video: video/mp4 (MP4 / MOV / 3GP on containers/IsoBmff: edit lists, fragments, dOps -> OpusHead, PCM entries, AAC priming as codec delay; writer: copied H.264 / HEVC / AV1 / MJPEG / AAC / ALAC / Opus / FLAC / MP3, MJPEG from frames, PCM in MOV, edit lists for B-frame / codec delays); IsoBmff Mux writes no empty DecoderSpecificInfo (ffmpeg refuses it); writer checks extended to MP4 / MOV / H.264 remux

This commit is contained in:
4DBug committed 2026-10-31 10:02:25 -05:00
1 parent 8d2deb13ab
commit f2a4a33713
8 files changed
+475 -6

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ local function esds(w: Bytes.Writer, t: MuxTrack)
c:u24be(0)
c:u32be(t.bitrate or 0)
c:u32be(t.bitrate or 0)
if t.config then
if t.config and buffer.len(t.config) > 0 then -- (MJPEG / MP3 have no decoder-specific info)
descriptor(c, 5, function(s)
s:bytes(t.config :: buffer)
end)