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: OptimFROG encoded files and foobar2000 (Read 1103 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

OptimFROG encoded files and foobar2000

Is there a way to get OptimFROG encoded files (*.ofr) to play in foobar2000 v2 x64?

Out of the box so is it not possible and i haven't found a component for it neither.


Re: OptimFROG encoded files and foobar2000

Reply #2
Should have said that it was for v2 x64..... that component doesn't work




Re: OptimFROG encoded files and foobar2000

Reply #5
There is no OptimFrog decoder in ffmpeg.



Re: OptimFROG encoded files and foobar2000

Reply #8
Did you try the component from the homepage? http://losslessaudio.org/Downloads.php at the bottom

Looks like the source code is there so porting to 64bit could be possible?? I'm not even trying though. I'm certain input components are beyond me.

Re: OptimFROG encoded files and foobar2000

Reply #9
Just emailed Florin and asked him to update his official component to support v2 x64

Re: OptimFROG encoded files and foobar2000

Reply #10
I'm not even trying though. I'm certain input components are beyond me.

So I changed my mind and had a go. I have the sample file from here playing in 64bit fb2k...

http://samples.mplayerhq.hu/A-codecs/lossless/

I ran in to one sticking point. New input components are supposed to implement a remove_tags function but I have no idea what to do with it so it does nothing.

edit: a screenshot of my changes, I'm not uploading to github...

https://i.imgur.com/8iGdpwo.png

TEST WITH EXTREME CAUTION (64bit only)

Re: OptimFROG encoded files and foobar2000

Reply #11
It plays luckynight.ofr, clean portable Foobar 2.0 x64 beta 9, even shows OptimFROG under playlist "Codec" header.

Re: OptimFROG encoded files and foobar2000

Reply #12
@marc2k3 - Thanks a lot for the updated component. It works fine. Have tested with  5+ OFR encoded files.

 

Re: OptimFROG encoded files and foobar2000

Reply #13
I have an updated version.

This correctly displays OptimFROG Decoder under Preferences>Playback>Decoding. Previously, it just displayed OptimFROG
Remove tags has been implemented. It seems writing an empty file_info object does the job.




Re: OptimFROG encoded files and foobar2000

Reply #14
@mark2k3 -  Thanks for the updated version. :)

Re: OptimFROG encoded files and foobar2000

Reply #15
ARGH. Another update, hopefully the last.

Includes x86 and x64 dlls with embedded art reading/writing. fb2k v2 only.





Re: OptimFROG encoded files and foobar2000

Reply #17
I've stuck the source on github.

https://github.com/marc2k3/foo_input_ofr

There are no downloads - the attachment 2 posts above is still the latest.



Re: OptimFROG encoded files and foobar2000

Reply #18
@mark2k3
Maybe you should make it available on your github foobar2k components page also

Re: OptimFROG encoded files and foobar2000

Reply #19
It's hardly worth it. This component doesn't need a page to describe how to use it.

Anyway, I've posted an updated release here....

https://github.com/marc2k3/foo_input_ofr/releases

I just tidied up some dead code. No real changes.

Re: OptimFROG encoded files and foobar2000

Reply #20
@mark2k3

Thnx for making it available on your Github. A description is not needed as u say.