Sharing codecs / plugins between VLC and FFmpeg

This forum is about all development around libVLC.
BarneyRubble
New Cone
New Cone
Posts: 4
Joined: 31 Aug 2014 14:04

Sharing codecs / plugins between VLC and FFmpeg

Postby BarneyRubble » 31 Aug 2014 14:20

Hi I have just managed to cross compile a build of FFmpeg for Windows, and I plan to use functions from FFmpeg and VLC in a .NET application using one of the VLC .NET wrappers.

It occurs to me that since VLC uses FFmpeg, it might be possible to build VLC in such a way that it can access FFmpeg's shared libraries instead of having to duplicate many of the codecs again in VLC's Plugins folder. Is this possible? I did find scattered references to '--enable-merge-ffmpeg' but there was no explanation longer than a few words describing what this does.

Any thoughts would be much appreciated.

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

Re: Sharing codecs / plugins between VLC and FFmpeg

Postby Rémi Denis-Courmont » 31 Aug 2014 14:46

The VLC build system will automatically favor the dynamic version of FFmpeg or libav if it finds one. This is normal, so there is no specific option.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

BarneyRubble
New Cone
New Cone
Posts: 4
Joined: 31 Aug 2014 14:04

Re: Sharing codecs / plugins between VLC and FFmpeg

Postby BarneyRubble » 01 Sep 2014 11:38

Thanks very much Rémi.
Does that mean that VLC will not need to build its plugins folder? I assume you mean it will use the codecs from the FFmpeg .dlls?

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

Re: Sharing codecs / plugins between VLC and FFmpeg

Postby Rémi Denis-Courmont » 01 Sep 2014 17:38

VLC always needs plugins regardless, it cannot use the DLLs directly.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 74 guests