[MPlayer-DOCS] [PATCH] real media sync faq

Giacomo Comes comes at naic.edu
Wed Nov 23 16:16:52 CET 2005


On Tue, Nov 22, 2005 at 10:23:02PM -0500, compn wrote:
> another FAQ that all devs know the answer to but is not in the DOCS.
> 
> hopefully its formatted correctly... pls check it before apply :)
> -compn
> 

> Index: DOCS/xml/en/faq.xml
> ===================================================================
> RCS file: /cvsroot/mplayer/main/DOCS/xml/en/faq.xml,v
> retrieving revision 1.98
> diff -u -r1.98 faq.xml
> --- DOCS/xml/en/faq.xml	20 Oct 2005 23:07:55 -0000	1.98
> +++ DOCS/xml/en/faq.xml	23 Nov 2005 00:38:42 -0000
> @@ -708,6 +708,13 @@
>  </itemizedlist>
>  </para></answer>
>  </qandaentry>
> +<qandaentry>
> +<question><para>
> +How can I get rid of a/v desync while seeking through .rm stream?
> +</para></question>
> +<answer><para>
> +<option>-mc 10</option> can help.
> +</para></answer>
>  </qandadiv>
>  
>  <qandadiv id="faq-dvd">

I do not suggest such big value. All the real files I have
with desync can be fixed with -mc .1 and using .1 has an 
advantage over bigger values.
The fact is that after a seek while playing a real file with
the option -mc n, audio and video are out of sync and it takes 
about 2*n+4 sec to regain the sync. So if n is 10, it takes 
more than 20 seconds to resync. If n is .1, it takes only few
seconds. If you use also the option -autosync 10 togheter with
-mc n then the time necessary to resync is about n+1.
The value of the argument of -autosync does not seem to play
a relevant role. Any values seems good.
If n is .1 it is also not necessary to use -autosync.

I think the suggestion shuld be to use the lower possible
value of n that keep the sync, starting with .1 and increasing it if
a low value isn't good enough.

Giacomo




More information about the MPlayer-DOCS mailing list