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 |
18th July 2006, 11:27 | #341 | Link | |
Registered User
Join Date: Jun 2006
Posts: 19
|
I re-installed Avisynth and restarted. I get the same error. I exported the script.
Quote:
|
|
18th July 2006, 15:03 | #342 | Link |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Robot
Wich OS did You use? Are you able to play obtained script via mplayerc?
__________________
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 |
19th July 2006, 01:00 | #346 | 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 |
|
19th July 2006, 01:05 | #347 | Link |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Aften support (not tested yet, please report)
__________________
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 |
19th July 2006, 06:02 | #348 | Link | |
Registered User
Join Date: Jun 2006
Posts: 19
|
I'm lost. No matter what I do, I get this error:
Quote:
|
|
19th July 2006, 11:03 | #351 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Code:
Starting job Bueno.wav->Bueno_t2.ac3 Found Audio Stream Channels=6, BitsPerSample=16, SampleRate=48000Hz Aften.exe -v 0 -b 448 -m 1 -s 0 -cmix 1 -smix 2 -dsur 0 -dnorm 26 - "D:\Internet\AudioTest\aften\Bueno_t2.ac3" Writing RIFF header to encoder's StdIn Writing PCM data to encoder's StdIn Error: System.IO.IOException: Edit: Valid values for bitrate only exact: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, 640 Kb/s Last edited by tebasuna51; 19th July 2006 at 11:15. |
|
19th July 2006, 12:02 | #352 | 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 |
|
19th July 2006, 18:22 | #353 | Link |
Registered User
Join Date: Sep 2004
Posts: 40
|
Is there a way to run BeHappy with commandline parameters or run FFmpeg with AviSynth without Behappy?
Don't get me wrong, Behappy does exacty what I need, but I'm creating a frontend for AVI to DVD and FFmpeg can't encode 5.1 channels correctly just by itself. If I have to use BeHappy to do the work, then it's going to take tons of 'SendKeys' to control it. I thought I had figured it out with FFmpeg, but I don't. If I encode 5.1 channel 448kbps AC3 to 5.1 channel 384kbps AC3, then the center channel is moved to the front right channel. What is BeHappy exactly doing to keep all the channels correct? I know it's using FFmpeg and AviSynth, but how is FFmpeg executed with the script to keep the channels in the correct place? This is the AviSynth script Behappy gives me. Code:
######################################## #Created by BeHappy v0.1.8.35345 #Creation timestamp: 19-7-2006 18:20:49 ######################################## #Source FileName:D:\TestAudio.ac3 #Target FileName:D:\TestAudioEncoded.ac3 ######################################## ######################################## # [Source: NicAc3Source] ######################################## NicAc3Source("D:\TestAudio.ac3") EnsureVBRMP3Sync() # Some black magic to avoid desync ######################################## # [Encoder: ffmpeg AC3 @ 384 kbps] ######################################## 6==Audiochannels(last)?GetChannel(last,1,3,2,5,6,4):last |
19th July 2006, 19:58 | #354 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Last line, if there are 6 channels, re-order the channels from (L,R,C,LFE,SL,SR) to (L,C,R,SL,SR,LFE) You can use Bepipe instead BeHappy with this command line: Code:
Bepipe --script "NicAc3Source(^D:\TestAudio.ac3^).GetChannel(1,3,2,5,6,4)" | ffmpeg -i - -y -acodec ac3 -ab 384 "D:\TestAudioEncoded.ac3" Code:
Bepipe --script "NicAc3Source(^D:\TestAudio.ac3^)" | Aften -b 384000 - "D:\TestAudioEncoded.ac3" Last edited by tebasuna51; 19th July 2006 at 20:02. |
|
22nd July 2006, 20:31 | #356 | Link | ||
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Quote:
Dimzon, Thanks in advance. Quote:
Valid values in what sense? Regarding Dolby specs? or non-compliant for soft players? SAP players? I would like to DRC/Normalize AC3-6ch with a lower bitrate than original; ie: 352 or 288 ...actually limited to 320 or 256 with ffmpeg ...? Thanks for the info. Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
||
22nd July 2006, 21:07 | #357 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
@BigDid, bitrate must be discrete values, see 5.4.1.4 frmsizecod and Table 5.18 at: ATSC Standard: Digital Audio Compression (AC-3), Revision A
Edit: Each ac3 frame (32 msec. if 48 KHz) must have a discrete value, the VBR method is obtained with different bitrate frames. This method is not well supported. Last edited by tebasuna51; 22nd July 2006 at 21:19. |
22nd July 2006, 22:39 | #358 | Link | ||
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Quote:
Quote:
Is it correct? BTW I was speaking of CBR, not VBR but I suppose same conclusions applies. Sorry to be dumb but I am not so... performant in audio matters Thanks. Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
||
26th July 2006, 03:38 | #359 | Link |
Registered User
Join Date: Dec 2002
Posts: 218
|
I was wondering if anyone has achieved good results when converting from 6ch AAC to 6ch AC3 using BeHappy?
I converted my AAC file to a 6ch WAV file using audio2wav. Right now, I'm pondering whether I should add BeHappy's Digital Signal Processing. If I keep to the original, it won't change a thing and directly convert that to AC3 am I right? |
26th July 2006, 12:35 | #360 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Quote:
If you use faad decoder (audio2wav) the 6ch wav (with WAVE_FORMAT_EXTENSIBLE header) can be converted directly to ac3 with Aften encoder. If you want open the 6ch wav in BeHappy you need BassAudio because WAVE_FORMAT_EXTENSIBLE header. Last edited by tebasuna51; 26th July 2006 at 12:41. |
||
Tags |
behappy |
Thread Tools | Search this Thread |
Display Modes | |
|
|