Have compiled vlc for blackmagic DecklinkStudio2 centos but

*nix specific usage questions
study0070
Blank Cone
Blank Cone
Posts: 26
Joined: 14 May 2013 13:07

Have compiled vlc for blackmagic DecklinkStudio2 centos but

Postby study0070 » 14 May 2013 13:32

See i have compiled succesfully vlc with blackmagic lates 9.7 sdk with this options

./configure '--prefix=/usr/local/vdeck/' '--disable-skins2' '--disable-lua' 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/share/pkgconfig' '--enable-a52' '--enable-x264' '--enable-libtar' '--enable-pulse' '--enable-postproc' '--enable-dvbpsi' '--enable-dvdread' '--enable-dvdnav' '--disable-fribidi' '--enable-faad' '--enable-run-as-root' '--enable-merge-ffmpeg' '--enable-screen' '--enable-xvideo' '--enable-twolame' '--without-contrib' '--enable-visual' '--enable-vlc' '--enable-udev' '--enable-decklink' '--with-decklink-sdk=/opt/Blackmagic_DeckLink_SDK_9.7/Linux'



But my problem is if i do vlc --list|grep -i decklink it gives me output ->
VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d)
decklink Blackmagic DeckLink SDI input
------------
based on above i think my vlc is now configured to use decklink studio 2 card for input
if correct kindly tell me how i check my vlc with decklink input what command i give to test dat my vlc is taking input from my black magic card.

kindly correct me if i m wrong my lspci command output is below on centos 6.2 me using
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
03:00.0 Multimedia video controller: Blackmagic Design Device a120
04:00.0 PCI bridge: Integrated Technology Express, Inc. Device 8893 (rev 30)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
-----------------------
lsdev output below

0000:00:02.0 f000-f03f
0000:00:1f.2 f060-f07f f080-f083 f090-f097 f0a0-f0a3 f0b0-f0b7
0000:00:1f.3 f040-f05f
0000:06:00.0 e000-e0ff
acpi 9
ACPI 0400-0403 0404-0405 0408-040b 0410-0415 0420-042f 0450-0450
ahci 28 f060-f07f f080-f083 f090-f097 f0a0-f0a3 f0b0-f0b7
blackmagic0 18
cascade 4
dma 0080-008f
dma1 0000-001f
dma2 00c0-00df
ehci_hcd:usb1 16
ehci_hcd:usb2 23
eth0 30
fpu 00f0-00ff
hda_intel 29
hpet2 24
hpet3 25
i8042 1 12
i915 27
IO-APIC-edge 4
iTCO_wdt 0430-0433 0460-047f
keyboard 0060-0060 0064-0064
PCI 0cf8-0cff e000-efff
pic1 0020-0021
pic2 00a0-00a1
pnp 0400-0453 0454-0457 0458-047f 04d0-04d1 0500-057f 0680-069f 0a00-0a1f 0a20-0a2f 0a30-0a3f 1000-100f 164e-164f ffff-ffff ffff-ffff
r8169 e000-e0ff
rtc0 8 0070-0077
serial 02e8-02ef
timer 0
timer0 0040-0043
timer1 0050-0053
vga+ 03c0-03df
---------------------------------------------
You can check dat blackmagic driver are installed
and lsmod|grep -i blackmagic shows this
blackmagic 445376 0

--------------
kindly help on same how to compile vlc for decklink output module and input also if me wrong

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: Have compiled vlc for blackmagic DecklinkStudio2 centos

Postby Jean-Baptiste Kempf » 16 May 2013 18:53

THis is the decklink input, not output
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.

study0070
Blank Cone
Blank Cone
Posts: 26
Joined: 14 May 2013 13:07

Re: Have compiled vlc for blackmagic DecklinkStudio2 centos

Postby study0070 » 17 May 2013 08:48

