Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Mplayer, scratchy, crazy audio and stuttering video

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
angrydw4rf
n00b
n00b
Posts: 3
Joined: Sun Nov 18, 2007 1:00 am
Location: Blacksburg VA

Mplayer, scratchy, crazy audio and stuttering video

  • Quote

Post by angrydw4rf » Sun Nov 18, 2007 1:17 am

Hello, and thanks in advance for the help. I am relatively new to Gentoo, and am only slightly more intelligent then a well bred monkey, but here it goes... I am having problems with mplayer. When I play movies, I get a really fast stream of

[mp3 @0xd3bfc0]Header missing skipping one byte

The audio playback is silent except for seemingly random very high pitched screeches (maybe it is being played back MUCH MUCH faster?)

I did some research on the intarwebs and in the forums here and tried a few different things,

re-emerging mplayer
re-emerging mplayer with mad mp3 decoder support
emerging xine-lib with the "mad" USE flag.
rev-dep-rebuild
editing mplayers config to force it to use ffmpg
also i figured because I have and AMD64 chip, I tried mplayer-bin w/ the win32codecs and got the same error messag

Some files actually crash after a few seconds, giving the following:


MPlayer interrupted by signal 11 in module: decode_audio
- 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.


I should I suppose also mention I am using ALSA, what other information would be useful?
"There is no reason to be alive if you can't do the deadlift - Jon Paul Sigmarsson

Jon Paul Sigmarsson died of a heart attack while deadlifting.
Top
angrydw4rf
n00b
n00b
Posts: 3
Joined: Sun Nov 18, 2007 1:00 am
Location: Blacksburg VA

  • Quote

Post by angrydw4rf » Sun Nov 18, 2007 1:26 am

AHA! Well, I was screwing around some more unmerging and emerging, and I forgot to log out of root before I ran mplayer... playing video works fine as root, just not as user. This is probobly pretty simple to fix, i imagine I have to add users to a group or set permissions on something, but i am a newb and bit befuddled.
"There is no reason to be alive if you can't do the deadlift - Jon Paul Sigmarsson

Jon Paul Sigmarsson died of a heart attack while deadlifting.
Top
angrydw4rf
n00b
n00b
Posts: 3
Joined: Sun Nov 18, 2007 1:00 am
Location: Blacksburg VA

  • Quote

Post by angrydw4rf » Sun Nov 18, 2007 2:21 am

Another note, playing the movie with -nosound fixes all the errors.

Any ideas?
"There is no reason to be alive if you can't do the deadlift - Jon Paul Sigmarsson

Jon Paul Sigmarsson died of a heart attack while deadlifting.
Top
tuam
l33t
l33t
User avatar
Posts: 765
Joined: Tue May 04, 2004 9:09 am
Location: CGN, Germany

  • Quote

Post by tuam » Mon Nov 19, 2007 7:20 am

angrydw4rf wrote:playing video works fine as root, just not as user.
This may be a problem of permissions or a bad configuration hanging around. You may want to
- check mplayers output for permission warnings (or post it here, but please cut some of the repeating errors :wink: )
- use another user or move your .mplayer directory

FF,

Daniel
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Top
Modano
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 109
Joined: Wed Dec 01, 2004 1:17 pm
Location: Montpellier, France
Contact:
Contact Modano
Website

  • Quote

Post by Modano » Mon Dec 10, 2007 10:08 pm

I'm bouncing on this issue. I have the same :

While reading any non-mute MPG file I got the following :

Code: Select all

MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: Mobile Intel(R) Pentium(R) III CPU - M 1200MHz (Family: 6, Model: 11, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Playing Lordi - Hallelujah - Videoclip.mpg.
MPEG-PS file format detected.
VIDEO: MPEG2 480x576 (aspect 2) 25.000 fps 2496.0 kbps (312.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 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))
==========================================================================
==========================================================================
Trying to force audio codec driver family ffmpeg...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[mp2 @ 0x86de720]incorrect frame size
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[mp2 @ 0x86de720]incorrect frame size
[mp2 @ 0x86de720]incomplete frame
[mp2 @ 0x86de720]Header missing skipping one byte. 
Which the last line repeated infinitely.

I don't have this problem with mplayer & :
-mp3's as root only....:) (else I get some Invalid New Backstep xxx), but no audible impact.
-asf
-avi
-wmv
whatever has sound but is not an MPG.

I'm using ALSA.
I rebuilt mplayer many times, added mp3 and X support.
Revdep-rebuild as well.

here are more info :

Code: Select all

MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: Mobile Intel(R) Pentium(R) III CPU - M  1200MHz (Family: 6, Model: 11, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
get_path('codecs.conf') -> '/home/modano/.mplayer/codecs.conf'
Reading /home/modano/.mplayer/codecs.conf: Can't open '/home/modano/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --cc=i686-pc-linux-gnu-gcc --host-cc=i686-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib --enable-largefiles --enable-menu --enable-network --disable-tv-bsdbt848 --disable-faad-external --disable-fribidi --disable-enca --disable-ftp --disable-vstream --disable-libcdio --disable-cddb --disable-mencoder --disable-libdv --disable-x264 --disable-faac --disable-ass --disable-freetype --charset=UTF-8 --disable-lirc --disable-lircc --disable-joystick --disable-unrarlib --disable-rtc --disable-smb --disable-tv --disable-tv-v4l1 --disable-tv-v4l2 --disable-radio --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-dvb --disable-dvbhead --disable-tv-teletext --disable-pvr --disable-gif --disable-live --disable-mad --disable-musepack --disable-pnm --disable-speex --disable-tga --disable-theora --disable-xanim --disable-faad-internal --disable-liba52 --disable-libamr_nb --disable-libamr_wb --disable-libdca --disable-liblzo --disable-twolame --disable-toolame --disable-qtx --disable-libvorbis --disable-real --enable-win32dll --disable-directfb --disable-ivtv --disable-ggi --disable-md5sum --disable-sdl --disable-xinerama --disable-aa --disable-fbdev --disable-caca --disable-gl --disable-vesa --disable-vidix-internal --disable-vidix-external --disable-zr --enable-gui --disable-xvmc --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-arts --disable-esd --disable-jack --disable-nas --disable-openal --disable-ossaudio --disable-3dnow --disable-3dnowext --disable-mmxext --disable-sse2 --disable-ssse3 --disable-altivec
CommandLine: '-v' 'Lordi - Hallelujah - Videoclip.mpg'
get_path('font/font.desc') -> '/home/modano/.mplayer/font/font.desc'
font: can't open file: /home/modano/.mplayer/font/font.desc
Bitmap font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/modano/.mplayer/input.conf'
Can't open input config file /home/modano/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('Lordi - Hallelujah - Videoclip.mpg.conf') -> '/home/modano/.mplayer/Lordi - Hallelujah - Videoclip.mpg.conf'

Playing Lordi - Hallelujah - Videoclip.mpg.
get_path('sub/') -> '/home/modano/.mplayer/sub/'
[file] File size is 64942084 bytes
STREAM: [file] Lordi - Hallelujah - Videoclip.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename Lordi - Hallelujah - Videoclip.mpg ext: .mpg
LAVF_check: MPEG PS format
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file Lordi - Hallelujah - Videoclip.mpg
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 67811, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851704
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 0
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  480x576  (aspect 2)  25.000 fps  2496.0 kbps (312.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:480x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/modano/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1400x1050 with depth 16 and 16 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Using workaround for Metacity bugs.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports FULLSCREEN state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00083e).
[xv common] Maximum source image dimensions: 1024x1024
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 576 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
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))
==========================================================================
==========================================================================
Trying to force audio codec driver family ffmpeg...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio decoder)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.14a
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[libaf] Adding filter lavcresample
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
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.
[mp2 @ 0x86de720]incorrect frame size
[mp2 @ 0x86de720]incorrect frame size
[mp2 @ 0x86de720]incomplete frame
[mp2 @ 0x86de720]Header missing skipping one byte.
[mp2 @ 0x86de720]Header missing skipping one byte.
[b][....] infiniment et Control C pour arrêter[/b]
lavc_audio: error
Uninit audio filters...
[libaf] Removing filter lavcresample
[libaf] Removing filter dummy
Uninit audio: ffmpeg
Uninit video: libmpeg2
alsa-uninit: pcm closed
vo: uninit ... 
(mpg played with Verbose flag)..

Any idea ??
Thanks
2.6.12-gentoo-r10 Celeron² 900 MHz - 768 Registered / ECC SDRAM - Matrox G450 / Geforce 2MX
2.6.24-gentoo-r3 sur IBM ThinkPad T23

Modano@jabber.org
Top
ercete
Guru
Guru
User avatar
Posts: 426
Joined: Thu Dec 11, 2003 9:55 pm
Location: France, Avignon
Contact:
Contact ercete
Website

  • Quote

Post by ercete » Mon Dec 10, 2007 10:20 pm

Here is a workaround that worked for me :

Code: Select all

$ mv ~/.mplayer ~/.mplayer.old
if this still doesn't work, there is a global mplayer in /etc/mplayer/mplayer.conf
Oh look... is it a stockbroker? Is it a quantity Surveyor? Is it a church warden?
NO! It's Bicycle Repair Man!

jadis raoulchatigré
Top
Modano
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 109
Joined: Wed Dec 01, 2004 1:17 pm
Location: Montpellier, France
Contact:
Contact Modano
Website

  • Quote

Post by Modano » Mon Dec 10, 2007 10:26 pm

Ok that is great !!!
I found that the error was :
afm=ffmpeg.

I swapped it to afm=mp3lib.
That works like a charm.. Many thanks !!
2.6.12-gentoo-r10 Celeron² 900 MHz - 768 Registered / ECC SDRAM - Matrox G450 / Geforce 2MX
2.6.24-gentoo-r3 sur IBM ThinkPad T23

Modano@jabber.org
Top
Post Reply

7 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic