LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-13-2010, 03:45 PM   #1
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
I can't play videos for some reason


Whether I'm using mplayer, kaffeine, or vlc, I can't seem to play videos for some reason. For instance,
Code:
mark@debian:~/stuff/flashcrap/music$ vlc
VLC media player 0.8.6h Janus
[00000271] main playlist: nothing to play
Above I tried to play an flv video that I had, which I used to have no problem with, but now it does not work. I use Debian Lenny.
 
Old 03-13-2010, 03:55 PM   #2
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
I saw these types of errors in videolan.org forums. Probably that might help you.
see this thread
 
Old 03-14-2010, 01:25 PM   #3
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
Thanks for the link. I went there, and it suggested installing all the plugins for vlc. So, I did this, but still no luck.

I just tried gxine, and got the following result:
Code:
mark@debian:~/stuff/flashcrap/music$ gxine 
gtkvideo: failed to get a proxy for gnome-screensaver
warning: configuration item media.audio_cd.cddb_cachedir points to a non-existent location /home/mark/.xine/cddbcache
warning: configuration item media.capture.save_dir points to a non-existent location 
warning: configuration item media.dvb.channels_conf points to a non-existent location /home/mark/.xine/channels.conf
warning: configuration item media.dvd.raw_device points to a non-existent location /dev/rdvd
warning: configuration item media.video4linux.radio_device points to a non-existent location /dev/radio0
warning: configuration item media.video4linux.video_device points to a non-existent location /dev/video0
warning: configuration item media.wintv_pvr.device points to a non-existent location /dev/video0
warning: configuration item subtitles.separate.font_freetype points to a non-existent location 
lirc: cannot initialise - disabling remote control
lirc: maybe lircd isn't running or you can't connect to the socket?
  sysname: Linux
  release: 2.6.26-1-686
  machine: i686
X-Video Extension version 2.2
video_out_xv: this adaptor supports the yuy2 format.
video_out_xv: this adaptor supports the yv12 format.
video_out_xv: Xv image format: 0x32595559 (YUY2) packed
video_out_xv: Xv image format: 0x59565955 (UYVY) packed
video_out_xv: Xv image format: 0x32315659 (YV12) planar
video_out_xv: Xv image format: 0x30323449 (I420) planar
ioctl(): Input/output error
ERROR: error reading Info sector (150)
gxine: relocation error: /usr/lib/xine/plugins/1.23/xineplug_ao_out_alsa.so: symbol snd_pcm_hw_params_set_rate_near, version ALSA_0.9.0rc4 not defined in file libasound.so.2 with link time reference
mark@debian:~/stuff/flashcrap/music$
So, still no luck.
 
Old 03-14-2010, 01:32 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Do you have the problem with all files? (avi, mpeg..)
Perhaps the file is corrupt ?
 
Old 03-14-2010, 05:03 PM   #5
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
When I try an avi file, the sound works, but the video does not. I get the following:
Code:
mark@debian:~$ vlc
VLC media player 0.8.6h Janus
[00000301] main decoder error: no suitable decoder module for fourcc `XVID'.
VLC probably does not support this sound or video format.
[00000343] jack audio output error: failed to connect to JACK server
I recently reinstalled w32codecs, after discovering that it had been moved to non-free in the multimedia repository. This still hasn't solved stuff, though.

Here's what I get with mplayer:
Code:
mark@debian:~$ mplayer movie.avi
MPlayer dev-SVN-r26940 (C) 2000-2007 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Model: 7, Step
ping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing movie.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  640x480  12bpp  29.970 fps  2446.6 kbps (298.7 kbyte/s)
Clip info:
 Software: MEncoder dev-SVN-rUNKNOWN-4.1.2
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
s3fb: can't open /dev/fb0: No such file or directory
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
mplayer: relocation error: mplayer: symbol snd_pcm_hw_params_set_channels_near, 
version ALSA_0.9.0rc4 not defined in file libasound.so.2 with link time referenc
e
mark@debian:~$
Perhaps if I reboot, then the installation of w32codecs can better take effect.
 
Old 03-14-2010, 10:14 PM   #6
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
Well, rebooting did not change anything. I'm stumped.

[later ...]

Tried kaffeine, and it also doesn't work. Here's the result:
Code:
mark@debian:~$ kaffeine: relocation error: /usr/lib/xine/plugins/1.23/xineplug_ao_out_alsa.so: symbol snd_pcm_hw_params_set_rate_near, version ALSA_0.9.0rc4 not defined in file libasound.so.2 with link time reference
Same error that mplayer gave. I found a bug report of this relocation error for xine right here. It apparently was fixed. However, I use backports; so, maybe an upgrade from there caused xine (and mplayer) to crack (libasound2 is from backports, for instance.)

Last edited by mark_alfred; 03-15-2010 at 12:30 AM.
 
Old 03-15-2010, 05:08 AM   #7
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
There was an upgrade from backports, and included in that upgrade was libasound2:
Code:
Registering documents with scrollkeeper...
Setting up libasound2 (1.0.22-2~bpo50+2) ...
So, now mplayer and kaffeine (and presumably other xine dependent programs) display videos. vlc still doesn't work, however. But, I can now play videos.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to play videos dpsh Slackware 6 07-12-2009 12:52 AM
how can I play .rm videos rob33n Debian 2 03-01-2008 11:13 AM
Can't play videos macvag Linux - Newbie 7 03-10-2005 07:10 AM
cannot get videos to play handles SUSE / openSUSE 1 01-18-2005 04:48 PM
how do i play videos in the console? Necronomicom Slackware 8 11-15-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration