Jump to content

Recommended Posts

Posted

can you help me making two scripts. One that will make audio under ffdshow to passtrough ac3 and dts, and one that doesnt.

So when I use HDMI audio it will be in stereo to my TV, and when I use Spdif it will passtrough to my reciever.

Is this possible?

Posted

HKEY_LOCAL_MACHINE\SOFTWARE\GNU\ffdshow_audio

I was hoping to get some help on how to make the script.

I havent made one on my own yet. So im not sure how its done.

Posted

I was hoping to get some help on how to make the script.

I havent made one on my own yet. So im not sure how its done.

Modified help file example to read ffdshow_audio key values
$key = "HKEY_LOCAL_MACHINE\SOFTWARE\GNU\ffdshow_audio"
$j = ""
For $i = 1 To 50
    $val = RegEnumVal($key, $i)
    If @error <> 0 Then ExitLoop
    $j &= $val & " = " & RegRead($key, $val) & @LF
Next
MsgBox(262144 +64, "", "ffdshow_audio Key Values " & @LF & @LF & $j)
Posted

Modified help file example to read ffdshow_audio key values

$key = "HKEY_LOCAL_MACHINE\SOFTWARE\GNU\ffdshow_audio"
$j = ""
For $i = 1 To 50
    $val = RegEnumVal($key, $i)
    If @error <> 0 Then ExitLoop
    $j &= $val & " = " & RegRead($key, $val) & @LF
Next
MsgBox(262144 +64, "", "ffdshow_audio Key Values " & @LF & @LF & $j)
thanks for helping out, cant see it changes though. The AC3 and DTS keeps being unchecked
Posted

Dude, please, be more careful. The script reads the settings. Go and change them in ffdshow, then read them again to make sure they are correct, they should have changed.

Then go find RegWrite function in the helpfile and use it to write instead of read.

Posted (edited)

just some information;

ffdshows settings, as being targeted in this thread, are found in hkcu, not hklm

I believe the hklm keys are only used by the vfw encoder portion of ffdshow.

Edited by Shark007

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...