This series teaches the MPEG-TS muxer to signal AC-4 streams, fifth
link of the stack (A0 -> A -> B -> C -> E -> D, plain `git am` on
3e6cd5e). Stack parent: C (every test command runs `-c:a ac4`;
appends the C-extended FATE mak). The encoder is the only
sample_rate-carrying source; .ts stream-copy sources are barred
until the Series D parser lands. lavf-only code, no C symbols
needed.

Patches:
  [PATCH 1/2] lavf/mpegtsenc: write AC-4 descriptors
    get_dvb_stream_type AC-4 case (stays 0x06 private data, kills the
    "may not be recognized" warning), AC-4 registration descriptor
    in the PMT audio block, DVB AC-4 descriptor (0x7F/0x15,
    channel_mode from channel count) in the SYSTEM_B block with
    Opus-pattern overflow guard. Demux untouched (already works:
    REGD/PES auto). v1 omits toc/additional_info (flags say so).
    Changelog entry.
  [PATCH 2/2] fate: ac4 ts mux tests
    Encoder->ts PMT-section pin (fate-ac4-mpegts-pmt) + probe test
    (fate-ac4-mpegts-probe, with -strict -2: Series D's parser makes
    find_stream_info open the experimental decoder) from synth
    asynth inputs (zero new samples); PMT bytes assert 0x06 +
    regdesc + 0x7F/0x15, no framecrc stage yet (needs Series D
    parser). Encoder-sourced only, never .ts stream-copy.

Testing:
  ffmpeg -i tone.wav -c:a ac4 -f mpegts out.ts   (add
  -loudness_target 0 for full-span stereo per Series C)
  ffprobe -show_streams: codec_name=ac4, codec_tag_string=AC-4.
  PMT byte-checks; descriptor shape cross-checked vs TSDuck sources
  (tsp/MP4Box binaries unavailable);
  negative: pre-patch binary MUST print "may not be recognized".
  Round-trip decode framecrc against the Series A decoder.

FATE: 2/2 only; deterministic re-run (cmp clean).

Provenance: mux wiring only; exercised encoder is the Series C
independent cleanroom implementation (ETSI TS 103 190-1 V1.4.1 /
-2 V1.3.1, value-only tables, no Dolby SDK/reference/disassembly,
CLI-parity layer excluded). AC-4 patent note from Series A applies.

Signed-off-by on each patch: Michael Rowlinson <[email protected]>
_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to