Roll Eyes
Lips Sealed
<- 123 ->
List results:
Search options:
Use \ before commas in usernames
Edit history:
ballofsnow: 2011-10-01 03:02:31 pm
ballofsnow: 2011-10-01 01:41:16 pm
ballofsnow: 2011-10-01 01:40:03 pm
ballofsnow: 2011-10-01 01:36:27 pm
ballofsnow: 2011-10-01 01:36:05 pm
ballofsnow: 2011-10-01 01:35:37 pm
Looking for solutions...

I can't remember what was wrong with bepipe, but wavi has problems piping straight to neroaacenc (or maybe the fault lies with neroaacenc?), which is why I coded it to create an intermediate wav file. Of course that has its own problems.

Currently looking at the SoundOut plugin which can export different types of audio formats, one being wave 64 (64 bit). Now to figure out how to convert to AAC since NeroAacEnc won't accept non-standard wav pcm..
Edit history:
nate: 2011-10-01 03:16:30 pm
how is faac coming?

i can potentially help compile a binary if that's a problem.
I will look into faac...

Just some notes on SoundOut: it has a flag for overwriting, but specifying "no" will cause it to hang in the background, and not just skip writing the file like I thought it would. There is potential for SoundOut to close prematurely if x264 finishes first and closes the script (probably wouldn't happen, but you never know..). May have to go with a temp script file to run only once, and make sure the script is closed only when the file has been fully created.
If anyone wants to help find a way to convert wave 64 to aac... see attached.
Thanks both of you for looking into this; it's much appreciated.  I just beat my FFX record again today, but I am still not 100% satisfied with it to submit, so you have time Wink
Quote from ballofsnow:
If anyone wants to help find a way to convert wave 64 to aac... see attached.

Responding to myself.. eac3to may work. I was able to convert an 8 hour W64 to NeroAacEnc with nothing cutting out. So it seems this is doable, just need to code it into anri.
Edit history:
nate: 2011-10-01 10:53:22 pm
nate: 2011-10-01 10:52:44 pm
dude, that's awesome. if that tool is reliable then it's just a matter of dumping to wav64 ... how are you planning on doing that?

edit: nm, need to learn to read all of other people's posts ...


1) load segmented source files in avs
2) soundout avs to wav64
3) pipe wav64 through naac?
Edit history:
ballofsnow: 2011-10-01 10:57:59 pm
Reliability.. we'll see. I've become skeptical with bepipe and wavi turning out to be bad solutions.

1) Do a one time SoundOut pass to get the master W64 file
2) Each quality version goes through eac3to -> neroaacenc.

Yeah, pretty much what you said.
Decided not to go with a master wav 64 file, since individual avs files can be manually edited before going through x264.. It'll take a little longer but... oh well.

Should hopefully have something available to download later on. This is what it currently looks like. Wierd progress bar on eac3to, instead of showing a percentage it shows dashes until it gets all the way across the window (about 79/80 chars).

so you're piping multiple waves through to naac?
Edit history:
ballofsnow: 2011-10-10 09:08:50 am
I was going to encode one master w64 file, then each quality version takes that and runs it through eac3to->naac. However, since anri allows you to edit specific avisynth files, there is potential for audio desync. So, for each quality version a w64 file is created, then eac3to->naac. In the end it's not a big deal since SoundOut to w64 is comparatively much faster than encoding the aac file: 1 minute 30 vs 18 minutes on a 12 hour file.

Anyway, see attached and let me know if it works for you guys.

edit- removed attachment
I'm getting this error when it starts to write the wav64 file.

avs2pipe_vs.exe is still running as a process, but it's been stuck like that for at least 12 hours.
Shit, forgot to include soundout plugin files.. durr. Undecided

1. Download this:
2. Extract all files to "C:\Program files (x86)\avisynth2.5\plugins". (exact path might be different)
3. Test on a short clip.
yeah I should have tested on a short clip the first time, lol.

Looks like it is working now.  Now to test on the full file again and see if it gets all the audio.

impossible is nothing.
thanks to both of you for figuring this thing out.  This will make this run much less of a hassle, especially with adding the commentary track to it later.
I think Cosmo might be having the same problem. According to his log file he has a single avi file with 858005 frames, so about 8 hours.

Caracarn, did you have a single large file, or were they split up before going into anri?
Edit history:
Caracarn: 2011-10-05 12:50:34 pm
I have to split the source avis still, otherwise the source will be missing audio before it even gets to the encoding process.  To do that I just selected about 1/3 of the frames in VirtualDub and set it to Direct Stream in the video menu, then saved a new avi, maintaining the same lossless compression. Then repeated for the 2nd and 3rd thirds of the frames.

Would it be possible to make wav64 an option for adding audio commentary as well?  I was considering making a combined game/commentary track, but without wav64 I would have the same problem I was having before.  The commentary track alone is fine though, since I recorded it at lower quality.
Thanks for that info. So it's still a bit of a workaround getting a long run encoded. Maybe there's a solution out there, but at least we have a workaround for now.

Regarding audio commentary, I'll see what I can do...
Edit history:
ballofsnow: 2011-10-05 06:12:05 pm
ballofsnow: 2011-10-05 05:56:15 pm
Cool that Audacity can save w64 files. I wasn't aware that it could and was trying Flac, but apparently their implementation of Flac has a 2 GB limit.

I can open up the audio commentary encoding to accept whatever eac3to can handle:

Supported source formats:
(1) RAW, (L)PCM
(2) WAV (PCM, DTS and AC3), W64, RF64
(3) AC3, E-AC3
(4) DTS, DTS-ES, DTS-96/24, DTS-HD Hi-Res, DTS-HD Master Audio
(5) MP1, MP2, MP3 audio
(6) AAC audio
(7) MLP, TrueHD, TrueHD/AC3
(8) FLAC
(9) EVO/VOB/(M2)TS and MKV

What may be a problem is that eac3to has no profile control with nero. Audio commentary is encoded at 32 kbps, which by default nero will encode using the HE-AAC v2 profile which may have compatibility issues. I experimented with HE-AAC v2 5 years ago, but didn't suggest it to SDA since nothing was being encoded at 32 kbps. Maybe now is a good time? It would sound better than 32 kbps AAC-LC (low complexity).

Nate, what do you think about using HE-AAC v2? Should we do some kind of public test or something?
i'm 90% sure apple doesn't support it. but we should test.

one interesting thing is that afaik you can't play back the commentary track on ipods in the first place, so compatibility is less of an issue there. however if it causes quicktime to reject the file outright then it's a no go (can't get the run onto the ipod in the first place because of a commentary track you can't even play = no). i don't really care about quicktime 7 compatibility since it's deprecated.
Edit history:
ballofsnow: 2011-10-08 07:12:36 pm
ballofsnow: 2011-10-08 02:30:53 pm

If this wiki article is correct, hardware or software that doesn't understand SBR (HE-AAC v1) or SBR+PS (HE-AAC v2) will ignore it and decode only the AAC-LC portion. So at worst, hopefully, the user will still hear audio but at reduced quality. iirc 5 years ago this is what I noticed, that HE-AAC v2 sounded better in some players than others, probably because those weren't decoding the PS part.

Will post a test topic later, anyway. -edit:
Edit history:
ballofsnow: 2011-10-26 08:06:13 pm
New package for the wav64 mod is attached (removed Oct 26, 2011).  This will have better support for long game audio and commentary.

However, Anri will still not properly load large avi files that contain wav/pcm audio greater than 4 GB. I'm not bothered so much by this because really, capture programs should not be writing such large files and instead should be splitting them up.

Caracarn, let me know if there are any issues.