Log in

View Full Version : D2S with 2 audio tracks,one AC3-5.1,another AC3-2Ch


raquete
3rd November 2005, 22:06
idea to use 2 audio tracks when the second is AC3-5.1
and you want more bitrate to encode the video file.
(if the second track is not so important as the first.)
the first track stay just like BeSweet extracted or encoded,the second will be encoded in AC3-2Ch.

was used HeadAC3he_0.24a13 (http://www.ligh.de/software/HeadAC3he_0.24a13.rar) to encode the second audiotrack AC3-5.1 to the new AC3-2Ch.

1) we need 2 .bat files,one when the audio is only extracted,
another when is extracted and encoded.
copy this lines,edit the paths to D2S "Default output folder" and HeadAC3he.exe location.

A - for audio extracted:
@ echo on
rem audio was only extracted and not encoded

"?:\HeadAC3he_0.24a13\HeadAC3he.exe"

rename ?:\??\Extracted_audio_2.ac3 Extracted_audio_2old.ac3
rename ?:\??\Extracted_audio_2.2.ac3 Extracted_audio_2.ac3
save as Extracted.bat

B - for audio extracted and encoded:
@ echo on
rem if the audio was extracted and encoded

rename ?:\???\Encoded_audio_2.ac3 Encoded_audio_2old.ac3
rename ?:\???\Encoded_audio_2.log Encoded_audio_2old.log

"?:\HeadAC3he\HeadAC3he.exe"

rename ?:\??\Extracted_audio_2.2.ac3 Extracted_audio_2.ac3
save as Encoded.bat


starting D2S:
2) run D2SRoba (GO!)

3) adjusts in D2S:

Conversation tab = load your .IFO file and select 2 audiotracks

Audio tab = "do not convert audio(use audio source)"
adjust Audio 1 and Audio 2 Priority

Misc tab = "Don't delete any files"

Frameserver tab = "Edit as part of video encode"
(will open the .avs script window waiting OK to do remainders steps)


4) click Go!

5) ...wait for the "Edit Avisynth Script File" window,
after that,don't click OK,only minimize D2S

6) choose Encoded.bat or Extracted.bat and run(double click)

7) using HeadAC3he:
load the Extracted_audio_2.ac3 in source file
adjust delay if the the track was extracted and encoded.
(get the audio delay2 from dvd2svcd_log.txt, Audio2 delay: -??? ms line)

in destination format choose AC3
see that in destination output,Extracted_audio_2.ac3 is now renamed to Extracted_audio_2.2.ac3.
don't worry,the .bat file will rename to the right name again.

in Options adjust bitrate 192(standard AC3-2Ch for dvds) or less bitrate to get more spce for video.

Start.
when it end,close.

8) now click OK in the D2S "Edit Avisynth Script File" window.

9) done.

download Video_ts.rar (http://rapidshare.de/files/7147019/VIDEO_TS.rar.html) sample (6.19Mb)

i hope this help.
:)

raquete
12th November 2005, 18:14
if the dvd source have long audio delay,BeSweet extract the track and correct this delay saving as encoded_audio_?.??? but when the dvd source have short audio delay BeSweet only extract the track.

then is needed to choose what .bat files have to be used,one for each situation.
see the corrections in the first post.

:)