PDA

View Full Version : Joining AC3 streams


mattbag
12th February 2003, 09:19
Hi all!
As I use DVDauthoring IFOedit functionality, I need to have ONE big M2V file and ONE big AC3 file...

To merge some M2V files into one, I use the dos command :
COPY /B "X1.M2V"+"X2.M2V"+...+"Xn.M2V" "RESULT.M2V" --> OK, no pb

But what about AC3 files? It seems that I can't use this DOS command again because of the AC3 headers in files, So does anybody know how can I definetly merge AC3 files into one?

In Standard DVD, I obtain directly one 1C3 because, there is only one PGC but know I'm working on a DVD movie which contains several PCGs...

Thanks a lot guys!
Mattbag

:cool:

alexnoe
12th February 2003, 23:41
If you care about headers, then you must not use this method for any kind of MPEG video file either!
What you create is a file with broken timestamps.

vxvas
13th February 2003, 13:58
Read the audio FAQ

Th3-S4int
31st July 2003, 14:40
Hi,
I want to merge 2 AC3 streams, but i dont know how.I maked a Join.lst with the following content:
C:\Programme\Ripping\DVD Decrypter\VIDEO_TS 2\VTS_01_1 - 0x81 - Audio - AC3 - 6ch - 48kHz - DRC - Deutsch - DELAY -80ms 2.AC3
C:\Programme\Ripping\DVD Decrypter\VIDEO_TS 2\VTS_01_1 - 0x81 - Audio - AC3 - 6ch - 48kHz - DRC - Deutsch - DELAY -80ms.AC3

And then i maked connection (i dont know the right word in german it is in windows "Verknüpfung", but i think another word is icon)
with the following content:
C:\Programme\Ripping\BeSweet\BeSweet.exe -core( -input join.lst -output stream.ac3 -payload )

But when i start it, it doesn´t work. The Output file is a 0 byte File!
Can someone help me and tell me how to merge two ac3 files?
p.s. Vobinput.dll is in the besweet directory.
p.s.2 Iam german and my english is not the best, i hope everybody understand what i mean!

brute
1st August 2003, 02:52
You can try a little tool named filemerger http://fysx.acwu.com/Programs/Download/FileMerger-01-07-14.zip

or an alternative that has the same name ;) http://home.planet.nl/~doesw008/files/filemerger-v2.2-redist.zip

don't know which is better, cause both seem to be very equal .

Drag and drop the files you need to merge and press merge or Go!. The output is good, you almost don't notice it.

Und nochma auf deutsch ;)

Nimm eines der Tools, das zweite hab ich eben nebenbei gefunden, beide sind irgendwie ziemlich ähnlich. Einfach reinschieben die teilen und dann mergen. Das ergebnis ist ganz gut, also man merkt fast nichts. Kannst damit eigentlich fast alles zusammenfügen.


(Verknüpfung = Link *g*)

Th3-S4int
1st August 2003, 13:19
Many thanks to you. The second tool works well.(i didnt test the first,because on the site he write that only mpeg can be merged)

brute
1st August 2003, 14:12
I merged AC3 and AVI files successfully with it, bit if the second works well, it's okk, too :)

Th3-S4int
2nd August 2003, 13:33
i have found a problem: when you merge 2 ogg sound files vdubmod cant put the new file in a ogm file (he only put the first part of the old file in). now i test if ac3 work better. i think the problem is the header!

m1a2lt
3rd August 2003, 07:24
Try using HeadAC3he and it will repost the header for the .ac3 files. Used to have the same problem with filemerger until I started using it.

bond
3rd August 2003, 11:25
you can also try good old dos commandline:

copy /b "c:\input1.ac3"+"c:\input2.ac3" "c:\output.ac3"it works, but dunno if there are header issues!?

Th3-S4int
3rd August 2003, 13:55
when i merge ac3 and then encode it to ogg vorbis with besweet i have no problems!but i read somewhere that ogg vorbis has a more complex header like mp3 and that why i think that file merger cant merge ogg 100% right

dvd_master
26th October 2003, 21:07
None of the FAQs help, since I SUCK at command lines. Is there an interface or program with a gui that can just merge the two files togather?

I experimented (badly) with BeSweet with no such luck. Or if anyone can tell me the exact lines I would use to join these two files...

prt1ENG.ac3 and
prt2ENG.ac3

They're both in the root of my drive "F". Anyone?

dvd_master
29th October 2003, 00:39
ergh, I knew if I posted under another thread no one would answer, that's why I made it a new topic! Whhyyyyyy was it moved!!!!!1

