AtiQah-FC / lavfilters

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

Fallback to decoding if Bitstreaming is unsupported #190

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the issue you're having:
If bitstreaming is not supported, it would be ideal if LAV Audio would fallback 
to decoding.

Additionally, if DTS-HD is unsupported, a fallback to DTS Core would be good.

Original issue reported on code.google.com by h.lepp...@gmail.com on 12 Feb 2012 at 3:39

GoogleCodeExporter commented 9 years ago
I actually tried doing this, but something odd started to happen.

If i let LAV only output the Bitstreaming media type, it'll connect to my SPDIF 
renderer just fine and bitstream AC3 and DTS.
But as soon as i also offer a PCM type as a secondary media type, the 
DirectSound renderer selects this one and triggers the decoding fallback, 
because LAV assumes bitstreaming is not wanted/supported.

I did however implement fallback to DTS core when DTS-HD fails.

Original comment by h.lepp...@gmail.com on 5 Jan 2013 at 11:27

GoogleCodeExporter commented 9 years ago
Even if i dumb down the PCM type to 16-bit PCM, Stereo, it still prefers it 
over the Bitstream type (which is essentially the same, just with a different 
formt tag), right now this seems an impossible task.

Original comment by h.lepp...@gmail.com on 5 Jan 2013 at 11:43

GoogleCodeExporter commented 9 years ago
Just for documentation purposes, the issues i had with the fallback being 
triggered are apparently caused by MPC-HCs stream switcher. Need to keep this 
in mind when i approach this topic again.

Original comment by h.lepp...@gmail.com on 6 Jan 2013 at 9:07

GoogleCodeExporter commented 9 years ago
@nevcairiel: Are the issue fixed on MPC-HC's stream switcher side?

Original comment by underground78@gmail.com on 12 Oct 2014 at 8:01

GoogleCodeExporter commented 9 years ago
If this is still not possible, maybe propose in LAV audio settings an option to 
bitstream only when connected through SPDIF or HDMI (if there's a way to detect 
that) ?

Or maybe even an option to enable/disable bitstream when connected to a 
specific sound card, that the user would select ?

For example, most of the time i'm using my internal sound card connected to 
analog speakers : os i use LAV to decode dts/dd audio tracks.
But i also have a AV receiver connected thought hdmi to my graphic card.
I use MPC-HC with 'system default' audio renderer, so that when i enable my 
'extended/clone display' or switch diplays, Win7/8 switches my default audio 
device to hdmi.
And in this case i would like LAV audio filters to enable bitstream.

Original comment by diego.be...@gmail.com on 18 Jul 2015 at 5:48