Let's talk about VIDEO EDITING and videos in general

A day in the life.

2 Likes

Wow. That is a very interesting video to watch.

First of all, by the little activity on your account it seems you have not posted this video in any other topic. I think you should do so, because I’m not sure how many views it will get in this topic; probably not as many as it deserves. As it doesn’t really fit into any one of the single apartment topics, best create a General Discussion topic like “A Day in te Life of VHTV” for it.

Can you tell us something about how you made this? How random or planned was the recording and selection of the footage. It doesn’t seem very random. How much more footage did you record, and how long did it take you to edit this?

I noticed there is much continuity in the time codes, but always with little gaps between them. So I wonder, are parts of it real time recorings of how you just surfed along, with the transitions cleaned up? Did you bookmark the cameras you wanted to visit?

Questions, questions, questions. The point is I’m intrigued and would like to know more.

Good work, really.

Thank you! That means a lot coming from you.

I’ve taken your suggestion of posting it in a new topic. We’ll see what comes of that.

As for how I did it, it’s basically, as you suggest, a BandiCam capture of me surfing the VHTV free cams. I captured four sessions for a total of about 29 minutes and edited out the less interesting footage with OpenShot. Most of the clips appear in the same order in which they were captured, although I did move a few where that seemed to make a smoother transition.

Once I had the full-screen version rendered into a single file, I used ffmpeg to crop and resize the viewing pane into a stand alone file.

So you got rid of the bandicam logo by capturing your full computer screen and the logo was in the part that you cropped away. That’s a trick more bandicam users should adopt. Or are you using the paid version without logo?

I don’t know OpenShot, but in ShotCut I would just put one “Size, Position & Rotate” filter on the whole track and export the cropped video in one go, instead of processing the rendered video through a second program. Seems more practical to me, to do everything in one program. But I have no experience with the programs you are using, so I can’t really judge how efficient or inefficient your process is.

I really like how you arranged the musical bits in the first minute, that gives the video a good hook to engage the viewer. Wouldn’t be surprised if it took you particularly long to figure out the exact sequence of clips there.

VHTV freecams → free Bandicam → free OpenShot → free ffmpeg. See a pattern here?

Actually you may be using ffmpeg without knowing it. FFmpeg is a command line program that nearly all GUI video editors, especially the free ones, use under the hood. The GUI lets you describe the output you want and then feeds that description to ffmpeg which does the hard work of modifying the input.

The arrangement of the clips was determined almost exclusively by the timing of my surfing. The musical clips at the start just happened to be among the first captures. The clip of Miki is slightly out of place as is the second clip of Draca and the second clip of Rosy. And of course the beginning and ending shots of Myra. That’s about it. Most of my time was spent deciding which portions of the clips could go and which should stay.

I like ffmpeg for cropping because when I try to crop with a GUI I’m always off by a few pixels. The command line gives me pixel level control over cropping.

Antwan:
I have a video 1920 x 1080. I want to create a video from it preserving the pixels from x,y = 268, 190 to x,y = 1636, 959. The final result should be 1280 x 720 25fps. How would I do that with ffmpeg?

(Google) AI Overview:
To create your video, you need to use FFmpeg’s crop and scale filters in a single command, chained together. First, you will calculate the dimensions of the area to be cropped. Then, you will specify the desired output resolution and frame rate.

Step 1: Calculate the crop dimensions The FFmpeg crop filter syntax is crop=w:h:x:y, where w is the width, h is the height, and x and y are the top-left coordinates of the crop area.
Width (w): The difference between the max and min x-coordinates.(w=1636-268=1368)
Height (h): The difference between the max and min y-coordinates.(h=959-190=769)
Top-left x-coordinate (x): The starting x-coordinate.(x=268)
Top-left y-coordinate (y): The starting y-coordinate.(y=190)

Step 2: Combine the crop and scale filters The complete command will chain the crop filter with the scale filter, followed by the frame rate option.

sh
ffmpeg -i input.mp4 -vf “crop=1368:769:268:190,scale=1280:720” -r 25 -c:a copy output.mp4

Command breakdown:

ffmpeg -i input.mp4: Specifies the input video file, input.mp4.

-vf “…”: Initiates the video filtergraph. The filters are separated by a comma.

crop=1368:769:268:190: Crops the video to a width of 1368 and a height of 769, starting at pixel coordinates 268, 190.

scale=1280:720: Resizes the cropped video to the final desired resolution of 1280x720.

-r 25: Sets the output video’s frame rate to 25 frames per second.

-c:a copy: Copies the audio stream directly without re-encoding, preserving the original audio quality.

output.mp4: Specifies the name of the output video file.

1 Like

Yes, I think I heard before that Shotcut also uses ffmpeg internally, though, to be honest, I don’t really care that much about what goes on under the hood.

ShotCut is also free.

And it gives you single pixel and single frame precision in all the things you do. For the filters where you may point and drag a rectangle on the preview screen, you can also enter precise numeric values. And in the preview window you can zoom in to 1000% and check your corners for what is or is not in your exported frame.

Though, what I think it can not do is just using the unmodified audio or video stream of a source file. I think by its very nature, since you can use multiple sources in a project, it always has to make a new encoding.

I will try ShotCut soon. Given that display quality degrades slightly with each render, if I can get pixel-level cropping with one render instead of two that is definitely worthwhile.

it makes it easier for you as tools like that just calculate for you and build the command for ffmpeg. and you can see the result of zoomimg, cropping, positioning in a preview. you can change/set the output format when opening a new project, for example 1080x1920 (19/6) for smartfon, and match the part of the vid to that by just using the mouse to zoom, position and so on.

and in addition you have a lot of filters to manipulate the pic, you can change the appearence (colors,lightning, etc.) also all shown in a preview.
just look on utube some tutorials to see what you can do with it. :wink: