Log in

View Full Version : madFlac - new DirectShow FLAC source filter + decoder


Pages : 1 2 3 4 5 6 7 8 9 [10] 11

Mark_A_W
29th May 2011, 01:04
Well, it's possible in Graphedit(minus the PotP/MPC audio switcher):

http://www.pixelz.fr/7/6/3/abb67292bd8d19967e212a40d9c76.png

But whatever in MPC or PotP it isn't :(

I've whined on the PotP forum and was told that there is no way to force ffdshow audio(decoder/raw) after madFlac, because DirectShow doesn't allow doing it apparently: http://cafe.daum.net/pot-tool/AZMV/1611

He made a video too: http://cfile270.uf.daum.net/attach/173361194C393943383F0B

He confirmed that it's possible in Graphedit, but that adding an external audio on top of an existing container doesn't allow to force a filter on top...I know you're very busy, but I'd really crave for an option like "only connect to ffdshow audio"...so I could have a 7.1 24/96 FLAC file on a standalone DVD, and it'd be post-processed in ffdshow just as it were muxed into the main MKV http://forum-images.hardware.fr/images/perso/ayuluna.gif

You always find your way to make my dreams come true when it comes to HTPC software, and only those who dare begging shall receive http://forum-images.hardware.fr/images/perso/otakonleboss.gif

You can do that in Zoom Player. For FLAC files (and FLAC in MKV) I run madFLAC then ffdshow then Convolver Wrapper.

I use madFLAC source, which then outputs PCM to ffdshow/convolver (ZP PCM settings are Null Filter -> ffdshow audio -> convolver wrapper).

Thunderbolt8
4th June 2011, 00:24
for mkv files which consist of at least 2 audio tracks with at least one of them being a flac track, theres still the problem that madflac disappears from the filter list in use in mpc-hc when switching to a flac track from any other audio track (dont ask me whether this is a problem of madvr or mpc-hc etc., but this problem exists since the first time I tried that some years ago).

thus its not possible to listen to both streams of a concert which e.g. has been recorded in 2.0 and 5.1 (and then gets remuxed to flac). you have to stick to the default track, because when switching over to the 2nd one, the madvr instance disappears from the filter in use list.

yesgrey
4th June 2011, 12:34
Have you tried disabling mpc-hc's internal audio switcher?

Thunderbolt8
4th June 2011, 14:39
yes, its disabled. I can switch the tracks, thats working fine. but when I do, then the madlfac instance disappears and I dont have any sound.

robpdotcom
4th June 2011, 17:44
I have an mkv with DTS-HD and flac audio - I can switch between them just fine. LAVAudio loads when I select the DTS-HD track, madflac loads when I select the flac track.

I tried with Haali, Gabest, and LAV splitters, with MPC-HC's audio switcher on and off, bitreaming or decoding the DTS-HD, and also with ffdshow instead of LAVAudio - it worked fine in all cases.

I have MPC-HC's internal flac decoder disabled, and madlfac decoder set as preferred in the external filter list.

Thunderbolt8
4th June 2011, 20:12
checked on that again, it doesnt seem to happen with only 2 flac tracks any more, but with different track types when other filters are active at the same time e.g. the internal mpc-hc dts decoder or ac3filter. so if the first track is a dts track, then it happens with switching over to the flac track.

examples:

mpc-hc internal dts decoder & madflac: dts track default -> switching to flac track = madflac instance doesnt get loaded.
madflac + ac3filter (active at the same time for channel downmixing): starting with flac track -> switching over to an ac3 track -> switching back to flac track = only ac3filter instance loads up again this time, but not madflac

at some point, some filters get dropped for some reason, but dont ask me why.

nlnl
4th June 2011, 21:42
Thunderbolt8
Have a look:
http://forum.doom9.org/showthread.php?p=1500843#post1500843

The problem is that the DirectShow graph renderer will always try to avoid adding new filters to the graph, so if the renderer accepts it, no matter with how low merit .. it'll use it.

Mark_A_W
4th June 2011, 23:12
Create your MKV files with only the audio track you want. Then there is no problem.

Thunderbolt8
4th June 2011, 23:42
Thunderbolt8
Have a look:
http://forum.doom9.org/showthread.php?p=1500843#post1500843so what does this now exactly mean? is there any solution for this problem? who to address regarding this problem?

Create your MKV files with only the audio track you want. Then there is no problem.this is part of the problem. of course I only mux the tracks I want, just sometimes, theres also a commentary track and with regards to concerts, theres sometimes both, a good stereo and surround mix. only having one track at all cannot be the solution.

Mark_A_W
5th June 2011, 00:04
Then re-encode all audio to a format that a single decoder can decode.

Loading decoders on the fly is fraught with danger, it's just not going to work, I gave up right at the start, when I bought my first HD-DVDs (and couldn't play them with my legally purchased software....still can't...hence the remux)

deathlord
5th June 2011, 09:08
Then re-encode all audio to a format that a single decoder can decode.

