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: converter change re. FLAC & --ignore-chunk-sizes (Read 5904 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

converter change re. FLAC & --ignore-chunk-sizes

Just out of interest what changed in fb2k v.1 so that --ignore-chunk-sizes became necessary.
Caused some confusion re. sample size / duration reporting and LossyWAV. See this post in response to this.

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

converter change re. FLAC & --ignore-chunk-sizes

Reply #1
[Semi-Bump]
Just to be clear, using fb2k 0.9.4.5 doesn't require --ignore-chunk-sizes when encoding to LossyFLAC, however it seems with v.1.+ it does otherwise foobar2000 reports the track length / sample size incorrectly. Yet this not just for super large files.

Any idea as to which change in fb2k's development caused this?

Thanks,

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

 

converter change re. FLAC & --ignore-chunk-sizes

Reply #2
foobar2000 stopped to provide the accurate file length to the encoders, I think this thread gives you a clue.
That resulted in large seek tables in the flacs, with ignore_chunk_size no seek tables are created. This might be the reason.
See also this thread in the FLAC forum, it just looks a bit funny 'cause one person deleted all his posts.

This only matters when encoding from stdin (which is the most efficient), when you do "flac -s -8 %s -o %d" --ignore_chunk_size is not needed because Flac can see the exact length of the temporary file.

edit: added link to Flac forum, adjusted posting to reflect that info.
In theory, there is no difference between theory and practice. In practice there is.

converter change re. FLAC & --ignore-chunk-sizes

Reply #3
This is predominantly a lossyFLAC issue with fb2k.
Simply put fb2k 0.9.4.5 is fine, but since the wiki should refer to the latest versions of software then presumably the wiki needs to be updated to include "ignore chunk sizes" in the command line else users will have their fb2k v1+ wrongly reporting the durations and sample size for lossyFLAC encodes.

Here's the wiki entry for lossyFLAC via foobar2000:
http://wiki.hydrogenaudio.org/index.php?ti...verter_settings

Quote
Parameters: /d /c C:\"Program Files"\bin\lossywav - --standard --silent --stdout|
            C:\"Program Files"\bin\flac - -b 512 -5 -f -o %d

Probably needs to be changed to:

Quote
Parameters: /d /c C:\"Program Files"\bin\lossywav - --standard --silent --stdout|
            C:\"Program Files"\bin\flac - --ignore-chunk-sizes -b 512 -5 -f -o %d

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

converter change re. FLAC & --ignore-chunk-sizes

Reply #4
Sorry to undig that but is it recommended to use "ignore-chunk-sizes" in the command line or not (I'm using foobar 1.1)?

converter change re. FLAC & --ignore-chunk-sizes

Reply #5
Wiki's been updated since my post, so answer to your question looks like yes:
http://wiki.hydrogenaudio.org/index.php?ti...verter_settings

Quote
Encoder: C:\Windows\System32\cmd.exe
Extension : lossy.flac
Parameters: /d /c C:\"Program Files"\bin\lossywav - --standard --silent --stdout|
            C:\"Program Files"\bin\flac - -b 512 -5 -f -o%d --ignore-chunk-sizes
Format is : lossless or hybrid
Highest BPS mode supported: 24

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)