KpeX
29th October 2003, 00:48
Try not to get aggravated, and try this:

First, open up notepad, and type the following two lines:
f:\prt1ENG.ac3
f:\prt2ENG.ac3
Then save the file as 'filename.lst' in your f drive as well. (make sure to change the file type to 'all files' when saving).

Then run besweet using the following commandline:
besweet -core ( -input "f:\filename.lst" -payload -output "f:\output.ac3" )
hth,

dvd_master
29th October 2003, 04:26
YOU ROCK!

xixi2000
11th November 2003, 04:22
Please
thx

KpeX
11th November 2003, 04:28
What are you asking? Your question is unclear.

xixi2000
11th November 2003, 06:36
use BeSweet
BeSweet.exe -core( -input 1.ac3 2.ac3 -output stream.ac3 -payload )
but output stream.ac3=1.ac3
why?

KpeX
11th November 2003, 06:50
See this http://forum.doom9.org/showthread.php?s=&postid=391976#post391976

and Q 7 here (http://forum.doom9.org/showthread.php?s=&postid=84940#post84940)

Hope this helps,

xixi2000
11th November 2003, 07:42
e:\BeSweetv1.5b23\besweet.exe -core ( -input "e:\filename.lst" -payload -output "e:\output.ac3" )

e:\BeSweetv1.4\besweet.exe -core ( -input "e:\filename.lst" -payload -output "e:\output.ac3" )

Do not works:(

KpeX
11th November 2003, 07:55
Post your listfile and logfile. Did you read the thread I linked to completely? There are other options for joining AC3.

xixi2000
11th November 2003, 10:59
help me

e:\1.ac3
e:\2.ac3

save as join.lst(e:\join.lst)

run:
e:\BeSweetv1.4\besweet.exe -core( -input e:\join.lst -output stream.ac3 -payload )

do not work:(

thx KpeX!!!

xixi2000
12th November 2003, 05:14
use BeSweetv1.4 or BeSweetv1.5b23

run
e:\BeSweetv1.4\besweet.exe -core( -input e:\join.lst -output stream.ac3 -payload )

join.lst:
e:\1.ac3
e:\2.ac3

I cann't get the thing to go as I expect.Any suggestion?

KpeX
12th November 2003, 05:44
:logfile: Please post your logfile, or explain more why the conversion does not work. Also please try copy /b 1.ac3+2.ac3 final.ac3 from command line.

Red
30th November 2003, 16:09
Yep, I have also tried to use BeSweet inputting the suggested Command Line code and getting nothing but cryptic DOS answers,... like "not correct path" etc

Just can't get BeSweet to join ac3 and it is VERY frustrating. The GUI that goes with it, is of not much help either, as it won't let you save the output as an ac3 file if the input is a .lst file,.. it will only allow .lst file output.

Any thoughts,.. has anyone actually joined ac3s with this program?

Regards
Red

Red
18th December 2003, 14:43
Obviously not!

Tuning
18th December 2003, 15:37
Has anyone tried BeSplit, then try it once.<http://dspguru.doom9.org>

besplit -core( -input "input.lst" -prefix "ouputprefix" -type ac3 join )
*.lst as above mentioned.
Use notepad and create a lst file.
Outputprefix is what is the file name with out extension ac3.

Hope that helps.....

ekenet
22nd January 2004, 16:05
Can someone please tell me why besweet doesn't encode more than just a few seconds? My output file get 380kb and no more, while the cmd keeps taking cpu. I'm doing just as Kpex said: besweet -core ( -input "f:\filename.lst" -payload -output "f:\output.ac3" )
I have three small files witch I'm trying to merge: 383kb, 259kb and 1,97mb large.

KpeX
22nd January 2004, 16:37
Try joining the streams with BeSplit, with the command line that Tuning posted.

ekenet
22nd January 2004, 17:17
Thanks. Seems I'm on the track. But just as Th3-S4int got, the file ended up beeing 0 byte. I don't think anyone answered to his problem or it might be me who missed it because of lazyness ;)

DSPguru
22nd January 2004, 17:23
-join

ekenet
22nd January 2004, 20:25
Thanks, I didn't see the missing "-".

Bluedan
15th February 2004, 17:23
Is the delay in 2nd part just dropped here with the besplit method?
It would be OK if both parts have the same delay. So I can take the delay into account when transcoding with besweet and it'll be totally synch until the end.
But it's a problem if it differs...
I don't really see how I should manipulate the second part with besplit, so that it starts without delay.
I don't get it. what the fix function really does in besplit. I only found out that it shortened a 6CH AC3 by several hundred MB while reporting many synch issues!!