Log in

View Full Version : How to cut short sample encode?


rack04
6th March 2007, 20:30
I want to take a DVD I own and do some test encodes using different x264 video profiles included in MeGUI to test playback on my Dell Axim X51V. How can I take a small sample, for example something under 5 minutes, from the DVD Decrypter IFO output?

gekan
6th March 2007, 21:57
I don't know about Decrypter but you can easily do this with DVD Shrink. For example, you can even get five one-minute parts of the movie and save them as a whole 5 minute video (DVD).

rack04
7th March 2007, 13:52
Is there a way to use AviSynth to use specify the limits of video to encode?

sillKotscha
7th March 2007, 14:09
open DVDDecrypter and load your movie in IFO mode... than just select a specific cell of a movie (deselect all except that one cell) and rip it to your harddrive...

this is one example of many possibilities ;)

other hints: chopperXP, trim for avisynth, loading an unencrypted vob into dgindex and cut as you like, etc...

Teemo
8th March 2007, 17:11
add a line to avs. script:

SelectRangeEvery(600,25) #skip 600 frames,show 25 frames
#will give you 5 min. of a 2hr movie

SelectRangeEvery(2500,25) #skip 2500 frames,show 25 frames
#will give you 1% of the movie

ilovejedd
8th March 2007, 17:26
There's also Trim(startframe,endframe) in case you want to do specific scenes. To concatenate several scenes together, Trim(startframe,endframe) + Trim(startframe,endframe) + Trim(startframe,endframe) + ...

theinv
9th March 2007, 18:50
add a line to avs. script:

SelectRangeEvery(600,25) #skip 600 frames,show 25 frames
#will give you 5 min. of a 2hr movie

SelectRangeEvery(2500,25) #skip 2500 frames,show 25 frames
#will give you 1% of the movie

Nice!

But will it also select the correct audio range?

I tried Trim() before, it only trim the video.

ilovejedd
9th March 2007, 19:46
Did you run the VOB file through DGIndex? If so, and your script is a simple:
LoadPlugin("dgdecode.dll")
MPEG2Source("file.d2v")
then there's no audio in your AviSynth script. Demux audio from VOB, download NicAudio and add the following to your script:
LoadPlugin("X:\path_to\NicAudio.dll")
AudioDub(NicAC3Source("X:\path_to\File.AC3"))

Depending on the audio source, it might be:
NicAC3Source("X:\path_to\File.AC3")
NicDTSSource("X:\path_to\File.DTS")
NicMPASource("X:\path_to\File.MPA")
NicLPCMSource("X:\path_to\File.LPCM")
WavSource("X:\path_to\File.wav")