Log in

View Full Version : MPEG editing - help?


Amit
21st July 2002, 00:20
I want to convert a part of the movie. The part that I want to convert is actually some of the chapter. Is there any way to do this? I converted the whole chapter with D2S 1.09B2 and then used TMPGEnc PLUS 2.53 MPEG Tools "Merge & Cut" option to cut the muxed MPEG file created by D2S. The cut file although in sync doesn't have the audio in the last 3-4 seconds. Can someone help me with this?

I tried it with Roxio Videopack 5.1 but the output was really messed up. The audio got out of sync by a min. or so.

What's the right way to do a part of the movie. I have the ripped chapter, whose some part I want to convert on my HD. SO, I can start from the begining if required.

Any help will be appreciated.

-Amit

SiliconSoul
21st July 2002, 06:04
TMPGEnc PLUS 2.53 MPEG Tools "Merge & Cut"

thats the only way i know of that will not destroy the output. ive tried others and they just mess things up...

3-4 seconds... well can u just make it 3-4 seconds longer total :-)

gerti67
21st July 2002, 14:46
Hi Amit,

how about this procedure?

1. Start your conversion like usual - ripping your desired chapter with the internal routines and make sure "Edit as part of Video encoding" is ticked in "Frameserver" tab.

2. If the process stops, presenting the Avisynth script window, leave it open and do nothing with it.

3. Now start DVD2AVI, load the already generated "DVD2AVI_PROJECT_FILE.d2v" file with "File|Load Project".

4. Use the arrow keys or the slider at the bottom to navigate through your chapter and use the brackets "[", "]" to mark only the part of the video you want to have at last.

5. Now make sure you have the correct audio track selected in "Audio|Track Number" (English is usually track 1) and set "Audio|Dolby Digital" to "Demux".

6. Now save the project with "File|Save Project" under the same name.

7. You now have a new *.ac3 file (e.g. "DVD2AVI_PROJECT_FILE AC3 T01 3_2ch 448Kbps DELAY -144ms.ac3") and a edited project file.

8. Delete the already "Extracted_audio_1.ac3" and rename the one from DVD2AVI according to it.

9. Now copy the BeSweet command line from the "dvd2svcd_log.txt" file, paste it into a DOS window and hit ENTER. Now BeSweet should transcode only the part of the audio that belongs to the part of the marked video.

10. After BeSweet has finished, just hit "Ok" in the Avisynth script window and the whole conversion process will continue till the end.

You should now have only the desired part, in a half-automated step. But if you are using subtitles then you might have to adjust the times of presentation in the "PermSubs.txt" file if you have cut a part from the beginnig of the chapter (this will indeed be a little fumbling then). And perhaps it would be better to set "Movie offset seconds in "bbMPEG" tab to "0" so that the chapter will start without the delay if your player supports it.

Or, if you already have all your files from the conversion you should just run steps 3. - 8. and then start DVD2SVCD and do a "recover" from the "Audio Processing" step.

Hope this helps,
Gerti

Amit
5th August 2002, 02:00
I did everything u said Gerti67. But now the mpeg file doesn't have sound. I can still play the mp2 file in windows media player.

Here's the Encoded_audio_log.txt

BeSweet v1.4b12 by DSPguru.
--------------------------
Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
Using ssrc.dll v1.28 by Naoki Shibata & Dg (shibatch@geocities.co.jp).
Using lame_enc.dll v1.28 (4/6/2002), Engine 3.92 <http://www.mp3dev.org/>.

Logging start : 08/04/02 , 20:04:34.

D:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input G:\Crossroads\Extracted_audio_1.ac3 -output G:\CROSSR~1\Encoded_audio_1.mp2 -logfile G:\CROSSR~1\Encoded_audio_1.log ) -azid( -L -3db -c normal -g max ) -ota( -d -209 ) -ssrc( --rate 44100 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : G:\Crossroads\Extracted_audio_1.ac3
[00:00:00:000] | Output: G:\CROSSR~1\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:-209] +-------- AZID -------
[00:00:00:-209] | Output Stereo mode: Dolby surround compatible
[00:00:00:-209] | Total Gain: 13.1dB, Compression: Normal
[00:00:00:-209] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:-209] | Center mix level: BSI
[00:00:00:-209] | Surround mix level: BSI
[00:00:00:-209] | Dialog normalization: No
[00:00:00:-209] | Rear channels filtering: No
[00:00:00:-209] +-------- SSRC -------
[00:00:00:-209] | Source Sample-Rate: 48.0KHz
[00:00:00:-209] | Dest. Sample-Rate: 44.1KHz
[00:00:00:-209] | Attenuation : 0.0db
[00:00:00:-209] +-------- LAME -------
[00:00:00:-209] | Bitrate method : CBR
[00:00:00:-209] | MP3 bitrate : 128
[00:00:00:-209] | Channels Mode : Joint Stereo
[00:00:00:-209] | Error Protection: No
[00:00:00:-209] +---------------------
[00:05:01:327] Conversion Completed !
[00:05:01:327] Actual Avg. Bitrate : 128kbps
[00:01:39:000] <-- Transcoding Duration
Logging ends : 08/04/02 , 20:06:13.



When I tried to mux it with TMPG , it says "Illegal Audio Stream"

Please help with this...
-Amit Chugh