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

Maksym Veremeyenko verem at m1stereo.tv
Mon Sep 4 17:12:45 EEST 2017


Hi,

attached patch add usage example with additional audio packets preparation.

-- 
Maksym Veremeyenko


-------------- next part --------------
From b83e8bb3253f6872d4b50f9bf466bd338a793c99 Mon Sep 17 00:00:00 2001
From: Maksym Veremeyenko <verem at m1.tv>
Date: Mon, 4 Sep 2017 09:01:18 -0400
Subject: [PATCH 2/3] lavd: add audio packets adopting example of NewTek NDI
 output

---
 doc/outdevs.texi | 6 ++++++
 1 file changed, 6 insertions(+)

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
 
+ at item
+Some NDI receiver want audio packets with 1920 samples per audio packet and interleaved closer to video packets:
+ at 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
+ at end example
+
 @end itemize
 
 @section fbdev
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list