Vlc media player no video output for x11

Everything about X, Gnome, KDE, ... and everything running on it

Vlc media player no video output for x11

Postby godlover » 2012-06-29 16:38

I have installed Debian squeeze recently.I previously used ubuntu 10.04.I used Vlc media player in ubuntu.It worked fine for x11 video output too.But in Debian,I installed Vlc but Vlc plays only sound and no video (for x11 video output only).Xv and default video output works fine(both audio and video shows).
But SMplayer plays video and audio fine the same files (Debian squeeze) (for x11 output too).
My PC is Compaq Presario SR1435IL.Pentium 4 processor 2.9 GHz.
OS Debian Squeeze.Kernel 2.6.32-5-686.
Please tell me solution.Is it a vlc bug or misconfiguration?
godlover
 
Posts: 49
Joined: 2012-06-29 16:25

Re: Vlc media player no video output for x11

Postby Hallvor » 2012-06-29 17:33

Try opening vlc from the command line and look for errors.
Laptop: Intel Core i5 3210-M CPU @ 2.50 GHz, 16 GB RAM, Intel HD 4000 graphics, 128 GB SSD + 1 TB HDD, Debian Wheezy (KDE)
Media center/seedbox: Raspberry Pi, Raspbian (LXDE)
User avatar
Hallvor
 
Posts: 467
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway

Re: Vlc media player no video output for x11

Postby GOfree » 2012-07-01 13:53

Hi! I have the same problem...

Under preferences, I have display output set to: "X11 video output (XCB)".

Just opening VLC, I don't get any errors, but a lot of warnings:
Code: Select all
VLC media player 1.1.3 The Luggage (revision exported)
Warning: call to srand(1341151026)
Warning: call to rand()
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Warning: call to signal(13, 0x1)
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0xb66680d4, 0xb6668048)
Warning: call to signal(13, 0x1)
Warning: call to srand(1341545107)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:22220): Gtk-WARNING **: Locale not supported by C library.
   Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()


