LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > linux-related notes
User Name
Password

Notices


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

MPV script crops/zooms the video without reencoding

Posted 12-25-2019 at 10:05 AM by the dsc
Tags mpv

Have you ever seen or being interested in watching a video with some eerily poor framing source, like, the center of interest would be slides that are shown tiny as "a picture in picture" kind of thing? This script is the handiest tool to make them watchable, if the resolution is high enough:

https://github.com/aidanholm/mpv-easycrop

Pressing "c" and then clicking at an edge of the virtual crop will darken most of the video, then, as you move the cursor around with the mouse, you're "opening a window" within the video, that will be cropped as you click again. You can then maximize the window with the cropped video, or adjust to any size you want, even make screen captures that capture only what you've set to crop.

May need to be edited if you have "c" already set up as something else on MPV.

I've just used it for some video on youtube that had a 720p or 1020p resolution, I have no idea of how demanding it is, CPU-wise, for higher resolutions. I'd guess it's less demanding than the full video, but that's just a wild guess based on rough logic that may not apply, possibly being the opposite.
Posted in Uncategorized
Views 1129 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration