Questions tagged [video-editing]

Questions about video editing software and their related topics, not to be confused with [video-conversion].

Filter by
Sorted by
Tagged with
95 votes
10 answers
88k views

How can I remove multiple segments from a video using FFmpeg?

I am trying to delete a few sections of a video using FFmpeg. For example, imagine if you recorded a show on television and wanted to cut out the commercials. This is simple with a GUI video-editor; ...
Matias's user avatar
  • 1,259
44 votes
7 answers
64k views

crossfade between 2 videos using ffmpeg

I've been trying to achieve a crossfade transition between 2 video clips using ffmpeg but have failed so far. I'm new to ffmpeg and am mostly relying on tweaking what I can find in the documentation ...
user avatar
245 votes
6 answers
463k views

Cut part from video file from start position to end position with FFmpeg [duplicate]

I have a video file of 30 minutes, but I want to extract a video from 00:09:23 to 00:25:33. I can define the startposition with -ss, but I couldn't find one for the end position. Any help please?
x74x61's user avatar
  • 2,841
57 votes
4 answers
160k views

How to cut at exact frames using ffmpeg?

I'm trying to use ffmpeg to cut video files at precise times. The ffmpeg help shows an option -timecode_frame_start to specify the starting frame but I am unable to get this command to work. The ...
curmil's user avatar
  • 1,055
34 votes
4 answers
30k views

Accurately cut video files from command line

I'm having trouble finding a cli application that can take a video file (avi, mkv, and mp4 preferably) and cut out very short clips (2-6 seconds) with precision time accuracy. I've tried ffmpeg, ...
curmil's user avatar
  • 1,055
16 votes
5 answers
12k views

Automatically split large .mov video files into smaller files at black frames (scene changes)?

