Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: TT DVB-T - Further problems



On Tue, 22 Apr 2003, Edward Wildgoose wrote:

> Thanks for the patch below.  I grabbed the latest CVS build and noticed that
> this patch was already included.  However, I still get badly out of sync
> audio if I do something like:
>
> cat /dev/dvb/adaptor0/dvr0 | ts2ps 0 0 | mplayer -
>
> Any ideas?  This is on a dual CPU 1Ghz machine, there is plenty of
> horsepower left, "-framedrop" does not help, and the problem remains if I
> cat to a file first and then to mplayer.  Do I have a duff version of ts2ps
> perhaps...  Mplayer is 0.90rc5 no patches.

For some unknown reason I've always had to use -delay when playing DVB
streams with mplayer, currently the proper setting is "-delay -0.150".

After re-encoding to for example DivX the -delay is no longer needed. I am
using -vo dxr3:prebuf:sync though, but it shouldn't matter because the
-delay is only needed when playing DVB stream, both "live" and from hd,
not with DivX or anything else.

	-jake

>
> vdr records and plays back and stuff is in sync on the external tv output.
>
> Is this what anyone else gets with a DVB-T card?
>
> Thanks
>
> On Sunday 20 April 2003 19:48, Ed Wildgoose wrote:
> > Unfortunately the audio is quite badly out of sync with the picture when
> > playing via mplayer or kvdr.  I noticed some traffic about this a few
> > weeks ago - can someone bring me up to speed on what the conclusion is
> > with regards to this..?
> The below should work for most cases (if memory serves me right):
> diff -u -r1.1 av7110.c
> --- av7110.c    2003/04/03 08:59:47     1.1
> +++ av7110.c    2003/04/03 09:00:47
> @@ -2285,9 +2285,10 @@
>
>          av7110->pids[DMX_PES_SUBTITLE]=0;
>
> -        if (av7110->fe_synced)
> +        if (av7110->fe_synced) {
> +               pcrpid = av7110->pids[DMX_PES_PCR];
>                  SetPIDs(av7110, vpid, apid, ttpid, subpid, pcrpid);
> -
> +       }
>          up(&av7110->pid_mutex);
>  }
>
>
>
>
>

-- 
Jarkko Santala <jake@iki.fi>            http://www.iki.fi/~jake/
System Administrator                    2001:670:83:f08::/64


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index