Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
#1 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 106
|
From DVD (PAL, interlaced) to Youtube
Hi all,
For some promotional stuff of my sports club, I want to upload some parts of home-made DVD's to Youtube. Those DVD's are encoded in PAL and are interlaced; Youtube advices to upload progressive 30fps. Therefore, I want to convert my DVD's to 30 fps progressive. I think I first need to deinterlace and after that change the framerate to 30. Is this correct? Or do I first need to change the framerate, and after that deinterlace? Until now, I used the following script: Code:
LeakKernelDeint(1) ChangeFPS(29.97) Thanks for all your help (or at least reading this )!
|
|
|
|
|
|
#2 | Link |
|
Registered User
Join Date: Jan 2006
Location: Finland
Posts: 32
|
I suggest not using 30fps, the bitrate YouTube allows is rather low. I have achieved good results by simply doing a SelectEvery(3,0) after a bob(), this leads to 16.7 frames per second and much clearer image quality. If you want to go a bit further, you can also encode the flash video yourself and achieve a higher bitrate in addition, see this thread here.
Here is something I uploaded earlier as a test, this is from a video game but it works rather well with any kind of material. Of course you don't have the motion as smooth as 30fps would allow, but personally for me the difference in image quality is worth it. One drawback is that the duration will be wrong, that clip is only about 4 minutes in length even though it says 11 on there. Even if you do decide to keep the motion smoother, it's still probably worth doing the encoding yourself and sticking to 25 fps rather than trying to get exactly 30; I have never managed good results if you let YouTube encode the video, no matter what the uploaded source file is like. Last edited by ajk; 10th December 2007 at 10:44. |
|
|
|
|
|
#3 | Link |
|
Registered User
Join Date: Dec 2002
Location: Bedfordshire, UK
Posts: 1,041
|
You don't need to get up to 30fps for YouTube - that's just the limit. It'll happily keep 25fps at 25fps.
Code:
video=mpeg2source("whatever.d2v")
audio=mpaSource("whatever.mp2")
audiodub(video,audio)
crop(8,0,704,576)
converttorgb(interlaced=true)
separatefields()
selectevery(2,0)
bicubicresize(320,240)
If there is a lot of movement or difficult-to-encode stuff in the video, ajk's 50/3 rather than 50/2 frame rate may help keep the artefacts down, at the expense or a more stuttery look. Cheers, David. |
|
|
|
|
|
#5 | Link | ||
|
Registered User
Join Date: Nov 2003
Posts: 106
|
Quote:
Quote:
Thanks for your help! |
||
|
|
|
|
|
#8 | Link |
|
Registered User
Join Date: Nov 2003
Posts: 106
|
That could be the case. My AviSynth script looks like:
Code:
Crop(24, 54, -24, -54) lanczos4resize(320,240)
__________________
My website: www.ernstblaauw.nl |
|
|
|
|
|
#9 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,739
|
If it's PAL 16:9 I'd suggest you do a resize to 1024x576, crop it to proper 4:3 then downsize to 320x240. Otherwise, if it's 4:3 material resize to 768x576 first and do a straight drop down to 320x240 or crop as necessary.
|
|
|
|
|
|
#10 | Link | |
|
Registered User
Join Date: Nov 2003
Posts: 106
|
Quote:
Code:
Crop(24, 54, -24, -54) After removing that Crop, it looks more natural. I think I'm going to reencode and leaving that one out!
__________________
My website: www.ernstblaauw.nl Last edited by ernstblaauw; 11th December 2007 at 10:42. |
|
|
|
|
|
|
#11 | Link |
|
Registered User
Join Date: Jan 2006
Location: Finland
Posts: 32
|
Sounds complicated. If the source is anamorphic 16:9, and you want to keep it wide screen, it should be fine by simply doing a resize(320,180) and addborders(0,30,0,30) to add the necessary letterboxing.
You should only need to crop it a little bit in this case if you want to get rid of some ugly borders in the image or something like that. If you want to crop it to full screen (4:3) and avoid letterboxing, you need to take about 96 pixels off from both sides and then do the resize to 320x240. Just make sure you don't clip off the edges of text or other important stuff from the video however. |
|
|
|
|
|
#12 | Link | |
|
Registered User
Join Date: Dec 2002
Location: Bedfordshire, UK
Posts: 1,041
|
Quote:
If the source is 4x3, I already gave you the correct crop and resize in my code. Cheers, David. |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|