Re: [FFmpeg-devel] [PATCH] decklink: Add support for compressed AC-3 output over SDI

2023-03-13 Thread Marton Balint
On Thu, 9 Mar 2023, Devin Heitmueller wrote: Extend the decklink output to include support for compressed AC-3, encapsulated using the SMPTE ST 377:2015 standard. This functionality can be exercised by using the "copy" codec when the input audio stream is AC-3. For example: ./ffmpeg -i

Re: [FFmpeg-devel] [PATCH] decklink: Add support for compressed AC-3 output over SDI

2023-03-10 Thread Nicolas Gaullier
>At this point I'm inclined to keep the code separate/private to decklink. >It's limited to AC-3 and only produces packets which are >s16 little endian. At some point I think it would be worthwhile to have some >common code that supports 20/24 bit, both endians, and other codecs like

Re: [FFmpeg-devel] [PATCH] decklink: Add support for compressed AC-3 output over SDI

2023-03-10 Thread Devin Heitmueller
On Fri, Mar 10, 2023 at 2:44 AM Nicolas Gaullier wrote: > > >+static int create_s337_payload(AVPacket *pkt, enum AVCodecID codec_id, > >+uint8_t **outbuf, int *outsize) { > > This is very interesting in many other contexts. > My current patch serie is about demuxing s337 (targeting dolby_e) from

Re: [FFmpeg-devel] [PATCH] decklink: Add support for compressed AC-3 output over SDI

2023-03-09 Thread Nicolas Gaullier
>+static int create_s337_payload(AVPacket *pkt, enum AVCodecID codec_id, >+uint8_t **outbuf, int *outsize) { This is very interesting in many other contexts. My current patch serie is about demuxing s337 (targeting dolby_e) from wav files, and it would be great to be able to re-mux back to s337

[FFmpeg-devel] [PATCH] decklink: Add support for compressed AC-3 output over SDI

2023-03-09 Thread Devin Heitmueller
Extend the decklink output to include support for compressed AC-3, encapsulated using the SMPTE ST 377:2015 standard. This functionality can be exercised by using the "copy" codec when the input audio stream is AC-3. For example: ./ffmpeg -i ~/foo.ts -codec:a copy -f decklink 'UltraStudio Mini