Code Monkey home page Code Monkey logo

Comments (20)

BtbN avatar BtbN commented on August 21, 2024

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?

from vlc-htsp-plugin.

dhead666 avatar dhead666 commented on August 21, 2024

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

from vlc-htsp-plugin.

dhead666 avatar dhead666 commented on August 21, 2024

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.

from vlc-htsp-plugin.

BtbN avatar BtbN commented on August 21, 2024

There is nothing i could do about it. All formats tvh can report are correctly mapped to their VLC version.

from vlc-htsp-plugin.

dhead666 avatar dhead666 commented on August 21, 2024

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 ?

from vlc-htsp-plugin.

BtbN avatar BtbN commented on August 21, 2024

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.

from vlc-htsp-plugin.

dhead666 avatar dhead666 commented on August 21, 2024

So maybe the best approach is to wait for the transcoding feature and get a proper audio stream.

from vlc-htsp-plugin.

BtbN avatar BtbN commented on August 21, 2024

TVH should report the diffrent format.

from vlc-htsp-plugin.

bshtein avatar bshtein commented on August 21, 2024

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.

from vlc-htsp-plugin.

BtbN avatar BtbN commented on August 21, 2024

I still can't do anything about this without breaking playback of all other AAC formats. It's a protocol limitation currently.

from vlc-htsp-plugin.

bshtein avatar bshtein commented on August 21, 2024

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

from vlc-htsp-plugin.

linuxstb avatar linuxstb commented on August 21, 2024

Is anyone able to upload another sample? The dropbox link above doesn't work any more.

from vlc-htsp-plugin.

dhead666 avatar dhead666 commented on August 21, 2024

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

from vlc-htsp-plugin.

c0mm0n avatar c0mm0n commented on August 21, 2024

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.

from vlc-htsp-plugin.

fape avatar fape commented on August 21, 2024

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?

from vlc-htsp-plugin.

fape avatar fape commented on August 21, 2024

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 AOUT_CHAN_*)
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?

from vlc-htsp-plugin.

dhead666 avatar dhead666 commented on August 21, 2024

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).

from vlc-htsp-plugin.

BtbN avatar BtbN commented on August 21, 2024

There is absolutely nothing i could do about that, i just pass the raw data to VLC without touching it.

from vlc-htsp-plugin.

dhead666 avatar dhead666 commented on August 21, 2024

@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

from vlc-htsp-plugin.

dhead666 avatar dhead666 commented on August 21, 2024

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.

from vlc-htsp-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.