Old 02-05-2004   #1
New on Forum
 
Join Date: May 2004
Posts: 1
DVD cut out few segments and convert to real

Hi,
guys, excuse my terminology, but I am rather new to all this dvd concept and desperately need help. So, bear with me. Basic tasks to be accomplished are this - I have long dvd movie, interviewing several people. The end result should be several real media or win media files, cut out of this dvd, one for each person - ready to be streamed from the web. What is the best strategy/software to accomplish this task? Is it easier to cut dvd in segments and then convert each one into streaminig format or vise versa? What this the best cheapest fastest way to manage this process?
All your suggestions are greatly appreciated.
Thanks is advance.

regards,
Ellie
__________________
It's good to laugh before you die :-)
ellie_new is offline   Reply With Quote
Old 02-05-2004   #2
MyCE Resident
 
DiiZzY's Avatar
 
Join Date: Feb 2004
Location: Nordic Region, Sweden
Posts: 3,676
Tools:

DVD Decrypter
azid and SSRC
Avisynth + DVD2AVI/MPEG2Dec3 + Decomb
VirtualDubMod
Huffyuv v2.1.1
Windows Media Encoder 9 Series

1. Rip the DVD using

Rip the whole DVD using DVD Decrypter in File mode

Embedded Images

View/download images and remove advertisements by registering now! (it's easy, free and takes less than a minute)

You must be registered in order view images in this forum.


2. Demuxing audio and video

Open DVD2AVI, be sure start with the right vob (usually it's VTS_01_0.VOB). Now a new window will popup telling you what segments DVD2AVI have found, press ok to confirm.
To demux just press F4 and choose an approperiate name for your d2v project file.

3. Converting audio (skip the azid part if you have a wav-file)

I actually tried to stick to GUI applications but it didn't work out so we're going to use two cmdline based ones instead.
azid, an AC3 Decompressor and SSRC, normalizer and a great resampler.

There's the first line for decompressing

azid "E:\PRINCESS_MONONOKE\VIDEO_TS\DVD1 AC3 T01 3_2ch 384Kbps DELAY 0ms.ac3" "E:\PRINCESS_MONONOKE\VIDEO_TS\DVD1 AC3 T01 3_2ch 384Kbps DELAY 0ms.ac3.wav"

...and the second for normalizing and resampling.

ssrc --rate 22050 --twopass --normalize "E:\PRINCESS_MONONOKE\VIDEO_TS\DVD1 AC3 T01 3_2ch 384Kbps DELAY 0ms.ac3.wav" "E:\PRINCESS_MONONOKE\VIDEO_TS\Audio.wav"

4. Postprocessing your video

Open notepad and paste these lines and alter them.

LoadPlugin("C:\Program Files\Avisynth\Plug-ins\MPEG2Dec3dg.dll")
MPEG2Source("E:\PRINCESS_MONONOKE\VIDEO_TS\DVD1.d2v")

Now save this file as <something>.avs, be sure to have .avs at the end.

4.1 Interlaced or not...
Open up your avs script in VirtualDubMod, it should open fin unless you've specified an incorrect path.
You're now going to check if whether your source is or not. Drag the slider to the middle and use the arrow keys on your keyboard to scroll frame by frame. Check about 50 frames or so, if some has "bad" lines (see below) then you have to deinterlace if not then you have a progressive source.

Embedded Images

View/download images and remove advertisements by registering now! (it's easy, free and takes less than a minute)

You must be registered in order view images in this forum.

Interlaced source (no, it's not Princess Mononoke)

4.2 Deinterlacing (and IVTC)

Donald Graft has already written excellent documentation about this topic so I suggest you read DecombTutorial.html (included in decomb package).
You can decide if it's PAL or NTSC by looking at the framerate and resolution (File --> File Information in VirtualDubMod).

PAL:
720 x 576 pixels - 25 fps
NTSC:
720 x 480 pixels - 29,97 fps or 23,976 fps with 3:2 pulldown = 29,97 playback fps

btw, AviSource("your_clip.avi") is the same as the MPEG2Source line in your case so the first step should look like this (including loading the decompplugin and excluding your own paths).

LoadPlugin("C:\Program Files\Avisynth\Plug-ins\MPEG2Dec3dg.dll")
LoadPlugin("C:\Program Files\Avisynth\Plug-ins\Decomb511.dll")
MPEG2Source("E:\PRINCESS_MONONOKE\VIDEO_TS\DVD1.d2v")
AssumeTFF().SeparateFields()

5. Putting it all together

Since you want to serve this on demand you'll have to lower the resolution in order to maintain decent quality on little bandwidth.

Add one of these lines at the end of your avs script depending on if it's NTSC or PAL.

NTSC:
lanczosResize(352,240)
PAL:
lanczosResize(352,288)

Reload your script in VirtualDubMod, go to Streams menu --> Stream list --> Add --> Audio.wav --> Ok

6. Editing
Pretty straight forward, mark what you want to save in each file using the last two buttons to the right. Press F7 to save, change video mode to Full Processing Mode and use Huffyuv v2.1.1.

7. Encoding

Select "Convert a file" as the Wizard you wanna use, choose a source file (the file(s) you saved using VirtualDubMod). (Next)
You wanted these files to be streamable and therefore they have to support progressive download (Web server). (Next)
Ignore what the encoder suggests, you're going to change it anyways (Next)
Add appropriate information to your clip. (Next)
Uncheck "Begin converting when I click Finish. (Finish)
Click on Properties (Toolbar) --> Compression tab --> Edit button.
Set correct video format, NTSC or PAL and then click on the other tab.
Video size: Same as video input
Audio format: 32kbps, 22kHz, stereo CBR
Video bit rate: 342K
--> Ok button --> Apply
Start Encoding (Toolbar)

There you have it, playable files that hogs about 384kbps each. Users on 0.5 mbit will play them fine.
//Danne
DiiZzY is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I convert real player files? nork Video Edit Software 6 24-08-2009 05:19
Cut out commercials and convert cpt.crash Video Edit Software 7 13-07-2007 05:55
How to convert a DVD chapter of 3 segments to only one Jose Prieto Video Edit Software 1 26-06-2007 05:26
Segments of Audio anabolism Burning Software 1 14-08-2006 22:48
Real Media convert to MP3? Jedi5 General Software 7 03-01-2006 22:58


All times are GMT +2. The time now is 20:12.
Top