Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

No video in VLC

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
Lavene
Site admin
Site admin
Posts: 4958
Joined: 2006-01-04 04:26
Location: Oslo, Norway

No video in VLC

#1 Post by Lavene »

Lenny, fresh install: No video in VLC, only audio. The video files plays OK in other players like Kaffeine. I have installed "w32codecs":
$ vlc videotest.avi
VLC media player 0.8.6e Janus

** (.:5660): CRITICAL **: gtk_pizza_set_size: assertion `pizza != NULL' failed
[00000296] main decoder error: no suitable decoder module for fourcc `FMP4'.
VLC probably does not support this sound or video format.
Same error for .mp4 except:
[00000296] main decoder error: no suitable decoder module for fourcc `avc1'.
What am I missing?

JohnDeere630
Posts: 632
Joined: 2006-09-02 02:01

#2 Post by JohnDeere630 »

I dunno...I just noticed the same problem, except I have a 64-bit system. Have installed w64codecs as well. Kaffiene works ok.

User avatar
julian67
Posts: 4633
Joined: 2007-04-06 14:39
Location: Just hanging around
Been thanked: 7 times

#3 Post by julian67 »

Broken ffmpeg.....sound familiar? :D I think the ffmpeg team motto might be "if it ain't broken don't release it".

http://debian-multimedia.org/
18/06/2008 :
Broken ffmpeg libraries :
Since Debian use the same soname packages name than my packages, official packages (vlc, totem, etc...) linked against libavc* doesn't work with my libavc* packages.
If you want to use vlc and friends you need to downgrade libavc* packages to the official packages.
Beware : downgrading to these packages will remove all debian-multimedia packages who depends on libavc*
To downgrade do the following :
dpkg -l | grep 3:2008
for each package echoed do :
apt-get install --reinstall <package>=0.svn20080206-8
0.svn20080206-8 is the unstable version and 0.cvs20070307-6 for testing (check with apt-cache for the current version).

If somebody know a better solution tell me.

User avatar
garrincha
Posts: 2335
Joined: 2006-06-02 16:38

#4 Post by garrincha »

Hmmm...strange VLC was working fine a few days ago so I checked again tonightand I got the same problem. Something must have broken it during upgrade. I'm actually using Debian/Sid. Otherwise I use my main video player which is MPlayer that has been so far trouble-free since Sarge was the de-facto stable, and sometime xine for checking the DVD extra features.
Maurice Green on Usain Bolt's 9.58: "The Earth stopped for a second, and he went to Mars."

Lavene
Site admin
Site admin
Posts: 4958
Joined: 2006-01-04 04:26
Location: Oslo, Norway

#5 Post by Lavene »

So we are playing the waiting game again. I think I'll just forget about it for now rather than start downgrading, and hope that someone does something somewhere to fix it some time...

User avatar
julian67
Posts: 4633
Joined: 2007-04-06 14:39
Location: Just hanging around
Been thanked: 7 times

#6 Post by julian67 »

Lavene wrote:So we are playing the waiting game again. I think I'll just forget about it for now rather than start downgrading, and hope that someone does something somewhere to fix it some time...
It still plays DVDs with no problem, from .iso image. This is my main use for it so I kept it.

User avatar
slowcoach
Posts: 148
Joined: 2007-05-02 17:34
Location: UK

#7 Post by slowcoach »

I installed totem-xine, the odd file it won't play tends to play with totem-gstreamer (Movie Player). Didn't need to install w64codecs or any other codecs or plugins.
I now no longer have mplayer or vlc installed.
Totem-xine has improved immensely since the last time I tried it.
Currently, British inventors are responsible for over half of all the new inventions in the World.

User avatar
birdywa
Posts: 120
Joined: 2007-12-08 22:15

#8 Post by birdywa »

18/06/2008 :
Broken ffmpeg libraries :
Since Debian use the same soname packages name than my packages, official packages (vlc, totem, etc...) linked against libavc* doesn't work with my libavc* packages.
If you want to use vlc and friends you need to downgrade libavc* packages to the official packages.
Beware : downgrading to these packages will remove all debian-multimedia packages who depends on libavc*
To downgrade do the following :
dpkg -l | grep 3:2008
for each package echoed do :
apt-get install --reinstall <package>=0.svn20080206-8
0.svn20080206-8 is the unstable version and 0.cvs20070307-6 for testing (check with apt-cache for the current version).

If somebody know a better solution tell me.
Can someone please tell me how to do this with aptitude?

User avatar
garrincha
Posts: 2335
Joined: 2006-06-02 16:38

#9 Post by garrincha »

birdywa wrote:
18/06/2008 :
Broken ffmpeg libraries :
Since Debian use the same soname packages name than my packages, official packages (vlc, totem, etc...) linked against libavc* doesn't work with my libavc* packages.
If you want to use vlc and friends you need to downgrade libavc* packages to the official packages.
Beware : downgrading to these packages will remove all debian-multimedia packages who depends on libavc*
To downgrade do the following :
dpkg -l | grep 3:2008
for each package echoed do :
apt-get install --reinstall <package>=0.svn20080206-8
0.svn20080206-8 is the unstable version and 0.cvs20070307-6 for testing (check with apt-cache for the current version).

If somebody know a better solution tell me.
Can someone please tell me how to do this with aptitude?
ffmpeg from the Debian-Multimedia (Malliriat) repo is a bit broken. You need to remove some packages from the Debian-Multimedia repo, deactivate Debian-Multimedia repo in /etc/apt/source.lst and install ffmpeg and other dependencies from the official Debian repo.

See post #4 by hubi in Sidux forum:
http://sidux.com/PNphpBB2-viewtopic-t-11182.html

I have not attempt to do that because 1) I use Debian "unstable" 2) I have too many dependencies to keep track of and likely to remove a lot of packages if I tried hubi's suggestion and 3) I don't use VLC. :)
Maurice Green on Usain Bolt's 9.58: "The Earth stopped for a second, and he went to Mars."

User avatar
birdywa
Posts: 120
Joined: 2007-12-08 22:15

#10 Post by birdywa »

garrincha: That actually worked, thank you. Man was that a mess to fix though. I hate having to knit through webs of dependencies to replace a package like that.

User avatar
birdywa
Posts: 120
Joined: 2007-12-08 22:15

#11 Post by birdywa »

This has created a new problem; apparently lame resides in debian multimedia and going through this process has removed it. I tried to put the multimedia repo back in and upgrade, but in addition to adding lame back, it wanted to revert all those packages I replaced. How do I get mp3 and avi working at the same time?

User avatar
julian67
Posts: 4633
Joined: 2007-04-06 14:39
Location: Just hanging around
Been thanked: 7 times

#12 Post by julian67 »

birdywa wrote:This has created a new problem; apparently lame resides in debian multimedia and going through this process has removed it. I tried to put the multimedia repo back in and upgrade, but in addition to adding lame back, it wanted to revert all those packages I replaced. How do I get mp3 and avi working at the same time?
It's a big mess right now in Lenny as there are two versions of lame, 3.97 and 3.98. Some applications depend on specific versions and you can't have both installed at the same time (well, not via the package manager, but you could compile one, install to /usr/local and symlink). I had a look at the debian-multimedia repos for Sid and Lenny and they're not so different so I enabled the Sid repo for multimedia only, not the regular Debian repos, and upgraded and added most of the stuff that had been uninstallable previously. It worked fine, I now have ffmpeg, Totem-xine, Xine, mplayer, lame, dvdrip, ogmrip and soundconverter all working fine. As for VLC I'm resigned to simply waiting it out.

User avatar
birdywa
Posts: 120
Joined: 2007-12-08 22:15

#13 Post by birdywa »


It's a big mess right now in Lenny as there are two versions of lame, 3.97 and 3.98. Some applications depend on specific versions and you can't have both installed at the same time (well, not via the package manager, but you could compile one, install to /usr/local and symlink). I had a look at the debian-multimedia repos for Sid and Lenny and they're not so different so I enabled the Sid repo for multimedia only, not the regular Debian repos, and upgraded and added most of the stuff that had been uninstallable previously. It worked fine, I now have ffmpeg, Totem-xine, Xine, mplayer, lame, dvdrip, ogmrip and soundconverter all working fine. As for VLC I'm resigned to simply waiting it out.
Yeah, I have everything but VLC working as far as i'm concerned. I just dont see why this guy puts the same packages in his repo that are in the official one. I mean, its expected for stuff like this to happen when you pull that crap.

User avatar
julian67
Posts: 4633
Joined: 2007-04-06 14:39
Location: Just hanging around
Been thanked: 7 times

#14 Post by julian67 »

birdywa wrote:. I just dont see why this guy puts the same packages in his repo that are in the official one. I mean, its expected for stuff like this to happen when you pull that crap.
It's because the official packages are often compiled without all the useful available options. For example easytag official version has no aac support, mplayer official doesn't support x264 xvid libdv amr_wb amr_nb faac musepack twolame toolame.

Lenny has been going through enormous changes lately, I assume in the rush to get it frozen, so I'm not surprised stuff is getting confusing and breaking. I've even had issues with the official repos so I can't fairly expect a 3rd party maintainer to keep up.

User avatar
BioTube
Posts: 7520
Joined: 2007-06-01 04:34

#15 Post by BioTube »

One of Lenny's release requirements is not to wait as long as Etch did. So things that might have been phased in are being shoved in to avoid such a long delay.
Image
Ludwig von Mises wrote:The elite should be supreme by virtue of persuasion, not by the assistance of firing squads.

Mr B
Posts: 183
Joined: 2008-07-26 15:30

#16 Post by Mr B »

Hi - found this post which worked for me if anyone is still having trouble.

http://sidux.com/PNphpBB2-viewtopic-t-11182.html

User avatar
anxious
Posts: 236
Joined: 2008-07-10 20:21
Location: U.S.

#17 Post by anxious »

I had to disable the multimedia repo. These upgrades turned VLC into toast:

[UPGRADE] libavcodec51 0.svn20080206-8 -> 3:20080706-0.2
[UPGRADE] libavformat52 0.svn20080206-8 -> 3:20080706-0.2
[UPGRADE] libavutil49 0.svn20080206-8 -> 3:20080706-0.2
[UPGRADE] libpostproc51 0.svn20080206-8 -> 3:20080706-0.2

Downgraded them back to 20080206 and it fixed VLC. I guess I'm confused now about the multimedia repo. Do most enable it? And if so, did you pin these 4 pkgs?

sayad
Posts: 5
Joined: 2008-02-28 21:05

#18 Post by sayad »

anxious wrote:I had to disable the multimedia repo. These upgrades turned VLC into toast:

[UPGRADE] libavcodec51 0.svn20080206-8 -> 3:20080706-0.2
[UPGRADE] libavformat52 0.svn20080206-8 -> 3:20080706-0.2
[UPGRADE] libavutil49 0.svn20080206-8 -> 3:20080706-0.2
[UPGRADE] libpostproc51 0.svn20080206-8 -> 3:20080706-0.2

Downgraded them back to 20080206 and it fixed VLC. I guess I'm confused now about the multimedia repo. Do most enable it? And if so, did you pin these 4 pkgs?
well looks like a little complicated than i thought. anyways thanks for the help!
keep up the good work.

and i m not sure about the enabling thing either. :S

i'm out now will be back later.


________
sayad

User avatar
ThinkBaz
Posts: 66
Joined: 2006-11-17 05:03
Location: San Francisco, CA

#19 Post by ThinkBaz »

Hey thanks Mr. B. It worked!
"heart and soul, one will burn..." - Joy Division

User avatar
Soul Singin'
Posts: 1605
Joined: 2008-12-21 07:02

#20 Post by Soul Singin' »

ThinkBaz wrote:Hey thanks Mr. B. It worked!
Same here. Just to reiterate the solution that Mr. B found at Sidux Forums ... Remove Debian Multimedia from your sources list and then run:

Code: Select all

apt-get update
apt-get remove  ffmpeg libavcodec51 libavdevice52 libavformat52 libavutil49 libpostproc51 libswscale0
apt-get install ffmpeg libavcodec51 libavdevice52 libavformat52 libavutil49 libpostproc51 libswscale0

The only trouble with this solution is that you lose your ability to encode MP3, MP4 and MPG for use with portable media devices.
.

Post Reply