Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th April 2016, 17:58   #1361  |  Link
MCFish
Registered User
 
MCFish's Avatar
 
Join Date: Oct 2002
Location: Norway
Posts: 46
Quote:
Originally Posted by LoRd_MuldeR View Post
You already sent me this exact same screenshot via PM. See my reply. Please don't double-post. Thanks!
Hi i need that answer too. Ive got this error on any multichannel file
__________________
MCFish
MCFish is offline   Reply With Quote
Old 30th April 2016, 18:12   #1362  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by MCFish View Post
Hi i need that answer too. Ive got this error on any multichannel file
Here we go:
Quote:
Originally Posted by LoRd_MuldeR
Quote:
Originally Posted by x265
I got this error when i tried to convert a. dts audio file to aac. What should i do in order to fix this?

http://i.cubeupload.com/JmcNnL.jpg
Hello.

The problem is that the WAV file (decoded from the input DTS) exceeds a size of 4 GB, which is above the WAV format file size limits. There is nothing that can be done about it

Using Wav64 would be an option, if more tools did support it. But they don't. So we are stuck with plain old WAV for now...

BTW:
* http://windows.microsoft.com/en-us/w...#1TC=windows-7
* https://en.wikipedia.org/wiki/Cut,_copy,_and_paste

Regards,
MuldeR
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 30th April 2016, 18:20   #1363  |  Link
MCFish
Registered User
 
MCFish's Avatar
 
Join Date: Oct 2002
Location: Norway
Posts: 46
Ok thanks for quick answer.
But, after i enable qaac in lamexp, qaac encodes the same file with success. Opus encoder still fails. How is that possible?
Tried it twice now, and both success with qaac...
Wav file should still be same size, right?

edit, i saw the 4gb warning in the log....yuck encoded file had a longer playtime...
__________________
MCFish

