libvlc and ffmpeg library compatability issue
Posted: 02 Oct 2009 23:14
Hello Guys,
In my program I am using both libvlc (for playing media files) and ffmpeg ( for decoding/muxing/adding containers) libraries. ffmpeg libraries are installed with libx264 support.
When I compile and link my program with both libvlc and ffmpeg libraries, libvlc doesn't play any h264 encoded files. But it plays the h264 files when my program is not linked with ffmpeg libraries ( libavcodec, libavformat, libx264, libavutil and libavdevice ).
Here is the libvlc error,
I am using the libvlc deb package, libvlc-dev.
I some need help in solving this issue. Any help is appreciated.
Thanks
Arjunen
In my program I am using both libvlc (for playing media files) and ffmpeg ( for decoding/muxing/adding containers) libraries. ffmpeg libraries are installed with libx264 support.
When I compile and link my program with both libvlc and ffmpeg libraries, libvlc doesn't play any h264 encoded files. But it plays the h264 files when my program is not linked with ffmpeg libraries ( libavcodec, libavformat, libx264, libavutil and libavdevice ).
Here is the libvlc error,
Code: Select all
[00000507] avcodec decoder error: cannot open codec (H264 - MPEG-4 AVC(part 10))
[00000507] main decoder error: no suitable decoder module for fourcc 'h264'.
VLC probably does not support this sound or video format.
I some need help in solving this issue. Any help is appreciated.
Thanks
Arjunen