I agree. I always encode everything to flac. Never had any problem switching between different flac tracks.

Mark_A_W
5th June 2011, 09:53
Or just use LAV Audio decoder, it can decode pretty much everything.

Even though it's based on ffmpeg, which is (or was) limited to 16 bit in ffdshow for flac, I think nevcariel fixed that issue.


However, for guaranteed compatibility, it would be nice if madshi and nevcariel would access madflac in LAV Audio directly, the way he has with the Arcsoft DTS decoder.

Then we would have one complete audio decoder for everything. And stream switching, even for different audio types, should just work.

zipi
17th June 2011, 22:33
Just wanted to again say thanks Madshi for MadFlac, it's great!
(btw, was looking for a change log in the archive, & have not found one, please disregard if intentional).

The work you have done on MadFlac & MadvR makes many people happy daily, All the best to you!

v_spec
7th March 2012, 08:56
I'm using MPC-HC with madFLAC 1.10. I noticed there's no option to downmix to stereo which makes the volume in videos with 5.1 tracks sound low.

deathlord
7th March 2012, 12:41
You can use e.g. ffdshow to do the downmix.

v_spec
7th March 2012, 22:04
Is there other directshow FLAC filters out there you would recommend other than madFLAC 1.10 and CoreFLAC Decoder 0.4?

Weirdo
7th March 2012, 22:59
Is there other directshow FLAC filters out there you would recommend other than madFLAC 1.10 and CoreFLAC Decoder 0.4?LAV Filters, although they don't downmix, yet.

v_spec
8th March 2012, 01:53
LAV Filters, although they don't downmix, yet.

I guess my question now should be, if the video is outputting a 5.1 track and I'm using 2.1 speakers/headphones, will I not hear the sound from the other 3 channels because the codec is not able to downmix?

Midzuki
8th March 2012, 02:24
You can downmix to stereo through ffdshow audio processor OR through AC3Filter --- which works great on my Vista laptop BTW.

v_spec
8th March 2012, 03:51
You can downmix to stereo through ffdshow audio processor OR through AC3Filter --- which works great on my Vista laptop BTW.

The audio codec is FLAC, AC3 does not support FLAC.

So far from what I understand only ffdshow's FLAC filter is able to downmix to stereo.

Midzuki
8th March 2012, 05:39
The audio codec is FLAC, AC3 does not support FLAC.

AC3Filter does support uncompressed audio (PCM or LPCM), and can be used as an audio processor --- it's just a matter of proper configuration. ;)

v_spec
8th March 2012, 08:23
AC3Filter does support uncompressed audio (PCM or LPCM), and can be used as an audio processor --- it's just a matter of proper configuration. ;)

Learning something new everyday. Will give it a try. Thank you!

Weirdo
8th March 2012, 10:47
I guess my question now should be, if the video is outputting a 5.1 track and I'm using 2.1 speakers/headphones, will I not hear the sound from the other 3 channels because the codec is not able to downmix?You will hear everything, because Windows will do the downmixing, assuming of course you've set stereo output to the Sound options.

samhfoley
26th March 2012, 01:52
Does MadFlac work on 64 bit? I installed it, but my 64 bit PotPlayer doesn't see it listed in the registered filters... Please advise

nevcairiel
26th March 2012, 08:18
Does MadFlac work on 64 bit? I installed it, but my 64 bit PotPlayer doesn't see it listed in the registered filters... Please advise

madFlac is only 32-bit.

HitomiKun
17th June 2012, 01:59
Madflac crashes sometimes, it's ultra rare though and I don't know the source of it. I had some music running and it just broke randomly. Starting it again didn't break it on the same spot though, it didn't crash at all. I had an ticket open in the mpc-hc bug tracker (because I thought this was some kind of mpc-hc issue), there you can get the dump file that got created with it.

https://sourceforge.net/apps/trac/mpc-hc/ticket/2404

Isochroma
2nd October 2012, 02:03
Can you please make the filter selectable so I don't have to use its decoder as well as the splitter?

I want to use MadFLAC as splitter only, so that I can use ffdshow as decoder.

madshi
2nd October 2012, 07:14
Why would you prefer the ffdshow decoder over madFlac? I don't see any good reason for that right now.

Isochroma
2nd October 2012, 21:10
I need the other effects and the ffdshow mixer.

Think for a moment: the vast majority of filters are either splitters or decoders, not both.

Forcing both together really cripples and limits user options.

Imagine if your arm didn't have an elbow, only one single element. It would have very limited movement potential and flexibility.

madshi
2nd October 2012, 21:37
You can configure ffdshow to accept "Uncompressed" audio, which allows you to do madFlac -> ffdshow. So again: No need to use ffdshow for FLAC decoding.

Isochroma
2nd October 2012, 21:59
You're suggesting I offload the control entropy from your unselectable decoder onto ffdshow.

I don't want that. If I do that then ffdshow puts itself everywhere.

Again, not enough control.

