LinuxQuestions.org
Review your favorite Linux distribution.
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 03-21-2005, 06:04 AM   #1
greenthing
Member
 
Registered: Jan 2005
Distribution: Suse 9.3 pro
Posts: 116

Rep: Reputation: 15
sound 2 seconds late in movies


when i trie to play movies (avi,asf,wmv and so on) the sound is one to two seconds late making it impossibale to watch. this problem ocurrs in all three mediaplayers i have installed (mplayer,xine and kaffeine) and i have no idea why this occurs.

please help a poor :newbiethanks
 
Old 03-21-2005, 10:46 AM   #2
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Rep: Reputation: 30
I had this problem in a couple of my games. Try turning the KDE sound system off - theres a single line command to get the the box, but I can't remember it.

You'll have to go to KDE Control Centre > Sound & Multimedia > Sound System

Clear the 'Enable the Sound System' box, hit Apply and see if it now works. I know this isn't a great solution, but I've put up without all those annoying feedback sounds for a while now without any ill effects...

Last edited by Napalm Llama; 03-21-2005 at 10:47 AM.
 
Old 03-21-2005, 11:50 AM   #3
greenthing
Member
 
Registered: Jan 2005
Distribution: Suse 9.3 pro
Posts: 116

Original Poster
Rep: Reputation: 15
It worked but gave me a new problem when I clear the sound system box gmplayer stops working, when i play it in kaffine the sound problem is gone and everything is fine but if i try to open a file with gmplayer it only shows the gui for 1 second then it quits also running mplayer from the command line works.


EDIT: gmplayer is mplayers gui

EDIT2: running gmplayer from the terminal gives

Code:
gr@ad:~/media/newstuff> gmplayer test.avi
MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.



vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.
Playing /home/gr/media/newstuff/test.avi.
AVI file format detected.
VIDEO:  [XVID]  512x384  16bpp  29.970 fps  956.4 kbps (116.7 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
Segmentation fault
gr@ad:~/media/newstuff>

Last edited by greenthing; 03-21-2005 at 11:53 AM.
 
Old 03-21-2005, 12:03 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
try a different audio out driver in mplayer
 
Old 03-21-2005, 12:10 PM   #5
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Rep: Reputation: 30
Ah, so that's what it is... I've been wondering for ages why the sound in gmplayer wasn't working!

That's about the limit of my expertise... I guess the people at mplayer created their GUI to rely solely on the KDE sound system... perhaps not the best of ideas.

[quickly reconfigures system]

Heh, they seem to have fixed it in KDE 3.4 - I only upgraded yesterday, and I haven't tried everything out yet.

You could try upgrading if you want, but please please please use YaST! I did it the down & dirty way manually from rpms, and a lot of things have become worse - Firefox doesn't look right anymore, for one.
My thread about it is HERE.

You should be able to go to the SuSE 9.2 RPM mirror that's linked to from the KDE Site and plug its' url into YOU.

Have fun!
 
Old 03-21-2005, 12:19 PM   #6
greenthing
Member
 
Registered: Jan 2005
Distribution: Suse 9.3 pro
Posts: 116

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by __J
try a different audio out driver in mplayer
How???
 
Old 03-21-2005, 12:24 PM   #7
greenthing
Member
 
Registered: Jan 2005
Distribution: Suse 9.3 pro
Posts: 116

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Napalm Llama
Ah, so that's what it is... I've been wondering for ages why the sound in gmplayer wasn't working!

That's about the limit of my expertise... I guess the people at mplayer created their GUI to rely solely on the KDE sound system... perhaps not the best of ideas.

[quickly reconfigures system]

Heh, they seem to have fixed it in KDE 3.4 - I only upgraded yesterday, and I haven't tried everything out yet.

You could try upgrading if you want, but please please please use YaST! I did it the down & dirty way manually from rpms, and a lot of things have become worse - Firefox doesn't look right anymore, for one.
My thread about it is HERE.

You should be able to go to the SuSE 9.2 RPM mirror that's linked to from the KDE Site and plug its' url into YOU.

Have fun!
what ulr am i supposed to use?? i tried this one http://ftp.du.se/pub/mirrors/kde/sta...SuSE/ix86/9.2/
but it didnt work
 
Old 03-21-2005, 12:59 PM   #8
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Rep: Reputation: 30
Hey, can you please not hijack my thread?

You've got a perfectly good thread for asking that here, and it's taking mine off-topic.

I've had to report it to a moderator.


I had a try myself, but it YOU makes it very difficult to use any mirror other than those which synchronise specially with SuSE.

Try asking how to fit the KDE download servers into YOU.
 
Old 03-21-2005, 01:10 PM   #9
greenthing
Member
 
Registered: Jan 2005
Distribution: Suse 9.3 pro
Posts: 116

Original Poster
Rep: Reputation: 15
Sorry for that I didnt think...

Quote:
Try asking how to fit the KDE download servers into YOU
ask where?
 
Old 03-21-2005, 01:17 PM   #10
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Quote:
Originally posted by greenthing
How???
mplayer ( or gmplayer) -ao help

will give you a list of options for audio drivers

-vo help - video drivers

man mplayer for the (long) list of options
 
Old 03-21-2005, 01:33 PM   #11
greenthing
Member
 
Registered: Jan 2005
Distribution: Suse 9.3 pro
Posts: 116

Original Poster
Rep: Reputation: 15
used -ao alsa and it worked thanks, one down one to go.
 
Old 03-21-2005, 07:08 PM   #12
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
I guess the people at mplayer created their GUI to rely solely on the KDE sound system... perhaps not the best of ideas
Not true at all, as mentioned run 'mplayer -ao help' to see available audio drivers. In fact the mplayer people don't even recommend the gui (as it is _not_ installed by default from source).

Methinks it is your distro that set it up this way, so blame them...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
convert total no of seconds in the format hour minutes and seconds suchi_s Programming 15 03-15-2011 12:34 PM
A "late collision" every 2-3 seconds RedDwarf Linux - Networking 2 08-16-2004 06:47 AM
Sound out of sync with Video for movies Relativity Linux - Software 2 04-23-2004 06:44 AM
Recurring garbled sound every 60 seconds XMMS Player JeffW Linux - Software 5 01-23-2004 06:08 PM
Problem with sound while playing movies JIV Linux - Newbie 3 02-25-2003 05:53 AM

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

All times are GMT -5. The time now is 02:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration