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. |
|
|
Thread Tools | Search this Thread | Display Modes |
5th May 2006, 11:40 | #81 | Link | |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
Code:
readWavHeaderFromStdIn(); int64 sampleCount = getInt64ArgumentFromCommandLine("sampleCount") Initialize1stPassEncoder(); for(i=0;i<sampleCount;i++) { readSampleFromStdInAndFeedItTo1stPassEncoder() } Finalize1stPassEncoder(); Initialize2ndPassEncoder(); for(i=0;i<sampleCount;i++) { readSampleFromStdInAndFeedItTo2ndPassEncoder() } Finalize2ndPassEncoder();
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS |
|
5th May 2006, 11:46 | #82 | Link | |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS |
|
5th May 2006, 11:56 | #83 | Link |
Registered User
Join Date: Jan 2006
Posts: 137
|
I have problem with behappy when I try to encode ac3 file (using nicaudio plugin from behappy site) to ND AAC CBR @ 224 kbps it fails on me with this log
nero encoder and decoder are in same dir as BeHappy Code:
Starting job King Kong T01 3_2ch 448Kbps DELAY 0ms.ac3->audio.m4a Found Audio Stream Channels=6, BitsPerSample=16, SampleRate=48000Hz neroAacEnc.exe -cbr 224000 -ignorelength -if - -of "D:\Moje wideo\DVD\King Kong\audio.m4a" Writing RIFF header to encoder's StdIn Writing PCM data to encoder's StdIn Error: System.IO.IOException: Potok został zakończony. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count) at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count) at BeHappy.Encoder.encode() #### Encoder StdOut #### ERROR: could not parse WAV file #### Encoder StdErr #### ************************************************************* * * * Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder * * Copyright (C) 2006 Nero AG * * All Rights Reserved Worldwide * * * * Package build date: May 1 2006 * * * * See -help for a complete list of available parameters. * * * *************************************************************
__________________
I'm sick of following my dreams. I'm just going to ask them where they're goin', and hook up with them later. ---Mitch Hedberg |
5th May 2006, 12:09 | #84 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
woot woot!
thanks!
__________________
Detritus Software |
5th May 2006, 12:12 | #85 | Link | |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
Ivan, can You check it or at least provide binary wich produce additional diagnostic output (not only "could not parse WAV file") Add: this is some code wich I'm using to create WAV header: http://forum.doom9.org/showthread.ph...659#post758659 take look @ FAAD_MAGIC_VALUE usage. Maybe it's a reason (according source filename "King Kong T01 3_2ch 448Kbps DELAY 0ms.ac3" I think it produce WAV > 4GB so 0xFFFFFF00 is used instead actual data size).
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS Last edited by dimzon; 5th May 2006 at 12:21. |
|
5th May 2006, 12:20 | #87 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
Added on digg:
http://www.digg.com/technology/Nero_...d_Line_Encoder @Ivan Dimkovic I used a bit of your first post
__________________
Detritus Software |
5th May 2006, 12:23 | #88 | Link | |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
I beleive reason is bcz uncompressed ac3 file is bigger than 4GB! This is the problem for the wav limit 4 GB. And 2 GB limit is for soft using 'signed long int' for these fields. The faad decoder (aac) can generate 'invalid' wav's > 4 GB, and fill these fields (RiffLength and DataLength) with 0xFFFFFF00. Foobar also make 'invalid' wav's > 4 GB, and fill these fields with the 4 low order bytes. I prefer the faad method (0xFFFFFF00) because Foobar method can be confused with valid fields.
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS Last edited by dimzon; 5th May 2006 at 12:26. |
|
5th May 2006, 12:35 | #89 | Link | |
Registered User
Join Date: Jan 2006
Posts: 137
|
Quote:
__________________
I'm sick of following my dreams. I'm just going to ask them where they're goin', and hook up with them later. ---Mitch Hedberg |
|
5th May 2006, 13:01 | #91 | Link | |
Registered User
Join Date: Jan 2006
Posts: 137
|
Quote:
I just made a test just for fun with this command line Code:
"C:\Program Files\Moje Programy\AAC nero\neroAacEnc.exe" -br 224000 -2pass -ignorelength -if "D:\Moje wideo\DVD\King Kong\King Kong T01 3_2ch 448Kbps DELAY 0ms.wav" -of "D:\Moje wideo\DVD\King Kong\King Kong T01 3_2ch 448Kbps DELAY 0ms.m4v" sidenote (I renamed sse2 version to not sse2 version name to not need to change all settings I made in foobar2000)
__________________
I'm sick of following my dreams. I'm just going to ask them where they're goin', and hook up with them later. ---Mitch Hedberg Last edited by GmorG McRoth; 5th May 2006 at 13:08. |
|
5th May 2006, 13:12 | #93 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
could be possible to implement direct ac3 input support ?
BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
5th May 2006, 13:15 | #94 | Link | |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
Code:
neroAacEnc.exe -cbr 224000 -ignorelength -if - -of "D:\Moje wideo\DVD\King Kong\audio.m4a"
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS |
|
5th May 2006, 13:17 | #95 | Link | |
Registered User
Join Date: Feb 2003
Posts: 67
|
Quote:
@Dimzon, thx - I informed the engineers about this problem. |
|
5th May 2006, 13:25 | #96 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
Great work Ivan!
Nice to see Nero is still a friendly company
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
5th May 2006, 13:25 | #97 | Link | |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
or (if You need 100% CLI solution) pipeline decoding via ffmpeg to neroaacenc
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS |
|
5th May 2006, 14:30 | #98 | Link | |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
thanks to both Ivan and Dimzon
Quote:
BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
|
5th May 2006, 14:46 | #99 | Link | |||
nobody's nobody
Join Date: Mar 2005
Location: The Sun, somewhere around
Posts: 553
|
Quote:
For a temporary gui integration work around, foobar2k's %s(instead of -) input file definition for the cli encoding(-br 128000 -2pass -if %s -of %d) will use a temporary wav in the destination folder, which would be a lot faster if you can use the ram disk large enough depending on the available extra ram(the virtual memory use would be a lot smoother though). Quote:
As both quality based & bitrate based options are widely used for VBR(ie. vorbis, lame...). The difference between the ABR and VBR for the bitrate based option seems to be lying in the segment/period size(samples/ms). Also check, the CBR for AAC seems to be natively ABR(nSamples for the unit segment), which can be verified watching the dynamic bit rate status within the foobar2k or ffdshow. Any inputs?
__________________
u know everything in the end, or now if aligned... no right(x).right(y) pls. it's confusing... : phase-shift /Jun.2006 |
|||
5th May 2006, 14:49 | #100 | Link | |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS |
|
|
|