can't play flv and no sound with mp4 [Debian Lenny]

*nix specific usage questions
cliffordp
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2009 14:35

can't play flv and no sound with mp4 [Debian Lenny]

Postby cliffordp » 23 Feb 2009 15:08

Hi,

On Debian/Lenny - Linux accd 2.6.26-1-686 i686 GNU/Linux

VLC media player 0.8.6h Janus
VLC version 0.8.6h Janus
Compiled by buildd@ninsei.
Compiler: gcc version 4.3.2 (Debian 4.3.2-1)

It used to work - but now Here's the output >
xxw@accd:~$ vlc /home/plp/upload/video.mp4
VLC media player 0.8.6h Janus
[00000321] main decoder error: no suitable decoder module for fourcc `avc1'.
VLC probably does not support this sound or video format.
[00000273] main playlist: stopping playback
xxw@accd:~$ vlc /home/plp/upload/video.flv
VLC media player 0.8.6h Janus
[00000273] main playlist: nothing to play
[00000273] main playlist: stopping playback
current library installed (from http://www.debian-multimedia.org/) are :
- libavcodec51
- libavformat52

in the log there is :
[00000001] main private warning: cannot load module `/usr/lib/vlc/codec/libffmpeg_plugin.so' (/usr/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: img_resample)


Does that help ?
Can somebody help on this matter ?

Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: can't play flv and no sound with mp4 [Debian Lenny]

Postby Jean-Baptiste Kempf » 23 Feb 2009 15:20

Yeah, your ffmpeg plugin is broken, because of debian multimedia.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

cliffordp
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2009 14:35

Re: can't play flv and no sound with mp4 [Debian Lenny]

Postby cliffordp » 23 Feb 2009 16:42

Thanks, it seems that happened a while ago > http://forums.debian.net/viewtopic.php? ... 3e4511a7c4
I just noticed now ... :oops:

MikeQBF
Blank Cone
Blank Cone
Posts: 87
Joined: 26 Apr 2007 07:18

Re: can't play flv and no sound with mp4 [Debian Lenny]

Postby MikeQBF » 24 Mar 2009 20:56

Yeah, your ffmpeg plugin is broken, because of debian multimedia.
OK... how do we fix this in the context of the stable releases, Debian 5.0 and VLC 0.8.6h? Or is it momentarily a matter of not upgrading from 4.0/0.8.6a and waiting for one of you guys to release a Lenny-stable 0.9.x package?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: can't play flv and no sound with mp4 [Debian Lenny]

Postby Jean-Baptiste Kempf » 24 Mar 2009 23:28

Yeah, your ffmpeg plugin is broken, because of debian multimedia.
OK... how do we fix this in the context of the stable releases, Debian 5.0 and VLC 0.8.6h? Or is it momentarily a matter of not upgrading from 4.0/0.8.6a and waiting for one of you guys to release a Lenny-stable 0.9.x package?
Complain to debian multimedia and debian.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Lancast
New Cone
New Cone
Posts: 1
Joined: 02 Nov 2009 14:57

Re: can't play flv and no sound with mp4 [Debian Lenny]

Postby Lancast » 02 Nov 2009 15:15

I got the same problem, the following should help you.

First, edit your sources.list this way :

Code: Select all

# nano /etc/apt/sources.list
################################################
## lenny
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free

## lenny multimedia
deb http://mirror.home-dn.net/debian-multimedia lenny main
deb-src http://mirror.home-dn.net/debian-multimedia lenny main

# lenny security
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

# volatile
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

################################################
## squeeze
deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free

## squeeze multimedia
deb http://mirror.home-dn.net/debian-multimedia squeeze main
deb-src http://mirror.home-dn.net/debian-multimedia squeeze main

## squeeze security
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

################################################
## sid
deb http://ftp.fr.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ sid main contrib non-free

## sid multimedia
deb http://mirror.home-dn.net/debian-multimedia sid main
deb-src http://mirror.home-dn.net/debian-multimedia sid main

################################################
## experimental
deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ experimental main contrib non-free
for a 32 bits x86 architecture.

Second, create the file /etc/apt/preferences, and edit it that way :

Code: Select all

# /etc/apt/preferences
Package: *
Pin: release o=apt-build
Pin-Priority: 989

Package: *
Pin: release o=volatile.debian.org,a=stable,l=debian-volatile
Pin-Priority: 988

Package: *
Pin: release o=Debian,a=stable,l=Debian-Security
Pin-Priority: 987

Package: *
Pin: release o=Unofficial Multimedia Packages,a=stable,l=Unofficial Multimedia Packages
Pin-Priority: 986

Package: *
Pin: release o=Debian,a=stable,l=Debian
Pin-Priority: 985

Package: *
Pin: release o=Debian,a=testing,l=Debian-Security
Pin-Priority: 99

Package: *
Pin: release o=Unofficial Multimedia Packages,a=testing,l=Unofficial Multimedia Packages
Pin-Priority: 98

Package: *
Pin: release o=Debian,a=testing,l=Debian
Pin-Priority: 97

Package: *
Pin: release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages
Pin-Priority: 96

Package: *
Pin: release o=Debian,a=unstable,l=Debian
Pin-Priority: 95

Package: *
Pin: release o=Unofficial Multimedia Packages,a=experimental,l=Unofficial Multimedia Packages
Pin-Priority: 94

Package: *
Pin: release o=Debian,a=experimental,l=Debian
Pin-Priority: 93
Then, uninstall completely vlc, by typing these commands :

Code: Select all

# apt-get remove --purge vlc # apt-get remove --purge ffmpeg libavcodec51 libavdevice52 libavformat52 libavutil49 libpostproc51 libswscale # apt-get autoremove $ rm ~/.vlc/cache/plugins-*.dat
(# mean that you are logged as root, using su, and $ that you're normal user)

Then, reinstall vlc the normal way

Code: Select all

# apt-get install vlc
It should be ok, and that should work properly for most Debian x86 32 bits architecture.
The problem is a conflict between vlc package and libavcodec51 provide by Debian Multimedia.
The aim of the preferences file (that must be created if never used before), is to tell to apt that you prefer packages from :
1 security
2 Volatile
3 standard
4 multimedia
repository
When you reinstall vlc with this configuration, the lib is taken from another repository that Debian Multimedia, wich isn't "official", even it's a mostly sure repository.

Even if you're not concerned by these explanations, I wanted to found them when I was searching for, and it should help someone.

Last point : please excuse many of my mistake, I'm french.

Nixdcc
New Cone
New Cone
Posts: 1
Joined: 15 Jul 2010 22:09

Re: can't play flv and no sound with mp4 [Debian Lenny]

Postby Nixdcc » 15 Jul 2010 22:21

Problem fixed, thanks...but when i "apt-get autoremove" show this:

Os seguintes pacotes foram automaticamente instalados e não são mais requeridos:
bluez-gnome libmtp7 libgksu1.2-0 python-notify libgda3-common
python-gnome2-extras libgksuui1.0-1 evolution-exchange rhythmbox libmp4v2-0
system-config-printer libgpod3 libx264-60 gnome-themes-extras
libschroedinger-1.0-0 libmp3lame0 libdirac0 python-eggtrayicon gnome-spell
libsamplerate0 python-4suite-xml libgda3-3 transmission-common
libid3-3.8.3c2a libgdl-1-0 serpentine libopenobex1 transmission-gtk
libgdl-1-common gnome-vfs-obexftp

various apps deleted?
why this?


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

Who is online

Users browsing this forum: No registered users and 5 guests