IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
OptimFROG foobar2000 0.9.x plug-in available!, OptimFROG Lossless/DualStream Audio Compressor
ghido
post May 17 2006, 01:02
Post #1


OptimFROG developer


Group: Developer
Posts: 65
Joined: 24-April 03
Member No.: 6151



Hello,

Just wanted to let you know that a fully functional OptimFROG input plug-in for foobar2000 0.9.x (rewritten from scratch) is finally available (including the source code) on the OptimFROG site at

http://www.LosslessAudio.org

or directly at

http://www.LosslessAudio.org/DownloadNew/f...ut_ofr_120b.php

Also, the new promised experimental version, although delayed a bit due to some fine tuning and testing, it is now very close to being publicly released...

Thanks,
Florin Ghido

This post has been edited by ghido: May 17 2006, 01:03
Go to the top of the page
 
+Quote Post
JohanDeBock
post May 17 2006, 09:47
Post #2





Group: Developer
Posts: 107
Joined: 23-March 05
Member No.: 20866



Thanks, looking forward to test the new version.


--------------------
foo_softplaylists
http://telin.ugent.be/~jdebock/foobar2000/
Go to the top of the page
 
+Quote Post
shadowking
post May 17 2006, 12:45
Post #3





Group: Members
Posts: 1334
Joined: 31-January 04
Member No.: 11664



Problem transcoding to OFS or OFR via foobar 9.1 :

Weird bitrates (12k) and cannot seek. Works perfectly when using speek frontend.

Can someone try foobar 9.1 converter and advise ?


thanks
Go to the top of the page
 
+Quote Post
rutra80
post May 17 2006, 13:32
Post #4





Group: Members (Donating)
Posts: 793
Joined: 12-September 03
Member No.: 8821



You'll probably find solution in this topic.

This post has been edited by rutra80: May 17 2006, 13:32
Go to the top of the page
 
+Quote Post
ghido
post May 17 2006, 13:55
Post #5


OptimFROG developer


Group: Developer
Posts: 65
Joined: 24-April 03
Member No.: 6151



QUOTE (shadowking @ May 17 2006, 14:45) *
Problem transcoding to OFS or OFR via foobar 9.1 :

Weird bitrates (12k) and cannot seek. Works perfectly when using speek frontend.

Can someone try foobar 9.1 converter and advise ?


thanks


This problem is due to foobar2000 0.9.x sending an INVALID wav header content. Previous versions (like 0.8.x) had a setting named "encoder requires accurate length", which worked well.

foobar2000 sets an invalid length in the wav header content such that the resulted file will be able to hold exactly 2^31-1 bytes (the maximum safe size limit for 32 bit files), which translates to a length of 3h:22m:53.943s for the CD Audio format.

OptimFROG has a full wave/riff parser (with odd chunks auto detection) and in fact it ends with an unexpected input EOF error, as the input data ends before what was specified in the header.

I am thinking how to implement a "not so ugly" workaround for use with foobar2000. However, note that (as for all the encoders which save the riff chunks - so they are lossless with regard to the file, not only to the audio data), the decoded wav file will be still invalid (but the ofr will be ok) due to the information in the riff chunks (will show incorrect length).

Meanwhile, you can alternatively use for CD Audio format the settings "--encode --raw --headersize 44 - --output %d" (eventually specifying manually the format if different), or better use "%s" instead of "-" (which creates a temporary file).

In my opinion, I think the right thing would be that foobar2000 to have parameters like samplerate (integer), bitdepth (integer), and channels (integer), (e.g. %s, %b, and %c) so that they could be passed to the encoder and then send raw data (selectable) through the pipe to the encoder.

I fully agree that it is very difficult to compute in advance the number of samples in foobar2000, but I hope we will have in the future a better solution than the current hack (reporting maximum length in the wav header, and then closing the pipe when actual data ends).

Please let me know if you have other ideas...

Thanks,
Florin Ghido
Go to the top of the page
 
+Quote Post
Peter
post May 17 2006, 14:05
Post #6


foobar2000 developer


Group: Admin
Posts: 2806
Joined: 30-September 01
Member No.: 84



QUOTE (ghido @ May 17 2006, 14:55) *
This problem is due to foobar2000 0.9.x sending an INVALID wav header content. Previous versions (like 0.8.x) had a setting named "encoder requires accurate length", which worked well.
Previous versions would also break when actual length of source file was different from reported length. While it sounds unbelievable, there are major formats (such as WMA lossless) that can't accurately report file duration without performing a full decode. Because about every encoder handles "truncated" WAV files, we decided to simulate this behavior. Alternatively, you can go through temporary files to get accurate length signaled in headers.
Go to the top of the page
 
+Quote Post
shadowking
post May 17 2006, 14:48
Post #7





Group: Members
Posts: 1334
Joined: 31-January 04
Member No.: 11664



Thanks for the info Florin & Peter. I came up with a commandline for FB 9.1 that works:

--encode %s --output %d
Go to the top of the page
 
+Quote Post
RiCON
post Dec 25 2006, 23:41
Post #8





Group: Members
Posts: 5
Joined: 15-September 03
From: Santa Maria da Feira, Portugal
Member No.: 8857



Hi.

Anyone have any idea when a 0.9.4.2 OptimFROG plug-in will be available?

EDIT:
Nevermind.
It's still compatible with 0.9.4.2.
Sorry for the stupid question.

This post has been edited by RiCON: Dec 26 2006, 00:15
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: 22nd November 2009 - 05:50