Last edited by MCFish; 30th April 2016 at 18:30.
MCFish is offline   Reply With Quote
Old 30th April 2016, 19:01   #1364  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
The original WAV format, the one that actually has wide support, is limited to 4 GB. Some implementations are even limited to 2 GB, because they interpret the "size" field as signed (the specs don't say it, but only unsigned makes sense).

Then there are the WAVE64 and RF64 formats: While WAVE64 is a proper extension of the WAV standard to 64-Bit and thus what everybody should be using in an ideal world (but not backwards compatible to original WAV), the RF64 format is pretty much a "dirty" hack to allow more than 4 GB in a single WAV file (note: RF64 is nothing but several standard WAV file structures dumped into one contiguous file) and provides at least some backwards compatibly to original WAV.

Now, what happens when the writing application writes a normal WAV files but the size exceeds 4 GB? Some application just fail. Some create a normal WAV file with more than 4 GB of content, which means you get a non-standard (broken) WAV file. And some switch over from WAV to RF64 "on the fly" when the 4 GB limit is exceeded. At least in the latter case there is a certain chance that the reading application will be able to read the file. But there is no guarantee it will work!

(In the end, WAV files larger than 4 GB are always problematic and things may fail on you randomly)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 30th April 2016 at 22:37.
LoRd_MuldeR is offline   Reply With Quote
Old 30th April 2016, 19:55   #1365  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
Quote:
Originally Posted by LoRd_MuldeR View Post
human wiki
Thanks for the explaination!
It makes so much more sense now.

It's quite hard to keep track of what actually supports w64 formats these days.
Thankfully, eac3to does. Custom builds of SoX. My eyes.
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
Sparktank is offline   Reply With Quote
Old 30th April 2016, 21:59   #1366  |  Link
mariush
Registered User
 
Join Date: Dec 2008
Posts: 589
As a workaround, you may want to try saving to FLAC (lossless, fast compression) to get around the 4 GB limitations of WAV files. Then you can pipe the decoded output from FLAC straight into neroaac or some other audio encoder that supports raw / piped input
mariush is offline   Reply With Quote
Old 1st May 2016, 19:55   #1367  |  Link
MCFish
Registered User
 
MCFish's Avatar
 
Join Date: Oct 2002
Location: Norway
Posts: 46
Thanks you all for explaining and posting suggestions to the wav limitation. Guess i just continue to do doublework in Atak's Ripbot
__________________
MCFish
MCFish is offline   Reply With Quote
Old 2nd May 2016, 06:05   #1368  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
We had this discussion about WAV files > 4GB before in this thread. LoRd_MuldeR made it very clear that he wanted LameXP to be a universal solution, and since other tools used by LXP do not (or only partly) support WAV64 of RF64 there is no way to support the conversion of large multichannel sources.

To me the only workaround was to give up on universality, so I definded some special cases and the corresponding work flows.

Generally the problem occurs for 6-ch (or more than 6) sources with a length of a little over 2 hours. For these cases I needed solutions which did not use intermediate WAV files.

AC3 to AAC:
BeSweet or EAC3To

DTS to AC3 or AAC:
Eac3To

AAC to AC3:
For this I made my own converter which uses FAAD, SoX and Aften. (Neither BeSweet nor Eac3To support AAC input.)
http://forum.doom9.org/showthread.ph...04#post1616904


Of course it can be done differently using FFmpeg (and QAAC with piping).


Cheers
manolito
manolito is offline   Reply With Quote
Old 11th May 2016, 01:25   #1369  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 709
well most tools supports pipe in/out, so maybe using ie sox to do it can be a workaround to feed those tools.

also ffmpeg has its own aac codec, and can be build with libfdk_aac too
__________________
powered by Google Translator

Last edited by Motenai Yoda; 11th May 2016 at 01:30.
Motenai Yoda is offline   Reply With Quote
Old 22nd May 2016, 16:53   #1370  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
LameXP v4.14 Beta-2

Quote:
Changes between v4.13 and v4.14 [unreleased]:
* Upgraded build environment to Microsoft Visual Studio 2015 with Update-2
* Fixed the location of temporary intermediate files for SoX-based audio effects
* Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file
* Enabled the "built-in" resampler for QAAC encoder
* The "Algorithm Quality" slider now also affects the QAAC encoder
* Added "AVX" (Advanced Vector Extensions) to CPU feature detection code
* Updated Opus encoder/decoder libraries to v1.1.2 and Opus-Tools to v0.1.9 (2016-05-22)
* Updated LAME encoder to v3.100 Alpha-2 (2016-01-29), compiled with ICL 15.0 and MSVC 12.0
* Updated MediaInfo to v0.7.85 (2016-04-29), compiled with ICL 15.0 and MSVC 12.0
* Updated QAAC add-in to the to QAAC v2.58 (2016-01-05)
* Updated FhgAacEnc add-in to "Case" edition (2015-10-24)
* Updated ALAC decoder to refalac v1.58 (2016-01-05)
* Improved auto-update function (faster Internet connectivity check)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 21st October 2016 at 21:14.
LoRd_MuldeR is offline   Reply With Quote
Old 18th June 2016, 05:07   #1371  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Hi LordMulder:

In February formatted my pc and 4.13 LameXP had not installed. I switched from avast to avg and now the program only runs disabling the antivirus. If active the antivirus the pc hangs me, not even placing .exe exclusions works.
I like very much this program but clarify that I have no intention of changing AV, sorry. I have WXP SP3.
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 18th June 2016, 05:39   #1372  |  Link
mike20021969
Registered User
 
Join Date: Jul 2007
Location: UK
Posts: 336
Quote:
Originally Posted by GMJCZP View Post
...avg and now the program only runs disabling the antivirus.,.. I have WXP SP3.
I'm running Windows XP SP3 with AVG Free (I'm using the 2012 version as 2013 onwards gave a BSOD EVERY time during install). LameXP even with AVG active works fine. Launches in <5 seconds.
mike20021969 is offline   Reply With Quote
Old 18th June 2016, 05:57   #1373  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Quote:
Originally Posted by mike20021969 View Post
I'm running Windows XP SP3 with AVG Free (I'm using the 2012 version as 2013 onwards gave a BSOD EVERY time during install). LameXP even with AVG active works fine. Launches in <5 seconds.
2012? Why?

I have last version offline updated.
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 18th June 2016, 05:59   #1374  |  Link
mike20021969
Registered User
 
Join Date: Jul 2007
Location: UK
Posts: 336
Quote:
Originally Posted by GMJCZP View Post
2012? Why?
As I said "2013 onwards gave a BSOD EVERY time during install".
mike20021969 is offline   Reply With Quote
Old 18th June 2016, 12:19   #1375  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by GMJCZP View Post
I like very much this program but clarify that I have no intention of changing AV, sorry. I have WXP SP3.
Well, it's your decision to stick with a buggy anti-virus software, even if it means that you cannot use legitimate applications.

Personally, I can not recommend to accept this new form of censorship though.