I have 65 .mov video files named tape_01.mov, tape_02.mov, ..., tape_65.mov. Each is about 2.5 hours long and takes up many gigabytes. They are digital copies of what were VHS tapes (my family's "...
Ryan's user avatar
  • 1,944
40 votes
5 answers
61k views

Greenscreen (aka chroma key) effect with a webcam?

This is not the blue screen of death I am speaking of, but the process called bluescreening (also known as green screen, or Chroma Key). It removes a particular colored background from an image so ...
Axxmasterr's user avatar
  • 7,918
16 votes
10 answers
21k views

What is the best software to split and join avi files? [closed]

What is the best software to split and join avi files without losing quality (lossless) in Windows?
softwarematter's user avatar
4 votes
4 answers
5k views

How to turn images into a video slideshow with sound

I have a 65min long MP3 file and 14 different images (a slideshow). How do combine these into a video file that is less than 500MB? Is there any free/opensource/trial software for Windows 7 that can ...
enloz's user avatar
  • 171
59 votes
4 answers
127k views

How do I reduce the size of a huge MP4 video?

I have a 4GB MP4 video file that I shot with the HD Flip Mino. How do I reduce it to no more than 1GB without losing too much quality?
user1413's user avatar
  • 4,404
17 votes
3 answers
43k views

Lossless universal video format

I am trying to find the most suitable lossless video format for 1280x720 25fps video. The video has 4 minutes. Sound will be 320 kbps mp3, that is not a big deal. Ideal conditions: Lossless (can be ...
mrkva's user avatar
  • 271
15 votes
2 answers
7k views

What is an efficient way to do a video crossfade with FFmpeg?

Doing a crossfade between two pieces of video content is actually quite complicated in FFmpeg. There is no “crossfade” filter like there is for audio. What’s an efficient way to do it?
Mark Gerolimatos's user avatar
3 votes
2 answers
7k views

Video/Animated GIF advanced frame editor?

What sort of application could I use for example if I had a 5 minute video or an animated GIF with 50 frames, and I wanted to basically Photoshop replace an object, say a person's head, with another ...
meder omuraliev's user avatar
2 votes
1 answer
2k views

ffmpeg time format in filter_complex

I wanted to trim video. I mean I wanted to select few sections from one video and then concat they or mix they together! I did it. But in "filter_complex" I can not type start point time format like: ...
IremadzeArchil19910311's user avatar
0 votes
1 answer
1k views

Ffmpeg. How to replace black bars by zoomed image

In some videos there zoomed part of the same video instead of black bars. Like this one:
Jack J's user avatar
  • 47
48 votes
3 answers
47k views

How can I crop a video to a part of the view?

I have a video that shows the following and I would like to crop it to this: How can I do it?
Martin Thoma's user avatar
  • 3,434
25 votes
2 answers
22k views

Split Up a Video Using FFMPEG through Scene Detection

I saw this thread, which almost exactly does what I want, but I'm actually looking for splitting on scene detection. Automatically split large .mov video files into smaller files at black frames (...
aronchick's user avatar
  • 1,028
8 votes
1 answer
6k views

use ffmpeg filter_complex trim with time duration including hours and minutes [duplicate]

I'm trying to setup a script to automate some video manipulation, including trimming the video. for that I'm using ffmpeg filter_complex. I would like to specify the start and end position using the ...
sanzoghenzo's user avatar
7 votes
4 answers
45k views

Lossless cutting of MPEG TS files in Windows [closed]

I have several HD video files in transport stream (.ts) format, recorded with my satellite receiver. I want to cut them, as in simply remove a few minutes from the beginning, the end and sometimes a ...
Sebastian P.R. Gingter's user avatar
6 votes
3 answers
9k views

Split MPEG video from command line?

I have a homemade DVD that I'm effectively trying to insert chapters into and rearrange - the original author burned it as one long chapter, and I'd like to rip it into smaller pieces and re-encode it ...
Tim's user avatar
  • 522
5 votes
3 answers
579 views

Very simple video editor [closed]

First of all, I must to say that I don't know anything about video editing. I'm a total noob in this field. I need to make a screencast. Actually, I have made the desktop recording and I have some ...
Jonathan's user avatar
  • 247
3 votes
2 answers
1k views

ffmpeg merge dash cam mp4 videos with last second trimmed?

I have a dashcam (made in Taiwan), it generates videos by exactly 5 minutes and 1 second, the last 1 second is duplicate of next video first 1 second. I wanna cut the last second of each video, then ...
est's user avatar
  • 654
3 votes
1 answer
7k views

Video cut with missing frames in FFmpeg

I have tried every possible command to cut a portion (1-3 mins) of an H.264 mp4 video but it comes out good & bad. My video is 29.97 FPS, 1080p, ~80 minutes, ~3.5 GB, and at ~6200 KB/s bitrate. ...
HoHey22's user avatar
  • 31
3 votes
1 answer
3k views

How to cut unwanted video parts and join the rest ones into one video using FFmpeg?

I have read about cutting and splicing using concat but this is not enough for me. I would like to cut marked video parts and join into single video file without re-encoding. Is it possible to cut ...
J Pollack's user avatar
  • 143
3 votes
0 answers
760 views

Ffmpeg sync error, first image showing really fast

I want to converting my images with mp3 to videos... but first slide is showing up really fast. I want to each slide duration 5-7 seconds or so RAW material MP3 Files My list Images FFmpeg git-...
radiaku's user avatar
  • 91
1 vote
3 answers
1k views

Script for cutting videos based on edit list

I have a bunch of game footage from my soccer team's season and I've assigned each of my teammates one game to watch and write down the time intervals where highlights occur. Now instead of having ...
Curtis Bowman's user avatar
0 votes
2 answers
189 views

Simplest way to add stills to MP3 audio soundtrack

I have some audio and want to add visuals to it and upload to YouTube. Nothing fancy, just like slides, image_A from 00:00:00 to 00:00:05 then image_B from 00:00:50 to 00:00:30 and so on. I have ...
Ambrose's user avatar
  • 163
0 votes
1 answer
145 views

ffmpeg - add multiple videos in panes, one master track, give offset start times how?

In these days of COVID, our choir director is recording a video which is the accompaniment, and then each choir member (at home) is listening to the accompaniment in headphones, singing along, and ...
Betty Crokker's user avatar
187 votes
3 answers
228k views

How do I trim a video using Handbrake?

I can't seem to figure out the solution to a very simple problem. I want to trim a video in Handbrake and keep the video as is (resolution, encoding, etc), just chop off the first few seconds, but I ...
user400424's user avatar
  • 5,764
42 votes
5 answers
44k views

Command-line video editing in Linux (cut, join and preview)

I have rather simple editing needs - I need to cut up some videos, maybe insert some PNGs in between them, and join these videos (don't need transitions, effects, etc.). Basically, pitivi would do ...
sdaau's user avatar
  • 5,608
19 votes
4 answers
5k views

Concatenating ogg video files from the command line

Okay. I've got a few ogg files I've created using a desktop recording tool. I've transcoded them using ffmpeg once (mainly to clip out the beginnings and the ends). Now, I have 3 such files which I ...
Noufal Ibrahim's user avatar
12 votes
3 answers
15k views

How can I tell if a video has a variable frame rate?

How can I tell if a video has a variable frame rate? I don't need to be able to do it programmatically, I just don't want to have to install some program that's hundreds of megabytes; for example, if ...
Nathan Wailes's user avatar
10 votes
2 answers
31k views

How do I export only a single clip from a Premiere Pro sequence?

I'm cutting a video in Premiere Pro CS4 and need to slice a long sequence into smaller parts. I've successfully sliced the parts, like this: I even set the sequence markers to the current selection. ...
slhck's user avatar
  • 228k
5 votes
2 answers
15k views

How to make left-right transition of overlay image ffmpeg

I have used the below command to make a left to right transition of overlay image over a video. ffmpeg -i Test.mp4 -i transparent.png -filter_complex "overlay=x='if(gte(t,0), -w+(t)*100, 3)':y=...
2vision2's user avatar
  • 203
5 votes
3 answers
5k views

Find video file position using an image match

What would be the best tool / method to automatically find a position from an video file, where the frame approximately matches* a given image? Basically, a command to: "Find the position where [...
Ilari Kajaste's user avatar
5 votes
2 answers
8k views

How to trim or delete parts of an mpeg video from the linux command line?

I have an long mpeg movie and I want to cut out a lot of material from the beginning and end, and certain patches in the middle. Is there a way I can easily do this from the linux command line?
dggoldst's user avatar
  • 2,692
5 votes
1 answer
2k views

ffmpeg's select-filter generates unwanted black frames

I want to cut a video by frames with ffmpeg. What I came up with so far is ffmpeg -i P2.mp4 -vf "fps,setpts='PTS-STARTPTS',select='gte(n\,20)*lte(n\,30)',crop='600:430:100:650',scale='280:-1'" P2o....
sjngm's user avatar
  • 2,111
4 votes
1 answer
8k views

Delayed video overlay using FFmpeg

I want to overlay one video onto another, but with a delayed appearance. I have: source1.mp4 which is of duration 20 sec. source2.mp4 which is of duration 5 sec. I want to create a final output in ...
alter's user avatar
  • 133
4 votes
1 answer
4k views

Kaleidoscope effect with ffmpeg

I want to crop an area from an input video, then rotate this area 90 degrees four times. The output video should look like this: This is a before image: This is an after image: Thanks in advance!
user3485914's user avatar
4 votes
0 answers
4k views

FFMPEG fade between images

I need to do cross fade transition between two images and followed this link which works perfect for two images. ffmpeg -loop 1 -i input0.png -loop 1 -i input1.png -filter_complex "[1:v][0:v]blend=...
2vision2's user avatar
  • 203
4 votes
1 answer
3k views

Cutting AVI videos in Mac OS X

Is there a tool for Mac OS X which supports cutting .AVI files, but doesn't re-compress them? Command-line tools are also welcome.
ohho's user avatar
  • 3,034
4 votes
3 answers
508 views

Batch-split many AVIs in 2 parts?

how can I batch split many AVIs into 2 parts, with no conversion? NB: this didn't help much What is the best software to split and join avi files?
iAsk's user avatar
  • 759
3 votes
4 answers
3k views

How/where does a GoPro camera store HiLight tags?

My Question in a Nutshell How/where does a GoPro camera store HiLight tags? Where I have Looked for the HiLight Tags I have already tried to find the created tags in the following locations – to no ...
Chriki's user avatar
  • 300
3 votes
2 answers
3k views

Playing random short clips from a collection of movies

I'm hosting a party, and I want to play random sequences from a collection of movies in the background. I don't want to sit and edit together five hours of footage by hand though. Ideally I would: ...
YXD's user avatar
  • 131
3 votes
1 answer
3k views

ffmpeg buffer overflow when trying video overlay

I am trying to overlay a video onto another video by using filter_complex. But it doesn't do overlay properly and says 'Buffer queue overflow'. It works fine if I remove delay by not using -itsoffset. ...
alter's user avatar
  • 133
3 votes
1 answer
2k views

FFmpeg x264 Encode Settings

My new Canon Vixia HF G30 video camera has an option to encode directly to 35 Mbit/sec Mp4 at 1080p60 and it does a nice job. I primarily use it to record my daughter's high school basketball games. ...
fionasdad's user avatar
  • 165
3 votes
4 answers
2k views

Which file format to use for simple video editoring

I've just bought a Sanyo VPC-CG10 camcorder which saves clips as MPEG-4 (specifically, High-Definition 720p MPEG-4 AVC/H.246) I want a simple, cheap way to edit the clips and as, I'm using Windows ...
Craig's user avatar
  • 293
2 votes
3 answers
8k views

Extracting frame timestamp (PTS) and seting it as a file name

I have a video file that lasts 9.3s and was recorded at FPS=10. I would like to use FFMPEG in order to extract frames from this video at arbitrary FPS (e.g. FPS=3). Example command: ffmpeg -i input....
user avatar
2 votes
3 answers
12k views

Program to join TS videos using command line

I have a need to join .ts video files. I know of http://www.ffprojects.net/tssplitter/ which works very well, but as far as I can tell it is GUI only. I need to be able to do this from the command ...
bradvido's user avatar
  • 155
2 votes
1 answer
6k views

Fix an m4v video that has lagging audio (audio and video out of sync)

Here's a similar question for windows: Tool to fix video that's out of sync with audio? I'm hoping to solve this problem on a Mac. I've tried Handbrake and Avidemux (the latter seems to have an ...
dreeves's user avatar
  • 1,033