IPB

Welcome Guest ( Log In | Register )

7 Pages V  « < 3 4 5 6 7 >  
Reply to this topicStart new topic
lossyWAV 1.3.0 Delphi to C++ Translation Thread, Added noise linear PCM bitdepth reduction method.
skamp
post Jun 13 2013, 12:43
Post #101





Group: Developer
Posts: 1443
Joined: 4-May 04
From: France
Member No.: 13875



QUOTE (Atak_Snajpera @ Jun 13 2013, 13:33) *
Lossywav now really needs multithreading optimalization.


For now, you can transcode multiple tracks in parallel.


--------------------
See my profile for measurements, tools and recommendations.
Go to the top of the page
+Quote Post
Atak_Snajpera
post Jun 13 2013, 12:45
Post #102





Group: Members
Posts: 28
Joined: 16-August 12
Member No.: 102388



I will be using lossywav ONLY for movie soundtracks.
Go to the top of the page
+Quote Post
Nick.C
post Jun 13 2013, 12:55
Post #103


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



QUOTE (Atak_Snajpera @ Jun 13 2013, 12:33) *
Btw What exactly .dll does lossywav need to use FFTW? libfftw3-3.dll , libfftw3f-3.dll or libfftw3l-3.dll ?
libfftw3-3.dll (double precision).

QUOTE (Atak_Snajpera @ Jun 13 2013, 12:33) *
One more thing. You forgot to include pthreadGC2.dll in package.
I will remove the dependency on it (multi-threading on hold at the moment).

This post has been edited by Nick.C: Jun 13 2013, 12:59


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
Atak_Snajpera
post Jun 13 2013, 13:05
Post #104





Group: Members
Posts: 28
Joined: 16-August 12
Member No.: 102388



QUOTE
I will remove the dependency on it (multi-threading on hold at the moment).

So I guess I will have to find a workaround for this . I'm thinking about using --skip and --until options in flac decoder. The idea is to run four tasks at the same time and each task (FLAC -> lossywav -> FLAC) will encode it's own chunk.

example
CODE
flac.exe -d "E:\Avatar.2009.BluRay.REMUX.1080p.AVC.DTS-HD.MA5.1.flac" --skip 0 --until 1000 --force-wave64-format --stdout --silent | lossywav - --stdout | flac - -b 512 -8 --silent -o "C:\chunk1.flac"


CODE
flac.exe -d "E:\Avatar.2009.BluRay.REMUX.1080p.AVC.DTS-HD.MA5.1.flac" --skip 1001 --until 2000 --force-wave64-format --stdout --silent | lossywav - --stdout | flac - -b 512 -8 --silent -o "C:\chunk2.flac"


and so on. Do you know maybe how to determine number of samples in flac file and also how to properly combine all chunks in one flac file?

This post has been edited by Atak_Snajpera: Jun 13 2013, 13:18
Go to the top of the page
+Quote Post
Nick.C
post Jun 13 2013, 13:14
Post #105


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



Number of samples = Duration * Sample-Rate. Use metaflac --show-sample-rate to output the sample-rate of the file and --show-total-samples for total number of samples.

You can specify an exact sample reference for both --skip and --until. Sample reference should be an exact multiple of the lossyWAV block size corresponding to the sample rate of the audio. If in doubt, use a multiple of 4096;

Please ensure that the value used in conjunction with "-b" (512 in this case) is appropriate for the sample-rate of the audio. 512 for 25.6kHz <= f < 51.2kHz; 1024 for 51.2kHz <= f < 102.4kHz, etc (up to 4096);

There must be a way to join FLAC files together in this manner.... (I believe that shntool can achieve this (although not sure if it is compatible with WAVE64)).

[edits]

[more edits] 8192 should have been 4096.

This post has been edited by Nick.C: Jun 18 2013, 21:14


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
Atak_Snajpera
post Jun 13 2013, 13:34
Post #106





Group: Members
Posts: 28
Joined: 16-August 12
Member No.: 102388



Ok thanks for help ! smile.gif
Go to the top of the page
+Quote Post
skamp
post Jun 13 2013, 15:10
Post #107





Group: Developer
Posts: 1443
Joined: 4-May 04
From: France
Member No.: 13875



QUOTE (Nick.C @ Jun 13 2013, 14:14) *
There must be a way to join FLAC files together in this manner.... (I believe that shntool can achieve this (although not sure if it is compatible with WAVE64)).


