Closed dhead666 closed 9 years ago
I have no channel which has AACLATM to test this, but from what i see, AACLATM is handled by the same decoder as normal AAC, and tvh doesn't even have a special type it sends for it. VLC headers also look like AACLATM is just an alias for regular AAC. So it should just work. What type does tvh return in the streams type field?
Tvheadend shows it as AAC. Anyway I've dumped the whole ts (90MB) so you could have a look. https://dl.dropboxusercontent.com/u/6902100/XBMC/test.ts
Issue still exist in updated vlc-htsp-plugin build (latest commit) and updated tvheadend build (latest commit before the transcoding commit, 84c1c05d73232d4d0e34bbd587892bb019f0abb5) on vlc 2.0.7.
There is nothing i could do about it. All formats tvh can report are correctly mapped to their VLC version.
Anything I can do to help debug this ? Maybe running the plugin or vlc in some debug mode with extensive logging ?
Have you tried loop streaming my test.ts file (with vlc or maybe with tsplay from the tstools project) and feed it to tvheadend ?
Not realy. The AAC stream has some extensions (SBR), which tvh doesn't know about, and doesn't report about. All i get from tvh is "That's AAC", and i tell vlc the same. If it's not AAC, i can't do anything about that.
So maybe the best approach is to wait for the transcoding feature and get a proper audio stream.
TVH should report the diffrent format.
Hi. Is there any changes on this issue?
I am having the same problem as dhead666.
When playing using htsp:// the audio is not played and counter shows zero decoded audio packets. However when I access http:// stream directly, everything is plays just fine.
I still can't do anything about this without breaking playback of all other AAC formats. It's a protocol limitation currently.
Can you point me to a specific code line that has to be modified and a suggestion on how to modify it, so I can build my own version of the plugin? I don't really care about all other AAC formats
Is anyone able to upload another sample? The dropbox link above doesn't work any more.
Oh, sorry I cleaned a little my Dropbox, here's the original multicast ts. https://dl.dropboxusercontent.com/u/6902100/VideoTests/test.ts
Here's an mkv recorded by TVH of the same dvb-t service https://dl.dropboxusercontent.com/u/6902100/VideoTests/Ch%202-3.mkv
Having exactly the same issue, any tips ?
Tested with tvh 3.5 and 3.9 no chance. Audio stream is reported as aac by vlc, but I doubt that's the good format. HTTP streaming report it as MPEG.
No problem using XBMC tvh client, sounds works. Direct http url also works in VLC.
I got the same (vlc 2.1.5, tvheadend. 3.9.2144~gda3d9ec) Directly open from "Broadcast details" everything works fine, but when I open from vlc playlist there is no sound. May be this can help: http://i.imgur.com/6VW3hf9.png
What am I miss?
I did some research. I think there is some "magic" if the audio stream is mpeg2. I mean "automatic codec information detection/correction" Because when I comment out these 2 line https://github.com/BtbN/vlc-htsp-plugin/blob/master/access.cpp#L789, the mpeg2 stream is still working. The map->getU32("channels") returns 2 for both stream (mpeg2 and aac). I find some #define s about channels in vlc_es.h (#define AOUTCHAN*) AND the map->getU32("rate") always return below 10 (tipicaly 3 or 6) not 48000 as the codec info shows. I think something mapping is missing. Where can I find some information how to map channels and rate infos?
After this commit audio track is audible of most channels (I don't have much) but it's not continuous completely, I can notice blips of silents (not sure what to call it).
There is absolutely nothing i could do about that, i just pass the raw data to VLC without touching it.
@BtbN
Let me know if you need more samples and you can actually also use the stream link of WRKZ radio station to encounter the current issue of audio gliches with aac.
pipe:///usr/bin/ffmpeg -loglevel fatal -i http://icy3.abacast.com/nabco-wrkzfmaac-48 -vn -acodec copy -metadata service_provider=IPTV -metadata service_name=BLITZ -f mpegts pipe:1
The original issue has been fixed with latest commits. There's another issue with buffer underruns (the audio gliches/hiccups) which @BtbN is aware of and hopefully will be fixed soon.
No audio in vlc with vlc-htpc-plugin.
Audio is recognized on xbmc, tvhguide (played in mxplayer). When directly openning the network stream audio is recoginzed but I do get the following error messege which I believe is because of the the subtitles.
On vlc codec information tag: Stream 0: Video, h264. Streams 1+2: Audio, AAC LATM. Streams 3-5: Subtitles ("codec": undf)
Tested on linux x86-64, vlc 2.0.6, tvheadend from master git branch last commit from 13.04.2013