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

 

 

 

Vlc media player no video output for x11

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
godlover
Posts: 51
Joined: 2012-06-29 16:25

Vlc media player no video output for x11

#1 Post by godlover »

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?

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: Vlc media player no video output for x11

#2 Post by Hallvor »

Try opening vlc from the command line and look for errors.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
GOfree
Posts: 80
Joined: 2009-05-23 05:45

Re: Vlc media player no video output for x11

#3 Post by GOfree »

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

#4 Post by GOfree »

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
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Vlc media player no video output for x11

#5 Post by stevepusser »

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?
MX Linux packager and developer

User avatar
GOfree
Posts: 80
Joined: 2009-05-23 05:45

Re: Vlc media player no video output for x11

#6 Post by GOfree »

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

#7 Post by GOfree »

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... :-)

kmathern
Posts: 603
Joined: 2011-02-05 19:20

Re: Vlc media player no video output for x11

#8 Post by kmathern »

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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Vlc media player no video output for x11

#9 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
GOfree
Posts: 80
Joined: 2009-05-23 05:45

Re: Vlc media player no video output for x11

#10 Post by GOfree »

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

#11 Post by GOfree »

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

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

Re: Vlc media player no video output for x11

#12 Post by nachiappan »

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

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Vlc media player no video output for x11

#13 Post by craigevil »

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
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

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

Re: Vlc media player no video output for x11

#14 Post by nachiappan »

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

kmathern
Posts: 603
Joined: 2011-02-05 19:20

Re: Vlc media player no video output for x11

#15 Post by kmathern »

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.

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

Re: Vlc media player no video output for x11

#16 Post by nachiappan »

Thanks kmathern

even after installing i still dont see video, could it be any driver issue ?
I tried running "vlc video.wmv" and this was the output http://pastebin.com/qgqGWFRV

when i tried playing a wmv in totem, it says widows media video 9 decoder plugin missing.
when i tried playing a avi in totem, it says DivX MPEG-4 Version 5 decoder plugin missing.
when i tried playing a mkv in totem, it says H.264 decoder plugin missing.
I tried playing wmv and avi in vlc, both had only audio and no video.
Do all these plugins come in any package which i need to install ?

i tried installing libavcodec52, libdvdcss2, w64codecs - none helped.

Thanks,
Nachi

kmathern
Posts: 603
Joined: 2011-02-05 19:20

Re: Vlc media player no video output for x11

#17 Post by kmathern »

nachiappan wrote:Thanks kmathern

even after installing i still dont see video, could it be any driver issue ?
I tried running "vlc video.wmv" and this was the output http://pastebin.com/qgqGWFRV

when i tried playing a wmv in totem, it says widows media video 9 decoder plugin missing.
when i tried playing a avi in totem, it says DivX MPEG-4 Version 5 decoder plugin missing.
when i tried playing a mkv in totem, it says H.264 decoder plugin missing.
I tried playing wmv and avi in vlc, both had only audio and no video.
Do all these plugins come in any package which i need to install ?

i tried installing libavcodec52, libdvdcss2, w64codecs - none helped.

Thanks,
Nachi
You might need to install either w64codecs (64bit) or w32codecs (32bit) from the deb-multimedia repo.

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

Re: Vlc media player no video output for x11

#18 Post by nachiappan »

Hi kmathern,

i tried installing libavcodec52, libdvdcss2, w64codecs - none helped.
w32codecs is not found in the repo.

Thanks,
Nachi

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Vlc media player no video output for x11

#19 Post by craigevil »

Totem uses gstreamer.

Code: Select all

 dpkg -l |grep gstreamer
ii  gstreamer0.10-alsa:i386               0.10.36-1                          i386         GStreamer plugin for ALSA
ii  gstreamer0.10-ffmpeg                  1:0.10.13-0.2                      i386         FFmpeg plugin for GStreamer
ii  gstreamer0.10-gconf:i386              0.10.31-3                          i386         GStreamer plugin for getting the sink/source information from GConf
ii  gstreamer0.10-nice:i386               0.1.2-1                            i386         ICE library (GStreamer plugin)
ii  gstreamer0.10-plugins-bad:i386        0.10.23-6                          i386         GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-base:i386       0.10.36-1                          i386         GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-good:i386       0.10.31-3                          i386         GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-really-bad:i386 0.10.23-dmo2                       i386         GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-ugly:i386       0.10.19-2+b2                       i386         GStreamer plugins from the "ugly" set
ii  gstreamer0.10-qapt                    1.3.0-2                            i386         GStreamer plugin to install codecs using QApt
ii  gstreamer0.10-x:i386                  0.10.36-1                          i386         GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-bad0.10-0:i386   0.10.23-6                          i386         GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base0.10-0:i386  0.10.36-1                          i386         GStreamer libraries from the "base" set
ii  libgstreamer0.10-0:i386               0.10.36-1                          i386         Core GStreamer libraries and elements
ii  libqtgstreamer-0.10-0:i386            0.10.2-2                           i386         C++ bindings library for GStreamer with a Qt-style API
ii  libqtgstreamerui-0.10-0:i386          0.10.2-2                           i386         QtGStreamerUi library
ii  phonon-backend-gstreamer:i386         4:4.6.0.0-2                        i386         Phonon GStreamer 0.10.x backend
Totem : http://projects.gnome.org/totem/
GStreamer

When using the GStreamer backend, you can install multiple plugin packages. You can install them the same way as you would install totem. Some information about the gstreamer-plugins packages can be found here.

gst-plugins-base
the basic and essential plug-ins for GStreamer
gst-plugins-good
the plug-ins for most Open formats
gst-plugins-ugly
good-quality plug-ins that might pose distribution problems, needed for DVD playback
gst-plugins-bad
a set of plug-ins that need more work, needed for DVD playback as well
gst-ffmpeg
FFmpeg-based plug-in, contains all the basic decoders for popular codecs, such as DivX and WMV
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

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

Re: Vlc media player no video output for x11

#20 Post by nachiappan »

Hi Craigevil,

I tried installing gstreamer plugin, now both totem and vlc have same behaviour.
Both play only audio and no video.

will this be something to do with drivers ?
I wanted to mention one thing how i did debian installation. I didnot install full gnome.
I installed base debian, over that installed x-window-system-core, gdm and gnome-core.

Since I did this would only install base gnome, will I have to install anything more for video driver ?

Thanks,
Nachi

Post Reply