Regarding new VLC plugin

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
navaznazar
New Cone
New Cone
Posts: 8
Joined: 14 May 2013 07:50

Regarding new VLC plugin

Postby navaznazar » 22 May 2013 08:31

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.

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: Regarding new VLC plugin

Postby Jean-Baptiste Kempf » 23 May 2013 12:22

Code on VLC.git, not 2.0.6
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.

navaznazar
New Cone
New Cone
Posts: 8
Joined: 14 May 2013 07:50

Re: Regarding new VLC plugin

Postby navaznazar » 07 Jun 2013 07:57

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.

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: Regarding new VLC plugin

Postby Jean-Baptiste Kempf » 08 Jun 2013 00:23

There is no .ax support in VLC. What you can do is to use a module like the dmo one.
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.

navaznazar
New Cone
New Cone
Posts: 8
Joined: 14 May 2013 07:50

Re: Regarding new VLC plugin

Postby navaznazar » 10 Jun 2013 14:11

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.

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: Regarding new VLC plugin

Postby Jean-Baptiste Kempf » 10 Jun 2013 17:13

Your decoder is a dll, right?
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.

navaznazar
New Cone
New Cone
Posts: 8
Joined: 14 May 2013 07:50

Re: Regarding new VLC plugin

Postby navaznazar » 11 Jun 2013 07:29

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Regarding new VLC plugin

Postby Rémi Denis-Courmont » 11 Jun 2013 17:33

You need to write a VLC decoder plugin that either loads your library at run time, or links to your library at build time.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

navaznazar
New Cone
New Cone
Posts: 8
Joined: 14 May 2013 07:50

Re: Regarding new VLC plugin

Postby navaznazar » 12 Jun 2013 13:13

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.

navaznazar
New Cone
New Cone
Posts: 8
Joined: 14 May 2013 07:50

Re: Regarding new VLC plugin

Postby navaznazar » 17 Jun 2013 10:18

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 109 guests