Page 1 of 1
Regarding new VLC plugin
Posted: 22 May 2013 08:31
by navaznazar
Good morning,
I am an software engineer and i have a task to integrate the emerging HEVC video decoder in VLC for streaming(to test) purpose.The things i have done so far is:
1)Download the latest version VLC2.0.6 source code and ffmpeg version 1.2.1from internet, because if we want to integrate any new video decoder in VLC we have to add the decoder in ffmpeg-->libavcodec library
2)I ll try to view how other decoders like H264 is integrated in VLC ?
But i am not able to find how they integrated because lot of files are present in both VLC and ffmpeg regarding H264 .
Moreover i found the H264 decoder source and header files in ffmpeg -->libav codec library but i don't know which function or API call this h264 decoder.
According to my understanding VlC first demux the file and separate the audio,video and subtitle file,then by some condition it determine the video type file and call particular decoder to decode.
Kindly let me know in which files i have to make the change for the integration of HEVC decoder in VLC
(or)some other useful documentation (or)websites.
Re: Regarding new VLC plugin
Posted: 23 May 2013 12:22
by Jean-Baptiste Kempf
Code on VLC.git, not 2.0.6
Re: Regarding new VLC plugin
Posted: 07 Jun 2013 07:57
by navaznazar
Thanks...I have already searched in the forum regarding ax file but i am not clear .
The simplest way of integrating any new video decoder in VLC is creating ax files(i.e as an external codec) using directshow API for our HEVC decoder(which is in C language).After creating ax files where i have to add the ax file in VLC media player.
Whether it is possible to convert c code to ax files .If i want to add our decoder as an external codec what i have to do.
Kindly let me know regarding this ax files in VLC (or)through some useful links.
Re: Regarding new VLC plugin
Posted: 08 Jun 2013 00:23
by Jean-Baptiste Kempf
There is no .ax support in VLC. What you can do is to use a module like the dmo one.
Re: Regarding new VLC plugin
Posted: 10 Jun 2013 14:11
by navaznazar
Thanks.I have searched regarding the DMO(directx media object) codec present in vlc/modules/codec/dmo.
I have go through the dmo.c and dmo.h in that folder,but i am not clear.Because i am having the decoder code in c language.
Also i am new to this so please let me know what are the steps that i have to follow to add these decoder as a dmo in VLC.
Moreover how the VLC will works with the dmo you have mentioned above.
Re: Regarding new VLC plugin
Posted: 10 Jun 2013 17:13
by Jean-Baptiste Kempf
Your decoder is a dll, right?
Re: Regarding new VLC plugin
Posted: 11 Jun 2013 07:29
by navaznazar
Sorry for the late reply..Our decoder is a dll one.
How to add the dlls in VLC to decode the .h265 or hevc file.
Re: Regarding new VLC plugin
Posted: 11 Jun 2013 17:33
by RĂ©mi Denis-Courmont
You need to write a VLC decoder plugin that either loads your library at run time, or links to your library at build time.
Re: Regarding new VLC plugin
Posted: 12 Jun 2013 13:13
by navaznazar
Thanks.I am using visual studio 2008 in which i can link the Decoder library in linker path.
But you have mentioned that need to write a VLC decoder plugin.As i am new to this please mention where i have to make changes
Moreover they asking me the simplest integration of decoder in VLC
1)method they suggested(obtained from one of the forum)
-->convert the code as ax
-->add as external codec in VLC settings
-->if we give the .h265 or HEVC file first it will search in the internal codecs
-->if not then it will search the external codec and decode the respective file
Please correct me if I am wrong.
Re: Regarding new VLC plugin
Posted: 17 Jun 2013 10:18
by navaznazar
Hi,
I had searched your forums for the past two days and i came to know that VLC source code was not compilable(very complex process) in visual studio from the following link
viewtopic.php?f=32&t=88409 .Already you have mentioned there is no ax file support.Sorry i don't have any other idea please mention what i have to do for the integration of our HEVC decoder.The following are the information that i want to share:
1)our decoder is a .lib as well as dll.
2)our decoder is a pure c code
3)If i want to integrate how i have to start kindly provide some help regarding this or through any link.
As a fresher i am not having any knowledge regarding this.Also please mention the simplest integration that is possible.
Moreover i am trying to compile the code in windows using mingw compiler(from Win32compilemsys webpage)but i dont know where i have to make change and where i have to add our decoder as a dll or lib.