Log in

View Full Version : Cutting/encoding AC3 with Megui


colargol7
13th November 2008, 19:17
Hello

I want to encode hdtv clips from french broadcasts, and I have a sound problem.
The soundtrack is AC3 2 channels, ans I'd like to cut it without encoding, to keep quality.

First I use "AVS Cutter" to cut video, and generate a corresponding cutlist file to cut audio file.

If I use this .clt file in the audio part of megui, then adjust the audio delay (DGAVCDec give me the delay), and encode it (either in mp3 or ac3),
video and audio will be perfectly sync!

But I'd prefer not encoding ac3.
So I did it in 2 times :
- I first use delaycut to correct delay audio in my AC3 file
- Then use "audio cutter" from megui to generate the new cutted ac3 file.

And when I mux audio and video, it introduce a big delay.:confused:

Well, I just read in megui's wiki it was normal, so what can I do?

Is it a good idea to encode AC3 192 kbps --> AC3 192 kbps ?

Thank you if tou can help me :)

tebasuna51
14th November 2008, 03:46
And when I mux audio and video, it introduce a big delay.:confused:

Well, I just read in megui's wiki it was normal, so what can I do?

Is it a good idea to encode AC3 192 kbps --> AC3 192 kbps ?

The method can be improved if the audio frame duration is used to put the cut points.

But there are a bug when the BeSplit command line is generated. I have:

Job commandline: "D:\P\BeSplit.exe" -core( -input "D:\un.ac3" -prefix "D:\uc0_" -type ac3 -a ) -split( 0 39,96 44,2 79,96 84,2 119,96 124,2 159,96 164,2 199,96 204,2 239,96 244,2 279,96 284,2 319,96 324,2 343,32 )

The values must be 39.96 ... instead 39,96 ....

tebasuna51
14th November 2008, 14:08
There are also a secon bug:

Bugs open in MeGUI tracker (https://sourceforge.net/tracker/index.php?func=detail&aid=2283781&group_id=156112&atid=798476)

colargol7
14th November 2008, 19:22
So you think there is a bug in BeSplit...

My command line is also having commas "," :
C:\video\megui\besplit.exe" -core( -input "D:\HD\1.ac3" -prefix "D:\HD\2_0_" -type ac3 -a ) -split( 2,4 97,04 114,4 177,12 )

Did you try with dots instead of commas?

Thank you for your help!

tebasuna51
14th November 2008, 22:33
If your Trim is:

Trim(60, 2426) + Trim(2860, 4428)

Try with:

C:\video\megui\besplit.exe" -core( -input "D:\HD\1.ac3" -prefix "D:\HD\2_0_" -type ac3 -a ) -split( 2.4 97.08 114.4 177.16 )
copy /b "D:\HD\2_0_01.ac3" + "D:\HD\2_0_03.ac3" "D:\HD\2_0_full.ac3"

colargol7
15th November 2008, 10:50
You were right!
This is really a bug.

When I use dots in the command line, it works fine.

Muchas gracias :thanks:

Hope this will be fix in the next release...

colargol7
15th November 2008, 14:12
They've fix the problem.