LinuxQuestions.org
Visit Jeremy's Blog.
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 01-26-2006, 09:39 AM   #1
ArchArael
LQ Newbie
 
Registered: Mar 2005
Distribution: Dropline/Slackware 11.0
Posts: 22

Rep: Reputation: 15
mpg and some avi have audio distorted


Hi,

I have an sn25p barebone. I'm using an amd64 3700+ processor. Works great except on some video files.
When I play some mpg and some avi files my audio is distorted. It's slow...seems to hear trolls speaking.


I've tried whith several players....mplayer xine vlc...but nothing changes...

I also tried to run an i386 player and kernel but nothing changes.

Tried also several distros without results...

The rest is ok...I can play mp3 files and audio si great..

Also dvd plays great.

I was wondering if this is a codec problem or amd64 ones...or maybe kernel module sn1712 and other have some bugs...

I have win32 codecs...

Don't know what other infos to post because the audio usually works without distorsions when I play other video formats...

Thank you for any suggestion...

Last edited by ArchArael; 01-26-2006 at 09:47 AM.
 
Old 02-02-2006, 10:49 AM   #2
ArchArael
LQ Newbie
 
Registered: Mar 2005
Distribution: Dropline/Slackware 11.0
Posts: 22

Original Poster
Rep: Reputation: 15
Because this is my desktop box i would like have an good multimedia support.

Would be different on freebsd?

This is not a provocation, do I have to return to windows?

Or do anyone sees alternatives?

Many thanks...
 
Old 02-05-2006, 12:50 PM   #3
ArchArael
LQ Newbie
 
Registered: Mar 2005
Distribution: Dropline/Slackware 11.0
Posts: 22

Original Poster
Rep: Reputation: 15
I tried to run windows on my box...

The audio works with all files without distortions.

Supose this is an linux kernel problem. It can't be that all player have same bug...

Last edited by ArchArael; 01-04-2007 at 06:38 PM.
 
Old 01-04-2007, 06:36 PM   #4
ArchArael
LQ Newbie
 
Registered: Mar 2005
Distribution: Dropline/Slackware 11.0
Posts: 22

Original Poster
Rep: Reputation: 15
Just to aid the people with same problem. It's an alsa buffer size problem.

Just put this .asoundrc in your home dir and should work.

Code:
pcm.!default {
         type plug
         slave.pcm "dmixer"
 }
 
 pcm.dmixer  {
         type dmix
         ipc_key 1024
         slave {
                 pcm "hw:0,0"
                 format S32_LE
                 period_time 0
                 period_size 1024
 
 # increased buffer_size because in my system 1024 cause bad
 # audio performance (for totem media player and mplayer)
                 buffer_size 32696
 
                 rate 44100
         }
         bindings {
                 0 0
                 1 1
         }
 }
 
 ctl.dmixer {
         type hw
         card 0
         device 0
 }
 
  


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
DVD to MPG/AVI ahz10 Linux - Software 1 08-31-2005 04:27 PM
converting .avi to .mpg!? ungua Linux - Software 6 02-06-2005 07:05 PM
need to compress an .mpg to .avi drawhla Linux - Software 1 11-03-2004 08:39 AM
convert avi to mpg jbogins Linux - Software 1 12-28-2003 10:30 AM
Converting avi to mpg OR creating an SVCD from an avi MasterC Linux - Software 5 03-28-2003 06:42 AM


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