Skip to main content

Topic: lossyWAV 1.3.0 Delphi to C++ Translation Thread (Read 117525 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Nick.C
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #150
I keep my encoders in a specific directory ("K:\UserData\BIN\") that is unrelated to any programs that may use them.

This directory is added to the path:



and my foobar2000 converter command includes no paths to the executables, just the executable names themselves:

Code: [Select]
/d /c lossywav - --stdinname %d -F -p -w -W 127 -q X --silent --stdout|flac - --silent -b 512 -8 -o%d --ignore-chunk-sizes


So, there is no requirement for a specific directory, simply care taken when specifying the path to executables (if necessary....).
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

  • weepy
  • [*]
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #151
Hi there - wonderful project,

I was wondering if it was ever going to be possible to get a LINUX/MAC compilable version of lossyWAV ?

Perhaps this is something to do with the port to C from Delphi ?

Cheers

  • Nick.C
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #152
Hi weepy,

It should be - when version 1.4.0 is released, I will simultaneously release the source code. My plan is to update the Sourceforge project at the same time. Someone with the inclination and time could then modify the windows oriented elements of the code to be linux friendly.

Nick.
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

  • darkbyte
  • [*][*][*]
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #153
Did anyone do comparison between the old extraportable and the new extraportable (with feedback) setting?
I wonder if i should upgrade my LossyWAV to this new version or it's more safe to use the older version with the extraportable setting? Will i get anything in benefit? Faster encoding speed or smaller target file size?
I should say that the older extraportable setting is already very good for me. I've tried to ABX it agasint the original FLAC earlier but it was so hard for me that i eventually gave up
  • Last Edit: 19 January, 2014, 07:33:31 AM by darkbyte
WavPack -b4x4hc
Opus --cvbr --bitrate 256 --framesize 5

  • Nick.C
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #154
lossyWAV beta 1.3.1h attached to post #1 in this thread.

N.B. beta 1.3.1g will expire today.
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

  • Nick.C
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #155
lossyWAV beta 1.3.1j attached to post #1 in this thread.

N.B. beta 1.3.1h will expire today.
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

  • akin0780
  • [*]
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #156
lossyWAV beta 1.3.1j attached to post #1 in this thread.

N.B. beta 1.3.1h will expire today.

Nick,

I'm getting the following error code with the newest version of lossyWAV:

Code: [Select]
1 out of 2 tracks converted with major problems.

Source: "C:\Users\Alex Akin\Music\Main\Palms\Palms\01 - Future Warrior.flac"
  An error occurred while writing to file (The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters) : "C:\Users\Alex Akin\Portable\Palms\Palms\01 - Future Warrior.lossy.flac"
  Additional information:
  Encoder stream format: 44100Hz / 2ch / 16bps
  Command line: "C:\Windows\System32\cmd.exe" /d /c C:\foobar2000\lossywav.exe - -q 5 --silent --stdout|C:\foobar2000\flac.exe - -b 512 -5 -f -o"01 - Future Warrior.lossy.flac" --ignore-chunk-sizes
  Working folder: C:\Users\Alex Akin\Portable\Palms\Palms\
 
  Conversion failed: The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters
Skipped: "C:\Users\Alex Akin\Music\Main\Palms\Palms\folder.jpg"

Version 1.3.1.8 worked just fine with the same parameters.

Alex
lossyWAV -q H | FLAC -5 ~= 480kbps
QAAC 320kbps

lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #157
Problem using with Foorbar2000; was good before this revision.

  • skamp
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #158
Also failing here with Wine:

Code: [Select]
Unhandled exception: illegal instruction in 32-bit code (0x0043b74a).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0043b74a ESP:00e0fb10 EBP:00000004 EFLAGS:00010202(  R- --  I  - - - )
 EAX:00000001 EBX:00ae2620 ECX:00ae1e10 EDX:00ae1e10
 ESI:00000005 EDI:0000002d
Stack dump:
0x00e0fb10:  00118de0 00a18600 00a18600 4027e3cb
0x00e0fb20:  00000069 00e0fb40 00000015 3fe00000
0x00e0fb30:  00000040 411d5d83 00a7d980 40d58880
0x00e0fb40:  0000002d 40d38800 0000002b 3ff00000
0x00e0fb50:  dacbc001 3fd88b24 00000002 bf62eb8c
0x00e0fb60:  00000000 40458880 0000002a 00000200
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x0043b74a in lossywav (+0x3b74a) (0x00000004)
0x0043b74a: lesl %ebx,%esp
Modules:
Module Address Debug info Name (17 modules)
PE   400000-  c04000 Export          lossywav
PE 70680000-70860000 Deferred        libfftw3-3
ELF 7b800000-7ba5d000 Deferred        kernel32<elf>
  \-PE 7b810000-7ba5d000 \              kernel32
ELF 7bc00000-7bce4000 Deferred        ntdll<elf>
  \-PE 7bc10000-7bce4000 \              ntdll
ELF 7bf00000-7bf04000 Deferred        <wine-loader>
ELF 7ed5d000-7ee08000 Deferred        msvcrt<elf>
  \-PE 7ed70000-7ee08000 \              msvcrt
ELF 7ef93000-7efd9000 Deferred        libm.so.6
ELF f7392000-f7397000 Deferred        libdl.so.2
ELF f73b1000-f73be000 Deferred        libnss_files.so.2
ELF f73be000-f756b000 Deferred        libc.so.6
ELF f756b000-f7587000 Deferred        libpthread.so.0
ELF f7587000-f773e000 Dwarf          libwine.so.1
ELF f773f000-f7761000 Deferred        ld-linux.so.2
ELF f7761000-f7762000 Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\windows\lossyWAV.exe
00000009    0 <==
0000000e services.exe
0000001d    0
0000001c    0
00000016    0
00000014    0
00000010    0
0000000f    0
00000012 winedevice.exe
0000001b    0
00000018    0
00000017    0
00000013    0
00000019 plugplay.exe
0000001f    0
0000001e    0
0000001a    0
00000022 explorer.exe
00000023    0
System information:
   Wine build: wine-1.7.15
   Platform: i386
   Host system: Linux
   Host version: 3.13.7-1-ARCH

See my profile for measurements, tools and recommendations.

  • Nick.C
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #159
Apologies - bug hunting commences.

.... and concluded. Amended version now available from first post in the thread as usual. Again, apologies for the crashes.
  • Last Edit: 01 April, 2014, 02:27:55 AM by Nick.C
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #160
Thanks, Nick. All goes well now.
  • Last Edit: 01 April, 2014, 02:33:14 AM by Musique-Rabbit

  • skamp
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #161
That was fast! Thanks
See my profile for measurements, tools and recommendations.

  • akin0780
  • [*]
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #162
Apologies - bug hunting commences.

.... and concluded. Amended version now available from first post in the thread as usual. Again, apologies for the crashes.


Great job, Nick!
lossyWAV -q H | FLAC -5 ~= 480kbps
QAAC 320kbps

  • skamp
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #163
Thanks again for your continued efforts. LossyFLAC is the perfect companion to my Rockboxed iPod Classic
See my profile for measurements, tools and recommendations.

  • Nick.C
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #164
lossyWAV beta 1.3.1k attached to post #1 in this thread.

N.B. beta 1.3.1j/j2 expired on the 31st May.
  • Last Edit: 02 June, 2014, 02:18:54 AM by Nick.C
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

  • skamp
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #165
Was waiting for it, thanks! I had to set the date on my computer 24h in the past in order to encode a new album yesterday. I hope we'll get to see a stable release soon!
See my profile for measurements, tools and recommendations.

  • Nick.C
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #166
Was waiting for it, thanks! I had to set the date on my computer 24h in the past in order to encode a new album yesterday. I hope we'll get to see a stable release soon!


Sorry for the inconvenience    - I will endeavour to release 1.4.0 (and source) on or before the expiry date of beta 1.3.1k.
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #167
Nick, time to update the baby. 

Thanks.

lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #168
Nick,

LossyWAV stops working by the end of July. Any update for new deadline?

Thanks.

  • Nick.C
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #169
Apologies - out of town without laptop or source....

lossyWAV beta 1.3.1m attached to post #1 in this thread.

Expiry date now 30th September 2014.
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

  • skamp
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #170
Would be fun to attach the correction data to the *.lossy.flac file, in a METADATA_BLOCK_APPLICATION maybe? With transcoding software that would both:

  • make use of the correction data for lossless transcoding, if present;
  • and create a copy of the *.lossy.flac file without the correction data (fast operation for transfers to a DAP). FLAC Hybrid, in a single file.
See my profile for measurements, tools and recommendations.

lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #171
Would be fun to attach the correction data to the *.lossy.flac file, in a METADATA_BLOCK_APPLICATION maybe?

That would be pointless. The .lossy.flac file together with correction data would not be smaller than the lossless .flac (in fact, it would usually be somewhat bigger). So if a lossless copy/transmission is required, it would be better to just use the lossless .flac.

  • skamp
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #172
I will endeavour to release 1.4.0 (and source) on or before the expiry date of beta 1.3.1k.


Any news about a 1.4.0 "stable" release? And, will it compile on Linux?
See my profile for measurements, tools and recommendations.

  • Nick.C
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #173
Hi skamp,

I suspect that the source as it is will not compile on Linux.

As there have been no problem reports with recent beta 1.3.1 releases, I just have to take one last look at the code before releasing version 1.4.0.

Hopefully this will be timed to coincide with the expiry of the latest beta at the end of the month.

Nick.
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

  • skamp
  • [*][*][*][*][*]
  • Developer
lossyWAV 1.3.0 Delphi to C++ Translation Thread
Reply #174
Code: [Select]
%lossyWAV Error%: lossyWAV beta version has reached expiry date.


*wink*
*wink*
See my profile for measurements, tools and recommendations.