Hello,
What settings do you use when capturing(store) vhs pal without editing the files later?
- codec x264, qp, preset?
- interlaced or not?
- crop?
- upscaling or not and save as 720:576?
- maybe other filters?
The software I use is ffmpeg.
Hardware Jvc 9850 + Pioneer dvr 540 + Intensity Pro.
+ Reply to Thread
Results 1 to 30 of 45
-
-
Analog PAL SD should be captured 720x576 YUV 4:2:2 interlaced lossless.
-
We talking about store large quantities of cassettes so cannot be "lossless"
But your suggestion might be to capture as lossless first and then compress? -
-
Ok this can be done
but AFTER, the questions about compression, crop and all the rest are still valid.
Doing crop not is better during capture? -
After capture, mask the head switching noise, crop to 704x576, fix defects, deinterlace, denoise, sharpen and eventually upscale to 1440x1080, compress h264 with low crf, i.e. 17.
-
Thank you,
I'm concerned about cropping and masking, couldn't I do this during capture?
ffv1 codec will be ok?
if I mask the noise of the head and the edges I will get a black frame, wouldn't it be better to just zoom in and get an effect similar to when watching on TV? -
Video is not like canvas, It's resolution based, any cropping or zooming will change the resolution and will destroy the video, Just do it after capture.
-
Cropping does not "destroy" a video. Just crop in the correct proportions. If you crop 4 pixels total off the sides, crop 3 off the top/bottom. Make sure your final frame size is an even number.
I prefer cropping to having black bars on my video.
Added: Deinterlace first.Last edited by Alwyn; 15th Feb 2024 at 17:59. Reason: Deinterlace comment added; see Sharc's post below.
-
-
Thanks for the scrambled eggs in the brain hehe
Based on the last answer, this will be ok ?
https://i.imgur.com/fbtwjvo.png -
Except to what specified in post #6 there is no need to crop (nor to resize) anything
Last edited by lollo; 16th Feb 2024 at 08:54. Reason: Changed “not” to “nor”
-
Yes.
Sidenote: You assume that the source PAR (PixelAspectRatio) of your PAL capture is 16:15.
However, I am pretty sure that the PAR of your PAL capture is 12:11 rather than 16:15. Anyway, the difference is ~2% only. You can easily live with it.
Or as per post #6: crop to 704x576 and mask the top and bottom crud rather than just cropping vertically.Last edited by Sharc; 16th Feb 2024 at 02:17.
-
-
Org video
https://drive.usercontent.google.com/download?id=1ap2skDKr7h2wm4LlLc4f7oFa-JLEI2h6&exp...oad&authuser=0
crf 17, superfast, qtgmc medium and crop like above, up to 1080 lanczos.
https://drive.usercontent.google.com/download?id=1-O1h3Qdhfxg27BodFXAabqbV4oPJGoyu&exp...oad&authuser=0 -
I wouldn't recommend 'superfast' for encoding. It may be good enough for poor sources or for a quick test. For clean sources you risk producing visible artifacts like banding in "flat" scenes (e.g. sky), for example.
It's all up to you. -
I thought that it would only increase the file size and that it would have no impact on the quality, on the contrary.
So medium?
With medium file size will be ~150MB 8Mb/s bitrate, superfast ~ 250MB 14Mb/s bitrate. How can the quality be worse? medium looks definitely worse.Last edited by prodarek; 16th Feb 2024 at 03:23.
-
I thought that you had to roughly crop to 4:3 when resizing to square pixel?
Cropping to 692x566 and resizing straight to square pixel is ok?
If so, whats the point in padding to 704x576 before resizing to 1440x1080
Sorry, I know weve been through this before but it still makes my head spin. -
You compare apples with oranges. Comparing a 250MB file with a 150MB file doesn't make much sense.
The quality comparison should be based on equal file size (means equal compression). You would have to adjust the crf accordingly (a difficult hit and miss) or use 2-pass encoding.
Simplifying:
- lower crf means less compression means higher file size means better quality (less artifacts)
- slower encoder settings means better compression means lower file size (for same quality)
Find your compromise.
(Also, I think your clip deserves some denoising).Last edited by Sharc; 16th Feb 2024 at 04:44. Reason: typo
-
Yes. That's what he did now before upscaling the square pixels to 1440x1080 (still square pixels).
If so, whats the point in padding to 704x576 before resizing to 1440x1080
Sorry, I know weve been through this before but it still makes my head spin.
a) take scissors and cut the sheet (=cropping = changing the size of the sheet, its DAR). The squares on the sheet remain squares.
b) stretch or shrink the elastic sheet horizontally and/or vertically (= resizing = changing the PAR (PixelAspectRatio)). The sqares on the sheet become rectangles.
Otherwise AvsPmod includes a nice resize calculator.Last edited by Sharc; 16th Feb 2024 at 04:25.
-
Originally Posted by Sharc
-
You wrote "cropping does not destroy a video" which is not correct in general. Also "just crop in the correct proportions, ...." doesn't help much.
It matters how one crops the video at a particular stage in the workflow, format dependent. That was my point. Nice when tools prevent flaws. -
-
Of course not. It is 692/566=1.2222. The PAL capture is not square pixels but has a PAR of 12/11=1.0909... Cropping the PAL source to 4:3 does not make these pixels square as cropping does not change the PAR. For watching the picture undistorted the player must force the playback of the 692/566 video to 4:3 by stretching it horizontally by 1.333/1.2222=1.0909... = the PAR of the source = 12/11=1.0909....
The stretching is done on the fly by the player when you force it to play the 692/566 video as 4:3 (a setting of the player), or when the player reads and follows the PAR signalling of 12/11 included as metadata in the stream or in the container.
Alternatively you can do the resizing to square pixels yourself, by applying to the 692x566 source 'someresizer(768,576)' or 'someresizer(1440,1080)' for upscaling. Caution: Avoid vertical resizing like in this example from 566->576 when you footage is still interlaced. Deinterlace before applying any vertical resizing, or keep it at 566 vertical and resize to (754,566) for square pixels.
Use paper, pencil and rulers to understand the principle. It doesn't make sense to drown people in formulas and numbers.
Or take a look at the resize calculator of AvsPmod and trust it.
Or forget the square pixel mania, crop to whatever you want and encode with x264 using --sar 12/11 in an *.mp4 container and trust that any modern player will play the picture undistorted (means circle=circle).
Or if you prefer double-stitching crop to 704x576, replace the remaining crud with black borders (=masking) to keep the overall frame size to 704x576 and encode x264 using --sar12/11 and just play it as 4:3. That was the point of post#6.Last edited by Sharc; 16th Feb 2024 at 13:39.
-
I thought that Id got my head round this last year when I first asked but I clearly hadn't.
Last questions, I promise.
If cropping and upscaling straight to 1440x1080, the sides divided by top and bottom have to equal close to 1.22 (par12/11). Would say cropping to 688x564 be ok to upscale without padding? 688/564=1.219.
If I crop and the sides divided by t&b dont equal 1.22, then I have to pad up to 704x576 before upscaling. For example, cropping to 700x562 would equal 1.24. So I would have to pad up to 704x576 (12:11) and then upscale? -
Re-read the above (or dozens of other posts on that subject), or try your proposal and see what you get....
You just have to understand what you are doing. -
Similar Threads
-
Recommended settings for youtube upload, vhs pal source.
By prodarek in forum Video ConversionReplies: 8Last Post: 29th Aug 2023, 12:37 -
Best Conversion Settings for a Pal VHS Tape With an Aspect Ratio of 14:9
By TazDave in forum Capturing and VCRReplies: 35Last Post: 3rd Nov 2021, 06:57 -
Best settings using Virtual Dub to correct dark VHS capture
By DMS in forum RestorationReplies: 69Last Post: 6th Oct 2021, 05:30 -
QTGMC best quality settings for PAL SD Video Capture
By Johnnysh in forum Video ConversionReplies: 14Last Post: 4th Sep 2021, 19:16 -
JVC S-VHS settings for capture (again)
By lollo in forum Capturing and VCRReplies: 25Last Post: 13th May 2021, 16:59