VideoHelp Forum
+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. Member
    Join Date
    Aug 2023
    Location
    Sweden
    Search PM
    Hello, first of all I want to thank you all for this great community. I have learned so much regarding converting video from you all. Now to my problem

    I use a Hauppage capture device together with AmarecTV to capture analog camcorder material. I then intend to use nnedi3 and upscale from 720 x 576 to 1140 x 1152

    Example file before upscaling: https://drive.google.com/file/d/1AjY8DD-m5hrZaTiKYrRSVX1_zPH03CLc/view?usp=drivesdk

    But... if you look at the right side of my video you see a vertical flickering portion, which I want to crop.

    Would it be better for me to upscale the video a bit more than I intend to, and then crop the video down to 1440 x 1152? And if so, what resolution should I upscale to and how much should I then crop afterwards in order to get rid of the flicker?
    Quote Quote  
  2. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    720x576 (1.25:1 or 5:4) isn't the "correct" frame size/ratio, it's only the capture frame size. The display size is 4:3, or 1.333 to 1, effectively 768x576. You can see what it should look like by opening in VLC Player and forcing a 4:3 display (or VDub, right-click on the video display and choose 4:3).

    So, your upscale should be to 1440x1080.

    Re your cropping, IMO there's no need to upscale above and then crop down: I would just crop in a 4:3 ratio (x4 off the sides, x3 off the top+bottom) then upscale to 1440x1080. The problem with cropping back down is you have to get it exact or you'll need to resize again.

    BUT! Make sure you de-interlace first, before any cropping; if you crop before deinterlacing, you may mess up the field order and end up with jaggies on your Progressive encode.

    FYI, I'd suggest capturing with the audio on PCM(WAV). That will yield the best audio quality. you can MP3 (or AAC) it later.
    Quote Quote  
  3. Member
    Join Date
    Aug 2023
    Location
    Sweden
    Search PM
    Thanks for your detailed answer!

    Do you suggest I crop first, then upscale? Or upscale to 11440x1080, then crop, and finally upscale again?
    Quote Quote  
  4. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Crop then upscale.
    Quote Quote  
  5. Capturing Memories dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Member Since 2005, Re-joined in 2016
    Search PM
    I'm assuming the source is an analog tape, So the legal resolution is 702 to 704 by 576, You first de-interlace, then crop and then resize, Your frame needed cropping 2 lines each from top and bottom, 4 pixels from the left and 16 pixels from the right which is within the legal aspect ratio, Here is what it would look like:
    Image Attached Files
    Quote Quote  
  6. Originally Posted by dellsam34 View Post
    I'm assuming the source is an analog tape, So the legal resolution is 702 to 704 by 576, You first de-interlace, then crop and then resize, Your frame needed cropping 2 lines each from top and bottom, 4 pixels from the left and 16 pixels from the right which is within the legal aspect ratio
    +1, exactly for this analog tape capture.
    Quote Quote  
  7. Member
    Join Date
    Aug 2023
    Location
    Sweden
    Search PM
    I see. As of now I have deinterlaced and upscaled in Hybrid to 1440x1152 in 8000 kbps, reducing their file size from about 25GB to 3GB

    But what I should do is:
    1. Deinterlace in Hybrid, no upscaling, in 8000 kbps (thus reducing the file size)
    2. Crop image to 4:3
    3. Upscale in Hybrid to 1440x1080 with nnedi3 in a higher bitrate?
    Quote Quote  
  8. Capturing Memories dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Member Since 2005, Re-joined in 2016
    Search PM
    You do all those before compression or encoding otherwise you will be losing quality every time you do a step.
    Quote Quote  
  9. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    @Jokris, what's your exact workflow? Are you cropping in Hybrid too? If cropping externally, export out of Hybrid after deinterlacing in a lossless codec such as HUFF, UT or FFV1 (can't remember exactly what lossless AVI options are any more). Then crop and export/save as.

    Otherwise, you should be able to do the whole lot in Hybrid as it does have a cropping function (not that I know how to use it). So, Deinterlace, crop, resize then export/save as.

    @Dellsam, you need to take another couple of pixels off the bottom there.
    Quote Quote  
  10. Member
    Join Date
    Aug 2023
    Location
    Sweden
    Search PM
    Hi Alwyn

    My workflow now is to both deinterlace and upscale in nnedi3 Hybrid at the same time (in 8000 kbps) in Hybrid, outputting a deinterlaced file with higher resolution but much smaller file size.

    I don't know what possible setting to use if I want to only deinterlace in Hybrid, without compressing the file size?

    Cropping I intend to do in VirtualDub
    And after cropping then upscale with nnedi3 in Hybrid I guess?
    Quote Quote  
  11. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    I don't know what possible setting to use if I want to only deinterlace in Hybrid, without compressing the file size?
    After your deinterlacing, you "save as" with one of the lossless AVI codecs. You don't set the bitrate for those; it's fixed.

    Then import that AVI file into VDub, crop and export out as AVI again, then upscale in Hybrid and finally export into MP4 eg H264 codec.

    But as I say, see if you can do it all in Hybrid. That will save a lot of fiddling around going out and back to Hybrid.

    I used to use a similar workflow, where I would use QTGMC in Hybrid to deinterlace, then export that into AVI for VDub. But then I stay in VDub for the cropping and resizing and finally MP4 export. I now just use AVISynth into VDub to avoid double-handling.

    Hybrid though does have other features, such as noise reduction, which you may find useful if you don't get into AVISynth.
    Quote Quote  
  12. Why the heck so complicated? Once you are in Hybrid one can do cropping, correct resizing and upscaling, denoising etc. all in the same tool.
    But yes, to each his own.
    Quote Quote  
  13. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Why the heck so complicated?
    If that's directed at me, read my posts again.
    Quote Quote  
  14. Originally Posted by Alwyn View Post
    Why the heck so complicated?
    If that's directed at me, read my posts again.
    Directed to anyone jumping unnecessarily (possibly damaging the video) from tool to tool, back and forth
    Quote Quote  
  15. Member
    Join Date
    Aug 2023
    Location
    Sweden
    Search PM
    Originally Posted by Sharc View Post
    Originally Posted by Alwyn View Post
    Why the heck so complicated?
    If that's directed at me, read my posts again.
    Directed to anyone jumping unnecessarily (possibly damaging the video) from tool to tool, back and forth
    Such as myself
    Lack of experience I guess, but I will make a try to do everything in Hybrid
    Quote Quote  
  16. Originally Posted by Jokris View Post
    Originally Posted by Sharc View Post
    Originally Posted by Alwyn View Post
    Why the heck so complicated?
    If that's directed at me, read my posts again.
    Directed to anyone jumping unnecessarily (possibly damaging the video) from tool to tool, back and forth
    Such as myself
    Lack of experience I guess, but I will make a try to do everything in Hybrid
    Good investment of your time, same with learning Avisynth basics
    Quote Quote  
  17. Originally Posted by Jokris View Post
    I will make a try to do everything in Hybrid
    In case it helps with your source here a proposal for the settings in Hybrid for
    - cropping + resizing to square pixels 1440x1080
    - deinterlacing with QTGMC

    Edit: and you don't need to worry about the order of the steps. Hybrid takes care of it.
    Image Attached Thumbnails Click image for larger version

Name:	crop-resize.png
Views:	4
Size:	38.6 KB
ID:	83156  

    Click image for larger version

Name:	deinterlacing.png
Views:	3
Size:	46.4 KB
ID:	83157  

    Last edited by Sharc; 28th Oct 2024 at 09:34.
    Quote Quote  
  18. Capturing Memories dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Member Since 2005, Re-joined in 2016
    Search PM
    Order matters, He could reverse the field order if he doesn't de-interlace first. Also you can't crop after resize, the resolution will not be legal.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!