Decklink 2.1.0 Ubuntu 13.04

*nix specific usage questions
craaig
Blank Cone
Blank Cone
Posts: 14
Joined: 27 Sep 2013 18:15

Decklink 2.1.0 Ubuntu 13.04

Postby craaig » 12 Oct 2013 01:58

Hey,

So i've decided to bite the bullet and install Ubuntu 13.04 in an effort to get the Decklink output working. If anyone can help, please do! I am new to linux, however i've used terminal before on a few occasions and i know a basic amount..

So, The end result is to play DCPs in VLC, and output the video through a Decklink card output. I noticed that these were new features in 2.1.0 and immediately thought they had been reading my mind! But the idea is about as far as I've got.

I've installed Ubuntu 10.04, and install the Decklink drivers. The decklink shows up in /dev, and the Decklink control panel works, and shows the correct card. Now onto VLC:

I had a few issues getting 2.1.0 on Ubuntu, downloading the easy install version gave me 2.0.8, and so did apt-get update.. So i ended up getting the source and compiling my own version..

I've tried:

./configure
make
sudo make install

Which gave me the desired, 2.1.0, but the relief was short-lived.. Because the decklink was still missing, and doing a ./vlc --list didn't show anything int he way of decklink modules. Is this event the right command?

I tried:
./configure --enable-decklink
make
sudo make install

Still no Decklink. The source code definately has the Decklink.cpp or w/e it's called.

I've finished work for the week, but I need things i can try next time i'm in,
Should i try ./vlc '--with-decklink' or ./vlc -vout decklink --aout decklink

I get a feeling I may have just not compiled it correctly, any help? I don't understand all the VLC compile options at all.. I've resorted to copying long ./configure ... strings off of forums in the hopes that soemthing will work, but i really need a solution quick!

Any help would be greatly appreciated!

craaig
Blank Cone
Blank Cone
Posts: 14
Joined: 27 Sep 2013 18:15

Re: Decklink 2.1.0 Ubuntu 10.04

Postby craaig » 12 Oct 2013 17:57

Ok,

I have compiled with ./configure --enable-decklink --with-decklink-sdk=/home/user/DecklinkSDKinc

After downloading the SDK, I realised that the VLC module is just using the SDK anyway.. Or so it seems..

vlc --list-verbose | grep decklink
VLC media player 2.1.0 Rincewind (revision 2.1.0-0-gedd8835)
decklink Blackmagic DeckLink SDI input
decklinkoutput output module to write to Blackmagic SDI card
decklinkoutput Decklink Audio Output module
decklinkoutput Decklink Video Output module

Which has compiled decklink into VLC, I can then see it in the output modules, but now my error is:

[0x7f1870001248] main vout display debug: looking for vout display module matching "decklink": 12 candidates
[0x7f1870001248] main vout display debug: no vout display modules matched
[0x7f1878000958] main video output error: video output creation failed
[0x7f1878001d48] main spu text debug: removing module "freetype"
[0x7f1878039828] main scale debug: removing module "yuvp"
[0x7f1878005458] main scale debug: removing module "swscale"
[0x7f1888d861e8] main decoder error: failed to create video output
[0x7f1888d861e8] main decoder warning: can't get output picture
[0x7f1888d861e8] avcodec decoder warning: disabling direct rendering
[0x7f189000aa38] main input debug: Decoder buffering done in 4 ms

However,

If I do a:
vlc -vvv --vout=decklinkoutput --aout=decklinkoutput
it works.

craaig
Blank Cone
Blank Cone
Posts: 14
Joined: 27 Sep 2013 18:15

Re: Decklink 2.1.0 Ubuntu 10.04

Postby craaig » 12 Oct 2013 19:11

It works with both vout and aout but not just vout. This is fine, now how to make this the default output?

craaig
Blank Cone
Blank Cone
Posts: 14
Joined: 27 Sep 2013 18:15

Re: Decklink 2.1.0 Ubuntu 13.04

Postby craaig » 14 Oct 2013 23:02

Omg, it's 13.04, not 10.04 :/

So i've got that all set and working with the decklink, next step is getting the DCP built, which is proving to be difficult also. I can get it to show up in ./configure --list.. but it fails on the make.


One problem i've found so far, is that when changing file in the playlist the decklink output fails.

craaig
Blank Cone
Blank Cone
Posts: 14
Joined: 27 Sep 2013 18:15

Re: Decklink 2.1.0 Ubuntu 10.04

Postby craaig » 15 Oct 2013 12:03

So i've configured with - ./configure --enable-decklink --with-decklink-sdk=/home/user/DecklinkSDKinc --enable-dcp

after downloading the patch available at: https://gitorious.org/vlc-dcinema/vlc-d ... 5af51bcf59

Of course you can download the entire branch and compile a new copy of 'vlc-dcinema'.

Both Decklink modules and DCP modules are listed using vlc --list.

asdcplib was a pain to get working on ubuntu, but in the end after updating all the dependancies and it still not compiling properly, I think I went with a pre-built .deb file I found.

The problem still persists, where if I have multiple files in the playlist, it will play the first file absolutely fine, and then the video_output will fail when switching to the second file. I'll play with this.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Decklink 2.1.0 Ubuntu 10.04

Postby Jean-Baptiste Kempf » 15 Oct 2013 13:05

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Decklink 2.1.0 Ubuntu 10.04

Postby Jean-Baptiste Kempf » 15 Oct 2013 13:06

It works with both vout and aout but not just vout. This is fine, now how to make this the default output?
Preferences.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Decklink 2.1.0 Ubuntu 13.04

Postby Jean-Baptiste Kempf » 15 Oct 2013 13:08

One problem i've found so far, is that when changing file in the playlist the decklink output fails.
File a bug about that and assign it to "funman"
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

craaig
Blank Cone
Blank Cone
Posts: 14
Joined: 27 Sep 2013 18:15

Re: Decklink 2.1.0 Ubuntu 10.04

Postby craaig » 16 Oct 2013 11:42

It works with both vout and aout but not just vout. This is fine, now how to make this the default output?
Preferences.
Thanks,
I actually just manually added it to the vlcrc file which seems to have done it the 'long way around'.

funkytwig
Blank Cone
Blank Cone
Posts: 12
Joined: 27 Dec 2013 16:11

Re: Decklink 2.1.0 Ubuntu 13.04

Postby funkytwig » 05 Sep 2014 17:09

OK, read thread, are people saying vlc in Unbuntu had desklink suport compiled in?

Also if it halps use DCPOMatic to make DCP but dont think VLC can play them.

Ben


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests