diff mbox

[FFmpeg-devel] lavd: add audio packets adopting example of NewTek NDI

Message ID 766bfcd5-8f63-4480-67e2-dff0295d465e@m1stereo.tv
State New
Headers show

Commit Message

Maksym Veremeyenko Sept. 4, 2017, 2:12 p.m. UTC
Hi,

attached patch add usage example with additional audio packets preparation.

Comments

Moritz Barsnick Sept. 17, 2017, 9:30 p.m. UTC | #1
On Mon, Sep 04, 2017 at 17:12:45 +0300, Maksym Veremeyenko wrote:
> Subject: [PATCH 2/3] lavd: add audio packets adopting example of NewTek NDI
                       ^^^^^ doc/outdevs:

> +Some NDI receiver want audio packets with 1920 samples per audio packet and interleaved closer to video packets:
            ^ receivers
                     ^ require

Assuming they actually require this and don't "prefer" it.

Moritz
diff mbox

Patch

diff --git a/doc/outdevs.texi b/doc/outdevs.texi
index ce68e11..310606a 100644
--- a/doc/outdevs.texi
+++ b/doc/outdevs.texi
@@ -237,6 +237,12 @@  Play video clip:
 ffmpeg -i "udp://@@239.1.1.1:10480?fifo_size=1000000&overrun_nonfatal=1" -vf "scale=720:576,fps=fps=25,setdar=dar=16/9,format=pix_fmts=uyvy422" -f libndi_newtek NEW_NDI1
 @end example
 
+@item
+Some NDI receiver want audio packets with 1920 samples per audio packet and interleaved closer to video packets:
+@example
+ffmpeg -i "udp://@@239.1.1.1:10480?fifo_size=1000000&overrun_nonfatal=1" -vf "scale=720:576,fps=fps=25,setdar=dar=16/9,format=pix_fmts=uyvy422" -af "volume=volume=-5.0dB,asetnsamples=n=1920:p=0" -f libndi_newtek -muxdelay 0 NEW_NDI1
+@end example
+
 @end itemize
 
 @section fbdev