(Technically there nothing I can do on my side - unless they showed me the exact line of code in my program that justifiably classifies as "malware" behavior - which of course doesn't exist)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 18th June 2016 at 12:29.
LoRd_MuldeR is offline   Reply With Quote
Old 18th June 2016, 14:01   #1376  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
IMHO, change a AV to run a program would put the garbage under the carpet.
If you are interested, Simplex264 serves me right, but by LameXP, spend several times in the Recovery Console with chkdsk /p yesterday was unpleasant.
If the manufacturer does not listen to a client nothing can be done.

It's a shame, because your programs are good. Maybe that's the problem.
__________________
By law and justice!

GMJCZP's Arsenal

Last edited by GMJCZP; 18th June 2016 at 14:17.
GMJCZP is offline   Reply With Quote
Old 18th June 2016, 14:25   #1377  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by GMJCZP View Post
IMHO, change a AV to run a program would put the garbage under the carpet.
In what way ???

The so-called "anti-virus" software blocks a program that, without the slightest doubt, is 100% legitimate (if you want say the opposite, then show me the exact lines of code in my program that unambiguously classify "malware" behavior"), so the bug/problem is in the anti-virus software! Consequently the one and only place where the bug could be fixed is the anti-virus software. Because anti-virus software is a "blackbox" and they keep their algorithms secret, any kind of speculation why anti-virus software XYZ is failing horribly this time is totally pointless. Especially because there is a zillion of anti-virus softwars out there and because their behvious can (and most often will) change with the next update.

NOTE: You have to understand that "FALSE POSITIVES" are an important part of the business model of anti-virus companies. They sell "premium" contracts to the big software companies, so the programs of those companies get "whitelisted" immediately. If there wasn't a sufficiently high probability that 100% legitimate programs get blocked due to "FALSE POSITIVES", then this business model wouldn't work. Of course it means that if you are not one of those big companies, you stuff just gets censored! That's how blackmail works in the 21st century. For independent software developers and smaller companies this has become a HUGE problem. I also work on a couple of commercial projects, so I know what I'm talking about...

(Buying an EV software-signing certificates helps, to some degree, but the price is WAY beyond what I can afford for my hobby projects. Let alone that you need to be a registered business in order to get this kind of certificate)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 18th June 2016 at 14:32.
LoRd_MuldeR is offline   Reply With Quote
Old 18th June 2016, 15:28   #1378  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
In this moment I use AVG free. I don't have internet in my pc, so it's enough for me.
__________________
By law and justice!

GMJCZP's Arsenal

Last edited by GMJCZP; 18th June 2016 at 15:34.
GMJCZP is offline   Reply With Quote
Old 7th July 2016, 15:42   #1379  |  Link
lethedoom
Registered User
 
lethedoom's Avatar
 
Join Date: Dec 2010
Location: california
Posts: 23
Quote:
Originally Posted by GMJCZP View Post
In this moment I use AVG free. I don't have internet in my pc, so it's enough for me.
also,"Hi LordMulder:

In February formatted my pc and 4.13 LameXP had not installed. I switched from avast to avg and now the program only runs disabling the antivirus. If active the antivirus the pc hangs me, not even placing .exe exclusions works.
I like very much this program but clarify that I have no intention of changing AV, sorry. I have WXP SP3.
__________________
By law and justice!

RescueFrame"

http://finance.yahoo.com/news/avast-...063000656.html

What will you do ?

Last edited by lethedoom; 10th July 2016 at 15:29.
lethedoom is offline   Reply With Quote
Old 17th July 2016, 17:36   #1380  |  Link
Randy31416
Registered User
 
Join Date: Jun 2015
Posts: 4
Buglet in file naming in 4.13

4.13 introduced a buglet in file naming that I believe 4.12 did not have. I have the advanced option "Rename Output Files" unchecked (no checkmark) so file names should not be changed. Yet a buch of filenames are changed. All of them end in a period -- file names such as "Maestro E.K.E." or "Wach uff myn Hört etc." that are created by another program reading external sources. The filetype I am using is ".wav", and the files are being converted to ".mp3". When a filename ends in a period, the period is stripped during conversion. So, for example, "M:\Music\For Ellington\Maestro E.K.E..wav" does not become "M:\Music\For Ellington\Maestro E.K.E..mp3" but becomes "M:\Music\For Ellington\Maestro E.K.E.mp3" instead. I do note that double internal spaces are now preserved, but I persist in thinking that not checking "rename output files" should mean that I get out the same name I put in.
Randy31416 is offline   Reply With Quote
Reply

Tags
aac, aotuv, flac, lame, lamexp, mp3, mp4, ogg, oggenc, opus, vorbis

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.