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. |
30th September 2006, 19:44 | #241 | Link | |
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
In order to not confuse the channel order issue, my first thought as to a text file format is this: Code:
# any 1-line comment L=audio-left.wav R=audio-right.wav LFE=audio-lfe.wav C=audio-center.wav S=audio-surround.wav SL=audio-surleft.wav SR=audio-surright.wav comments/suggestions? -Justin Last edited by jruggle; 30th September 2006 at 19:52. |
|
1st October 2006, 01:12 | #242 | Link | |
Guest
Posts: n/a
|
Quote:
Thanks, everyone. |
|
1st October 2006, 03:10 | #243 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
With: Aften -b 256 -acmod 5 -prefix path\audio.wav audio.ac3 must exist in path\: audioL.wav audioC.wav audioR.wav audioS.wav And with: Aften -b 448 -acmod 7 -lfe 1 -prefix path\audio.wav audio.ac3 must exist in path\: audioL.wav audioC.wav audioR.wav audioSL.wav audioSR.wav audioLFE.wav If the text file is the final method, at least use the BeSweet format well know for many users: Aften -b 448 -acmod 7 -lfe 1 -mux audio.mux audio.ac3 Where audio.mux is: Code:
path\audio_FL.wav path\audio_FR.wav path\audio_FC.wav path\audio_LFE.wav path\audio_BL.wav path\audio_BR.wav |
|
1st October 2006, 04:26 | #244 | Link |
Registered User
Join Date: Mar 2003
Posts: 126
|
I completelly agree with tebasuna51, except that I prefer the audio*.wav idea (i.e. using wildcards)
__________________
VMesquita My Tools: DIKO FreeEnc: AVS->MPEG2 Encoder Get them here: http://www.vmesquita.com |
1st October 2006, 05:17 | #245 | Link | |
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
First of all, allowing comments doesn't break compatibility. Also, if the user decides to use "L=", "R=", etc... then the file order won't matter, but if the user does it the BeSweet way then the files must be in the correct order. Does that sound workable? I guess I could do both. I could change it to require "-o output.ac3" and allow multiple input files. If the -mux option is used, the input files would need to have the R,L,C,SR, etc... post-fixes. A file could be specified with "-muxfile channels.mux". This way would also support encoding multiple files in a row if the -mux option is not used. It would allow for using wildcards or multiple full filenames. examples: Code:
muxing using text file: aften -muxfile channels.mux -o audio-6ch.ac3 muxing using individual files and wildcards: aften -mux audio-*.wav -o audio-6ch.ac3 muxing using individual filenames (using weird prefixes to show why someone might want to do this): aften -mux aud-lt.wav aud-rt.wav aud-c.wav aud-lfe.wav aud-surl.wav aud-surr.wav -o audio-6ch.ac3 encoding multiple files sequentially, replacing each ".wav" with ".ac3": aften *.wav (maybe...) encoding multiple files sequentially, splicing them together into 1 file: aften *.wav -o joined.ac3 -Justin Last edited by jruggle; 1st October 2006 at 06:18. Reason: added some examples for clarity |
|
1st October 2006, 12:44 | #247 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
If you accept, and implement, all the options, everybody happy
But, warning , one more suggestion: Accept stereo wav files for acmod 5,6,7. With your sintax maybe LR=, CS=, CLFE=, SLSR=. To justify this: - Is a common task modify a multichannel source in stereo wav editors, and front/surround channels have common procedures. - In GUIDE: Converting stereo to 5.1 surround for FREE the last step is encode three stereo wav's fLfR, CLFE, slsr. |
1st October 2006, 14:12 | #248 | Link |
Registered User
Join Date: Jan 2006
Posts: 141
|
@jruggle
Just as another option (or example), you could do it like soft encode with the following command line where test.ini is the encoder settings: the input is in1.wav thru in6.wav for 6 individual wave files Code:
SFTENCDD.exe -A -P test.ini -o out.ac3 -L in1.wav -R in2.wav -C in3.wav -e in4.wav -l in5.wav -r in6.wav Code:
SFTENCDD.exe -A -P test.ini -o out.ac3 -L in1.wav -R in1.wav -C in2.wav -e in2.wav -l in3.wav -r in3.wav -0L in1 -1R in1 -0C in2 -1e in2 -0l in3 -1r in3 Code:
SFTENCDD.exe -A -P test.ini -o out.ac3 -L in1.wav -R in1.wav -C in1.wav -e in1.wav -l in1.wav -r in1.wav -0L in1 -1R in1 -2C in1 -3e in1 -4l in1 -5r in1 |
1st October 2006, 17:37 | #249 | Link | ||
Registered User
Join Date: Jul 2006
Posts: 276
|
Quote:
Quote:
|
||
2nd October 2006, 02:09 | #250 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
you could always make your own 6ch-in-stereo format...
or maybe use string searches and have underscores as delimiters - like "file_LFE_C.wav", or "file_FL_SL.wav", etc. but that'll be a distraction from the more important stuff. there's no shame in supporting whatever naming strategy you prefer and having users conform to that - it's a command line encoder after all, so people will have to learn aften's particular style of command syntax anyway. whichever way it's done, it can't possibly be as annoying as Soft Encode's CLI syntax (no quotes allowed? wth?).
__________________
sucking the life out of your videos since 2004 |
3rd October 2006, 04:09 | #251 | Link |
nobody's nobody
Join Date: Mar 2005
Location: The Sun, somewhere around
Posts: 553
|
Good points everybody. It seems being developped into a most important part of the encoder.
I also have an idea : a context driven approach By any suffix naming convention in the source path : i.e. audio_L.wav, audio_R.wav, audio_LR.wav, audio_LR_SLSR.wav... or audio.mux, audio.wav(these may require the explicit -acmod) by the shell command 'dir path/audio*.*', it will be eventually parsed into each channels and even can define the -acmod. Code:
[-acmod #] Audio coding mode (overrides wav header) 0 = 1+1 (Ch1,Ch2) 1 = 1/0 (C) 2 = 2/0 (L,R) 3 = 3/0 (L,R,C) 4 = 2/1 (L,R,S) 5 = 3/1 (L,R,C,S) 6 = 2/2 (L,R,SL,SR) 7 = 3/2 (L,R,C,SL,SR) Any future format channels can also be supported this way : extensible.
__________________
u know everything in the end, or now if aligned... no right(x).right(y) pls. it's confusing... : phase-shift /Jun.2006 |
4th October 2006, 08:47 | #252 | Link |
Registered User
Join Date: Dec 2003
Posts: 253
|
just downloaded aften and looks very nice. noob question.
seems to be a lot of discussion here of multi-wav encoding so i'm not sure if aften will yet do what i'm trying to do. i have six mono wav's - l,c,r,ls,rs,lfe. i want to use them as a soundtrack on a dvd i want to author. i gather i need to encode them somehow. will aften do this? what is the command? this, then, produces an ac3 file? is that compatible with the authoring process? or is it an intermediate on the way to an mpeg of some sort? sorry for the dumb questions but these are rather deep waters for the novice swimmer. finding aften seems to provide some real encouragement for me. thanks, BabaG |
4th October 2006, 09:16 | #253 | Link |
Registered User
Join Date: Nov 2004
Location: Brazil
Posts: 745
|
ah...hi!
the first post is one good starting point (always). http://forum.doom9.org/showthread.php?t=113074 have a cool GUI for newbys(like me)and "lazy" people. |
4th October 2006, 09:51 | #254 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
And, yes, produce an ac3 file compatible with the authoring process. |
|
6th October 2006, 10:58 | #255 | Link |
Registered User
Join Date: Dec 2003
Posts: 253
|
there is an option in aftengui (i'm not in front of it right now) in the
preferences which has to do with dolby. i think there are three options, something like none, disabled, enabled. what is this for and what does it do exactly? about to get to my first serious test with this. and thanks tebasuna51. very helpful. thanks, BabaG |
6th October 2006, 15:05 | #256 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Code:
[-dsur #] Dolby Surround mode 0 = not indicated (default) 1 = not Dolby surround encoded 2 = Dolby surround encoded Some players can use this info to activate automatically your DPL decoder. The ac3 encoder (Aften) don't make the downmix dpl 5.1 -> 2. |
|
6th October 2006, 18:29 | #257 | Link |
Registered User
Join Date: Dec 2003
Posts: 253
|
so, i started with six mono wav's of original material. i then
used wavwizard to create a single wav file with six channels. how do i get this to be usable and playable as surround sound on a normal dvd player? do i need to now convert the six channel wav to two channels with some sort of encoding? or can i just burn the aftengui ac3 of this six channel wav along with my mpeg picture file using something like dvdstyler and have it properly readable as a surround dvd? if it's necessary to encode the six channel wav down to two, software recommendation, please? thanks again, BabaG |
7th October 2006, 02:00 | #258 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Yes, I don't know dvdstyler, but any authoring software can do the job. |
|
7th October 2006, 02:29 | #259 | Link |
Guest
Posts: n/a
|
I had an idea for a front-end for Aften, but the only programming languages I know (oddly enough) are BASIC and FORTRAN. Neither of those seem to be good languages for programming a front-end for anything.
I noticed a lot of programs offer Sonic Foundary's Soft Encode as an option for encoding AC3 audio. Could a front-end be coded that would take the command-line options and the generated INI file for Soft Encode and feed the relevant information to Aften? I tried to make such a front-end in QBASIC of all things last night, but I got stuck parsing the INI file. I'll try again tonight, but I can't make any promises. |
7th October 2006, 04:41 | #260 | Link | |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
Quote:
Does Aften support encoding from a 5.1 WAV? Also, has channel coupling been scratched from the to-do list or could there be a possibility to resume work on it sometime in the future?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. Last edited by Chainmax; 7th October 2006 at 04:51. |
|
|
|