Then when I open an .avi file:
Code: Select all
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)
Blocked: call to setenv("_PX_CONFIG_ORDER", "", 1)
[swscaler @ 0x9244780] pal8 is not supported as output pixel format
[0x9232aac] swscale scale error: could not init SwScaler and/or allocate memory
Blocked: call to setlocale(6, "")
[swscaler @ 0x92a4260] bad dst image pointers
[swscaler @ 0x92a4260] bad dst image pointers
[swscaler @ 0x92a4260] bad dst image pointers
[swscaler @ 0x92a4260] bad dst image pointers
[swsca  ...
User avatar
GOfree
 
Posts: 80
Joined: 2009-05-23 05:45

Re: Vlc media player no video output for x11

Postby GOfree » 2012-07-01 13:59

Noting the error, "[0x9232aac] swscale scale error: could not init SwScaler and/or allocate memory"...

This might have been address in another similar thread, http://forums.debian.net/viewtopic.php?f=6&t=39931),
User avatar
GOfree
 
Posts: 80
Joined: 2009-05-23 05:45

Re: Vlc media player no video output for x11

Postby stevepusser » 2012-07-01 18:25

Have you at any time installed anything from the debian-multimedia repo?

hmm....what's the output of

Code: Select all
apt-cache policy vlc ffmpeg


in the terminal?
stevepusser
 
Posts: 3659
Joined: 2009-10-06 05:53

Re: Vlc media player no video output for x11

Postby GOfree » 2012-07-02 06:45

Hi! Thanks for answering!
Yes, I have installed software from debian-multimedia, including 'ffmpeg'.
Here's the 'apt-cache policy':
Code: Select all
ffmpeg:
  Installed: 5:0.7.13-dmo2
  Candidate: 5:0.7.13-dmo2
  Version table:
 *** 5:0.7.13-dmo2 0
        500 http://www.debian-multimedia.org/ squeeze/main i386 Packages
        100 /var/lib/dpkg/status
     4:0.5.9-1 0
        500 http://security.debian.org/ squeeze/updates/main i386 Packages
     4:0.5.6-3 0
        500 http://debian.yorku.ca/debian/ squeeze/main i386 Packages
vlc:
  Installed: 1.1.3-1squeeze6
  Candidate: 1.1.3-1squeeze6
  Version table:
 *** 1.1.3-1squeeze6 0
        500 http://debian.yorku.ca/debian/ squeeze/main i386 Packages
        500 http://security.debian.org/ squeeze/updates/main i386 Packages
        100 /var/lib/dpkg/status

Does this help?
User avatar
GOfree
 
Posts: 80
Joined: 2009-05-23 05:45

Re: Vlc media player no video output for x11

Postby GOfree » 2012-07-02 17:38

OK...

I checked out the FFmpeg.org download page and found several versions newer than what came with Squeeze.

I updated my apt source list, changing 'www.debian-multimedia.org' to 'www.deb-multimedia.org' (http://www.deb-multimedia.org/), and added the backports repository. I do not get a newer version.

Should I try getting a newer version from the FFmpeg.org download page and installing that?

I don't want to break anything... :-)
User avatar
GOfree
 
Posts: 80
Joined: 2009-05-23 05:45

Re: Vlc media player no video output for x11

Postby kmathern » 2012-07-02 17:57

GOfree wrote:OK...

I checked out the FFmpeg.org download page and found several versions newer than what came with Squeeze.

I updated my apt source list, changing 'www.debian-multimedia.org' to 'www.deb-multimedia.org' (http://www.deb-multimedia.org/), and added the backports repository. I do not get a newer version.

Should I try getting a newer version from the FFmpeg.org download page and installing that?

I don't want to break anything... :-)


To install packages from the www.deb-multimedia.org repo you will probably need to use the --target-release / -t option to set a preference for installing the dmo packages instead of the debian squeeze packages. Use something like:

Code: Select all
apt-get install ffmpeg -t "o=Unofficial Multimedia Packages" -s

My command is a simulated install. If the simulation looks correct remove the '-s' to run it for real.
kmathern
 
Posts: 483
Joined: 2011-02-05 19:20

Re: Vlc media player no video output for x11

Postby stevepusser » 2012-07-03 02:50

It may be because your VLC was built against the really old ffmpeg in Debian stable, and you upgraded ffmpeg. The most common fix is to install VLC 2.0.1 from the squeeze-backports section in debian-multimedia, since it will be built against your dmo ffmpeg. Note that dmo may upgrade VLC to 2.0.2 now that it's released. Just add "squeeze-backports" section to the debian-multimedia URL in your sources.list to make that available.
stevepusser
 
Posts: 3659
Joined: 2009-10-06 05:53

Re: Vlc media player no video output for x11

Postby GOfree » 2012-07-03 05:06

Thanks, kmathern! Thanks, stevepusser!

Code: Select all
apt-get install ffmpeg -t "o=Unofficial Multimedia Packages" -s

Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ffmpeg is already the newest version.
The following packages were automatically installed and are no longer required:
  libpq5 libebml0 libmatroska0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

:-(
Code: Select all
apt-get install vlc -t "o=Unofficial Multimedia Packages" -s

Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libpq5 libebml0 libmatroska0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libbluray1 libebml3 libmatroska5 libresid-builder0c2a libsidplay2 libvlc5
  libvlccore5 libxcb-composite0 libxcb-xfixes0 libzvbi-common libzvbi0
  vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse
Suggested packages:
  libbluray-bdj videolan-doc
Recommended packages:
  libaacs0
The following packages will be REMOVED:
  libvlccore4
The following NEW packages will be installed:
  libbluray1 libebml3 libmatroska5 libresid-builder0c2a libsidplay2
  libvlccore5 libxcb-composite0 libxcb-xfixes0 libzvbi-common libzvbi0
The following packages will be upgraded:
  libvlc5 vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse
6 upgraded, 10 newly installed, 1 to remove and 2 not upgraded.
Inst vlc-plugin-pulse [1.1.3-1squeeze6] (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386]) []
Inst vlc-plugin-notify [1.1.3-1squeeze6] (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386]) []
Inst vlc-nox [1.1.3-1squeeze6] (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386]) [vlc:i386 ]
Inst vlc [1.1.3-1squeeze6] (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386]) []
Inst libvlc5 [1.1.3-1squeeze6] (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386]) []
Remv libvlccore4 [1.1.3-1squeeze6] []
Inst vlc-data [1.1.3-1squeeze6] (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [all]) []
Inst libvlccore5 (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386]) []
Inst libbluray1 (1:0.2.2-1.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386]) []
Inst libebml3 (1.2.2-2.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386]) []
Inst libmatroska5 (1.3.0-2.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386]) []
Inst libresid-builder0c2a (2.1.1-8 Debian:6.0.5/stable [i386]) []
Inst libsidplay2 (2.1.1-8 Debian:6.0.5/stable [i386]) []
Inst libzvbi-common (0.2.33-1 Debian:6.0.5/stable [all]) []
Inst libzvbi0 (0.2.33-1 Debian:6.0.5/stable [i386]) []
Inst libxcb-composite0 (1.6-1 Debian:6.0.5/stable [i386]) []
Inst libxcb-xfixes0 (1.6-1 Debian:6.0.5/stable [i386])
Conf libbluray1 (1:0.2.2-1.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386])
Conf libebml3 (1.2.2-2.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386])
Conf libmatroska5 (1.3.0-2.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386])
Conf libresid-builder0c2a (2.1.1-8 Debian:6.0.5/stable [i386])
Conf libsidplay2 (2.1.1-8 Debian:6.0.5/stable [i386])
Conf vlc-data (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [all])
Conf libvlccore5 (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386])
Conf libvlc5 (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386])
Conf libzvbi-common (0.2.33-1 Debian:6.0.5/stable [all])
Conf libzvbi0 (0.2.33-1 Debian:6.0.5/stable [i386])
Conf vlc-nox (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386])
Conf vlc-plugin-pulse (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386])
Conf vlc-plugin-notify (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386])
Conf libxcb-composite0 (1.6-1 Debian:6.0.5/stable [i386])
Conf libxcb-xfixes0 (1.6-1 Debian:6.0.5/stable [i386])
Conf vlc (1:2.0.1-0.squeeze1 Unofficial Multimedia Packages:None/squeeze-backports [i386])

