Re: [vdr] AAC LATM audio issue on dvb-t israeli service
This issue have been fixed. Vnsi server developer Pipelka add a fix to the vnsi server plugin. Anyone who experience issue with aac latm should compile an updated version from the git. Thanks for all the help I've received from Klaus, Pipelka and the kind people here. Regards, Barak. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] AAC LATM audio issue on dvb-t israeli service
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 ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] AAC LATM audio issue on dvb-t israeli service
After allot of help from Klaus to understand what was wrong i got a big break. Recording works in vdr with no issue at all, the recording do contain the aac-latm audio. After updating the vnsi server to last git and xbmc to last preEden build by Lars Op den Kamp all the channel watchable but still no audio. I'm no developer but i can read, on xbmc display it show that the audio is mpeg2 (which is not) and on the vnsi server code it's seems that the default is mpeg2audio. So i decided to force vnsi server to use the aac demuxer when mpeg2 audio is found, and at last i got audio working. I've posted an issue on vnsi-server github with more info about it https://github.com/pipelka/vdr-plugin-vnsiserver/issues/18 As you can read this in the issue i'm not sure where the problem or how vdr and it's plugin system works. It can be on the vnsi server plugin as it may can't recognize the aac-latm within the stream. It can be on vdr side if vdr tells vnsi server that the audio is encoded as mpeg2. Finaly it can be the trasport stream itself that misconfigured and have some marker indicate the audio as mpeg2. As my knowledge in mpeg2 ts and my analyzing skill are very limited i add the stream saved with tsreader so you may analyze it and also recording made by vdr. http://dl.dropbox.com/u/6902100/test13_001.mpg http://dl.dropbox.com/u/6902100/2011-08-15.01.27.1-0.rec.tar Thanks, Barak. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] AAC LATM audio issue on dvb-t israeli service
Sorry for repost, I've left out a line: On windows i've looked into the vlc log and found no error except the start of the stream. when initializing the dvb-t card but none so ever after except once in a while "warning late picture skipped (19199 -807)" ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] AAC LATM audio issue on dvb-t israeli service
I've been done more testing to understand where's the problem. I've suspected that vlc on windows doesn't save the original ts as it is but remove errors from the stream, so i can't use it to analyze the problem. I'd like to emphasize that i can watch the stream on vlc both in windows os and linux. On linux i'm getting allot of ts continuity errors with all the tools i've tried (vdr, mumudvb, tvheadend, vlc), i had to understand where's it come from, is it the linux driver fault, the usb dongle or the ts is broadcast with errors. I've checked this with both it9135 and af9015 based usb dongle's, I believe these are the most popular chips used today so that can't be the problem. On windows i've looked into the vlc log and found no error except the start of the stream. when initializing the dvb-t card but none so ever after except once in a while I've used tsreader to save a mpg contains the whole stream as it is. http://www.2shared.com/video/mjpw6vqE/test12.html I would appreciated anyone's help analyzing the stream and i would like your opinion if it possible for a patch to be applied to vdr to demux (the right term?) the stream correctly. I'm aware that vdr can't be changed for every misconfigured ts but maybe can be less sensitive. Regard, Barak ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] AAC LATM audio issue on dvb-t israeli service
I've used dvbsnoop to analyze my ts file. Audio stream of the first channel PID is 2562. PES PID of the from dvbsnoop is 0xc1 and state that is ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream. The audio encoded ac aac latm, is that means the the PES PID is set wrong in the stream ? Info from dvbsnoop Sync-Byte 0x47: 71 (0x47) Transport_error_indicator: 0 (0x00) [= packet ok] Payload_unit_start_indicator: 1 (0x01) [= Packet data starts] transport_priority: 0 (0x00) PID: 2562 (0x0a02) [= ] transport_scrambling_control: 0 (0x00) [= No scrambling of TS packet payload] adaptation_field_control: 1 (0x01) [= no adaptation_field, payload only] continuity_counter: 12 (0x0c) [= (sequence ok)] Payload: (len: 184) ==> PES-stream: 193 (0xc1) [= ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream] Data-Bytes: : 00 00 01 c1 06 39 84 80 05 2b 98 37 78 71 56 e0 .9...+.7xqV. 0010: f8 20 00 13 08 00 07 88 09 d1 ac 22 a4 b9 20 68 . .".. h 0020: 95 22 05 56 f6 df 2e 19 c4 44 54 ca e1 0a ba 4a .".V.DTJ 0030: 90 42 a4 a8 1f d2 a9 55 e5 15 a3 f8 1c 4d 7b f0 .B.U.M{. 0040: 3f fa 9e 2f 0a 3d bd 81 46 17 dc 7c 9f 16 32 ef ?../.=..F..|..2. 0050: 71 4d a2 b6 6b 5f 12 e4 ad 20 83 7b 24 d9 b8 56 qM..k_... .{$..V 0060: b7 fc 28 f2 7c de 67 33 ef ea 0e fd 9e bd c3 d6 ..(.|.g3 0070: c8 41 b5 46 a5 42 4e 57 69 ae ae d5 f5 7d 50 95 .A.F.BNWi}P. 0080: 95 9e 3c ed 93 84 56 3a 3d 58 12 54 cc 9f 06 85 ..<...V:=X.T 0090: 3a c6 22 be da aa dd 6c 71 e7 72 6b b7 0a cf cb :."lq.rk 00a0: ea cc 63 3d 28 9a fa 55 2b c0 66 ae af 66 2a f8 ..c=(..U+.f..f*. 00b0: 21 30 2a a1 28 61 1b eb!0*.(a.. == ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] AAC LATM audio issue on dvb-t israeli service
I'm not a programmer but i've done some reading, trying to understand what is wrong. I've looked in the vdr source and found that vdr should be recognizing the acc latm encoded audio, so the problem may not be in vdr. http://git.gekrumbel.de/vdr.git?p=vdr.git;a=blob;f=remux.c;h=c3f07fb7074754446485ab10aa61e2e2a0b012a8;hb=bd61fee1e9328aec470c319494cccb90e53302c2 For what i understand the aac latm should have PID 0x11. I've looked inside the vnsiserver source and didn't found any PID's only PES PID's. https://github.com/pipelka/vdr-plugin-vnsiserver/blob/7a964e109432ba00e8f9f7a4acdff5e217c08135/demuxer.h I'm was a little confuse how to convert the PID to PES PID So i've done a little googling and found this code http://code.google.com/p/mediainfococoa/source/browse/trunk/Lib/MediaInfo/Multiple/File_MpegPs.cpp it's seems that aac latm PES PID is 0xFA, unless i got it wrong, and i didn't found this PES PID on the vnsiserver code. I've tried to examine my ts file but couldn't export any info about the audio track, only that the encoding is aac latm. Is there is any more information regarding the audio track in my ts file? http://www.2shared.com/file/wEdFKfZy/test.html What should be my next step trying to understand where the problem? ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] AAC LATM audio issue on dvb-t israeli service
I'd allot of advancement setting vdr with dvb-t services, the last issue is aac latm related. I'm using vdr 1.7.18-11, vnsiserver plugin, streamdev plugin. Installed them from yaVDR testing-vdr ppa at https://launchpad.net/~yavdr I don't get any audio on xbmc using the vnsi plugin. On vlc i can get audio while playing the stream from the streamdev server. The audio seems to be encoded as aac latm. A link for the entire stream (saved with vlc) http://www.2shared.com/file/wEdFKfZy/test.html I've been googling a little and found a similar problem with NZ dvb-t service on the August 2009 archives http://linuxtv.org/pipermail/vdr/2009-August/021050.html Can this be fixed on vdr side? Thanks. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr