Re: multistream support in VDR

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

 



> >>> Recently in kernel was added full multistream support (DTV_STREAM_ID)
> >>> https://patchwork.kernel.org/patch/1351421/
> >>>
> >>> is there any plans to implement multistream support in vdr ?
> >>
> >> DTV_STREAM_ID is already used in VDR for DVB-T2.
> >
> > what about DTV_STREAM_ID for dvb-s2 ?
> 
> Which parameter would go in there, and where would it come from?

parameter "P" in channels.conf for identification of sub-stream 

WeddingTV;Tivuitalia:11914:HM5S1P2:S31.5E:27500:1026:1027=ita:0:0:4:8572:972:0

and small patch from crazycat for VDR 1.7.35


Goga
diff -ru vdr-1.7.35/dvbdevice.c vdr-1.7.35.new/dvbdevice.c
--- vdr-1.7.35/dvbdevice.c	2012-12-30 13:27:39.000000000 +0200
+++ vdr-1.7.35.new/dvbdevice.c	2013-01-02 22:22:23.900604880 +0200
@@ -230,7 +230,7 @@
   ST("ACST*")  q += PrintParameter(q, 'I', MapToUser(inversion, InversionValues));
   ST("ACST*")  q += PrintParameter(q, 'M', MapToUser(modulation, ModulationValues));
   ST("  S 2")  q += PrintParameter(q, 'O', MapToUser(rollOff, RollOffValues));
-  ST("   T2")  q += PrintParameter(q, 'P', plpId);
+  ST("  ST2")  q += PrintParameter(q, 'P', plpId);
   ST("  ST*")  q += PrintParameter(q, 'S', MapToUser(system, SystemValuesSat)); // we only need the numerical value, so Sat or Terr doesn't matter
   ST("   T*")  q += PrintParameter(q, 'T', MapToUser(transmission, TransmissionValues));
   ST("   T*")  q += PrintParameter(q, 'Y', MapToUser(hierarchy, HierarchyValues));
@@ -823,8 +823,8 @@
      SETCMD(DTV_TRANSMISSION_MODE, dtp.Transmission());
      SETCMD(DTV_GUARD_INTERVAL, dtp.Guard());
      SETCMD(DTV_HIERARCHY, dtp.Hierarchy());
-     if (frontendType == SYS_DVBT2) {
-        // DVB-T2
+     if (frontendType == SYS_DVBT2 || frontendType == SYS_DVBS2) {
+        // DVB-T2/DVB-S2
         SETCMD(DTV_STREAM_ID, dtp.PlpId());
         }
 
_______________________________________________
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