Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th April 2008, 11:17 AM
Gul Dukat's Avatar
Gul Dukat Offline
Registered User
 
Join Date: Feb 2006
Location: Doetinchem, Netherlands
Age: 44
Posts: 185
When playing a DVD, the DVD stutters.

Hi,

I've recently installed F8 on my laptop. I didn't run into any bumps. But after I completed the installation, with all the desired programs/drivers etc. I tried to play a DVD. But sound and video stutter constantly. I've tried Xine, VLC and SMPlayer but all have the same problem. I installed the following software to play my DVD's:
Code:
yum -y install xine xine-lib xine-skins xine-lib-extras-nonfree libdvdcss
This is software I use on all my F8 installed configurations, and with no problems. On those other configations, both pc's and laptops, I don't have any problems playing DVD's.

I get the impression that it has something to do with my hardware, as it stutters under different players. Any help in solving this problem, would greatly appreciated.

Thanks in advance...

Last edited by Gul Dukat; 24th April 2008 at 11:30 AM.
Reply With Quote
  #2  
Old 24th April 2008, 11:51 AM
LocutusOfBorg's Avatar
LocutusOfBorg Offline
Registered User
 
Join Date: Aug 2005
Posts: 684
Quote:
Originally Posted by Gul Dukat
I get the impression that it has something to do with my hardware
I'm sure Cardassian technology sucks

