Taperssection.com

Gear / Technical Help => Post-Processing, Computer / Streaming / Internet Devices & Related Activity => Topic started by: wordgroove on February 19, 2024, 08:02:50 PM

Title: compressing video from original capture to 5-8gig MKV
Post by: wordgroove on February 19, 2024, 08:02:50 PM
anyone know software or method to compress recorded video stream captured...

i am using a mac and i can capture the video
but i can only compress in post in final cut to mp4

when i capture it ends up 70-90 gb
then i can compress post in final cut to mp4 down to 22 gb

i'd like to get it to 5-8gb for 3 hour video and keep the quality
in MKV format

thanks y'all Taz
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: grawk on February 19, 2024, 08:21:36 PM
try handbrake.fr
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: wordgroove on February 19, 2024, 08:28:02 PM
ok thxs
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: if_then_else on February 20, 2024, 12:19:09 AM
Code: [Select]
ffmpeg -i input.mp4 -c:v libx265 -crf 21 -preset slow -an output.mkv
You can vary the value of the crf parameter. Smaller equals better quality (but bigger file size).
I've found values between 20 and 23 a good compromise in terms of quality / size ratio.
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: wordgroove on February 20, 2024, 12:41:34 AM
Code: [Select]
ffmpeg -i input.mp4 -c:v libx265 -crf 21 -preset slow -an output.mkv
You can vary the value of the crf parameter. Smaller equals better quality (but bigger file size).
I've found values between 20 and 23 a good compromise in terms of quality / size ratio.

where exactly do i change the crf value in handbrake ?
thx u
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: if_then_else on February 20, 2024, 02:54:59 AM
No, this is for ffmpeg, an open source command line tool to edit and convert audio and video files. It's used by many other tools (e.g. handbrake). If you're not allergic to the commandline / shell, I'd recommend to use it directly.
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: RyanJ on February 20, 2024, 09:09:18 AM
This is what I use (preset wise) for the nin archive to help keep the best quality possible for video. But also have an agreeable filesize for distributing on the archive itself. Without reducing the quality. YMMV and you may not agree. But I talked with a few library A/V archivists and a friend who worked at Netflix on what would be an agreeable format.

I still keep the original videos.

*link removed*
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: jefflester on February 20, 2024, 12:15:48 PM
Code: [Select]
ffmpeg -i input.mp4 -c:v libx265 -crf 21 -preset slow -an output.mkv
You can vary the value of the crf parameter. Smaller equals better quality (but bigger file size).
I've found values between 20 and 23 a good compromise in terms of quality / size ratio.

where exactly do i change the crf value in handbrake ?
thx u
On the "Video" tab there is a slider for "Quality" that goes from 51 "Lower Quality" to 0 "Placebo Quality." I dunno if that is direct 1-1 of the ffmpeg "crf" value but I think it is. There is also an option for avg bitrate. That might work better for your application since you have a desired file size you can just select that based on the file length and desired final size. With the Quality slider you might have to adjust and redo several times to get the filesize/quality you want.
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: wordgroove on February 20, 2024, 09:26:15 PM
thanks all for the input

i think handbrake is the tool i needed
i''m getting the results i desired

thanks alll

any more settiings tips in handbrake is welcomed
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: guitard on February 21, 2024, 05:50:43 PM
Code: [Select]
ffmpeg -i input.mp4 -c:v libx265 -crf 21 -preset slow -an output.mkv
You can vary the value of the crf parameter. Smaller equals better quality (but bigger file size).
I've found values between 20 and 23 a good compromise in terms of quality / size ratio.

where exactly do i change the crf value in handbrake ?
thx u
On the "Video" tab there is a slider for "Quality" that goes from 51 "Lower Quality" to 0 "Placebo Quality." I dunno if that is direct 1-1 of the ffmpeg "crf" value but I think it is. There is also an option for avg bitrate. That might work better for your application since you have a desired file size you can just select that based on the file length and desired final size. With the Quality slider you might have to adjust and redo several times to get the filesize/quality you want.

While doing this, I would recommend first using a small file to do trial tests from which you can use the data (file sizes) from the results to judge a good "Quality #" to achieve a file that's of the highest quality while staying within your desired final file size range.  This is especially prudent if you don't have a computer with a fair bit of processing power.
Title: Re: compressing video from original capture to 5-8gig MKV
Post by: wordgroove on February 21, 2024, 05:55:31 PM
thxs!!!