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. |
|
28th July 2018, 10:40 | #1 | Link |
Registered User
Join Date: Mar 2012
Posts: 69
|
Crop for DV
Need to make a Crop for the video. Video 720x576 50 i (YUY2). In order to make a crop and again to restore it to 720x576 in compliance with the proportions need to cut at the same length?
For example : SeparateFields() crop(20,20,-20,-20) Lanczos4Resize(720, 288) #Spline64Resize(720,288) Weave() Right? Last edited by alexx7777; 28th July 2018 at 10:42. |
28th July 2018, 12:03 | #2 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,496
|
DV does not have square pixels so you should not be cropping by the same amount all around. Furthermore, it may (should) or may not include nominal analogue blanking, which means the "active picture width" is only 702 pixels (for PAL, which this is).
You should not separatefields() and then resize vertically - avoid resizing vertically at all, if you can, but if you must, use (at the very least) bob(), or something much better, like yadif() for speed or qtgmc() for best quality. Then use separatefields(), selectevery(4,0,3) (or 4,1,2), and weave() to reinterlace it. What's the desired output here? A file to play on a computer? DVD? |
28th July 2018, 12:58 | #3 | Link | |
Registered User
Join Date: Mar 2012
Posts: 69
|
Quote:
To reproduce on a computer. The final result I want to translate into progressive 50p. Trim the video and restore it to 720x576. Last edited by alexx7777; 28th July 2018 at 13:00. |
|
30th July 2018, 08:51 | #4 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
With black bars added back? Probably not.
After cropping, my guess is it'll be 704x576. You didn't follow instructions about how to create a useful picture, so I'm only guessing. Can't you use that for your final encode? You won't be resizing so no degradation of the quality because of the resizer used. |
30th July 2018, 19:41 | #6 | Link | |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Quote:
|
|
28th July 2018, 17:54 | #8 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
The attached image don't help at all.
Load the video in VirtualDub2 and File -> Export -> Single Image... Sample.png If you want progressive 50p: Use QTGMC to deinterlace, crop after as you need ( I only need a 0,0,4,0 -> 720x572) and encode without resize with x264/x265 using a --sar 13:12 (at least with my sources) to restore the aspect ratio (DV does not have square pixels).
__________________
BeHappy, AviSynth audio transcoder. |
29th July 2018, 12:18 | #9 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
I suppose the only thing the image does confirm is that your 720x576 'Digital Video' source is 4:3 and not 16:9.
So if you want to re-encode with square pixels you could use 768x576.
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
29th July 2018, 16:34 | #11 | Link | |
Registered User
Join Date: Mar 2012
Posts: 69
|
Quote:
After QTGMC I want to video Deshaker. Before stabilization (after deinterlacing) the video will be encoded by Lagirith. The picture was reduced by half (50%) in Paint. The source was larger in size Last edited by alexx7777; 29th July 2018 at 16:37. |
|
|
|