With FLAC, I do something like this:

CODE
flac -d -c --force-raw-format --endian=little --sign=signed *.flac | flac -s -o 'album.flac' -P 8192 --best --endian=little --sign=signed --channels=2 --bps=16 --sample-rate=44100 -


--------------------
See my profile for measurements, tools and recommendations.
Go to the top of the page
+Quote Post
Atak_Snajpera
post Jun 14 2013, 00:15
Post #108





Group: Members
Posts: 28
Joined: 16-August 12
Member No.: 102388



so far i could not find tool which could merge flacs without re-encoding process. it really sucks that ogg vorbis can be easly losslessly splited/joined but not lossless flac format.

i still have last crazy idea. muxing flacs into .mka using mkvtoolnix and then demuxing back to .flac
Go to the top of the page
+Quote Post
Nick.C
post Jun 18 2013, 21:14
Post #109


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



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


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
Nick.C
post Jun 20 2013, 20:26
Post #110


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



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


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
Musique-Rabbit
post Aug 3 2013, 15:42
Post #111





Group: Members
Posts: 40
Joined: 1-March 06
Member No.: 28173



QUOTE (Nick.C @ Jun 21 2013, 03:26) *
lossyWAV beta 1.3.1b attached to post #1 in this thread.


I just found out that my foobar2000 v1.2.9 stops working for this version. It used to work fine.

Please help, anyone?

The parameters are:
CODE
C:\Windows\System32\cmd.exe /d /c lossyWAV.exe - --quality standard --silent --stdout|flac.exe - -b 512 -5 -f -o%d --ignore-chunk-sizes

Go to the top of the page
+Quote Post
Nick.C
post Aug 3 2013, 19:26
Post #112


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



Many thanks for the bug report. Did beta 1.3.1b function correctly with foobar2000 v1.2.8? (I upgraded to check your report and now cannot downgrade).

I will attempt to determine what has changed and create a fix.

Thanks again,

Nick.


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
Hex144
post Aug 4 2013, 08:38
Post #113





Group: Members
Posts: 28
Joined: 13-February 13
Member No.: 106615



Just attempted to run 1.3.1b and got:

CODE
%lossyWAV Error%: Program has reached expiry date.
Please contact Nick.C for a new version.

What is this?
Doesn't happen with Delphi 1.3.0

PS: Maybe it's the same issue with Musique-Rabbit?

This post has been edited by Hex144: Aug 4 2013, 08:49
Go to the top of the page
+Quote Post
Nick.C
post Aug 4 2013, 22:45
Post #114


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



QUOTE (Hex144 @ Aug 4 2013, 08:38) *
What is this?
Doesn't happen with Delphi 1.3.0

PS: Maybe it's the same issue with Musique-Rabbit?

It probably is - my mistake. Thanks for posting the finding.

I have introduced a drop-dead-date for beta versions so that versions with potential errors in the method will expire over time.

lossyWAV beta 1.3.1c attached to post #1 of this thread.


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
Musique-Rabbit
post Aug 5 2013, 02:24
Post #115





Group: Members
Posts: 40
Joined: 1-March 06
Member No.: 28173



