video – In what order should I use stabilization and compression with ffmpeg?

I shoot videos of soccer games on a Canon Vixia which records at 60fps HD with h264 compression. From the camera it results in 20GB files which I have been recompressing (to save on storage and increase upload speed) using h265 with a bitrate capped at 7000k and 60fps, which is high quality enough for my needs. I use the hevc_amf encoder with an AMD graphics card and that will recompress a 1h20m HD video in about 40m (2x), which I’m pretty happy with.

Recently, I’ve learned how to use vidstab which really cleans up my jiggly video pretty nicely. So now I would like to both stabilize with vidstab and recompress to h265 before archiving. I am looking for some recommendations on how to sequence the workflow in the most efficient manner while still getting good results. Should I 1) first do vidstab on my original 20G file (both the detect and transform passes)? Or, should I 2) recompress using the hardware accelerated hevc_amf encoder, before doing the stabilization?

  1. If the first option, a follow up question. I run the vidstabtransform as follows:
ffmpeg.exe -i input.mp4 -vf vidstabtransform,unsharp=5:5:0.8:3:3:0.4 outputstabilized.mp4

This is according to the docs. It seems to change the bitrate from the original 30Mbps to about 10Mbps. Why is that? Can I control that and keep it at the original bitrate? Should I? (Also, do I need the unsharp mask? Is that because there’s some inherent zooming with the stabilization?).

Downside of this approach seems to be that you’d get better compression with h265 after stabilization given less movement in the pixels, but maybe it’s not a big difference.

  1. If the second option, can I still control the bitrate on the stabilization output?

If anyone has any other workflows they would recommend, I’d be all ears too. (I have thought about trying to use complex filtermaps but they seem… complex 🙂 and I haven’t invested the time to wrap my head around them).

Thanks in advance!

How to get the URL of remote video inserted by media field in block or paragraph twig?

How to get the URL of remote video inserted by media field in block or paragraph twig?
I am using the paragraphs module to create video galleries from youtube videos. When I use {{ content.video_gallery }} it’s working and showing the youtube video thumbnail but I want to show this video in a popup for which I have written a code in which I need only the URL of the youtube video.
I am searching for two days I found solutions for image and video but no solution found for remote video URL.

I will transcribe your Danish audio video files into editable Danish text for $15

I will transcribe your Danish audio video files into editable Danish text

I will transcribe your Danish audio/video files into editable Danish text.

Delivery: within 1 day.

Fixed price: 15 $ USD.

Audio/Video length: less than 10 minutes.

For custom orders:

please contact me to estimate for you before you place your order.


Video Editor Clean up

I am making a video editor with tkinter, and seriously need to clean it up and make it nicer to read / more efficient. Can anybody help me clean up my code (I was sent here from stackoverflow)

Here it is:

The parts I kinda need to figure out are:

  • Buttons and popup windows. I need 2 functions to run 1 video editor function. For example, if I want to add text, I have to call a function to make a popup window for the details of the text, then call another function when the button is pressed to actually edit the video clip.

Here is what I tried to do (in simple terms):

def addText(self, x=0):
    if x == 0:
        button = Button(root, command=functools.partial(self.addText, 1))
        # run other stuff for function

Here you can see I am re-executing the function using an argument. Although this is effective, it is messy and I was wondering whether there’s a better way to do this?

Video Saving Website – is it worth it? | Proxies-free

Let’s say there is a website which allows you to save already uploaded videos.

Some advantages:
1. No DMCA responsibility: Videos don’t belong to website but to uploader and are hosted on another server.
2. Uploaders will support: The more visitor has a website the more views will get the uploaded videos so the uploaders may advertise to receive more views.
3. You can save videos from different websites on a single only one website.