Page 1 of 1

need VLC OUTPUT module for decklink studio2 any help?

Posted: 16 May 2013 06:40
by study0070
Actualy my task is to take input stream from UDP and send it to using vlc to blackmagic output ..

Not able to find output module for vlc 2-0.5 version or recommend me which version i should use it to make it happen successfully

Re: need VLC OUTPUT module for decklink studio2 any help?

Posted: 16 May 2013 18:37
by Jean-Baptiste Kempf
You can only have it on 2.1.0

Re: need VLC OUTPUT module for decklink studio2 any help?

Posted: 17 May 2013 08:47
by study0070
but in 2.1.0 decklink.cpp compilation with gcc showing errors. how to compile that
[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’

Re: need VLC OUTPUT module for decklink studio2 any help?

Posted: 17 May 2013 12:52
by study0070
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

Re: need VLC OUTPUT module for decklink studio2 any help?

Posted: 22 May 2013 17:42
by Rémi Denis-Courmont
That's a compiler bug. We cannot help you with that here. Update your compiler.

Re: need VLC OUTPUT module for decklink studio2 any help?

Posted: 23 May 2013 08:50
by study0070
see me using 4.7.3 gcc lates one i think in cetos then also facing same error any idea why

Re: need VLC OUTPUT module for decklink studio2 any help?

Posted: 23 May 2013 17:21
by Rémi Denis-Courmont
Yes: there is a bug in your compiler and it crashes.

Re: need VLC OUTPUT module for decklink studio2 any help?

Posted: 24 May 2013 09:31
by study0070
so which version of gcc i used can u share?

also do u know --decklink-vout-mode options to pass