Page 1 of 1

FFMPEG Error (SDK 10.11.4) - Newbie question

PostPosted: Sun Apr 07, 2019 8:50 am
by TouchOfDestiny
Hi,

I compiled FFMPEG with Blackmagic SDK v 10.11.4. As soon as I enter a simple command like this one

Code: Select all
ffmpeg -i test.avi -f decklink -list_devices 1 dummy
(from the FFMPEG online documentation)

I get the correct list of devices but the result has always an error:

Code: Select all
Could not write header for output file #0 (incorrect codec parameters ?): Immediate exit requested
Error initializing output stream 0:1 --


My question, as a newbie: is it normal?

Thank you very much for an answer,
David.

Re: FFMPEG Error (SDK 10.11.4) - Newbie question

PostPosted: Mon Apr 08, 2019 8:49 pm
by Ian Morrish
Yes, it is normal. I don't know that the dummy output value is really needed or doing the right thing.
The other thing you will notice is that you don't have to specify the video format on capturing as the DeckLink autodetect mode will display what the current format on an input is.
You can see this by running ffplay.
Image

Re: FFMPEG Error (SDK 10.11.4) - Newbie question

PostPosted: Fri Apr 19, 2019 1:13 pm
by TouchOfDestiny
Thank you very much for your answer!
Davide