[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

"smart" batch video processing/conversions

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 7
Thread images: 1

Has anyone created a way to intelligently process a batch of videos, such that, let's say,

>video converter gets a x264 video input
>it "scans" this video
>determines the x265 quality level that would be "optimal"
>converts it to x265

Instead of just setting the same profile or quality setting for an entire batch of videos to be converted?
>>
I imagine you could make a c/bash script using libav/ffmpeg and change the params based on file info from ffprobe

https://libav.org/
http://rodrigopolo.com/ffmpeg/
https://video.stackexchange.com/questions/16356/how-to-use-ffprobe-to-obtain-certain-information-about-mp4-h-264-files
https://trac.ffmpeg.org/wiki/FFprobeTips

>ffprobe -v error -show_format -show_streams input.mp4

and then you could do something like this:
https://ubuntuforums.org/showthread.php?t=2327927&s=cbbdb615a67cc48e86ec9b8a78696042&p=13504734#post13504734

but for whatever you need to check in x264
>>
>>60846462
>but for whatever you need to check in x264
what do you mean by this?

also currently I only run linux in VM, or is this something that can be done in Windows using bash now with the "Bash on Ubuntu on Windows" thing I have heard of?
>>
>>60846605
i'm not sure how you would determine the x265 quality level
>>
>>60846331
> determines the x265 quality level that would be "optimal"
This isn't really meaningful beyond what codecs already do.

You're almost directly deciding how much processing power you throw at the problem WHEN you do the encode. You could do all encodes from fast to extreme ultra crazy settings, but there is no point to that, ultra crazy will compress the best.

And for optimizing for a certain size, there already are 2-pass encodes.
>>
>>60846912
Hes talking about the quality/bitrate setting, not the speed as your post implies you are thinking of.
>>
>>60846331
I do this literally ever day with Cron, FFMPEG and a simple bash script.

Sounds like you are just lazy.
Thread posts: 7
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.