History

lavd: implement NewTek NDI input/output device support

Maksym Veremeyenko committed 9 years ago

Commit 26349271 parent 84ee65110 files · +779 −2Browse files

Showing the changes to doc (2 of 10 files). Show all

Unified · Split

2 files
  1. doc/indevs.texi +48 −0
  2. doc/outdevs.texi +45 −0
doc/indevs.texi+48−0
@@ -332,6 +332,54 @@ ffmpeg -channels 16 -format_code Hi50 -f decklink -i 'UltraStudio Mini Recorder' · 331 unmodified lines
332 332
333@end itemize333@end itemize
334 334
335@section libndi_newtek
336
337The libndi_newtek input device provides capture capabilities for using NDI (Network
338Device Interface, standard created by NewTek).
339
340Input filename is a NDI source name that could be found by sending -find_sources 1
341to command line - it has no specific syntax but human-readable formatted.
342
343To enable this input device, you need the NDI SDK and you
344need to configure with the appropriate @code{--extra-cflags}
345and @code{--extra-ldflags}.
346
347@subsection Options
348
349@table @option
350
351@item find_sources
352If set to @option{true}, print a list of found/available NDI sources and exit.
353Defaults to @option{false}.
354
355@item wait_sources
356Override time to wait until the number of online sources have changed.
357Defaults to @option{0.5}.
358
359@item allow_video_fields
360When this flag is @option{false}, all video that you receive will be progressive.
361Defaults to @option{true}.
362
363@end table
364
365@subsection Examples
366
367@itemize
368
369@item
370List input devices:
371@example
372ffmpeg -f libndi_newtek -find_sources 1 -i dummy
373@end example
374
375@item
376Restream to NDI:
377@example
378ffmpeg -f libndi_newtek -i "DEV-5.INTERNAL.M1STEREO.TV (NDI_SOURCE_NAME_1)" -f libndi_newtek -y NDI_SOURCE_NAME_2
379@end example
380
381@end itemize
382
335@section dshow383@section dshow
336 384
337Windows DirectShow input device.385Windows DirectShow input device.
doc/outdevs.texi+45−0
@@ -182,6 +182,51 @@ ffmpeg -i test.avi -f decklink -pix_fmt uyvy422 -s 720x486 -r 24000/1001 'DeckLi · 181 unmodified lines
182 182
183@end itemize183@end itemize
184 184
185@section libndi_newtek
186
187The libndi_newtek output device provides playback capabilities for using NDI (Network
188Device Interface, standard created by NewTek).
189
190Output filename is a NDI name.
191
192To enable this output device, you need the NDI SDK and you
193need to configure with the appropriate @code{--extra-cflags}
194and @code{--extra-ldflags}.
195
196NDI uses uyvy422 pixel format natively, but also supports bgra, bgr0, rgba and
197rgb0.
198
199@subsection Options
200
201@table @option
202
203@item reference_level
204The audio reference level in dB. This specifies how many dB above the
205reference level (+4dBU) is the full range of 16 bit audio.
206Defaults to @option{0}.
207
208@item clock_video
209These specify whether video "clock" themselves.
210Defaults to @option{false}.
211
212@item clock_audio
213These specify whether audio "clock" themselves.
214Defaults to @option{false}.
215
216@end table
217
218@subsection Examples
219
220@itemize
221
222@item
223Play video clip:
224@example
225ffmpeg -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
226@end example
227
228@end itemize
229
185@section fbdev230@section fbdev
186 231
187Linux framebuffer output device.232Linux framebuffer output device.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t