INTERACT FORUM
More => Old Versions => Media Center 12 (Development Ended) => Topic started by: Deivit on August 31, 2007, 03:30:15 pm
-
Hi,
I need some help with ffdshow audio decoder options. Basically, I would like to define two different settings (default and default1, for instance) and make it that all file tipes that use the ffdshow audio decoder play with the default settings except the .asf files that should automatically switch to default1.
This is what I've done so far... with poor results:
1.- Created Defalut and Default1 presets, selecting "Audio Settings" in the tree.
2.- Ticked the "Automatic Preset Loading" check-box
3.- Clicked on the "Preset Autoload Conditions" button.
4.- Ticked the "Preset Default1 Will Be Autoloaded..." "on movie file name match (with wildcards) check-box.
5.- Tried writting: "*.asf" and "*asf" (without the quotes) in the check-box, but neither one did the trick.
I'm probably missing something obvious here. Any help will be appreciated.
Thanks in advance.
-
Bump ;D
-
Sorry... Forgot.
I've actually never tried to do this before. Let me play around a bit and see what I can come up with. I've seen the same options in FFDSHOW that you're looking at, but never tried them. I do remember reading something about it though.....
-
Glynor,
Please don't spend your time on it. This was only asked in the event that you knew how to do it. I will do a research on the net and see what do I come up with.
Thanks anyway.
-
I too couldn't figure it out.
I actually didn't mind trying, because I want to do something very similar at home but have been (until now) too lazy to try. I searched and couldn't find much, so I posted this over at AVS: http://www.avsforum.com/avs-vb/showthread.php?t=902515
Hopefully someone will come to the rescue!
-
Thank you very much, Glynor :)
-
I think it ignores the filename extension.
I tried using alt_* as a rule in the "on movie file name match box". I added alt_ in front the filename and FFDShow used automatically my alternative configuration.
-
I think it ignores the filename extension.
I tried using alt_* as a rule in the "on movie file name match box". I added alt_ in front the filename and FFDShow used automatically my alternative configuration.
Aha.... That's annoying, but explains things a bit better.
-
It actually won't help for my issue, but...
Deivit... If all of the ASF files you're trying to filter on use the same decoder (and nothing else does) then you could conceivably just filter based on the decoder, rather than the file type.
For example, play back one of the ASF files, and switch to the Info & CPU "tab" of the FFDSHOW Audio decoder. Look at Input description and note the decoder (it'll be in parenthesis at the end of the line). For example, for MP3 encodes, the decoder is libmad.
Then, you can filter using the "on decoder match" option in the Autoload conditions dialog box.
Of course, this is less than ideal because it'll "match" anytime ANY file uses that decoder, not just with ASF files. If all the files you want to have special settings for use the same decoder, and nothing else does, then this isn't a big deal. If it's libmad (MP3) or libfaad2 (AAC) then you're in trouble!
-
I experimented a bit more with the filename matching system.
Looks like only a prefix like anything* works. I couldn't make *anything, *anything* or *anything.* work.
-
Thank you very much for your help Alex and glynor. I will experiment a little with Glynor's suggestions, though at first attempt, it doesn't seem to work. (Basically I only need the asf files to play 30-40% louder than the others). Will let you know what I find.
-
Good news! I "think" I made it work using Glynor's suggestion.
At first attempt I learnt that the .asf files played using the libavcodec decoder. I wanted to set the autoload to match that decoder but it was not in the dropdown list. Anyway I wrote it down in the box under "Default1". Loaded one avi followed by the asf files and it did not autoload on change.
Then, I thought that maybe the fact that the libavcodec wasn't in the dropdown list could be the culprit. What I did was to change everything so that "Default1" autoloaded when using the mp3lib decoder.... and bingo! It switches back and forth between default and default1 as needed.
Thanks again very much for your help to you both.
-
Yeah... libavcodec wasn't in the box because it is a VIDEO decoding filter, not an audio decoding filter. You needed to pick the audio decoder, since you're working with the FFDSHOW audio decoder.
Glad you got it sorted! Doesn't help me at all though...
I wonder why the filename matching is so horribly broken!?!
-
The bug may be fixed in a recent "tryouts" build:
http://ffdshow-tryout.sourceforge.net/phpBB2/viewtopic.php?t=314&sid=381e94b55c0e844a1d38afc835373e12
Check the first post and the last reply in the thread.
-
Strange enough, the libavcodec is the one that shows under the ffdshow audio decoder ?
Anyway, it works here. Sorry that it doesn't help with your issue.
-
The bug may be fixed in a recent "tryouts" build:
http://ffdshow-tryout.sourceforge.net/phpBB2/viewtopic.php?t=314&sid=381e94b55c0e844a1d38afc835373e12
Check the first post and the last reply in the thread.
Very interesting. Thanks, Alex.
-
Just so you don't waste your time... The new FFDSHOW build (1449) is NOT included in the newest beta CCCP (08-15-2007). I'm going to try it with the latest nightly FFDSHOW just to confirm that it is fixed with current builds. I'll let you know.
-
Confirmed with FFDSHOW Tryouts rev. 1453. Using *.mkv as a filter in the name field works for autoloading presets. I didn't try other filters, but since that works, it should handle what we need. Woohoo!
So... It's only a matter of time before a newer build progresses to become a bit more stable and gets encorporated into a CCCP beta (http://cccp-project.net/beta/). For now, I'm rolling back to my CCCP build, as I'm on a production machine and I can't afford to have FFDSHOW crap out on me.
If you're interested, you can get FFDSHOW Tryouts nightlies here: http://sourceforge.net/project/showfiles.php?group_id=173941
I went with the xxl build because the clsid build had no downloads recorded, so I figured those people knew better than me.
-
Thank you very much for the information, Glynor. Glad it worked for you too.
Since I'm everything but a power user of this stuff and my current ffdshow build works fine for what I need so far, I too will keep it unchanged till it's really needed to upgrade.
Thanks again for all your help in this issue.