LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-19-2009, 10:31 PM   #1
Changes
Member
 
Registered: Oct 2008
Posts: 190

Rep: Reputation: 16
Mplayer and flv files: audio trouble


As it came in Kubuntu, mplayer (with the gmplayer frontend) plays flv files fine, but the audio quickly gets desynchronized. After a while I can hear things happen a very noticeable time before they happen on video. This only happens with flash video files; avi, wmv, mpg... everything else plays fine.
Edit: I tested it some more, and it appears to have some trouble with long files too (say, anime episodes in mkv format). It's not nearly as noticeable as in even short flv ones, but it's there. Clearly something isn't right...

VLC plays flv fine, but I like mplayer's keyboard controls and superior startup speed and so wouldn't want to switch if at all possible.

I'd like to fix the audio issue, but I don't know how. Any help would be appreciated.

Last edited by Changes; 03-19-2009 at 11:31 PM.
 
Old 03-20-2009, 03:04 PM   #2
Oakems
Member
 
Registered: Nov 2008
Posts: 43

Rep: Reputation: 16
Have you tried uninstalling then reinstalling (hay sometimes it works)?

Isn't there options to delay or speed up the audio/video? There should be options for doing this, if not from the program, maybe from the command line.

This apparently will speed up the audio by 1.5x (not too much help to you I know but maybe it can be modified to do the opposite)

mplayer -speed 1.5 -af ladspa=tap_pitch:tap_pitch:0:-33:-90:0 foo.avi
 
Old 03-20-2009, 03:10 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this seams to be a problem with .flv files ,no matter what distro,

my smplayer GUI has the same issues
Use VLC
 
Old 03-20-2009, 06:41 PM   #4
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Try to use -framedrop option, it seems you computer is too slow to play strongly compressed videofiles.
 
Old 03-20-2009, 07:32 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Try to use -framedrop option, it seems you computer is too slow to play strongly compressed videofiles.
well if the OP has the same issue as i then *.mp4 video play just fine, and *.rm are a bit hit-and-miss ( same as .flv) using mplayer
 
  


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
ffmpeg - flv Unsupported audio codec JavaNinja Linux - Software 15 06-02-2011 02:08 AM
Converting flv to Mpg with Audio and ffmpeg btbx Linux - Software 7 06-12-2008 02:41 PM
MPlayer -- Audio-Video desynchronized in FLV files gregorian Linux - Software 2 04-25-2007 11:26 PM
Inability of Mplayer to play flv files gregorian Linux - Software 5 01-18-2007 01:53 AM
mplayer // I am only getting audio for .mov files Wapo Linux - Software 6 07-29-2003 08:06 PM

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

All times are GMT -5. The time now is 06:30 PM.

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