yes but how find output n compile it in 2.1.0pre version facing these errors on building decklink.cpp
[root@ankur video_output]# g++ decklink.cpp
decklink.cpp:189:73: error: macro "change_string_list" requires 3 arguments, but only 2 given
decklink.cpp:205:73: error: macro "change_string_list" requires 3 arguments, but only 2 given
decklink.cpp:113: error: ‘N_’ was not declared in this scope
decklink.cpp:113: error: ‘N_’ was not declared in this scope
decklink.cpp:113: error: ‘N_’ was not declared in this scope
decklink.cpp:113: error: ‘N_’ was not declared in this scope
decklink.cpp:113: error: ‘N_’ was not declared in this scope
decklink.cpp:113: error: ‘N_’ was not declared in this scope
decklink.cpp:120: error: ‘N_’ was not declared in this scope
decklink.cpp:120: error: ‘N_’ was not declared in this scope
decklink.cpp:120: error: ‘N_’ was not declared in this scope
decklink.cpp: In function ‘int vlc_entry__MODULE_NAME(int (*)(void*, void*, int, ...), void*)’:
decklink.cpp:173: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp:174: error: ‘N_’ was not declared in this scope
decklink.cpp:175: error: ‘N_’ was not declared in this scope
decklink.cpp:176: error: ‘N_’ was not declared in this scope
decklink.cpp:189: error: ‘change_string_list’ was not declared in this scope
decklink.cpp:190: error: expected ‘;’ before ‘vlc_set’
decklink.cpp:206: error: expected ‘;’ before ‘vlc_set’
decklink.cpp: In function ‘void ReleaseDLSys(vlc_object_t*)’:
decklink.cpp:251: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp: In function ‘decklink_sys_t* OpenDecklink(vout_display_t*)’:
decklink.cpp:350: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp:361: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp:368: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp:377: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp:382: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp:384: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp: In function ‘void DisplayVideo(vout_display_t*, picture_t*, subpicture_t*)’:
decklink.cpp:620: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp:647: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp:661: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp: In function ‘void Flush(audio_output_t*, bool)’:
decklink.cpp:754: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp: At global scope:
decklink.cpp:763: error: expected ‘,’ or ‘...’ before ‘fmt’
decklink.cpp: In function ‘int Start(audio_output_t*, audio_sample_format_t*)’:
decklink.cpp:770: error: ‘fmt’ was not declared in this scope
decklink.cpp: In function ‘void PlayAudio(audio_output_t*, block_t*)’:
decklink.cpp:800: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp:802: error: ‘MODULE_STRING’ was not declared in this scope
decklink.cpp: In function ‘int OpenAudio(vlc_object_t*)’:
decklink.cpp:820: error: ‘struct audio_output’ has no member named ‘play’
decklink.cpp:821: error: ‘struct audio_output’ has no member named ‘start’
decklink.cpp:822: error: ‘struct audio_output’ has no member named ‘flush’
decklink.cpp:823: error: ‘struct audio_output’ has no member named ‘time_get’
decklink.cpp:825: error: ‘struct audio_output’ has no member named ‘pause’
decklink.cpp:826: error: ‘struct audio_output’ has no member named ‘stop’
decklink.cpp:827: error: ‘struct audio_output’ has no member named ‘mute_set’
decklink.cpp:828: error: ‘struct audio_output’ has no member named ‘volume_set’

study0070
Blank Cone
Blank Cone
Posts: 26
Joined: 14 May 2013 13:07

Re: Have compiled vlc for blackmagic DecklinkStudio2 centos

Postby study0070 » 17 May 2013 12:50

ya i have run make and configure with these options
--prefix=/usr/local/v210/ --disable-skins2 --disable-lua PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/share/pkgconfig --enable-a52 --enable-x264 --enable-libtar --enable-pulse --enable-postproc --enable-dvbpsi --enable-dvdread --enable-dvdnav --disable-fribidi --enable-faad --enable-run-as-root --enable-merge-ffmpeg --enable-screen --enable-xvideo --enable-twolame --without-contrib --enable-visual --enable-vlc --enable-udev --enable-decklink --with-decklink-sdk=/opt/Blackmagic_DeckLink_SDK_9.7/Linux/

its fine
but make giving two errors
make[5]: Leaving directory `/opt/vlc/modules/video_chroma'
make[4]: Leaving directory `/opt/vlc/modules/video_chroma'
make[3]: Leaving directory `/opt/vlc/modules/video_chroma'
Making install in video_filter
make[3]: Entering directory `/opt/vlc/modules/video_filter'
make install-am
make[4]: Entering directory `/opt/vlc/modules/video_filter'
CC libdeinterlace_plugin_la-algo_x.lo
deinterlace/algo_x.c: In function ‘XDeintBand8x8MMXEXT’:
deinterlace/algo_x.c:503: internal compiler error: in memory_address, at explow.c:493
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccipGDTw.out file, please attach this to your bugreport.
make[4]: *** [libdeinterlace_plugin_la-algo_x.lo] Error 1
make[4]: Leaving directory `/opt/vlc/modules/video_filter'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/opt/vlc/modules/video_filter'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/opt/vlc/modules'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/opt/vlc'
make: *** [install] Error 2

