Re: H.264 VPID's

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

 



Hi,

ShorTie schrieb:

> Been playing with this genpix, hd and xine. Pretty much got everything
> running except for 1 thing seems to be hiding from me.
> 
> For vdr to be able to tune to a hd channel I need to add 10000 to the
> vpid’s which I do in my nscan/convert/pad10 no biggie.
> 
> The problem is that when I tune away from a hd channel vdr rights back
> to the channels.conf with the normal vpid not the vpid+10000 like I had.
> 
> Thus I can’t tune back to that channel till i manually change the
> channels.conf back again.
> 
> I’m I missing a setting somewhere?

No -- looks like your service provider announces the stream as
MPEG2. Please ask your service provider to fix this issue.

Try the attached patch as workaround meanwhile. It doesn't change
vpid anymore to MPEG2 once you've changed it to H.264 manually.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@xxxxxx
--- ../vdr-1.5.12-dvbs2-other/pat.c	2008-01-01 22:55:18.000000000 +0100
+++ pat.c	2008-01-14 20:07:30.000000000 +0100
@@ -343,7 +343,10 @@ void cPatFilter::Process(u_short Pid, u_
             switch (stream.getStreamType()) {
               case 1: // STREAMTYPE_11172_VIDEO
               case 2: // STREAMTYPE_13818_VIDEO
-                      Vpid = stream.getPid();
+                      if (VPID_IS_H264(Channel->Vpid()))
+                         Vpid = VPID_TO_H264(stream.getPid());
+                      else
+                         Vpid = stream.getPid();
                       break;
               case 3: // STREAMTYPE_11172_AUDIO
               case 4: // STREAMTYPE_13818_AUDIO
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux