[vdr] AAC LATM audio issue on dvb-t israeli service

Rolf Ahrenberg rahrenbe at cc.hut.fi
Wed Aug 17 10:20:50 CEST 2011


On Wed, 17 Aug 2011, Barak Nahari wrote:

> It can be on the vnsi server plugin as it may can't recognize the aac-latm within the stream.

Currently, both AAC LATM and ADTS are unsupported by vnsiserver plugin. 
You can try enabling the support, but I guess the AAC demuxer is written 
for ADTS only...

diff --git a/receiver.c b/receiver.c
index 305af00..836c240 100644
--- a/receiver.c
+++ b/receiver.c
@@ -195,11 +195,15 @@ int cLivePatFilter::GetPid(SI::PMT::Stream& stream, eStreamType *type, char *lan
      case 0x0d: // ISO/IEC 13818-6 Sections (any type, including private data)
      case 0x0e: // ISO/IEC 13818-1 auxiliary
  #endif
-    case 0x0f: // ISO/IEC 13818-7 Audio with ADTS transport syntax
      case 0x10: // ISO/IEC 14496-2 Visual (MPEG-4)
-    case 0x11: // ISO/IEC 14496-3 Audio with LATM transport syntax
        DEBUGLOG("cStreamdevPatFilter PMT scanner: Not adding PID %d (%s) (skipped)\n", stream.getPid(), psStreamTypes[stream.getStreamType()]);
        break;
+    case 0x0f: // ISO/IEC 13818-7 Audio with ADTS transport syntax
+    case 0x11: // ISO/IEC 14496-3 Audio with LATM transport syntax
+      *type   = stAAC;
+      GetLanguage(stream, langs);
+      DEBUGLOG("cStreamdevPatFilter PMT scanner adding PID %d (%s) (%s)\n", stream.getPid(), psStreamTypes[stream.getStreamType()], langs);
+      return stream.getPid();
      case 0x1b: // ISO/IEC 14496-10 Video (MPEG-4 part 10/AVC, aka H.264)
        DEBUGLOG("cStreamdevPatFilter PMT scanner adding PID %d (%s)\n", stream.getPid(), psStreamTypes[stream.getStreamType()]);
        *type = stH264;

BR,
--
rofa



More information about the vdr mailing list