History

doc/{in,out}devs: Remove documentation for removed devices

Namely bktr, opengl and sdl2.

Andreas Rheinhardt committed 1 year ago

Commit 1479c2e1 parent 265e0d32 files · +0 −146Browse files

Unified · Split

2 files
  1. doc/indevs.texi +0 −35
  2. doc/outdevs.texi +0 −111
doc/indevs.texi+0−35
@@ -220,41 +220,6 @@ $ ffmpeg -f avfoundation -capture_raw_data true -i "zr100:none" out.dv · 219 unmodified lines
220 220
221@end itemize221@end itemize
222 222
223@section bktr
224
225BSD video input device. Deprecated and will be removed - please contact
226the developers if you are interested in maintaining it.
227
228@subsection Options
229
230@table @option
231
232@item framerate
233Set the frame rate.
234
235@item video_size
236Set the video frame size. Default is @code{vga}.
237
238@item standard
239
240Available values are:
241@table @samp
242@item pal
243
244@item ntsc
245
246@item secam
247
248@item paln
249
250@item palm
251
252@item ntscj
253
254@end table
255
256@end table
257
258@section decklink223@section decklink
259 224
260The decklink input device provides capture capabilities for Blackmagic225The decklink input device provides capture capabilities for Blackmagic
doc/outdevs.texi+0−111
@@ -301,45 +301,6 @@ ffmpeg -re -i INPUT -c:v rawvideo -pix_fmt bgra -f fbdev /dev/fb0 · 300 unmodified lines
301 301
302See also @url{http://linux-fbdev.sourceforge.net/}, and fbset(1).302See also @url{http://linux-fbdev.sourceforge.net/}, and fbset(1).
303 303
304@section opengl
305OpenGL output device. Deprecated and will be removed.
306
307To enable this output device you need to configure FFmpeg with @code{--enable-opengl}.
308
309This output device allows one to render to OpenGL context.
310Context may be provided by application or default SDL window is created.
311
312When device renders to external context, application must implement handlers for following messages:
313@code{AV_DEV_TO_APP_CREATE_WINDOW_BUFFER} - create OpenGL context on current thread.
314@code{AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER} - make OpenGL context current.
315@code{AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER} - swap buffers.
316@code{AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER} - destroy OpenGL context.
317Application is also required to inform a device about current resolution by sending @code{AV_APP_TO_DEV_WINDOW_SIZE} message.
318
319@subsection Options
320@table @option
321
322@item background
323Set background color. Black is a default.
324@item no_window
325Disables default SDL window when set to non-zero value.
326Application must provide OpenGL context and both @code{window_size_cb} and @code{window_swap_buffers_cb} callbacks when set.
327@item window_title
328Set the SDL window title, if not specified default to the filename specified for the output device.
329Ignored when @option{no_window} is set.
330@item window_size
331Set preferred window size, can be a string of the form widthxheight or a video size abbreviation.
332If not specified it defaults to the size of the input video, downscaled according to the aspect ratio.
333Mostly usable when @option{no_window} is not set.
334
335@end table
336
337@subsection Examples
338Play a file on SDL window using OpenGL rendering:
339@example
340ffmpeg -i INPUT -f opengl "window title"
341@end example
342
343@section oss304@section oss
344 305
345OSS (Open Sound System) output device.306OSS (Open Sound System) output device.
@@ -406,78 +367,6 @@ Play a file on default device on default server: · 60 unmodified lines
406ffmpeg -i INPUT -f pulse "stream name"367ffmpeg -i INPUT -f pulse "stream name"
407@end example368@end example
408 369
409@section sdl
410
411SDL (Simple DirectMedia Layer) output device. Deprecated and will be removed.
412
413For monitoring purposes in FFmpeg, pipes and a video player such as ffplay can be used:
414
415@example
416ffmpeg -i INPUT -f nut -c:v rawvideo - | ffplay -
417@end example
418
419"sdl2" can be used as alias for "sdl".
420
421This output device allows one to show a video stream in an SDL
422window. Only one SDL window is allowed per application, so you can
423have only one instance of this output device in an application.
424
425To enable this output device you need libsdl installed on your system
426when configuring your build.
427
428For more information about SDL, check:
429@url{http://www.libsdl.org/}
430
431@subsection Options
432
433@table @option
434
435@item window_borderless
436Set SDL window border off.
437Default value is 0 (enable window border).
438
439@item window_enable_quit
440Enable quit action (using window button or keyboard key)
441when non-zero value is provided.
442Default value is 1 (enable quit action).
443
444@item window_fullscreen
445Set fullscreen mode when non-zero value is provided.
446Default value is zero.
447
448@item window_size
449Set the SDL window size, can be a string of the form
450@var{width}x@var{height} or a video size abbreviation.
451If not specified it defaults to the size of the input video,
452downscaled according to the aspect ratio.
453
454@item window_title
455Set the SDL window title, if not specified default to the filename
456specified for the output device.
457
458@item window_x
459@item window_y
460Set the position of the window on the screen.
461@end table
462
463@subsection Interactive commands
464
465The window created by the device can be controlled through the
466following interactive commands.
467
468@table @key
469@item q, ESC
470Quit the device immediately.
471@end table
472
473@subsection Examples
474
475The following command shows the @command{ffmpeg} output is an
476SDL window, forcing its size to the qcif format:
477@example
478ffmpeg -i INPUT -c:v rawvideo -pix_fmt yuv420p -window_size qcif -f sdl "SDL output"
479@end example
480
481@section sndio370@section sndio
482 371
483sndio audio output device.372sndio audio 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