FFMPEG Error (SDK 10.11.4) - Newbie question

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

TouchOfDestiny

  • Posts: 11
  • Joined: Wed Mar 13, 2019 4:23 pm
  • Real Name: Davide Caldelari

FFMPEG Error (SDK 10.11.4) - Newbie question

PostSun Apr 07, 2019 8:50 am

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.
Offline

Ian Morrish

  • Posts: 580
  • Joined: Sun Jan 18, 2015 9:24 pm
  • Location: New Zealand

Re: FFMPEG Error (SDK 10.11.4) - Newbie question

PostMon Apr 08, 2019 8:49 pm

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
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com
Offline

TouchOfDestiny

  • Posts: 11
  • Joined: Wed Mar 13, 2019 4:23 pm
  • Real Name: Davide Caldelari

Re: FFMPEG Error (SDK 10.11.4) - Newbie question

PostFri Apr 19, 2019 1:13 pm

Thank you very much for your answer!
Davide

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 8 guests