digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Encode, Convert for streaming (https://www.digitalfaq.com/forum/video-web/)
-   -   What format should I encode to? (https://www.digitalfaq.com/forum/video-web/11619-format-encode.html)

Sailor 03-17-2021 07:30 PM

What format should I encode to?
 
Hi there!

I'm really a newbie here and just got started on a bunch of old vhs/vhs-c tapes with virtualdub. I'm trying to understand all this and the process behind it to make it as good as i can. I wonder if i can get some help to clear up some things to get me further. Would much appreciate it.

So i'm using Virutaldub2 on Windows 10 and using huffyuv to make lossless capture and seems to work fine. Also got lagarith if that would be better, i can't tell the difference.


So my first question is what should i do after i capture and what "end format" i should have? My goal with this is to watch the videos mainly on pc with vlc or similar but also to share them with friends and family. Most will watch on TV with usb stick or view on their computers. Maybe some will stream the videos at home from local nas/computer to TV. I won't upload to Youtube tho.


I guess there many ways the do this but what would be the most "optimal" format that i should encode to?
I got avidemux and hope that it's good to encode from there.

Would be so glad for help

leeoverstreet 04-09-2021 05:57 PM

I see you didn't get response, so I'll see if I can be helpful here as a non-expert who's gotten some good results.

Ideally, you'll want to end up with a .mp4 file. Anything and everything can play mp4's, including pretty much every new smart TV. If your files are properly captured to interlaced .avi files, AND if you're perfectly happy with the image quality in terms of luminance (no crushed blacks or blown out whites) and chroma (colors aren't washed out or overly saturated) and noise, you can convert them directly to mp4 with something fairly simple like Handbrake. Most captured videos can be improved with corrections to luminance and chroma values, and you may want to edit out some bits (family appreciates this LOL), so for that you could use a more sophisticated non-linear editor like Adobe Premiere, or any number of cheaper programs. Whether in Handbrake or a NLE like Premiere, you want to export to a 60 frame per second file (technically 59.94 fps), same resolution as your original file (probably 720x480), where each field of your interlaced video is converted to its own frame. In Handbrake you set the frame rate to a fixed 59.94 and use the deinterlacing plugin set to "Bob". In Premiere, you can just put the file into a 59.94fps timeline for editing/color fixing/etc, and export to 59.94, and it'll convert each field to a frame. This 60fps rate will avoid smushing fields together and causing blurred motion, and preserve the smooth motion of television we all know and love. So you'll end up with an mp4 at 720x480 and 59.94 fps, and that should be ideal for viewing on computers or TVs.

BUT... If you ever do want to upload said videos to YouTube or Facebook, etc., there are other considerations. YouTube doesn't allow the 60fps frame rate unless your video is at least 720p, and they use awful bitrates for 480p videos. So for YouTube, I upscale the video in a 1920x1080p 60fps timeline, and even zoom in just enough to crop off the head switching noise at the bottom, and export to 1920x1080p60 with about a 20 Mbps bitrate, and just leaving the black bars on the sides. You could export to 1440x1080p60 or 960x720p60 for a 4x3 image, but I feel like it looks better at a 16x9 aspect ratio with the black bars on the side, mostly because YouTube allocates more bitrate for higher resolution files. Obviously you can't create detail out of thin air by upscaling, but you can perserve what's there better.

For Facebook, you have to deinterlace to 30fps, and for that I just do a basic field blend and let the motion be blurry because who cares, Facebook video is atrocious.

But again, for your scenario where nothing is going online, 720x480p60 mp4 is fine, with a bitrate around 5-10 Mbps. I've never used avidemux, but I'm sure there's a way. But I can only tolerate so much user UNfriendly software. :-)

latreche34 04-09-2021 11:47 PM

You want h.264 with decent bitrate and preferably keep 4:2:2.

Youtube cut off resolution has been raised to 1080p, You don't want 720p anyway, there is no native 720p monitors, So you may as well resize directly to 1080p to avoid an additional hardware upscale from 720p to 1080p by the TV/monitor. Anything above 1080 is just line doubling, 4k, 8k ...etc.

ffmpeguserss 05-05-2021 10:06 AM

Great job, consider making a DVD also if players are available. It's worth the learning effort & you can preserve more detail :2cents:


All times are GMT -5. The time now is 10:58 PM

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.