[FFmpeg-devel] [PATCH] doc/outdevs: Add declink signal generator example
Marton Balint
cus at passwd.hu
Fri Mar 9 22:32:33 EET 2018
On Wed, 28 Feb 2018, Mike Goins wrote:
> Signed-off-by: Mike Goins <midicase at gmail.com>
> ---
> doc/outdevs.texi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/doc/outdevs.texi b/doc/outdevs.texi
> index daf7b1ae62..1ca81ba139 100644
> --- a/doc/outdevs.texi
> +++ b/doc/outdevs.texi
> @@ -180,6 +180,13 @@ Play video clip with non-standard framerate or video size:
> ffmpeg -i test.avi -f decklink -pix_fmt uyvy422 -s 720x486 -r 24000/1001 'DeckLink Mini Monitor'
> @end example
>
> + at item
> +Signal Generator mode:
> + at example
> +ffmpeg -re -f lavfi -i "testsrc=s=1920x1080:rate=30000/1000" -f lavfi -i "sine=frequency=1000:sample_rate=48000"
> + -ac 2 -acodec pcm_s16le -pix_fmt uyvy422 -format_code Hi30 -f decklink 'DeckLink Studio 2'
You should not need the -re flag, the decklink outdev blocks if it gets
too many frames and because of this the "encoding" speed should be limited
to realtime even without -re. Or you see something different?
Thanks,
Marton
More information about the ffmpeg-devel
mailing list