INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)  (Read 7823 times)

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...

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.


Logged

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #1 on: September 04, 2007, 08:25:33 am »

Bump  ;D
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #2 on: September 04, 2007, 09:51:23 am »

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.....
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #3 on: September 04, 2007, 10:21:02 am »

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.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #4 on: September 04, 2007, 11:22:39 am »

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!
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #5 on: September 04, 2007, 12:26:21 pm »

Thank you very much, Glynor  :)
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #6 on: September 04, 2007, 12:49:28 pm »

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.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #7 on: September 04, 2007, 01:03:12 pm »

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.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #8 on: September 04, 2007, 01:16:49 pm »

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!
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #9 on: September 04, 2007, 01:34:37 pm »

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.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #10 on: September 04, 2007, 01:48:07 pm »

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.
Logged

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #11 on: September 04, 2007, 02:14:17 pm »

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.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #12 on: September 04, 2007, 02:20:47 pm »

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!?!
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #13 on: September 04, 2007, 02:58:27 pm »

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.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #14 on: September 04, 2007, 02:59:35 pm »

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.
Logged

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #15 on: September 04, 2007, 03:02:06 pm »

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.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #16 on: September 05, 2007, 09:09:10 am »

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.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #17 on: September 05, 2007, 09:20:06 am »

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.  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.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re: Slightly OT - Need some help with ffdshow audio decoder options (Glynor?)
« Reply #18 on: September 05, 2007, 10:14:56 am »

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.
Logged
Pages: [1]   Go Up