QUOTE (Nick.C @ Aug 5 2013, 05:45) *
[lossyWAV beta 1.3.1c attached to post #1 of this thread.

Yes, it works again.

Thanks, Nick.
Go to the top of the page
+Quote Post
Nick.C
post Sep 15 2013, 11:17
Post #116


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



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


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
Nick.C
post Oct 7 2013, 21:44
Post #117


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



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


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
akin0780
post Oct 13 2013, 02:06
Post #118





Group: Members
Posts: 25
Joined: 25-September 13
From: Vancouver, CA
Member No.: 110332



QUOTE (Nick.C @ Oct 7 2013, 12:44) *
lossyWAV beta 1.3.1e attached to post #1 in this thread.


Hey Nick,

Unfortunately, the latest version of lossyWAV seems to be faulty. It just won't work for some reason. Can you check it out when you have the time.

Thanks. Great job by the way.

Alex


--------------------
lossyWAV -q H | FLAC -5 ~= 480kbps
Go to the top of the page
+Quote Post
Nick.C
post Oct 13 2013, 12:52
Post #119


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



Thanks for the report Alex.

Can you provide a little more detail as to the nature of the error?

Thanks.

Nick.


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
akin0780
post Oct 13 2013, 15:10
Post #120





Group: Members
Posts: 25
Joined: 25-September 13
From: Vancouver, CA
Member No.: 110332



QUOTE (Nick.C @ Oct 13 2013, 03:52) *
Thanks for the report Alex.

Can you provide a little more detail as to the nature of the error?

Thanks.

Nick.



Sure, Nick. The converter status report from Foobar 2000 is below. Please note that 1.3.1.4 works perfectly with the normal parameters (I use --quality high).

Alex


1 out of 1 tracks converted with major problems.

Source: "C:\Users\Alex Akin\Music\Main\Elbow\Asleep In The Back\01 Elbow - Any Day Now.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\Downloads\Portable Music\Elbow\Asleep In The Back\01 Elbow - Any Day Now.lossy.flac"
Additional information:
Encoder stream format: 44100Hz / 2ch / 16bps
Command line: "C:\Windows\System32\cmd.exe" /d /c C:\"Program Files"\bin\lossywav - --quality high --silent --stdout|C:\"Program Files"\bin\flac - -b 512 -5 -f -o"01 Elbow - Any Day Now.lossy.flac" --ignore-chunk-sizes
Working folder: C:\Users\Alex Akin\Downloads\Portable Music\Elbow\Asleep In The Back\

Conversion failed: The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters


--------------------
lossyWAV -q H | FLAC -5 ~= 480kbps
Go to the top of the page
+Quote Post
Nick.C
post Oct 13 2013, 21:41
Post #121


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



QUOTE (akin0780 @ Oct 13 2013, 15:10) *
Sure, Nick. The converter status report from Foobar 2000 is below. Please note that 1.3.1.4 works perfectly with the normal parameters (I use --quality high).

Alex

I tried to emulate the error with no success. It could be down any of the following (as well as being a bug in lossyWAV that has before now not deigned to rear its head):

1) No space left on drive C;
2) System date incorrectly set;
3) Either lossyWAV.exe or FLAC.exe missing from directory pointed to in command line.

Another possibility - have you tried any other tracks, and if so have you had any success with them? During the development of adaptive noise shaping, there were three John Lennon tracks from Imagine that caused a divide by zero error in the Levinson algorithm when creating the noise shaping filter and this only showed up during a mass test encode.


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
akin0780
post Oct 13 2013, 21:57
Post #122





Group: Members
Posts: 25
Joined: 25-September 13
From: Vancouver, CA
Member No.: 110332



It's baffling. Like I said previously, only version 1.3.1.5 isn't behaving. Version 1.3.1.4 does the job smoothly, without breaking a sweat.

I've tried a range of tracks just to pinpoint the problem - all to no avail. I can confirm that there's abundant space left on drive C; system date is correct; and both lossyWAV.exe and FLAC.exe were present in folder "bin" in Program Files.


--------------------
lossyWAV -q H | FLAC -5 ~= 480kbps
Go to the top of the page
+Quote Post
Nick.C
post Oct 13 2013, 22:00
Post #123


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



Thanks again Alex. I'll break out the bug-hunting gear and make a start.

I may be some time....


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
Nick.C
post Oct 15 2013, 20:08
Post #124


lossyWAV Developer


Group: Developer
Posts: 1791
Joined: 11-April 07
From: Wherever here is
Member No.: 42400



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


--------------------
lossyWAV -q X -a 4 --feedback 4| FLAC -8 ~= 320kbps
Go to the top of the page
+Quote Post
akin0780
post Nov 8 2013, 16:14
Post #125





Group: Members
Posts: 25
Joined: 25-September 13
From: Vancouver, CA
Member No.: 110332



QUOTE (Nick.C @ Oct 15 2013, 11:08) *
lossyWAV beta 1.3.1f attached to post #1 in this thread.


Hello Nick,

I still haven't been able to get the latest beta version of LossyWav 1.3.1 to work on any of my systems (Windows 8 and 7 respectively). Same error as the last version.

Can you confirm that the following parameters still apply:

/d /c C:\"Program Files"\bin\lossywav - --quality standard --silent --stdout|C:\"Program Files"\bin\flac - -b 512 -5 -f -o%d --ignore-chunk-sizes

Thanks,

Alex


--------------------
lossyWAV -q H | FLAC -5 ~= 480kbps
Go to the top of the page
+Quote Post

7 Pages V  « < 3 4 5 6 7 >
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: 19th September 2014 - 17:46