Page 1 of 1
Cannot decode certain video files
Posted: 25 Oct 2008 18:36
by nathanb
When I go to decode some video files, I see
"No suitable decoder module:
VLC does not support the audio or video format "undf". Unfortunately there is no way for you to fix this."
The video will play, but there will be no audio. However, the audio is 'vorbis', so I would assume that VLC can play it:
Code: Select all
[nathan@ebisu /mnt/raid/media/] ffmpeg -i Test.mkv
built on Sep 21 2008 21:05:10, gcc: 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
Input #0, matroska, from 'Test.mkv':
Duration: 00:24:44.98, start: 0.000000, bitrate: N/A
Stream #0.0(): Video: h264, yuv420p, 704x400, 23.98 tb(r)
Stream #0.1(): Audio: vorbis, 48000 Hz, stereo, s16 <=====================
Mplayer can play the files. Is this a bug (undf looks a little suspicious), or is it just the case that VLC legitimately can't play mkv files with vorbis audio streams?
Thanks.
Re: Cannot decode certain video files
Posted: 31 Oct 2008 03:52
by sprockkets
Same issue here. Works fine in Windows with the exact same file.
Even worse, I just upgraded to 0.9.5 via the VLC repo for opensuse 11.0, and now, it can't play anything. Now it says, it cannot handle the format "XVID", and there is nothing you can do about it.
I've tried making sure all installed vlc packages are on the same arch and same version number, with no effect.
Re: Cannot decode certain video files
Posted: 31 Oct 2008 03:59
by nathanb
Hm, I maybe should have mentioned that I'm on OpenSUSE 11.0 as well..
I wonder if VLC is just pants on SUSE, since nobody else seems to have (or care about) this problem...
Nathan
Re: Cannot decode certain video files
Posted: 31 Oct 2008 04:42
by Arite
VLC doesn't provide packages for you distribution, your distribution does that. Presumably it is a broken package (ask on e.g. the openSUSE forums).
Arite.
Re: Cannot decode certain video files
Posted: 31 Oct 2008 14:31
by nathanb
So the packages at
http://www.videolan.org/vlc/download-suse.html (download.videolan.org) are not provided by VLC?
...weird.
Re: Cannot decode certain video files
Posted: 31 Oct 2008 15:12
by Arite
The downloadable *.ymp file contains links to both the openSUSE 11.0 repository and the VideoLAN one. AFAIK VLC does not provide the openSUSE one. The issue sounds like a problem with FFmpeg however.
Arite.
Re: Cannot decode certain video files
Posted: 31 Oct 2008 15:41
by nathanb
The downloadable *.ymp file contains links to both the openSUSE 11.0 repository and the VideoLAN one. AFAIK VLC does not provide the openSUSE one. The issue sounds like a problem with FFmpeg however.
Arite.
I should specify that I'm using the one from the videolan repository (which is generally more up-to-date than the openSUSE one.
I'm using a version of ffmpeg I compiled myself, so your diagnosis may be accurate (I had forgotten about this until you mentioned it because it's been working fine for me up to this point). I'll see what ffmpeg thinks of this file on the command line.
Thanks,
Nathan
Re: Cannot decode certain video files
Posted: 01 Nov 2008 04:04
by sprockkets
Same here. We subscribe to the vlc repo which is on download.videolan.org/pub/videolan/vlc/suse/11 , just as the instructions say for us to do. Otherwise, we would not have the 0.9.5 version so soon. I can test with Packman's packages, but feel like VLC's own repo should be better.
Re: Cannot decode certain video files
Posted: 01 Nov 2008 04:35
by sprockkets
After updating ffmpeg, it now plays all the files like before, except, as usual, it can play ogm files that have x264 and vorbis used for video and audio, encoded with avidemux. However, it still chokes on the same formats in the matroska container, notably, it still thinks the vorbis audio is undf.
I again, for the developers, say you should check the mkv code for why on linux it cannot detect vorbis streams in said file container.
Edit: We should also add the ffmpeg installed is from the vlc repo. I wish it was part of the requirements upon install but whatever.
Re: Cannot decode certain video files
Posted: 01 Jun 2009 16:41
by brainpower
I had the same problem, but I've solved it.
I did following:
1. installed "libmatroska-dev", "libebml-dev" and "libvorbisidec-dev"
2. downloaded the vlc source
3. ran the "configure" script with this parameters:
Code: Select all
$ ./configure --enable-real --enable-matroska --enable-libmatroska --enable-realrtsp --enable-flac --enable-vorbis --enable-theora --enable-goom --enable-lirc --build=i486-linux-gnu --enable-maintainer-mode --enable-release --enable-libtool --enable-ggi --enable-sdl --enable-esd --enable-mad --enable-jack --enable-pulse --enable-a52 --disable-gnome --disable-gtk --enable-aa --enable-dvbpsi --disable-kde --enable-mp4 --enable-dvb --enable-ogg --enable-shout --enable-qt4 --disable-satellite --disable-slp --disable-skins --disable-basic-skins --enable-skins2 --enable-freetype --enable-mkv --enable-speex --enable-caca --enable-live555 --enable-libmpeg2 --enable-fribidi --enable-cdio --enable-mod --enable-theora --enable-modplug --enable-dvdnav --enable-gnutls --enable-ffmpeg --enable-ncurses --enable-smb --enable-bonjour -disable-gnomevfs --enable-mpc --enable-vcd --enable-vcdx --enable-notify --enable-twolame --enable-faad --disable-zvbi --enable-telx --enable-mediacontrol-bindings --enable-taglib --disable-atmo --enable-libass --enable-libdca --disable-dv --enable-x264 --enable-alsa --enable-v4l --enable-v4l2 --enable-pvr --enable-svgalib --enable-dvd build_alias=i486-linux-gnu CFLAGS="-g -O2" LDFLAGS="-Wl,--as-needed" CPPFLAGS= CXXFLAGS="-g -O2" | grep error
4. compiled the source with "make"
PS: You may have to install some other libs like "libass-dev" or "libdca-dev".
Re: Cannot decode certain video files
Posted: 25 Nov 2009 15:25
by AKoine
Hi all,
I have the same problem, both on my previous OpenSuSE 11.1 and my current 11.2 (both x64), with the vlc package from packman and the vlc repos (ffmpeg from VLC repos as well), whereas the very same file runs fine with vlc on Windows 7 x64. I tried the above-mentioned hand compiling, but several ./configure options are not recognized as valid (e.g. --enable-matroska and a dozen others) and it asks for more and more devel depencies, so I gave up ... stuck with Mplayer !
Any thoughts ?
Cheers,
Antoine
Re: Cannot decode certain video files
Posted: 25 Nov 2009 18:08
by Rémi Denis-Courmont
It's --enable-mkv not --enable-matroska.
Re: Cannot decode certain video files
Posted: 29 Nov 2009 11:15
by AKoine
Hi, and thanks for the reply !
Ok, it solved this configure option, but still left me with all the others:
Code: Select all
configure: WARNING: unrecognized options: --enable-libmatroska, --enable-libtool, --enable-esd, --disable-gnome, --disable-gtk, --disable-kde, --enable-mp4, --disable-satellite, --disable-slp, --disable-skins, --disable-basic-skins, --enable-cdio, --enable-modplug, --enable-ffmpeg, --enable-mediacontrol-bindings, --enable-libdca, --enable-dvd
Then it couldn't find libavcodec or libavutil (whereas libavcodec52 and libavutil50 are installed), I had to add the option --disable-avcodec, same thing with libavformat then libswscale. That's where I gave up again ...
No big deal, SMPlayer plays fine the few files vlc doesn't want to hear about. But vlc is such a great software, I would have loved to be able to use it for all my files ...
Cheers,
Antoine
Re: Cannot decode certain video files
Posted: 29 Nov 2009 11:40
by Rémi Denis-Courmont
You always need the corresponding -dev package when building from source.
Re: Cannot decode certain video files
Posted: 30 Nov 2009 12:24
by AKoine
That's what I thought (and what I actually did with the other requirements errors), but when I type avcodec or avformat in the package manager (yast or zypper) I get only one package (libavcodec52 and libavformat50) and no *-devel packages ... Same thing with libswscale. Same thing if I search for it on software.opensuse.org.
Thanks anyway for the replies, and the vlc software !
Cheers,
Antoine
Re: Cannot decode certain video files
Posted: 30 Nov 2009 16:50
by xtophe
They seem to be bundled together in libffmpeg-devel
Re: Cannot decode certain video files
Posted: 30 Nov 2009 16:54
by Rémi Denis-Courmont
It could be ffmpeg-devel. Then again, I don't know.
Re: Cannot decode certain video files
Posted: 10 Jun 2010 16:16
by BugMeNot2
Hi can you give me compiled setup for windows.
I don't have knowledge about compiling.
Please provide download link.
Thank You.
I had the same problem, but I've solved it.
I did following:
1. installed "libmatroska-dev", "libebml-dev" and "libvorbisidec-dev"
2. downloaded the vlc source
3. ran the "configure" script with this parameters:
Code: Select all
$ ./configure --enable-real --enable-matroska --enable-libmatroska --enable-realrtsp --enable-flac --enable-vorbis --enable-theora --enable-goom --enable-lirc --build=i486-linux-gnu --enable-maintainer-mode --enable-release --enable-libtool --enable-ggi --enable-sdl --enable-esd --enable-mad --enable-jack --enable-pulse --enable-a52 --disable-gnome --disable-gtk --enable-aa --enable-dvbpsi --disable-kde --enable-mp4 --enable-dvb --enable-ogg --enable-shout --enable-qt4 --disable-satellite --disable-slp --disable-skins --disable-basic-skins --enable-skins2 --enable-freetype --enable-mkv --enable-speex --enable-caca --enable-live555 --enable-libmpeg2 --enable-fribidi --enable-cdio --enable-mod --enable-theora --enable-modplug --enable-dvdnav --enable-gnutls --enable-ffmpeg --enable-ncurses --enable-smb --enable-bonjour -disable-gnomevfs --enable-mpc --enable-vcd --enable-vcdx --enable-notify --enable-twolame --enable-faad --disable-zvbi --enable-telx --enable-mediacontrol-bindings --enable-taglib --disable-atmo --enable-libass --enable-libdca --disable-dv --enable-x264 --enable-alsa --enable-v4l --enable-v4l2 --enable-pvr --enable-svgalib --enable-dvd build_alias=i486-linux-gnu CFLAGS="-g -O2" LDFLAGS="-Wl,--as-needed" CPPFLAGS= CXXFLAGS="-g -O2" | grep error
4. compiled the source with "make"
PS: You may have to install some other libs like "libass-dev" or "libdca-dev".