Strip audio channel from DVB
Added by Mikk M about 10 years ago
Hi!
I am new to tvheadend, i want to know if it is possible to strip unessecery audio channels from DVB-T stream, so i can save more bandwidth when streaming over WAN. I saw such option in dvbviewer.
To be more clear my dvb-t channel has 2 audio channels, english & dutch, i only want to keep english in stream, also no epg, so i could get stream bandwidth as small as possible.
Regards
M
Replies (5)
RE: Strip audio channel from DVB - Added by Prof Yaffle about 10 years ago
Have a look at the stream filters - I've never used them myself, and they may be a bit granular (e.g. I know they apply to specific service but don't know if they apply to all services) - but I believe they're exactly what you're after.
EDIT
That's Configuration -> Stream -> Audio Stream Filters, in case you didn't know.
RE: Strip audio channel from DVB - Added by Mikk M about 10 years ago
Hey, thanks for your reply, i guess that option is in some unstable version?
On my 3.4.27 i dont have that option.
So i need to manualy build it from git to my debian i guess right?
RE: Strip audio channel from DVB - Added by Prof Yaffle about 10 years ago
Yup - it's in the current master branch, so 3.9.x.
You'll get that if you switch to the unstable repository if you're on Debian/'buntu, but you'll get regular updates as well as the code changes. I guess you could download the .deb from the PPA repository and install it with dpkg if you don't want updates. Your choice, there's no perfect answer - download a static build that might have issues, or get regular updates that might introduce them!
RE: Strip audio channel from DVB - Added by K Shea about 10 years ago
Prof Yaffle wrote:
Have a look at the stream filters - I've never used them myself, and they may be a bit granular (e.g. I know they apply to specific service but don't know if they apply to all services) - but I believe they're exactly what you're after.
EDIT
That's Configuration -> Stream -> Audio Stream Filters, in case you didn't know.
I have a new enough version that those options are present, but even after looking at the help file I have no idea under what circumstances they might be useful, or how to implement them. I'm guessing they were added to TVHeadEnd to address some specific issues but I cannot find anything that explains those issues nor how these filters would help; in fact I cannot find any usage examples at all for these, in either this forum or the wiki.
Is there a page anywhere that explains these and/or shows real-world examples of usage?
RE: Strip audio channel from DVB - Added by Prof Yaffle about 10 years ago
I don't know that anyone's written a proper help/example page yet - it's all still too new and under development - so unless someone wanders in here, you may have to flounder around.
I'd guess at using them by selecting, say, a type of audio stream, language and action. So, if all NARrative (audio described) tracks are always MP2 but 'real' audio is AAC then you could set a rule that ignores all MPEG audio. You could equally set it to ignore all languages but use the one you'd like - ENG or DUT, for example. You may need to play to work out:
1. How rules aggregate up, i.e. is it 'apply first matched rule', is it a logical OR, do the later ones supersede the earlier ones if two or more rules match, and so on.
2. Whether you can apply them universally or whether they're per-service/channel
3. How they apply to the different profiles: do they apply to recordings, HTSP streaming, via the XBMC addon or straight to VLC, etc.