Cannot decode certain video files

*nix specific usage questions
nathanb
New Cone
New Cone
Posts: 7
Joined: 25 Oct 2008 18:18

Cannot decode certain video files

Postby nathanb » 25 Oct 2008 18:36

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.

sprockkets
New Cone
New Cone
Posts: 5
Joined: 20 Sep 2008 02:59

Re: Cannot decode certain video files

Postby sprockkets » 31 Oct 2008 03:52

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.

nathanb
New Cone
New Cone
Posts: 7
Joined: 25 Oct 2008 18:18

Re: Cannot decode certain video files

Postby nathanb » 31 Oct 2008 03:59

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

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: Cannot decode certain video files

Postby Arite » 31 Oct 2008 04:42

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.
Don't use PMs for support questions.

nathanb
New Cone
New Cone
Posts: 7
Joined: 25 Oct 2008 18:18

Re: Cannot decode certain video files

Postby nathanb » 31 Oct 2008 14:31

So the packages at http://www.videolan.org/vlc/download-suse.html (download.videolan.org) are not provided by VLC?


...weird.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: Cannot decode certain video files

Postby Arite » 31 Oct 2008 15:12

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.
Don't use PMs for support questions.

nathanb
New Cone
New Cone
Posts: 7
Joined: 25 Oct 2008 18:18

Re: Cannot decode certain video files

Postby nathanb » 31 Oct 2008 15:41

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

sprockkets
New Cone
New Cone
Posts: 5
Joined: 20 Sep 2008 02:59

Re: Cannot decode certain video files

Postby sprockkets » 01 Nov 2008 04:04

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.

sprockkets
New Cone
New Cone
Posts: 5
Joined: 20 Sep 2008 02:59

Re: Cannot decode certain video files

Postby sprockkets » 01 Nov 2008 04:35

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.

brainpower
New Cone
New Cone
Posts: 2
Joined: 01 Jun 2009 16:18

Re: Cannot decode certain video files

Postby brainpower » 01 Jun 2009 16:41

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".

AKoine
New Cone
New Cone
Posts: 3
Joined: 25 Nov 2009 14:56

Re: Cannot decode certain video files

Postby AKoine » 25 Nov 2009 15:25

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 ! :wink:

Any thoughts ?

Cheers,

Antoine

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

Re: Cannot decode certain video files

Postby Rémi Denis-Courmont » 25 Nov 2009 18:08

It's --enable-mkv not --enable-matroska.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

AKoine
New Cone
New Cone
Posts: 3
Joined: 25 Nov 2009 14:56

Re: Cannot decode certain video files

Postby AKoine » 29 Nov 2009 11:15

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

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

Re: Cannot decode certain video files

Postby Rémi Denis-Courmont » 29 Nov 2009 11:40

You always need the corresponding -dev package when building from source.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

AKoine
New Cone
New Cone
Posts: 3
Joined: 25 Nov 2009 14:56

Re: Cannot decode certain video files

Postby AKoine » 30 Nov 2009 12:24

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

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: Cannot decode certain video files

Postby xtophe » 30 Nov 2009 16:50

They seem to be bundled together in libffmpeg-devel
Xtophe

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

Re: Cannot decode certain video files

Postby Rémi Denis-Courmont » 30 Nov 2009 16:54

It could be ffmpeg-devel. Then again, I don't know.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

BugMeNot2
Blank Cone
Blank Cone
Posts: 37
Joined: 30 Jan 2010 01:27

Re: Cannot decode certain video files

Postby BugMeNot2 » 10 Jun 2010 16:16

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".


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 6 guests