IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
FLAC 1.2.1 - What happened to the seek points?, metaflac not showing any...
Bourne
post Mar 14 2008, 21:33
Post #1





Group: Banned
Posts: 735
Joined: 19-March 06
Member No.: 28599



-

This post has been edited by Bourne: Apr 2 2008, 03:15
Go to the top of the page
+Quote Post
jcoalson
post Mar 14 2008, 22:31
Post #2


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



they're not gone, was the file created via piped encoding with fb2k?
Go to the top of the page
+Quote Post
Bourne
post Mar 14 2008, 23:48
Post #3





Group: Banned
Posts: 735
Joined: 19-March 06
Member No.: 28599



-

This post has been edited by Bourne: Apr 2 2008, 03:15
Go to the top of the page
+Quote Post
jcoalson
post Mar 15 2008, 01:39
Post #4


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



look for an option like -S- or --no-seektable and get rid of it for flac-to-flac encoding. this will allow the seektable to transfer.

you can easily add a seektable back to files that lost it with metaflac --add-seekpoint
Go to the top of the page
+Quote Post
Bourne
post Mar 15 2008, 04:54
Post #5





Group: Banned
Posts: 735
Joined: 19-March 06
Member No.: 28599



-

This post has been edited by Bourne: Apr 2 2008, 03:15
Go to the top of the page
+Quote Post
Bourne
post Mar 16 2008, 23:19
Post #6





Group: Banned
Posts: 735
Joined: 19-March 06
Member No.: 28599



-

This post has been edited by Bourne: Apr 2 2008, 03:15
Go to the top of the page
+Quote Post
Egor
post Mar 17 2008, 06:49
Post #7





Group: Members
Posts: 826
Joined: 29-September 04
Member No.: 17374



QUOTE (Bourne @ Mar 17 2008, 04:19) *
1) does this pipe-enconding in foobar2000 flac-to-flac remove the seektable?
2) are seektables really necessary? what are they for (I find no real use).

QUOTE (flac documentation)
FLAC does not require seek points for seeking but they can speed up seeks, or be used for cueing in editing applications.

Encoding with foobar2000 now (since they added "ignore chunk sizes" option in the default command line string in 0.9.5) causes no seekpoints in the resulting file. But, as stated in the quote above, FLAC doesn't require seekpoints for seeking.
Go to the top of the page
+Quote Post
Bourne
post Mar 17 2008, 08:43
Post #8





Group: Banned
Posts: 735
Joined: 19-March 06
Member No.: 28599



-

This post has been edited by Bourne: Apr 2 2008, 03:15
Go to the top of the page
+Quote Post
Egor
post Mar 17 2008, 11:52
Post #9





Group: Members
Posts: 826
Joined: 29-September 04
Member No.: 17374



QUOTE (Bourne @ Mar 17 2008, 13:43) *
[...]Ok I didn't understand this last part "Use with caution:"[...]

That means everything that foobar2000 considers audio and sends via pipe to flac.exe will be treated as audio by flac.exe. As far as I know, fb2k doesn't send those "data chunks" through pipe to CLI encoders. Tags are added separately from the encoding process, when flac.exe finishes its work and the resulting file is ready.

In other words, no need to worry smile.gif .

This post has been edited by Egor: Mar 17 2008, 11:53
Go to the top of the page
+Quote Post
Bourne
post Mar 17 2008, 12:12
Post #10





Group: Banned
Posts: 735
Joined: 19-March 06
Member No.: 28599



-

This post has been edited by Bourne: Apr 2 2008, 03:15
Go to the top of the page
+Quote Post
Egor
post Mar 17 2008, 13:13
Post #11





Group: Members
Posts: 826
Joined: 29-September 04
Member No.: 17374



QUOTE (Bourne @ Mar 17 2008, 17:12) *
[...]
could you describe a "potential" situation for this to occour?

Like, when you stream wav file's data through pipe and then occurs non-audio data. I personally do not have such WAV files, but they may eventually exist.
CODE
C:\>type exotic.wav | flac.exe --ignore-chunk-sizes - -o improper.flac


fb2k won't send such non-audio data, as it parses WAV file before sending to flac.exe (in contrast to the "type" command, which sends all data "as is").
Go to the top of the page
+Quote Post
jcoalson
post Mar 17 2008, 20:03
Post #12


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



QUOTE (Bourne @ Mar 16 2008, 17:19) *
1) does this pipe-enconding in foobar2000 flac-to-flac remove the seektable?
it shouldn't, but maybe foobar is decoding to pcm as an intermediary step, I don't know.

QUOTE (Bourne @ Mar 16 2008, 17:19) *
2) are seektables really necessary? what are they for (I find no real use).
seekpoints only speed up seeking, but the default seek algorithm is pretty fast anyway, you'd probably never notice on a pc.

QUOTE (Egor @ Mar 17 2008, 00:49) *
Encoding with foobar2000 now (since they added "ignore chunk sizes" option in the default command line string in 0.9.5) causes no seekpoints in the resulting file.
btw that option has no effect unless the input is wav or aiff.
Go to the top of the page
+Quote Post
Egor
post Mar 17 2008, 20:27
Post #13





Group: Members
Posts: 826
Joined: 29-September 04
Member No.: 17374



Yes, fb2k decodes audio and then feeds it to encoder, so the "ignore chunk sizes" option affects the encoding.

This post has been edited by Egor: Mar 17 2008, 20:30
Go to the top of the page
+Quote Post
Bourne
post Mar 17 2008, 23:42
Post #14





Group: Banned
Posts: 735
Joined: 19-March 06
Member No.: 28599



-

This post has been edited by Bourne: Apr 2 2008, 03:15
Go to the top of the page
+Quote Post
jcoalson
post Mar 18 2008, 00:27
Post #15


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



if flac.exe is given a flac file as input, yes, but it doesn't sound like that's how foobar does it.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 27th December 2014 - 00:20