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-04-2002, 06:23 PM   #1
Zander
Member
 
Registered: Jul 2002
Posts: 65

Rep: Reputation: 15
Movie problems


I'm having an awful time trying to be able to play videos. I've installed MPlayer and Xine, but niether of them can play videos. That Mpeglib thing doesn't work either. I can usually hear sound (not from xine), but all I get is a black screen. The same goes for dvd's. Can I configure Mplayer to use something to play videos/dvd's? I'm so confused that I don't know where to start.
 
Old 12-04-2002, 07:07 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Well, do you have all teh pre-requisites for playing DVD's, at least for Mplayer you need libdvdcss, and as for libdvdread it provides its own libkit regarding this issue.
 
Old 12-04-2002, 07:19 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
What are you trying as far as the command for Mplayer goes?

Try this if you haven't:
mplayer -vo xv -dvd 1

This does assume your distro made proper symlinks for you..

Cool
 
Old 12-04-2002, 10:06 PM   #4
Hitokiri_X
Member
 
Registered: Mar 2002
Distribution: Slackware Current
Posts: 99

Rep: Reputation: 15
Did you install the proper codecs?

win32codecs
Divx
ffmpeg comes with mplayer unless you're using the cvs and I believe xvid is also included.
 
Old 12-04-2002, 10:50 PM   #5
Zander
Member
 
Registered: Jul 2002
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks- I downloaded the libraries and recompiled with gui support. Then I got the videos to play (just some regular mpegs of my fav. band ).

Now I have a different problem. When I choose any sound driver (OSS seems to work best) the video becomes extremely slow and sometimes the sound gets 'hiccups'. Then I get a message telling me my system is too slow to play that file. It gives me tips, but the ones I tried don't work. I've tried -ao sdl and stuff like that, but they don't help. I know my system is fine, I have a SoundBlaster Live! that works fine with everything else- AMD Athlon XP 1800 CPU, 512 RAM. What could be the problem?
 
Old 12-04-2002, 11:42 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by neo77777
Well, do you have all teh pre-requisites for playing DVD's, at least for Mplayer you need libdvdcss
Actually libdvdcss isn't totally required as mine works fine without it.
 
Old 12-05-2002, 10:27 PM   #7
Zander
Member
 
Registered: Jul 2002
Posts: 65

Original Poster
Rep: Reputation: 15
Well, I kinda got Mplayer running now after messing with hdparm. When I try to play a dvd in user mode, I get this error:

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.
Using usleep() timing
Can't open input config file /home/zander/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing DVD title 2
libdvdread: Could not open device with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd


Can someone tell me what this means and how I can make it work? Thanks.
 
Old 12-05-2002, 10:33 PM   #8
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Yeah, libdvdcss isn't mandatory but it is helpful to have under the belt, as for you problem, does the /dev/dvd exist and point to the right device? Is the actual device has permissions set to allow non-root users to read from it at least?
On my setup
ls -l /dev/dvd
lrwxrwxrwx root root yada yada /dev/dvd->/dev/hdd
ls -l /dev/hdd
br--r--r-- root root yada yada /dev/hdd
 
Old 12-05-2002, 10:42 PM   #9
Zander
Member
 
Registered: Jul 2002
Posts: 65

Original Poster
Rep: Reputation: 15
Yes, the command I used for used for mplayer (mplayer -dvd 1) worked fine while logged in as root. I made it so I can mount dvd's as user as well.
 
  


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
Gates gets it (old movie) liljhand General 10 03-17-2005 10:55 PM
Problems opening mp3 and movie from a network share? bjs SUSE / openSUSE 0 11-02-2004 10:10 AM
TV out - No movie? alexbgd Linux - Newbie 0 10-21-2003 06:29 PM
Mplayer Movie Problems Cmdr_K00n Linux - Newbie 2 09-29-2003 05:39 AM
Has anyone seen this movie? case1984 General 1 02-25-2003 02:19 PM

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

All times are GMT -5. The time now is 07:37 AM.

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