:-D
Looks good! Trying it now...
User avatar
GOfree
 
Posts: 80
Joined: 2009-05-23 05:45

Re: Vlc media player no video output for x11

Postby GOfree » 2012-07-03 17:16

Bingo! That worked...

1) update repositories to include debian multimedia org and its backports;
2) use the special option to pull packages from debian multimedia org, instead of regular repo; and
3) install a newer version of 'vlc' from debian multimedia org.

I have a picture now.
Problem solved!
You rock!
:D
User avatar
GOfree
 
Posts: 80
Joined: 2009-05-23 05:45

Re: Vlc media player no video output for x11

Postby nachiappan » 2012-07-08 17:09

Hi All,
I have the same problem. Neither my vlc nor my movie player plays video, there is only audio getting played.
I tried following the instructions in the post.
install debian-multimedia-keyring
add debian multimedia to sources.lst
apt-get update
then tried
apt-get install ffmpeg -t "o=Unofficial Multimedia Packages" -s
apt-get install vlc -t "o=Unofficial Multimedia Packages" -s

installing ffmpeg and vlc using above commands doesnt seem to install, i have pasted the respective verbose in
http://pastebin.com/4naZwBgQ
http://pastebin.com/uxmMtv4X

can you guys please help me out ?

Thanks
Nachi
nachiappan
 
