HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: mudlord on 2012-04-16 04:37:22

Title: [CRASHWARE] V2M input component
Post by: mudlord on 2012-04-16 04:37:22
https://github.com/blog/1103-ten-years-of-f...tions-on-github (https://github.com/blog/1103-ten-years-of-farbrausch-productions-on-github)

mudlord.info/temp/foo_input_v2m.zip

Uses the source from that repo, like the V2M version checking and format conversions.
Might still be flaky.

Known issues:
* Songs with speech are not converted properly
* libv2 is not fully thread safe, so expect crashes with conversions.
Title: [CRASHWARE] V2M input component
Post by: deus-ex on 2012-04-17 15:50:06
Thank you, Mudlord! This is a plugin I was really missing all those years.
And of course a huge thank you to the Farbrausch (http://www.farb-rausch.de/) posse for making this possible by sharing lots of their source code to the public freely.
Title: [CRASHWARE] V2M input component
Post by: Nahkranoth on 2012-05-22 23:43:22
Unfortunately it crashes here on Win7 x64 when trying to open/play v2m tracks
Title: [CRASHWARE] V2M input component
Post by: kode54 on 2012-05-23 01:37:03
The author has asked that this component be marked as crashware, as it is not totally stable. The lack of multiple instance safety also means that if you use it with anything like Zao's Wave Seekbar, it will crash.
Title: [CRASHWARE] V2M input component
Post by: Nahkranoth on 2012-05-23 18:58:33
The author has asked that this component be marked as crashware, as it is not totally stable. The lack of multiple instance safety also means that if you use it with anything like Zao's Wave Seekbar, it will crash.


It crashes gloriously even with Waveform Seekbar uninstalled. But thanks for help, at least I can hear my favourite tunes in some rare cases
Title: [CRASHWARE] V2M input component
Post by: deus-ex on 2012-05-24 15:57:51
Unfortunately it crashes here on Win7 x64 when trying to open/play v2m tracks

Also Win7 x64 here, and no crashes at all. Hence it's appears to be not an OS relevant issue.
Title: [CRASHWARE] V2M input component
Post by: Nahkranoth on 2012-05-24 20:03:48
Also Win7 x64 here, and no crashes at all. Hence it's appears to be not an OS relevant issue.


So there's still a flicker of hope  Will research further, thanks!
Title: [CRASHWARE] V2M input component
Post by: Porcus on 2012-05-25 13:52:02
marked as crashware, as it is not totally stable


If that's Mudlord's stand on it, it is of course OK.

But generally, I'd say that «[CRASHWARE]» is an 'avoid this junk at all cost' warning, and, say, «[UNSTABLE]» would be more appropriate as a warning against  'beta, be prepared to uninstall, YMMV'.
Title: [CRASHWARE] V2M input component
Post by: kode54 on 2012-05-25 19:35:09
It's the V2M player's fault, though. As I suggested to him, it may be a better idea to just rewrite the whole thing in C++ and forget about the assembly optimization.
Title: [CRASHWARE] V2M input component
Post by: Nahkranoth on 2013-03-21 09:49:51
Farbrausch V2 source code is available on github (https://github.com/farbrausch/fr_public/tree/master/v2).

Maybe it's possible now to write a stable input plugin? (Of course if anyone is willing to dig thru someone else's scribble  )
Title: [CRASHWARE] V2M input component
Post by: kode54 on 2013-03-22 00:58:40
The source code isn't much help, since the original code is a pile of raw assembly language.
Title: [CRASHWARE] V2M input component
Post by: Nahkranoth on 2013-03-22 07:56:00
Oh woe!
Title: [CRASHWARE] V2M input component
Post by: Nahkranoth on 2013-05-15 12:27:58
Hi mudlord!

I would like you to look into these modified sources called MagicV2MEngine.

That thing plays modules with speech correctly as it uses pre-1.5 libs and is modified for Vista and such.

Taken from here:

http://www.dbfinteractive.com/forum/index.php?topic=2586.0 (http://www.dbfinteractive.com/forum/index.php?topic=2586.0)
Title: [CRASHWARE] V2M input component
Post by: mudlord on 2013-05-17 08:55:07
There is no interface to write output samples. It just is a replayer lib with its own winmm/dsound output routines, let alone seeking.
Title: [CRASHWARE] V2M input component
Post by: Nahkranoth on 2013-05-17 11:44:29
There is no interface to write output samples. It just is a replayer lib with its own winmm/dsound output routines, let alone seeking.


Then maybe you know of some v2m to wav renderer that could be used in conjunction with foobar's commandline decoder?

The reason I'm asking is that I'm having issues with v2player.exe

Title: [CRASHWARE] V2M input component
Post by: mudlord on 2013-06-03 04:56:07
No, I do not know of any V2M to wav/stdout writer.
Title: [CRASHWARE] V2M input component
Post by: deus-ex on 2013-06-08 11:34:48
No, I do not know of any V2M to wav/stdout writer.

There's one available here (including c++ source code): V2 wave writer (http://franck.charlet.pagesperso-orange.fr/v2player_wav.zip). Does not work under Win7 x64 though, probably requires WinXP x32.
Title: [CRASHWARE] V2M input component
Post by: Nahkranoth on 2013-06-08 18:27:59
No, I do not know of any V2M to wav/stdout writer.

There's one available here (including c++ source code): V2 wave writer (http://franck.charlet.pagesperso-orange.fr/v2player_wav.zip). Does not work under Win7 x64 though, probably requires WinXP x32.
That's the v2player I'm having issues with. You can't specify output wav without knowing correct playtime.

Code: [Select]
v2player tune.v2m [minutes seconds output.wav]



Thus it can't be used with commandline decoder. (Well, it CAN be used, but all songs woud be forced to some default minutes and seconds).

Title: [CRASHWARE] V2M input component
Post by: mudlord on 2013-06-13 13:39:28
hitchhikr's hack crashes here. I have an idea though. Maybe build a EXE based on the new v2m sources. Of course, old songs like Candytron and The Code Inside will break thanks to broken speech conversions.
Title: [CRASHWARE] V2M input component
Post by: Nahkranoth on 2013-06-14 08:08:22
hitchhikr's hack crashes here. I have an idea though. Maybe build a EXE based on the new v2m sources. Of course, old songs like Candytron and The Code Inside will break thanks to broken speech conversions.
That would be awesome! At least there are not too many songs with speech so one can manage.


What's hitchhikr's hack btw?

Title: [CRASHWARE] V2M input component
Post by: mudlord on 2013-06-15 08:11:40
http://franck.charlet.pagesperso-orange.fr/v2player_wav.zip (http://franck.charlet.pagesperso-orange.fr/v2player_wav.zip)

hitchhikr wrote that hack