Anyway, try using mplayer from the the terminal, so you can see error messages (VLC too has a messages window, but I'm more comfortable with mplayer)
Use
Code:
mplayer -vo xv -ao alsa
Did you already check that DMA is enabled for your optical drive?
__________________
I am Bill of Borg. Resistance izkx GPF 0x5654 8820 Application
RESIST.EXE has performed an illegal operation and will be shut down.

Last edited by LocutusOfBorg; 24th April 2008 at 11:52 AM. Reason: typo
Reply With Quote
  #3  
Old 24th April 2008, 12:22 PM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,849
Hi just thought but when i had that problem it was due to lack of memory, which i didnt get in f7, maybe f8 uses more memory, anyway try playing the video/media on a smaller size, if it plays ok then it could possibly be memory.
Reply With Quote
  #4  
Old 26th April 2008, 04:24 PM
Gul Dukat's Avatar
Gul Dukat Offline
Registered User
 
Join Date: Feb 2006
Location: Doetinchem, Netherlands
Age: 44
Posts: 185
Quote:
Originally Posted by Dangermouse
Hi just thought but when i had that problem it was due to lack of memory, which i didnt get in f7, maybe f8 uses more memory, anyway try playing the video/media on a smaller size, if it plays ok then it could possibly be memory.
Thanks for your reply.
But that makes no difference. I haven't tried F7 on this laptop, so I wouldn't know If the problem would occur with F7. Memory should be enough I think, 1GB.
Reply With Quote
  #5  
Old 26th April 2008, 04:33 PM
Gul Dukat's Avatar
Gul Dukat Offline
Registered User
 
Join Date: Feb 2006
Location: Doetinchem, Netherlands
Age: 44
Posts: 185
Quote:
Originally Posted by LocutusOfBorg
I'm sure Cardassian technology sucks
It sometimes does....
Quote:
Anyway, try using mplayer from the the terminal, so you can see error messages (VLC too has a messages window, but I'm more comfortable with mplayer)
Use
Code:
mplayer -vo xv -ao alsa
This is what I get:
Code:
gmplayer -vo xv -ao alsa
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Turion(tm) 64 Mobile Technology ML-37 (Family: 15, Model: 36, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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 dvd://1.
There are 8 titles on this DVD.
There are 2 chapters in this DVD title.
There are 1 angles in this DVD title.
number of audio channels on disk: 0.
number of subtitles on disk: 0
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  8000.0 kbps (1000.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12 
V:   0.3   3/  3 ??% ??% ??,?% 0 0                                              

Exiting... (Exit)

Quote:
Did you already check that DMA is enabled for your optical drive?
How do I do that?
Reply With Quote
  #6  
Old 26th April 2008, 10:17 PM
daneel971's Avatar
daneel971 Offline
Registered User
 
Join Date: Jun 2005
Location: Italy
Posts: 1,108
Code:
hdparm -i /dev/sr0
This should give you something like
Code:
/dev/sr0:

 Model=Optiarc DVD RW AD-7203A                 , FwRev=1.00    , SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 *udma4
 AdvancedPM=no

 * signifies the current active mode
__________________
- Captain...
- Yes, Spock?
- I can't believe my ears...
Reply With Quote
  #7  
Old 27th April 2008, 02:37 PM
Gul Dukat's Avatar
Gul Dukat Offline
Registered User
 
Join Date: Feb 2006
Location: Doetinchem, Netherlands
Age: 44
Posts: 185
This what I get with hdparm -i /dev/sr0:
Code:
/dev/sr0:

 Model=MAT****ADVD-RAM UJ-845S                 , FwRev=D200    , SerialNo=                    
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 *udma2 
 AdvancedPM=no
 Drive conforms to: Unspecified:  ATA/ATAPI-3,4,5,6

 * signifies the current active mode
Does this mean DMA is enabled or disabled?
Reply With Quote
  #8  
Old 27th April 2008, 03:37 PM
LocutusOfBorg's Avatar
LocutusOfBorg Offline
Registered User
 
Join Date: Aug 2005
Posts: 684
It is enabled. Notice the * near udma2.
And since xv and alsa both work, I'm out of ideas... sorry
__________________
I am Bill of Borg. Resistance izkx GPF 0x5654 8820 Application
RESIST.EXE has performed an illegal operation and will be shut down.
Reply With Quote
  #9  
Old 27th April 2008, 04:35 PM
Gul Dukat's Avatar
Gul Dukat Offline
Registered User
 
Join Date: Feb 2006
Location: Doetinchem, Netherlands
Age: 44
Posts: 185
Quote:
Originally Posted by LocutusOfBorg
It is enabled. Notice the * near udma2.
And since xv and alsa both work, I'm out of ideas... sorry
Talking of ALSA. I've got mplayer configured for Pulseaudio. Could that have something to do with it?
Reply With Quote
  #10  
Old 27th April 2008, 05:33 PM
daneel971's Avatar
daneel971 Offline
Registered User
 
Join Date: Jun 2005
Location: Italy
Posts: 1,108
It's worth a try.
But I noticed this in your post above:

Code:
gmplayer -vo xv -ao alsa
...
Playing dvd://1.
number of audio channels on disk: 0.
...
MPEG: No audio stream found -> no sound.
Are you playing a DVD without audio tracks? The video playback was good?
Try mplayer (not gmplayer) from a terminal using a dvd with audio, for instance:
Code:
mplayer -vo xv -ao alsa dvd://1
__________________
- Captain...
- Yes, Spock?
- I can't believe my ears...
Reply With Quote
  #11  
Old 27th April 2008, 06:17 PM
Gul Dukat's Avatar
Gul Dukat Offline
Registered User
 
Join Date: Feb 2006
Location: Doetinchem, Netherlands
Age: 44
Posts: 185
Well to be honest, I don't play my DVD's using MPlayer, but I use Xine instead. MPlayer is something I use for other media-files, and I configured MPlayer with Pulseaudio. I used the command gmplayer -vo xv -ao alsa, because you suggested it. And I've also tried gmplayer -vo xv -ao pulse. As you can see here:
Code:
gmplayer -vo xv -ao pulse
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Turion(tm) 64 Mobile Technology ML-37 (Family: 15, Model: 36, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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 dvd://1.
There are 3 titles on this DVD.
There are 28 chapters in this DVD title.
There are 1 angles in this DVD title.
number of audio channels on disk: 0.
number of subtitles on disk: 0
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12 
A:  39.5 V:  39.0 A-V:  0.490 ct:  0.094 977/977 34% 12%  1.1% 117 0            

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:  60.6 V:  60.6 A-V:  0.076 ct:  0.090 1516/1516 41% 11%  1.0% 267 0          
Exiting... (Exit)
But I'm getting the same stuttering, when playing the DVD.
Reply With Quote
  #12  
Old 30th May 2008, 03:02 PM
dan sawyer Offline
Registered User
 
Join Date: Aug 2004
Posts: 108
I am getting a very similar error message. Did you ever resolve this?

Thanks - Dan
Reply With Quote
  #13  
Old 31st May 2008, 12:57 AM
_Chipwiz_Ben_ Offline
Registered User
 
Join Date: Sep 2006
Location: Manchester, UK
Age: 24
Posts: 96
This could be unrelated, but try switching off Compiz-Fusion if you have it running. I had a similar problem, and as soon as I switched back to the metacity window manager the problem went away.
Reply With Quote
  #14  
Old 3rd June 2008, 12:10 AM
Gul Dukat's Avatar
Gul Dukat Offline
Registered User
 
Join Date: Feb 2006
Location: Doetinchem, Netherlands
Age: 44
Posts: 185
Quote:
Originally Posted by _Chipwiz_Ben_
This could be unrelated, but try switching off Compiz-Fusion if you have it running. I had a similar problem, and as soon as I switched back to the metacity window manager the problem went away.
Compiz-Fusion can't be the problem, because I never had it enabled. And never will...

Thanks for your reply...

Last edited by Gul Dukat; 3rd June 2008 at 12:13 AM.
Reply With Quote
  #15  
Old 3rd June 2008, 12:12 AM
Gul Dukat's Avatar
Gul Dukat Offline
Registered User
 
Join Date: Feb 2006
Location: Doetinchem, Netherlands
Age: 44
Posts: 185
Quote:
Originally Posted by dan sawyer
I am getting a very similar error message. Did you ever resolve this?

Thanks - Dan
Yes. In the mean time I've upgraded to F9 and the problem is gone.
Reply With Quote
Reply

Tags
dvd, playing, stutters

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Video S-S-S Stutters SomeDamFool Using Fedora 1 10th April 2009 05:16 PM
RealPlayer10GOLD Stutters in FC5 mbratch Using Fedora 0 21st May 2006 07:22 PM
System stutters every so often skarlon Using Fedora 3 16th May 2006 06:35 PM
FC 5 slow/stutters spencer Using Fedora 7 14th April 2006 03:49 PM
Yum stutters then fails timelord726 Using Fedora 5 8th January 2005 07:23 PM


Current GMT-time: 07:00 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat