Log in

View Full Version : DV to h.264 Encoding


savour
18th October 2008, 15:16
I am looking for a solution to encode my DV files with the latest x.264 codec. The newest versions of x.264 does not support vfw and that makes the process a lot more difficult.
I want first to de-interlace my dv's and then encode them with x.264.

Is that possible?
Which tools should i use (except the x.264 codec) ?

roozhou
18th October 2008, 15:44
try mencoder or avidemux

poisondeathray
18th October 2008, 16:32
avisynth, x264, ffdshow

enable "DV" in the ffdshow vfw configuration

Here is a sample script you can feed into any x264 encoder (eg. MeGUI, ripbot264,etc...), in this example I used yadif to deinterlace, but you can choose whatever method you like


Load_Stdcall_Plugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")

AVISource("PATH\DVSample.avi")
Yadif(order=0) #bottom field first


This only works for type1 DV. You can convert type2 DV to type1 with a free converter (http://www.ulead.com/download/dvconverter/download.htm), or use DirectShowSource()

roozhou
18th October 2008, 20:50
IMO an avs script makes things complicated and is entirely unnecessary here.
Use avidemux or pipe mencoder to x264. Use yadif/tfields + mcdeint to deinterlace. And you don't need to install ffdshow, avisynth or a type2->type1 converter.

poisondeathray
18th October 2008, 21:04
IMO an avs script makes things complicated and is entirely unnecessary here.
Use avidemux or pipe mencoder to x264. Use yadif/tfields + mcdeint to deinterlace. And you don't need to install ffdshow, avisynth or a type2->type1 converter.

Nothing wrong with giving options :)

For example, Avidemux doesn't work with Type-1 DV, a DSS script will work with everything

savour
19th October 2008, 08:31
Many thanks for your suggestions, i will start experimenting with them.