LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2005, 10:18 PM   #1
pszlachetka
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Rep: Reputation: 0
MPlayer and video_output device


I keep getting the same error when I try to play video files, and it's not a codec issue because my friend is running the exact same linux distro/version, and the exact same Mplayer version with the exact same codecs installed. I keep getting this error:

peter@POLSKASH-Laptop:~/Desktop$ mplayer winningticket.wmv
MPlayer 1.0pre7try2-3.4.5 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 6, Stepping: 8)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing winningticket.wmv.
ASF file format detected.
VIDEO: [WMV2] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 2 ch, s16le, 40.0 kbit/3.91% (ratio: 5000->128000)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
==========================================================================
Requested video codec family [wmv8] (vfm=dshow) not available.
Enable it at compilation.
Requested video codec family [wmvdmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffwmv2] vfm:ffmpeg (FFmpeg M$ WMV2/WMV8)
==========================================================================
Checking audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
AF_pre: 32000Hz/2ch/s16le
AO: [oss] 32000Hz 2ch s16le (2 bps)
Building audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
Starting playback...
[wmv2 @ 0x8518fa8]I7:0/
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.

FATAL: Could not initialize video filters (-vf) or video output (-vo).

Can't restore text mode: Invalid argument

Exiting... (End of file)


Basically, I keep getting this line:
FATAL: Could not initialize video filters (-vf) or video output (-vo).

I did mplayer -vo help and I get this list:

vailable video output drivers:
fbdev Framebuffer Device
fbdev2 Framebuffer Device
vesa VESA VBE 2.0 video output
cvidix console VIDIX
null Null video output
mpegpes Mpeg-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame

So I try this mplayer -vo fbdev or mplayer -vo vesa and they don't do anything, it points me to some help information. I just want a decent media player! I can't believe this is even an issue coming from Windows...
 
Old 12-31-2005, 11:00 PM   #2
Ellops
Member
 
Registered: Nov 2005
Location: ath.gr
Distribution: Slackware 11.0 / 2.6.19.1 /Linux Mint
Posts: 124

Rep: Reputation: 15
firts run
Code:
echo 1024 > /proc/sys/dev/rtc/max-user-freq
then download the codecs from MplayerHQ http://www.mplayerhq.hu/homepage/design7/dload.html and save them in /usr/local/lib/codecs/

then run mplayer (or gmplayer if u have the GUI) with $mplayer drv[:xvidix] or [:cvidix] for console.
or mplayer -vo help for a list of available drivers. Try some of them like [:gl] or others.

Be sure that you have vidix driver installed (http://vidix.sourceforge.net/). You can use other drivers as well.


---->>EDIT
oops, now i saw this: I keep getting the same error when I try to play video files, and it's not a codec issue because my friend is running the exact same linux distro/version, and the exact same Mplayer version with the exact same codecs installed. I keep getting this error:
---

Then do the first, only

Last edited by Ellops; 12-31-2005 at 11:15 PM.
 
Old 01-01-2006, 01:05 AM   #3
pszlachetka
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I tried to run that first line and it said I don't have permission, even when I stuck a sudo in front of it, or did su + <myname> and then did it. What's the deal? And I've already looked at the list of video drivers, I just don't know how to choose one.

-Peter
 
Old 01-01-2006, 02:02 AM   #4
Ellops
Member
 
Registered: Nov 2005
Location: ath.gr
Distribution: Slackware 11.0 / 2.6.19.1 /Linux Mint
Posts: 124

Rep: Reputation: 15
What are the permitions of the file?
u must have write perms.
do a
Code:
chmod +w /proc/sys/dev/rtc/max-user-freq
logged as root.

after u do add 1024 in the file by running the command
Code:
cat 1024 > /proc/sys/dev/rtc/max-user-freq
, try to see if it works.

If not change the vo, by startin mplayer using the command
Code:
mplayer drv[:xvidix] <yourvideofile>
where in xvid whatever driver u like eg: drv[:gl2]

Last edited by Ellops; 01-01-2006 at 02:09 AM.
 
Old 01-01-2006, 03:18 AM   #5
pszlachetka
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Original Poster
Rep: Reputation: 0
How do I check the permissions? And I did what you suggested and it still says I don't have permission. I'm a Linux newbie
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer error opening/initializing the selected video_out (-vo) device caulfiek Slackware 9 04-06-2010 05:15 AM
Mplayer sound error: "Could not open/initialize audio device -> no sound" GTBlackwell Linux - Software 9 06-11-2008 02:23 PM
mplayer: failed to open /dev/rtc no such device darkleaf Linux - Software 2 02-18-2005 05:07 PM
mplayer - not working with video device scuzzman Slackware 3 11-09-2004 02:00 AM
audo device problem(MPLAYER) bullwinkle Fedora 1 07-12-2004 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 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