Capturing from Decklink card broken after December 10 releases

Questions involving a Windows version of FFmpeg.
BlackScreen
Posts: 15
Joined: Tue Dec 20, 2016 1:34 pm

Capturing from Decklink card broken after December 10 releases

Post by BlackScreen » Tue Dec 20, 2016 1:45 pm

Hello Zeranoe,
first and foremost: thank you for your Windows builds of FFmpeg!
They are unbelievably helpful in my daily workflows.

I recently encountered a problem, when updating my FFmpeg version from a release in Mid November, to the current one.
I am using FFmpeg in one of the scripts to capture video from a Decklink card. After the update, I get an error message and it does not work.
I then checked the recent versions and found the last working version was the one labelled "20161210-edb4f5d". The next one (20161216-a5cf600) does not work and all after that do not work either.

Was there any change to FFmpeg?

My command line, I use:
FFmpeg.exe -r 25 -rtbufsize 2048M -channels 2 -video_input sdi -audio_input embedded -f decklink -i "DeckLink HD Extreme [email protected]" -filter_complex "[0:v] yadif, split=2 [recording] [stream]" -map "[recording]" -map 0:a:0 -vcodec libx264 -s 1920x1080 -pix_fmt yuv420p -preset ultrafast -crf 18 -profile:v high -level 4.0 -acodec aac -ab 256k "capture.mp4" -map "[stream]" -map 0:a:0 -vcodec libx264 -s 1920x1080 -pix_fmt yuv420p -preset ultrafast -crf 18 -profile:v high -level 4.0 -acodec aac -ab 256k -f mpegts "udp://localhost:1234" -hide_banner

I should say that I use VLC to check the recording via the local UDP stream. Evertything else should be self explanotory.

Any ideas? Thanks for your reply!

User avatar
Zeranoe
Site Admin
Posts: 702
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: Capturing from Decklink card broken after December 10 releases

Post by Zeranoe » Wed Dec 21, 2016 4:47 am

I've updated the included DeckLink version. Can you please try the latest build and let me know if the issue is still happening?

BlackScreen
Posts: 15
Joined: Tue Dec 20, 2016 1:34 pm

Re: Capturing from Decklink card broken after December 10 releases

Post by BlackScreen » Wed Dec 21, 2016 8:09 am

Thank you for the update, but sadly it does not work either. :(
I get the error message: "Unrecognized option 'video_input' - Error splitting the argument list: Option not found".
The same happens when I strip the "video_input"-option from the command line and also if I delete "audio_input".
Then the error message is: "Unknown input format: 'decklink'"

BlackScreen
Posts: 15
Joined: Tue Dec 20, 2016 1:34 pm

Re: Capturing from Decklink card broken after December 10 releases

Post by BlackScreen » Mon Dec 26, 2016 11:17 am

I have tried building FFmpeg for myself with the Autobuild-Suite from GitHub.
With my own build (everything in the Suite) I succeeded with building FFmpeg and the Decklink support did work. Any idea why that works and with your builds it does not? :(

User avatar
Zeranoe
Site Admin
Posts: 702
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: Capturing from Decklink card broken after December 10 releases

Post by Zeranoe » Fri Dec 30, 2016 5:29 pm

Can you please run the command from your machine with a debug loglevel and post the output?

rogerdpack
Posts: 1876
Joined: Fri Aug 05, 2011 9:56 pm

Re: Capturing from Decklink card broken after December 10 releases

Post by rogerdpack » Sat Dec 31, 2016 2:49 pm

Do builds from my script work by chance, do you know? https://github.com/rdp/ffmpeg-windows-build-helpers/
Just want to make sure I haven't broken anything :)

BlackScreen
Posts: 15
Joined: Tue Dec 20, 2016 1:34 pm

Re: Capturing from Decklink card broken after December 10 releases

Post by BlackScreen » Sun Jan 01, 2017 3:48 pm

Hi Zeranoe, hi Roger,
I have run the command on my other machine with "-v 9 -loglevel 99".
I have tested the version "ffmpeg-20161210-edb4f5d-win64-static" from Zeranoe, which works.
I have also tested the current version from Zeranoe ("ffmpeg-20161230-6993bb4-win64-static") and "ffmpeg.static.2016-08-12-v3.1.2.64-bit" from Roger which sadly both do not work. My custom build from December 28th does work. These four log files are in the attachment for you. :)
Attachments
ffmpeg_logs.zip
4 log files containing the console output
(14.64 KiB) Downloaded 113 times

laurb
Posts: 4
Joined: Tue Dec 02, 2014 6:33 am

Re: Capturing from Decklink card broken after December 10 releases

Post by laurb » Mon Jan 02, 2017 11:34 am

Hi.
Seems to be related to viewtopic.php?f=2&t=4837.
regards,
laur

BlackScreen
Posts: 15
Joined: Tue Dec 20, 2016 1:34 pm

Re: Capturing from Decklink card broken after December 10 releases

Post by BlackScreen » Thu Jan 05, 2017 8:41 am

After checking the binarys and what changed between the releases it has to be the removal of the "--disable-w32threads" option.
The custom build in the suite has it, the version from Zeranoe which works for me has it...
So, Zeranoe, can you add this option to your builds again? I would like to use your builds. :)

BlackScreen
Posts: 15
Joined: Tue Dec 20, 2016 1:34 pm

Re: Capturing from Decklink card broken after December 10 releases

Post by BlackScreen » Thu Jan 12, 2017 4:05 pm

Hey Zeranoe,
any news on this issue? Have you looked into this? Would be great! :)

Post Reply
'