Results 1 to 4 of 4

Thread: Play mplayer smoothly

  1. #1
    Join Date
    Nov 2009
    Posts
    518

    Play mplayer smoothly

    Hi
    I am new to linux and I use the Mplayer to play movies and other videos. But the find a problem with MPlayer, it pauses and jumps when it is finished. When I play one video and press the next button it pauses for a long time. I use the terminal to play mplayer, this is the command
    Code:
    mplayer -playlist your_play_list
    So, is there any other option to make mplayer play smoothly. I do not like when the mplayer jumps and pauses, its frustrating. Any idea of how to fix the problem. Am I right with the command and its options or I should try something else. Any solution will be appreciated.

  2. #2
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Play mplayer smoothly

    Hello
    I think you should try the -autosync option, and it would be much better to try it with value 30.
    The following is the output of the man pages
    Code:
    -autosync <factor>
                  Gradually adjusts the A/V sync based on audio delay measurements.  Specify-
                  ing -autosync 0, the default, will cause frame timing to be based  entirely
                  on  audio delay measurements.  Specifying -autosync 1 will do the same, but
                  will subtly change the A/V correction algorithm.  An uneven video framerate
                  in  a  movie  which plays fine with -nosound can often be helped by setting
                  this to an integer value greater than 1.  The higher the value, the  closer
                  the  timing  will  be to -nosound.  Try -autosync 30 to smooth out problems
                  with sound drivers which do not implement a perfect  audio  delay  measure-
                  ment.   With  this  value,  if large A/V sync offsets occur, they will only
                  take about 1 or 2 seconds to settle out.  This delay in  reaction  time  to
                  sudden  A/V  offsets  should be the only side-effect of turning this option
                  on, for all sound drivers.
    Alternatively one more option is to try -cache <kb>
    Code:
    -cache <kBytes>
                  This option specifies how much memory (in kBytes) to use when precaching  a
                  file or URL.  Especially useful on slow media.
    Hope this solves your problem.

  3. #3
    Join Date
    Nov 2009
    Posts
    518

    Re: Play mplayer smoothly

    Hi
    I tried your options, it is much better now. But the pause and the jump problem still persist. I am not sure that I can play the videos smoothly with mplayer, now it is showing a blank screen when I when the video is stopped. Any help or advice on this. But thanks it is much better than before. Do you know any more option which i can use with the command so that it can play the videos more smoothly. Any help will be appreciated.

  4. #4
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Play mplayer smoothly

    Hi
    Ok, you can try the option noaudio, and if the mplayer plays the videos smoothly the just adjust your -autosync value. I am not sure but you can also try -framedrop. Here is the code for it
    Code:
     -framedrop  (also  see  -hardframedrop,  experimental  without  -nocor-
           rect-pts)
                  Skip  displaying  some  frames to maintain A/V sync on slow sys-
                  tems.  Video filters are not applied to  such  frames.   For  B-
                  frames even decoding is skipped completely.
    Check that you have not application running at the same time when then mplayer is running.

Similar Threads

  1. i cant play h264 movies smoothly plz plz plz help.
    By shoaib537 in forum Motherboard Processor & RAM
    Replies: 3
    Last Post: 20-08-2010, 12:18 AM
  2. Nvidia vdpau for Mplayer
    By Angelica Maria in forum Windows Software
    Replies: 4
    Last Post: 21-04-2010, 11:49 AM
  3. mplayer vdpau
    By Trini Alvarado in forum Windows Software
    Replies: 4
    Last Post: 02-04-2010, 12:55 PM
  4. Fedora 12 mplayer problem
    By Triple-X in forum Windows Software
    Replies: 5
    Last Post: 16-12-2009, 10:55 AM
  5. installing mplayer in fedora 10
    By sayanmaji in forum Operating Systems
    Replies: 5
    Last Post: 28-05-2009, 08:21 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,006,617.97887 seconds with 16 queries