Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: FLAC DirectShow Filters (Read 12410 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

FLAC DirectShow Filters

I've been working on a DShow FLAC encoder and am ready to say that it's ready for public testing
Run 'regsvr32 <name>' on each of the filters. Right now you will need to use GraphEdit to make use of the filter (possible future automatic use in DShow capturing apps). If you connect the FLAC Encoder filter to a File Writer filter it will write a FLAC file.
If you connect it to a muxer filter (MKV and WAV were tested) it will create a stream that you can couple with video. ex. Capturing video+audio

DShow FLAC Encoder v0.1
DShow FLAC Decoder by Toff

Also note the decoder currently doesn't decode FLAC files, only streams.

Edit: grammar

FLAC DirectShow Filters

Reply #1
Are you sure the links are right?  I get the GeoCities "This page is not available."

Josh


FLAC DirectShow Filters

Reply #3
The links have been mirrored here :

Http://downloads.matroska.org/downloads/Co...ncoder-v0.1.zip

Http://downloads.matroska.org/downloads/Co...FLACDecoder.zip

Please note there may be some changes soon, as i absolutely want the matroskamuxer to write native FLAC codec IDs instead of using A_MS/ACM and a FourCC code ....

FLAC DirectShow Filters

Reply #4
I was able to use Stardownloader to grab the files, because it has a nifty feature to send a referer so it apears as if it came from geoschities.  B)

FLAC DirectShow Filters

Reply #5
Since you said I decodes streams only, does it work with Ogg FLAC via OggDS?

FLAC DirectShow Filters

Reply #6
Quote
Since you said I decodes streams only, does it work with Ogg FLAC via OggDS?

It will work in OGM, kust like any ACM audio format does work in OGM, but dont compare this with a valid OggFLAC file, it has completely different headers and will not be recognized by any other app handling OggFLAC ....

EDIT : reading your post again animaniac, yes, FLEC decoder filter could be used fine from OggDS for playing of OggFLAC files on Windows, if somebody added the mapping to OggDS to call the filter for OggFLAC content ...

FLAC DirectShow Filters

Reply #7
I fixed Jory's permissions on CoreFLAC project page on CoreCodec. He has uploaded both the decoder as well as the encoder for everyone to download as well as work on from the CVS.

http://corecodec.org/projects/coreflac/

----
Dan "BetaBoy" Marlin
CoreCodec Founder/Team Leader
Dan "BetaBoy" Marlin
Founder CoreCodec
The Future of Audio/Video Development and Technology

FLAC DirectShow Filters

Reply #8
I compressed a couple of CDs to big MKA FLAC now with it, using

- Nero6 to extract the WAVs from the CD to HDD

- Nero6 WavEditor to concatenate the WAVS to one big WAV

- Load the WAV in Graphedit ( render Media file ), delete everything after WAV splitter, insert FLAC encoder filter, matroska muxer and a file writer

- MKVmerge to define the chapters for each song


Works like a charm  ! I started working on a Guide, but dont ask me when it will be uploaded to matroska.org. If you are interested i can upload a few screenshots here in the meantime ...

FLAC DirectShow Filters

Reply #9
@Christian
I think it's better to use EAC to rip audio to 1 big WAV image + CUE. And only needed thing is to MKVtools natively convert that CUE to chapters or other mka tags. Keeping cue as additional embeded file could be useful too, to burn it in future.

Regards
Lobuz

EDIT: Flac Dshow works with MPlayerC but Mkvtools Gui 0.7.5 didn' like that mka file. Could be compression option configurable with that Flac DShow filter?

FLAC DirectShow Filters

Reply #10
Hi Lobuz !

Quote
@Christian . I think it's better to use EAC to rip audio to 1 big wav image + CUE.
.... i prolly should update my EAC one day  !

Quote
And only needed thing is to MKVtools natively convert that CUE too chapters or other mka tags. Keeping cue as additional file could be useful too, to burn it in future. Regards Lobuz


Mosu said on IRC he may look into this one day, adding CUE sheets as possible input files for chapter creation.

About adding CUEs as attachements, thats possible already, but once the CUEs can be used as sources for the chapter creation, it should be possible to create the CUEs from the chapter info to restore the CD ?

FLAC DirectShow Filters

Reply #11
Is there any DirectShow filters that can work with CoreFLAC to play a .flac file directly (without muxing to MKA)? I mean the "flac version" of aac_parser.ax + CoreAAC combo.

Well, illiminable's dsfFLACDecoder.dll plays FLAC via DirectShow, but it is not yet too stable. Especailly illiminable's DSFilter cannot open the file if the filename is "Unicode", so unusable for me.

Usually I use fb2k to play FLAC, but for some reason I'd like to play FLAC via DS too.

thanks in advance for any information

FLAC DirectShow Filters

Reply #12
Liisachan,

AFAIK there is a FLAC parser included in CoreFLAC already ? Did you test this and it didnt work, or were you just assuming it dont work with CoreFLAC ? Maybe jcsston has to update CoreFLAC so it can read the latest FLAC files ?

FLAC DirectShow Filters

Reply #13
In my test, CoreFLAC cannot play "unpacked" (?) .flac file.
Is it supposed to play .flac?
If packed in MKA, CoreFLAC can]/b] play flac in MKA, of course
I'm testing with GraphEdit.
I just wrote illiminable and he said he is going to add unicode file name support in the next next version. illiminable's DS Filter can play .flac directly if the filename is in English (char, 0x00-0x7f)

EDIT
When I said "I tested CoreFLAC" i meant I installed CoreFLACDecoder_0[1].4.exe
Is there anything that I have to install additionally?

FLAC DirectShow Filters

Reply #14
I think now I know the reason.

CoreFLAC Audio Source Filter doesn't support Unicode filename,
just like dsfFLACDecoder.dll or older versions of APE DS filter.

CoreFLAC can open ascii.flac but cannot open *WCHAR*.flac.

FLAC DirectShow Filters

Reply #15
Quote
CoreFLAC can open ascii.flac but cannot open *WCHAR*.flac.[a href="index.php?act=findpost&pid=251379"][{POST_SNAPBACK}][/a]


Shame on those US boys living in their small ASCII world .... LOL 

I will point Jcsston to that  .....

FLAC DirectShow Filters

Reply #16
@BetaBoy
It is possibile to add SSRC upsample algorithm option to the FLAC directshow (kind of like in MAD Directshow decoder)?

 

FLAC DirectShow Filters

Reply #17
What should that be good for ? Every modern soundcard can deal with all sampling rates you throw at it for playback ?

Christian
matroska project admin

P.S. There hasnt been a lot of progress with the Corecodec FLAC filters for a long time, i guess Illiminable's filters, the official Xiph filters meanwhile, are more advanced already.