You are not logged in.
Pages: 1
Hi, I haven't had an issue with VLC until now.
When trying to play an .mp4 file through VLC I'm getting the following error regarding the missing Codec
[jaczel@Arch The Linux Action Show_ Video]$ cvlc linuxactionshowep283-432p.mp4
VLC media player 2.1.0 Rincewind (revision 2.1.0-0-gedd8835)
[0x2112288] pulse audio output error: PulseAudio server connection failure: Connection refused
[0x21a0758] dummy interface: using the dummy interface module...
[0x7f572d7b05c8] main decoder error: no suitable decoder module for fourcc `h264'.
VLC probably does not support this sound or video format.
[0x7f572d7b05c8] main decoder error: No suitable decoder module
[0x7f572d7b05c8] main decoder error: VLC does not support the audio or video format "h264".
Unfortunately there is no way for you to fix this.
If I input vlc -vv through the terminal I get this response:
[jaczel@Arch usr]$ vlc -vv ~/gPodder/Downloads/The\ Linux\ Action\ Show_\ Video
/linuxactionshowep283-432p.mp4
VLC media player 2.1.0 Rincewind (revision 2.1.0-0-gedd8835)
[0x8f7148] main libvlc debug: VLC media player - 2.1.0 Rincewind
[0x8f7148] main libvlc debug: Copyright 1996-2013 the VideoLAN team
[0x8f7148] main libvlc debug: revision 2.1.0-0-gedd8835
[0x8f7148] main libvlc debug: configured with ./configure '--prefix=/usr' '--sysconfdir=
/etc' '--disable-rpath' '--enable-faad' '--enable-nls' '--enable-lirc' '--enable-pvr'
'--enable-ncurses' '--enable-realrtsp' '--enable-xosd' '--enable-aa' '--enable-vcdx'
'--enable-upnp' '--enable-opus' '--enable-sftp' 'LUAC=luac5.1' 'RCC=/usr/bin/rcc-qt4'
'CFLAGS=-I/usr/include/samba-4.0' 'LDFLAGS=-Wl,-O1,--sort-common,
--as-needed,-z,relro' 'CPPFLAGS=-I/usr/include/samba-4.0' 'CXXFLAGS=-
march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=
4' 'PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig'
[0x8f7148] main libvlc debug: searching plug-in modules
[0x8f7148] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0x8f7148] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec
/libspeex_plugin.so' (libspeex.so.1: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec
/libtwolame_plugin.so' (libtwolame.so.0: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec
/libavcodec_plugin.so' (libspeex.so.1: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec
/libvaapi_plugin.so' (libspeex.so.1: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/demux
/libavformat_plugin.so' (libspeex.so.1: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins
/services_discovery/libmtp_plugin.so' (libmtp.so.9: cannot open shared object file:
No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization
/libprojectm_plugin.so' (libprojectM.so.2: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins
/visualization/libgoom_plugin.so' (libgoom2.so.0: cannot open shared object file:
No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/control
/liblirc_plugin.so' (liblirc_client.so.0: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/audio_filter
/libspeex_resampler_plugin.so' (libspeexdsp.so.1: cannot open shared object file:
No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access
/libaccess_avio_plugin.so' (libspeex.so.1: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access
/libaccess_mtp_plugin.so' (libmtp.so.9: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access
/libvcdx_plugin.so' (libvcdinfo.so.0: cannot open shared object file: No such file or directory)
[0x8f7148] main libvlc warning: cannot load module `/usr/lib/vlc/plugins
/access_output/libaccess_output_shout_plugin.so' (libspeex.so.1: cannot open
shared object file: No such file or directory)
I've Pacman -Syu'd VLC, x264, ffmpeg, ffmpeg-compat a number of times and it still doesn't register. They're also all up to date.
As well as this, I've gone through the /usr/lib/vlc folder and all the codecs seem to be there.
Does anyone know what I might be missing? Any help would be appreciated
Also, if I've missed any additional information that could help resolve this please let me know. This is the first time I've posted on the BBS forums.
I should also mention that the audio works fine through VLC, it's just the video doesn't play.
As well as that, if I play an mp4 file through my browser it works fine so.
Last edited by Jaczel (2013-10-25 05:57:24)
Offline
Hi Jaczel,
Have you done a full pacman -Syu, or just for specific packages? You may be having issues with glibc as per:
Offline
Hi ArchWA,
Thanks for the response. Yes, I've done a full pacman -Syu. I've also noticed that it's not just mp4 files, I can't avi or mkv files through VLC as well but I can play them through Chromium.
Offline
OK. You mentioned that your codecs seem to be there. Are they the same versions? ie. some_plugin.so.#
Offline
Here is my output of
/usr/lib/vlc/plugins/codec
liba52_plugin.so libavutil.so libmpeg_audio_plugin.so libswresample.so.0
libadpcm_plugin.so libavutil.so.51 libopus_plugin.so libswresample.so.0.6.100
libaes3_plugin.so libavutil.so.51.35.100 libpng_plugin.so libswscale.so
libaraw_plugin.so libcc_plugin.so libpostproc.so libswscale.so.2
libavcodec.so libcdg_plugin.so libpostproc.so.52 libswscale.so.2.1.100
libavcodec.so.53 libcvdsub_plugin.so libpostproc.so.52.0.100 libt140_plugin.so
libavcodec.so.53.61.100 libddummy_plugin.so librawvideo_plugin.so libtelx_plugin.so
libavcodec_plugin.so libdts_plugin.so libschroedinger_plugin.so libtheora_plugin.so
libavdevice.so libdvbsub_plugin.so libscte27_plugin.so libtwolame_plugin.so
libavdevice.so.53 libedummy_plugin.so libsdl_image_plugin.so libuleaddvaudio_plugin.so
libavdevice.so.53.4.100 libfaad_plugin.so libspeex_plugin.so libvaapi_plugin.so
libavfilter.so libflac_plugin.so libspudec_plugin.so libvorbis_plugin.so
libavfilter.so.2 libg711_plugin.so libstl_plugin.so libx264_plugin.so
libavfilter.so.2.61.100 libkate_plugin.so libsubsdec_plugin.so libxwd_plugin.so
libavformat.so liblibass_plugin.so libsubsusf_plugin.so libzvbi_plugin.so
libavformat.so.53 liblibmpeg2_plugin.so libsvcdsub_plugin.so pkgconfig
libavformat.so.53.32.100 liblpcm_plugin.so libswresample.so
Offline
The current libavcodec is at .55, and yours is .53. Is your mirror up to date? If it is, try doing a pacman -Syyu.
Offline
It's fixed! While trying to issue ffmpeg to determine its version and which version of libavcodec was needed I got the response
ffmpeg: error while loading shared libraries: libspeex.so.1: cannot open shared object file: No such file or directory
I think I must have accidently removed libspeex.so.1 at some point so I force pacman -S'd speex (due to conflicting files where files already existed) and everything started working again.
I guess ffmpeg couldn't run whenever it needed to decode the video.
Thanks for your help ArchWA.
Offline
That's great. Please mark as solved.
Offline
I just wanted to add I had this same problem. VLC would play audio for .mp4 but not the video.
my version : vlc 2.1.4-2
following jaczel troubleshooting method
I immediately updated x264
and
ffmpeg
that didnt solve the problem
so I
ffmpeg
ffmpeg: error while loading shared libraries: libx265.so.21: cannot open shared object file: No such file or directory
find / -type f -name libx265.so*
pkgfile -r libx265.so.21
extra/x265
pacman -S x265
that solved the problem
I just wanted to put this here in case anyone else needs it.
Offline
Pages: 1