clsid
2nd October 2012, 22:10
LAV Splitter also supports FLAC files.

adrianmak
3rd October 2012, 02:27
LAV Splitter also supports FLAC files.

which is better to decode 5.1 flac, lav audio or madflac ?

hubblec4
15th February 2013, 15:13
work madflac on win7 64bit??

nautilus7
15th February 2013, 15:28
It works, but only within 32bit media players

Drakoliona
23rd October 2013, 17:27
How i wan update it?

Overdrive80
23rd October 2013, 18:09
Drakoliona, this pack has installer, is a *.bat file. Execute it as administrator.

Drakoliona
4th January 2014, 11:00
Exact Audio Copy use MADFLAC codec? For compress?

detmek
4th January 2014, 11:42
No, it doesn't. MadFLAC is DirectShow filter. EAC uses command line FLAC, flac.exe.

Drakoliona
4th January 2014, 15:06
And if i use it

http://www.xiph.org/dshow/

EAC use it for decode? because it's write :

DirectShow: Xiph's OpenCodec for encoding to/decoding from FLAC (as well as Ogg Vorbis/Speex/Theora)


Or i don't need Decoder for EAC?

And how to add MadFLAC to MPC-HC?

detmek
4th January 2014, 18:59
EAC does not use any DirectShow filter. It only supports PCM which does not require any decoder. If you want to encode to FLAC you will need flac.exe (http://www.rarewares.org/lossless.php#flac-bundle).

MPC-HC is shipped with LAV Filters which already have FLAC decoder so you don't need madFLAC. But, if you insist, you can install madFLAC and add it into External Filters and set it to Prefer.

Drakoliona
4th January 2014, 21:00
I have add madFLAC in MPC-HC, how i use it ? i want mean, how i know MPC use madFLAC?

If madFLAC is useless for MPC-HC why create madFLAC ?^^

So, for encode in Flac don't need another decoder / encoder? only flac.exe in package of EAC?

And For Rip ISO of Full DVD, don't need decoder too? only AnyDVD HD is good ?

detmek
4th January 2014, 22:44
1. Play some FLAC file or video with FLAC audio, right-click on MPC-HC window, Filters and you will see which filters are used.

2. madFLAC is created in 2007. when FFMPEG (core of LAV Filters) have had a problems decoding FLAC audio. These days FFMPEG (and FFMPEG based decoders) will decode FLAC files without problems. So, you don't need madFLAC if you have up-to-date player or decoder.

3. Right, you only need flac.exe, nothing more.

4. You only need decoder when you play or trancode file. AnyDVD does not trancode DVD, it just removes protection and makes a copy to HDD.

Drakoliona
10th January 2014, 16:45
@detmek And for remux Blu-Ray, I just need FFDShow + eac3to decoder pack? (FFDShow x32 + eac3to decoder pack 1.4)

i use eac3to command line

detmek
10th January 2014, 17:30
If you are going to remux Blu-Ray you only need eac3to. You don't even need FFDShow because remux means you extract elementary streams, without any decoding, and mux those into new container.
P.S. I think that eac3to doesn't use any DirectShow decoder.

the_weirdo
10th January 2014, 17:55
P.S. I think that eac3to doesn't use any DirectShow decoder.

Actually, it does. It'll use ArcSoft DTS Decoder, Sonic Audio Decoder and Nero Audio Decoder when necessary if they're available. For Blu-ray remuxing, they're not needed, of course. Also, eac3to doesn't use any other DirectShow decoder.

Drakoliona
10th January 2014, 21:24
Actually, it does. It'll use ArcSoft DTS Decoder, Sonic Audio Decoder and Nero Audio Decoder when necessary if they're available. For Blu-ray remuxing, they're not needed, of course. Also, eac3to doesn't use any other DirectShow decoder.

ArcSoft DTS Decoder & Sonic Audio Decoder it's only for DTS ? or AC3? Because i don't know how use for AC3.. And nero ? It's for AC3 ?

the_weirdo
11th January 2014, 06:30
ArcSoft DTS Decoder & Sonic Audio Decoder it's only for DTS ? or AC3? Because i don't know how use for AC3.. And nero ? It's for AC3 ?

AFAIK, eac3to uses ArcSoft DTS Decoder and Sonic Audio Decoder to decode DTS(-HD) (ArcSoft is recommended). Sonic Audio Decoder can be forced to decode (E-)AC3 and TrueHD but that isn't recommended. Nero Audio Decoder is used for decoding (E-)AC3 and AAC, also can be forced to decode TrueHD (but there're some limitations).

Anyway, this is off-topic.

tebasuna51
11th January 2014, 10:16
Now Nero Audio Decoder is only used to decode AAC, by default MP1, MP2, MP3, (E-)AC3 and TrueHD is decoded with libav/ffmpg

x7007
1st September 2014, 14:22
Using it to play FLAC files with PotPlayer, every time I it start new track from the first time I double click on the file there's silence until I click anywhere on the play bar.