i m not getting whats the error denote deinterlace/algo_x.c is having error pls give some idea n help to compile it successfully

study0070
Blank Cone
Blank Cone
Posts: 26
Joined: 14 May 2013 13:07

Re: Have compiled vlc for blackmagic DecklinkStudio2 centos

Postby study0070 » 17 May 2013 12:51

i m now compiling vlc version 2.1.0pre1\
and getting 2 make error in deinternlace/algo_x.c blah blah

ya i have run make and configure with these options
--prefix=/usr/local/v210/ --disable-skins2 --disable-lua PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/share/pkgconfig --enable-a52 --enable-x264 --enable-libtar --enable-pulse --enable-postproc --enable-dvbpsi --enable-dvdread --enable-dvdnav --disable-fribidi --enable-faad --enable-run-as-root --enable-merge-ffmpeg --enable-screen --enable-xvideo --enable-twolame --without-contrib --enable-visual --enable-vlc --enable-udev --enable-decklink --with-decklink-sdk=/opt/Blackmagic_DeckLink_SDK_9.7/Linux/

its fine
but make giving two errors
make[5]: Leaving directory `/opt/vlc/modules/video_chroma'
make[4]: Leaving directory `/opt/vlc/modules/video_chroma'
make[3]: Leaving directory `/opt/vlc/modules/video_chroma'
Making install in video_filter
make[3]: Entering directory `/opt/vlc/modules/video_filter'
make install-am
make[4]: Entering directory `/opt/vlc/modules/video_filter'
CC libdeinterlace_plugin_la-algo_x.lo
deinterlace/algo_x.c: In function ‘XDeintBand8x8MMXEXT’:
deinterlace/algo_x.c:503: internal compiler error: in memory_address, at explow.c:493
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccipGDTw.out file, please attach this to your bugreport.
make[4]: *** [libdeinterlace_plugin_la-algo_x.lo] Error 1
make[4]: Leaving directory `/opt/vlc/modules/video_filter'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/opt/vlc/modules/video_filter'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/opt/vlc/modules'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/opt/vlc'
make: *** [install] Error 2

i m not getting whats the error denote deinterlace/algo_x.c is having error pls give some idea n help to compile it successfully

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: Have compiled vlc for blackmagic DecklinkStudio2 centos

Postby Jean-Baptiste Kempf » 17 May 2013 14:58

STOP multi-posting. This is very annoying.
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.

study0070
Blank Cone
Blank Cone
Posts: 26
Joined: 14 May 2013 13:07

Re: Have compiled vlc for blackmagic DecklinkStudio2 centos

Postby study0070 » 18 May 2013 13:56

Jean sory by mistake

see me getting this error while playing in vlc to decklink out otherwise all is ok with me

video blending module "blend"
[0x8eca220] main video output debug: Detected interlaced video
[0x8eca220] main video output debug: deinterlace 0, mode blend, is_needed 1
[0xb7286f40] main vout display error: Failed to change zoom
[0xb7286f40] main vout display error: Failed to set on top
[0xb7286f40] main vout display error: Failed to change source AR
[0xb7400b18] main input debug: Buffering 42%
[0xb7400b18] main input debug: Buffering 49%
[0xb7400b18] main input debug: Buffering 56%
[0xb7400b18] main input debug: Buffering 63%
[0xb7400b18] main input debug: Buffering 70%
[0xb7400b18] main input debug: Buffering 77%
[0xb7400b18] main input debug: Buffering 84%
[0xb7400b18] main input debug: Buffering 91%
[0xb7400b18] main input debug: Buffering 98%
[0xb7400b18] main input debug: Stream buffering done (1050 ms in 1047 ms)
[0xb7400b18] main input debug: Decoder buffering done in 0 ms
[0x8ec1b58] decklinkoutput audio output error: Written only 768 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 samples out of 1152
[0x8ec1b58] decklinkoutput audio output error: Written only 0 sam


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

Who is online

Users browsing this forum: No registered users and 14 guests