raczek / lavfilters

Automatically exported from code.google.com/p/lavfilters
GNU General Public License v2.0
0 stars 0 forks source link

Automatic search for AC3 track when bitstreaming over S/PDIF and primary track is TrueHD #402

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a feature request.

DTS-HD includes a core DTS track, which LAV successfully falls back to when 
bitstreaming over S/PDIF. However, TrueHD doesn't. I understand that 
integrating an AC3 encoder into LAV isn't going to happen, and that's fine. 

However, it'd be great if there was an option that could be selected so that 
when LAV detects that the primary track is TrueHD, it can look for a second AC3 
track to bitstream instead.

Right now, the default behavior is to decode the TrueHD track and pass it as 
2-channel LPCM. That's fine as a default, but I'd like the option at least to 
tell LAV to use a secondary track instead.

I tried disabling TrueHD in LAV Audio and LAV Splitter preferences, but that 
simply disabled all audio playback. I also tried disabling 24-bit and 32-bit 
playback in LAV Audio preferences, but nothing changed at all.

Original issue reported on code.google.com by mister.m...@gmail.com on 21 Nov 2013 at 6:45

GoogleCodeExporter commented 9 years ago
This is not something thats really possible, since DirectShow controls the 
complete graphbuilding process.

LAV Audio has no influence which types of tracks are available and which types 
of tracks it can be connected to. There is nothing LAV Audio can do.

The only possible solution would be for an option in LAV Splitter to prefer AC3 
over TrueHD, so that AC3 is directly available and can be used by LAV Audio.

I'm not sure though, if thats really such a good solution.

Original comment by h.lepp...@gmail.com on 21 Nov 2013 at 10:23

GoogleCodeExporter commented 9 years ago
>The only possible solution would be for an option in LAV Splitter to prefer 
AC3 over TrueHD, so that AC3 is directly available and can be used by LAV Audio.

This is pretty much what I'm asking for. The obvious solution on my end is to, 
when ripping Blu-Rays, only grab the AC3 track for movies with a TrueHD 
primary, but that's obviously not an ideal solution either.

I would imagine that Splitter would be able to add an "Indeterminate" setting 
to the "Prefer Audio Stream with the Highest Quality" checkbox that would 
simply prioritize AC3 over TrueHD. Since that setting is already there, the 
logic to detect stream type is likely there as well.

I appreciate the time you spend on this project; I'm just hoping to make it a 
small bit more useful in my particular circumstance.

Original comment by mister.m...@gmail.com on 21 Nov 2013 at 10:30

GoogleCodeExporter commented 9 years ago

Original comment by h.lepp...@gmail.com on 16 Feb 2014 at 12:14