Posts: 13
Joined: 2012-06-05 05:42

Re: Vlc media player no video output for x11

Postby craigevil » 2012-07-08 17:21

nachiappan wrote:Hi All,
I have the same problem. Neither my vlc nor my movie player plays video, there is only audio getting played.
I tried following the instructions in the post.
install debian-multimedia-keyring
add debian multimedia to sources.lst
apt-get update
then tried
apt-get install ffmpeg -t "o=Unofficial Multimedia Packages" -s
apt-get install vlc -t "o=Unofficial Multimedia Packages" -s

installing ffmpeg and vlc using above commands doesnt seem to install, i have pasted the respective verbose in
http://pastebin.com/4naZwBgQ
http://pastebin.com/uxmMtv4X

can you guys please help me out ?

Thanks
Nachi


dmo packages have a higher version number so they are automatically installed
apt-get install ffmpeg vlc

$ apt-cache policy ffmpeg
ffmpeg:
Installed: 7:0.11.1-dmo3
Candidate: 7:0.11.1-dmo3
Version table:
*** 7:0.11.1-dmo3 0
500 http://www.deb-multimedia.org/ sid/main i386 Packages
100 /var/lib/dpkg/status
6:0.8.3-4 0
500 http://mirrors.kernel.org/debian/ unstable/main i386 Packages

$ apt-cache policy vlc
vlc:
Installed: 1:2.0.2-dmo2
Candidate: 1:2.0.2-dmo2
Version table:
*** 1:2.0.2-dmo2 0
500 http://www.deb-multimedia.org/ sid/main i386 Packages
100 /var/lib/dpkg/status
2.0.2-2 0
500 http://mirrors.kernel.org/debian/ unstable/main i386 Packages

$ apt-cache policy mplayer
mplayer:
Installed: 3:1.1-dmo5
Candidate: 3:1.1-dmo5
Version table:
*** 3:1.1-dmo5 0
500 http://www.deb-multimedia.org/ sid/main i386 Packages
100 /var/lib/dpkg/status
2:1.0~rc4.dfsg1+svn34540-1+b2 0
500 http://mirrors.kernel.org/debian/ unstable/main i386 Packages
Debian Sid KDE 4.8 Kernel 3.7 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5149
Joined: 2006-09-17 03:17
Location: down the rabbit hole

Re: Vlc media player no video output for x11

Postby nachiappan » 2012-07-08 17:26

Hi Craigevil,

Sorry I dont see it installed, when i run vlc from command line it says, could not find.
Should I do apt-get install vlc ? Will this pickup vlc from debian multimedia ?

Sorry I am bit confused, when i do apt-cache policy vlc it says installed, but when i do apt-get remove vlc, it says not installed.

http://pastebin.com/KQ2qdbTM

Thanks,
Nachi
nachiappan
 
Posts: 13
Joined: 2012-06-05 05:42

Re: Vlc media player no video output for x11

Postby kmathern » 2012-07-08 17:44

nachiappan wrote:Hi All,
I have the same problem. Neither my vlc nor my movie player plays video, there is only audio getting played.
I tried following the instructions in the post.
install debian-multimedia-keyring
add debian multimedia to sources.lst
apt-get update
then tried
apt-get install ffmpeg -t "o=Unofficial Multimedia Packages" -s
apt-get install vlc -t "o=Unofficial Multimedia Packages" -s

installing ffmpeg and vlc using above commands doesnt seem to install, i have pasted the respective verbose in
http://pastebin.com/4naZwBgQ
http://pastebin.com/uxmMtv4X

can you guys please help me out ?

Thanks
Nachi

The two commands highlighted in red do simulated installs (btw, your pastebin posts show that the dmo ffmpeg & vlc packages will install just fine).

You need to remove the '-s' at the end of those commands to do the install(s) for real.
kmathern
 
Posts: 483
Joined: 2011-02-05 19:20

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: confuseling and 8 guests

fashionable