LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-12-2006, 11:38 AM   #1
ruddyrum
Member
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 37

Rep: Reputation: 16
visual... but no audio?


ok... so after alot of messing around, i finally got my sound up and running. After recieving too many 'decoder errors' from totem, i decided to install Mplayer... after the installation, everything worked fine! Mplayer played MP3's and all sorts of visual media (with sound)

Now, it only seems to play the flicks without any sound, and mp3's seem to play, but i cant hear anything... this is very odd, as i play and hear mp3's in xmms!

Anyone know what could be going on... cos i have't got an f'ing clue?!?!?!

Thanks
 
Old 02-12-2006, 04:28 PM   #2
ruddyrum
Member
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 37

Original Poster
Rep: Reputation: 16
ok... so after some extensive fiddling, i have now got sound for some videos, but not for others... what could be the cause of this? i dont think its codec, as i have most of them installed....
 
Old 02-12-2006, 04:38 PM   #3
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
do you start mplayer from command-line (terminal)?
If usually not - do so now - you will see a fair amount of output - and also the cause of mplayer not playing audio...
It could be related to a sound daemon running and temporarily blocking your audio-device.
 
Old 02-13-2006, 06:02 AM   #4
ruddyrum
Member
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 37

Original Poster
Rep: Reputation: 16
ok... so here is the output if i launch mplayer from the terminal:

Code:
MPlayer 1.0pre7try2-3.2.3 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1


Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
 -vo <drv[:dev]>  select video output driver & device ('-vo help' for a list)
 -ao <drv[:dev]>  select audio output driver & device ('-ao help' for a list)
 vcd://<trackno>   play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>   play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <timepos>    seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 up or down       seek backward/forward  1 minute
 pgup or pgdown   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 z or x           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
There seems to be no mention of an error message, or as to why sound is working for some video files, and not others!

edit: there does seem to be an error... opening mplayer is not a problem, however opening a file in the terminal via mplayer shows:

Code:
MPlayer 1.0pre7try2-3.2.3 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1


Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
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 xxxxxxxxxxxx.avi.
AVI file format detected.
VIDEO:  [XVID]  672x272  12bpp  23.976 fps  1174.6 kbps (143.4 kbyte/s)
Clip info:
 Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
No vidix driver name provided, probing available ones (-v option for details)!
vo: X11 running at 1400x1050 with depth 24 and 32 bpp (":0.0" => local display)
[nvidia_vid] Found chip: NV31 [GeForce FX 5600]
libdha: DHA kernelhelper failed: No such file or directory
[nvidia_vid] arch 30 register base 1137000
libdha: DHA kernelhelper failed: No such file or directory
[nvidia_vid] detected memory size 0 MB
[nvidia_vid] MTRR set up
[nvidia_vid] video mode: 1400x26@32
VIDIX: Description: NVIDIA RIVA OVERLAY DRIVER
VIDIX: Author: Sascha Sommer <saschasommer@freenet.de>
==========================================================================
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/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 672 x 272 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.47:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from Planar YV12 to Packed YUY2 using MMX2
VO: [xvidix] 672x272 => 672x272 Packed YUY2
[nvidia_vid] set colorkey 0xff00
called vixConfigPlayback
[nvidia_vid] setting up a 672x272-364x389 video window (src 672x272), format 0x32595559


MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
alsa-uninit: pcm closed

Last edited by ruddyrum; 02-13-2006 at 06:12 AM.
 
Old 02-13-2006, 07:25 AM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Yes - the second one was what I was askink you to do - the first one will of course just print info about usage, since you did not give it a file to play...
In this particular case audio was not the cause of the crash - but the video failed to be decoded and made mplayer crash.
Quote:
MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
Next questions would be:
What distribution is this?
Did you compile it yourself?
If so - do as the error suggests - recompile with debugging enabled.
What does the output look like with a file mplayer plays whithout crashing (both: audio and video with audio) - since that actually seems to happen sometimes?
To me it looks like its the fault of your nvidia-drivers - maybe not correctly set up...
 
Old 02-13-2006, 11:52 AM   #6
ruddyrum
Member
 
Registered: Aug 2005
Distribution: Fedora Core 4
Posts: 37

Original Poster
Rep: Reputation: 16
MPlayer v1.0pre7try2 i initially compliled from source, but i thought doing a yum install might fix/retreive anything that might be missing!

When i run Mplayer from the Applications tab, i can run the file fine, but there is just no audio! if i run it from the terminal, Mplayer will not start at all...
What i find odd, is that if i load another movie file (which i know will work) after an audioless one, it will play with no problems.

With regards to my nvidia drivers, i will look into it now, but as i am relativly new to linux i don't exactly know what a "correct setup" will look like!
Thanks for the help so far
 
  


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
Stupid Question: Microsoft Visual Studio 6.0 (A.K.A. Visual Basic 6) Will it run? S0RD3N Linux - Software 8 05-07-2008 08:42 PM
running Visual Basic/Visual Fox Pro in Linux? depam Linux - Software 9 02-11-2006 03:42 PM
mplayer audio visual effects lukebeales Linux - Software 0 09-29-2004 09:03 AM
KDE 3.2 "visual and Audio problem" kuol3m4 Slackware - Installation 4 05-11-2004 05:24 AM
MS visual C++ dj_relentless Linux - General 6 02-12-2002 12:34 PM

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

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