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: MAREO 2.0 Development (Read 65907 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

MAREO 2.0 Development

Hi, i have started to develop MAREO 2.0 ... I'm planing on using free pascal's multithreaded routines to run multiple encoders at the same time ... so the question is ... is there any other option that the community sees it is needed?

EDIT:
LIST OF  NOT LOCKING ENCODERS
lame.exe
oggenc2.exe (OggEnc v2.3 (libvorbis Post 1.0.1 CVS))

LIST OF  LOCKING ENCODERS

MAREO 2.0 Development

Reply #1
another thing i would need to know is for each used encoder, does it "opens" the wav in exclusive mode? so if, for example, i try to run flac on the same source wav, at the same time, would it generate a protection error? i would try lame.exe, but i don't know/have all the used encoders

MAREO 2.0 Development

Reply #2
I have no experience with MAREO or with using commandline encoders with EAC, so just ignore me if this is a stupid question, but why do you need a source wav? I have written an output plugin for Winamp that can use commandline encoders and I simply pass the data through a pipe (I can even retrieve the output data through a pipe again), this should work flawlessly for multiple encoders too.

MAREO 2.0 Development

Reply #3
Because EAC writes a wav file. Does not pipe it.
Or perhaps I am totally clueless.

 

MAREO 2.0 Development

Reply #4
You are absolutely right (I just checked), I hadn't thought of that option yet, EAC is probably very worried about being able to store the PCM data fast enough.

MAREO 2.0 Development

Reply #5
exactly, besides, mareo can work with ANY ripper, cdex, dbpoweramp, audiograbber, etc.

MAREO 2.0 Development

Reply #6
I use MAREO with EAC to encode to OptimFROG DualStream.  EAC renames the .ofs file but not the .ofs correction file.  So to get round this I have a second line in MAREO that doesn't do any encoding but does rename the file:

Code: [Select]
ofc NONE NONE donothing.exe


In order for this to work I have had to create a donothing.exe program in Delphi which is a console program that literally does nothing.

Code: [Select]
program donothing;
{$APPTYPE CONSOLE}
begin
end.


This is a bit messy.  So would it be possible to enhance MAREO so it can take NONE as the CommandToRunWithParameters (ie. the fourth item in an action line)?

Code: [Select]
ofc NONE NONE NONE


I would think this would be useful with any hybrid encoder that generates two output files, although I haven't used any other.

EDIT: Or if there is already a simpler way to do this I have overlooked, please let me know.

MAREO 2.0 Development

Reply #7
Another request:

it would be great if MAREO would take an additional command line parameter telling it which ini file to use.  So instead of having to edit mareo.ini and comment out lines to change encoder, I can create different ini files for each combination of encoder I use and then simply type the required ini file in the EAC "Additional command line options".

MAREO 2.0 Development

Reply #8
Quote
This is a bit messy.  So would it be possible to enhance MAREO so it can take NONE as the CommandToRunWithParameters (ie. the fourth item in an action line)?

you bet

MAREO 2.0 Development

Reply #9
Quote
it would be great if MAREO would take an additional command line parameter telling it which ini file to use.

sure

MAREO 2.0 Development

Reply #10
i have also been asked to make mareo "create" a WAV file, so if the CommandToRunWithParameters is WAVNONE  mareo would only rename, and not encode.

MAREO 2.0 Development

Reply #11
Quote
Quote
This is a bit messy.  So would it be possible to enhance MAREO so it can take NONE as the CommandToRunWithParameters (ie. the fourth item in an action line)?

you bet

Excellent.  Thank you.  (and for the ini file parameter)

Quote
i have also been asked to make mareo "create" a WAV file, so if the CommandToRunWithParameters is WAVNONE  mareo would only rename, and not encode.


If you have already implemented NONE as a CommandToRunWithParameters value, would WAVNONE really also be necessary?  Surely the same can be acheived using

Code: [Select]
wav <2ndParam> <3rdParam> NONE


Or have I misunderstood?

MAREO 2.0 Development

Reply #12
Quote
If you have already implemented NONE as a CommandToRunWithParameters value, would WAVNONE really also be necessary?  Surely the same can be acheived using

you are correct ... they are both related to each other ... so maybe the 2nd is not needed ... i would look at it for sure.

MAREO 2.0 Development

Reply #13
Quote
Hi, i have started to develop MAREO 2.0 ... i have already moved it to Lazarus/Free Pascal so anyone can compile it (and even move it to LINUX) since Borland no longer offers a free version of Delphi. I'm planing on using free pascal's multithreaded routines to run multiple encoders at the same time ... so the question is ... is there any other option that the community sees it is needed?

Did you consider C#?  It's available for both Windows and Linux (the compiler comes free with Windows, just not the IDE) and C# at least has a future.

-- Rick
------- Rick -------
--------------------

MAREO 2.0 Development

Reply #14
Quote
Did you consider C#?  It's available for both Windows and Linux (the compiler comes free with Windows, just not the IDE) and C# at least has a future.

frepascal is GPL, so it has a future for sure ...

MAREO 2.0 Development

Reply #15
ok guys, i finally made MAREO 2.0 compile under lazarus ... it took me more time than i thought  .... anyway, i haven't goot feedback from users of other encoders than lame.exe on wheter the encoders lock or not the WAV files ... i need to know it, cause if  that is the case, mareo would need to ccpy the wav, once for each encoder threat ... so, any feedback?

MAREO 2.0 Development

Reply #16
I just tried oggenc2.exe (OggEnc v2.3 (libvorbis Post 1.0.1 CVS)) and it seems it doesn't lock it (at least not for reading), as I could play the wav with winamp while encoding, CoolEdit also didn't mind opening it.
As for copying the wav, that does sound awfully slow, I understand now why EAC doesn't pipe the PCM data to the encoder directly, but I see no reason why you couldn't pipe the data to the encoders (if some encoders do lock that is). That would probably be quite a lot faster than first having to copy the WAV file.

MAREO 2.0 Development

Reply #17
Multithreading? Awesome, this should speed things up with my hyperthreaded P4! Anyway, I use MAREO to do LAME and FLAC and have been recommending it on Ars Technica message boards for some time to others looking to do the same. One thing that I have done in the past but am no longer doing is WaveGaining after a FLAC is made but before an MP3 is made so that the MP3s are normalized but the FLACs are the original source. This required me to have MAREO "leave" the WAV but also run a delete batch file I made on the WAV file (so MAREO thought it was leaving the WAV alone but in reality it was deleting it at the end.) Hopefully that makes sense. That's a feature that would be nice to have in the finished version of MAREO 2.0. I'm willing to help beta test (Windows XP, EAC, LAME, FLAC.) Keep up the good work! 

MAREO 2.0 Development

Reply #18
hi rh, thanks for your help ... what is exactly the problem with wavegain ... i don't quite get it :| ... i would be posting as soon as i have a working prototype of M2

MAREO 2.0 Development

Reply #19
Quote
frepascal is GPL, so it has a future for sure ...

<chokes on his coffee>

Yeah, like any pascal has a future...
------- Rick -------
--------------------

MAREO 2.0 Development

Reply #20
Quote
Yeah, like any pascal has a future...

you are right ... i would do it in C# then ... so users then have to download a 15 MB "runtime" ...  ... if it does what i need, why should i ditch free pascal? have you bothered to go to the lazarus site?

MAREO 2.0 Development

Reply #21
Quote
Quote
Yeah, like any pascal has a future...

you are right ... i would do it in C# then ... so users then have to download a 15 MB "runtime" ...  ... if it does what i need, why should i ditch free pascal? have you bothered to go to the lazarus site?

Actually they don't have to download a 15 MB runtime, although that might be simplest.  Do you know about mono the open source C# initiative?

But, your point is good.  Then why not C++?  Or C?  Or any language that people could hope to use on a job, someday?  Working in Pascal is about as practical as working in FORTRAN.  (And yes, I know that a lot of work is done in FORTRAN on supercomputers....)

You wouldn't have all that much trouble learning C/C++.  Back when Pascal was first beginning to dry up and all the Pascal programmers were converting to C, it was very popular to define a bunch of manifest constants so that C code looked like Pascal.  You know:

#define BEGIN {
#define END }

etc.
------- Rick -------
--------------------

MAREO 2.0 Development

Reply #22
Quote
But, your point is good.  Then why not C++?  Or C?  Or any language that people could hope to use on a job, someday?  Working in Pascal is about as practical as working in FORTRAN.  (And yes, I know that a lot of work is done in FORTRAN on supercomputers....)


why should i change? would it be faster in C/C++? would it do more things that it would do with FP?

besides, the beautifull thing about all this GPL thing is, you can see the code, and translate it to C/C++ ... it appears you are very good with them ... anyway, i wanted to know what users wanted from "MAREO 2.0" ... i think the ones using 1x don't care it was writen in Delphi ... they care that it works for them ... so any more *relevant* info?

PS: by the way, did you ever tried Delphi? ... if you did, and liked it, let me tell you, it is pascal ... i just moved to FP, cause this is a very basic, command line tool, and i win nothing by using delphi ... finally, you can check here:, but just in case:

Quote
Readers Choice Award for "The Best Product of 2003"
>>> 01-Mar-04 Poland's "Software 2.0" Magazine Readers Choice Award for "The Best Product of 2003" goes to:
Delphi 7 Studio
Category: Development Environments and Languages

Readers' Choice Awards 2003, Web Services Journal
>>> 25-Feb-04 Delphi 7 Studio was recognized by the readers of Web Services Journal in the Best GUI for a Web Services Product competition. Nominated for it's intuitive interface, Delphi 7 Studio enables the rapid creation of industry standard web services.
The 2003 Readers' Choice Awards, known as "The Oscars of the Software Industry", acknowledge "excellence in software" provided by the industry's top vendors.

Delphi Award Mir PK Global Post
>>> 05-Feb-04 Borland Delphi 7 Studio was announced by Mir PK magazine/PC World as "the Best Development tools" in 2003

Produkt Roku 2003
>>> 04-Feb-04 Delphi 7 was awarded "The Best Developer Tool 2003" in "Product of the Year 2003 Contest" organised by CHIP magazine.

Product of the Year
>>> 23-Jan-03 Delphi 7 Studio wins "Product of the Year" from Czech publication Softwarove noviny. The award marks Delphi Studio as one of the best IT products available on the Czech market. The main parameters for the award are the technical precision, technological innovations and return on investments for customers.

The Reader's Choice Best Product of 2002
>>> 11-Dec-02 For the 4th year in a row, Delphi receives the Best product of 2002 award for the Russian Computer industry. The Reader's Choice award, presented to Borland by Mir PK magazine (PC World/Russia) is for the Development tools category. Delphi received 57.8% of the vote, while #2 Visual Studio.NET received 25.9%.

Premio Info Desenvolvimento 2002 (InfoExame Best Development Tool)
>>> 03-Dec-02 InfoExame Magazine readers have chosen Delphi 6 as the best development tool. at a ceremony held in São Paulo, Brazil. The Info Prize is granted annually for the year’s outstanding products by a jury formed by the magazine readers. In addition to the 2002 award for Delphi 6, Borland Latin America had already been awarded the prize four times in the past. JBuilder was chosen in 2001, and Delphi itself in 2000, 1999, and 1998.

Silver Medal
>>> 01-Dec-02 Swedish computer magazine DatorMagazinet awards Delphi 7 Studio Architect the Silver medal award.

.NET Tool/Add-in of the Year
>>> 01-Dec-02 Due to the big impact Microsoft .NET had on the developer community, this award category was added this year to the developer.com Web site. Among the nine finalists, included Microsoft, Delphi 7 Studio wins. "Borland Delphi 7 Studio has incorporated the ability to develop and migrate Delphi applications to .NET. By using the Delphi compiler, applications can be built using the .NET Framework along with the Delphi language."

Best Development Tool
>>> 19-Nov-02 For the second year in a row, Delphi wins Best Development Tool from PC World, New Zealand

Best and Most Complete Development Environment
>>> 01-Nov-02 PC Magazine Greece: Reader's Choice 2002 Delphi 7 Studio Architect edition awarded as the most Rapid Application Development environment, which provides the most powerful design and deployment tools for Windows and Linux platforms, e-commerce and .NET applications.

Product of the Month
>>> 01-Nov-02 Borland Delphi 7 Studio Architect was awarded product of the month by Softwarove noviny, a Czech IT monthly magazine. The award, "Produkt mesice 11/2002," was received the month of November, 2002.

Technological Innovation
>>> 02-Jul-02 10th anniversary special issue of PC World Magazine Brazil appoints Borland as one of the companies delivering innovative products to the business market. Once again, Delphi 6 was the winner among the development environments that provide greater proximity between the Internet and the B2B environment.

Web Services Journal, First Annual Readers' Choice Awards 2002
>>> 01-Jun-02
* Best Integrated Services Environment, Borland® Delphi™6
* Best Web Services Class Library, Borland® CLX™

Jolt Productivity Award
>>> 20-May-02 Borland received the Jolt Productivity Award in the Best Languages and Development Environment category for rapid application development (RAD) solutions for Windows® and Linux®, Borland® Delphi™ 6 and Kylix™ 2. The Jolt Awards honor products that impress the industry with their significance and bring a "jolt" of productivity to software development managers and their teams

Best Development Tool
>>> 15-Feb-02 New Zealand PC World gives Delphi 6 Readers Choice 2002 Award

PC World Russia - The Best Product of 2000
>>> 27-Feb-01 Delphi wins "The Best Product of 2000" in the category "Development Tools" for Delphi 5 from PC World Russia("Mir PK").

Produkt Roku 2001
>>> 14-Feb-01 Chip Magazine of Poland votes Delphi 6 Product of the Year

Premio Info 2000 Desenvolvimento - Delphi 5
>>> 23-Jan-01 Premio Info 2000 Desenvolvimento - Delphi 5

Produkt Roku 2001 PC World Computer
>>> 10-Jan-01 Delphi wins "The Best Product of 2001" in the category "Development Tools

PC World Poland Product Roku 2001
>>> 01-Jan-01 Delphi wins "The Best Product of 2001" in the category "Development Tools"

Softwarove noviny - Product Mesice
>>> 01-Dec-99 Softwarove noviny - Product Mesice

PC World Belgium - Best Buy
>>> -- PC World Belgium - Best Buy


EDIT: i know C, Pacal, Logo, Lisp, VB, LotusSript, Cobol, and (a little) Java.

MAREO 2.0 Development

Reply #23
Don't misunderstand me, I was just curious.  Some developers I highly respect use Delphi, but it seemed strange that if one was going to abandon Delphi why one would stick with Pascal.  I mean, the reason people use Delphi (as far as I can tell) is because it is a great development environment, not because it is Pascal.

As far as "would it be faster in C/C++," well, I'm not all that big a proponent of making speed my primary yardstick of program goodness, but in this case the answer is "it could be," in the sense that you can get much closer to the metal with C.  I mean, I'd bet a considerable sum that Delphi isn't written in Delphi...

The reason for my original suggestion of C# was that .NET is a very supportive development environment.  I've noticed that my productivity has increased considerably since I began doing most of my work in C#.  The one thing .NET isn't, though, is fast at execution.  Fast at development, yes, fast at runtime, no.

And I'm too much of a smart-aleck to let this go by:
Quote
01-Mar-04 Poland's "Software 2.0" Magazine Readers Choice Award for "The Best Product of 2003" goes to: Delphi 7 Studio
Category: Development Environments and Languages

Sure.  And Jean Claude Van Damm is the champion kickboxer of Belgium.  :-)

-- Rick
------- Rick -------
--------------------

MAREO 2.0 Development

Reply #24
i'm having eye surgery tomorrow, so this is gonna make the development to take a little more ... but i'm still working on it ... i have rewriten many parts internally, and whn done, mareo 2.0 should be better