Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
122 views

What is the most efficient way of stacking two videos using FFmpeg?

I want to stack two videos of a talk together vertically using FFmpeg. One shows the presentation (slides) and one shows the speaker. Since I want to do this for several talks, I'd like to do this in ...
technical_difficulty's user avatar
0 votes
1 answer
28 views

Segmented File Size

In VirtualDub2, when I select "Save segmented AVI", it uses the default settings which are set to raw video and PCM for audio. How do I change it to other settings like H.264 and AAC? If ...
Calvin Jack's user avatar
0 votes
0 answers
71 views

YUV: Change the Chroma Subsampling and Bit Depth Without Losing Quality

Let's say I have a short video with YUV 4:4:4 and 10bit depth, and I convert it to a FFV1 with YUV 4:2:0 and 8bit depth. Is the FFV1 lossless? Will the colors be the same? If so, how do I convert ...
David Pilling's user avatar
0 votes
1 answer
241 views

Replace video track in MKV with track from .h264

I want to replace only the video part in my existing mkv file with the video.h264 file I created externally, I don't want to interfere with other parts or features in my mkv file such as audio or ...
sweetngx's user avatar
1 vote
0 answers
185 views

Is there some way to losslessly "cut off" from the beginning and/or end in an .mp4 file?

First of all, yes, I know that .mp4 videos are lossy. Many of them contain annoying unwanted stuff in the beginning or end, which I neither want to see nor want to take up storage space on my disks. ...
Burleigh's user avatar
0 votes
1 answer
290 views

how to combine two ffmpeg commands into one?

I am currently using this command to cut the first 10 seconds of all videos in a folder so the output is the whole video minus first 10 seconds. FORFILES /M "*.mkv" /c "cmd /c ffmpeg -...
che10's user avatar
  • 1
0 votes
1 answer
3k views

Using mkvmerge to Merge Subtitle Tracks

I am looking for a way to merge two MKV files, each with an embedded subtitle track, into one where the subtitle tracks merge properly and in order. Right now I get two separate subtitle tracks, and ...
Benjamin Morrison's user avatar
8 votes
5 answers
11k views

What are the minimum requirements/specs for ffmpeg?

I am currently using a small software program I made in Python that utilises ffmpeg on my personal laptop that is overqualified to run it (core i7, 16gb ram etc), but I would like to move it over to ...
pigeonburger's user avatar
  • 2,468
1 vote
2 answers
3k views

Is there way to increase speed of adding subtitles to a video?

Currently I do it this way: ffmpeg -i video.mp4 -vf ass=subs.ass output.mp4. But with some videos it takes too long. Is there way to increase speed of that: may be saving output file with lesser ...
R St's user avatar
  • 189
1 vote
1 answer
3k views

Audio/Video out of sync on concatenating videos using ffmpeg : Non-monotonous TDS output

I am trying to add two videos using ffmpeg and the output video/audio is out of sync (and fast forwarded). Goal is to put intro.mp4 before the original file clip.flv My approach is to Change the ...
invider's user avatar
  • 113
0 votes
1 answer
62 views

Cross-Merge Many Videos

I have one folder with 30 videos, and another with 4. I want to merge the 30 first video as an intro to the 4, in order to create 120 different videos. In other words, imagine letters are intro videos ...
Don Bosco's user avatar
0 votes
1 answer
99 views

ffmpeg: unexpected behavior during extraction of frames with specified interval

I need to obtain snapshots from a video with 30 seconds interval. It is recommended in the Internet to use the following command: ffmpeg -i <video_file_path> -vf fps=1/30 <directory>/%...
mSourire's user avatar
0 votes
1 answer
143 views

Use Automator for handling multiple file inputs through shell Cat command in OS X to combine videos

I'm trying to do a similar thing with video files with no luck. Tried: for f in "$@" do cat "$f" > ~/Desktop/Test.mov done When I do this it just puts the last file selected in the file.
PuzzleHead555's user avatar
0 votes
0 answers
2k views

I-frames not marked as key frames in ffmpeg

I've come across some weird piece of MP4 video, where I-Frames are not marked as Key-Frames. This is messing with my video exporting script (seeking is way off and the video doesn't start at the right ...
lieblo's user avatar
  • 11
0 votes
0 answers
41 views

Video rendering issue after Windows update

I'm using a GoPro Hero7 Black for making some family and amateur videos, Sometimes I used Quick application for short clips and sometimes I used Davinci Resolve 15 for more complicated things.. ...
mohammed amine bourkadi's user avatar
3 votes
1 answer
12k views

How to make a video of two images morphing into each other?

I wanted to make a short video of one image becoming another, in a sort of transformation. I thought that some kind of interpolation could help me so i downloaded ffmpeg. But I don't really now how to ...
Trandus's user avatar
  • 33
5 votes
7 answers
37k views

Change audio track order in MKV files

I have a bunch of MKV files, that were all made the same way: one video track audio track 1 is english audio track 2 is german Now I want to change the audio track order, so that german is track 1 ...
Martin's user avatar
  • 237
1 vote
1 answer
2k views

FFMPEG: 2 FPS video to 30 FPS. How?

I have a 2 FPS video and I would like it to be a 30 FPS with a speed increase of 15. Is this "re-sampling up"? I don't even know how to google the question.
Your Friend---A Rat's user avatar
1 vote
2 answers
421 views

How can I batch convert videos into 4:3? [closed]

I've got about 112 videos, each ~240MB. All of them are in 16:9 and I'd like to change them to 4:3. What's the most nonresource-intensive and convenient way I can accomplish this without losing any ...
Red's user avatar
  • 11
0 votes
1 answer
406 views

How to open and edit .wlmp video

I have made a video using Window Movie Maker. I have formatted my computer and lost the program installation files. Now I found that Microsoft stopped supporting movie maker and it is no longer ...
user9371654's user avatar
  • 1,257
0 votes
1 answer
347 views

How can I add watermark and set the output bitrate and video size, also doing bulk using ffmpeg?

I was able to add watermark to multiple video using for %%a in ("*.ts") do ffmpeg -i "%%a" -i logoCopy.png -filter_complex "overlay=main_w-overlay_w-40:40" "Logo\%%~na.mp4" And now I'm trying to ...
Bassel999's user avatar
1 vote
1 answer
531 views

How can I remove the first 30 second of 40 min video and add watermark also doing bulk using ffmpeg?

I was able to add watermark to multiple video using for %%a in ("*.ts") do ffmpeg -i "%%a" -i logoCopy.png -filter_complex "overlay=main_w-overlay_w-40:40" "Logo\%%~na.mp4" And now I'm trying to ...
Bassel999's user avatar
2 votes
1 answer
718 views

FFMpeg Sound Lost When Short Overlay Video Ends

I am creating a video file that is 36 seconds long. It is made of three .mp4 files. One video file is the background and the other two videos are overlays. One of the overlay videos ends about 26 ...
Daryl's user avatar
  • 529
1 vote
1 answer
2k views

How to cut video frame specific with ffmpeg and convert framerate?

since a couple of days i encounter a problem with ffmpeg which is actually driving me mad... I try to use FFMPEG's filter_complex in order to extract certain short segments of a videofile (shot at ...
Alexander Pospischil's user avatar
0 votes
1 answer
3k views

Merge 2 audio tracks into one inside mp4 without re-encode video?

New Nvidia Share allows record videos with two audio tracks: one with in-game audio and second with microphone audio. How can I merge the audio tracks into one without re-encode the video? If ...
vanowm's user avatar
  • 275
0 votes
0 answers
324 views

Concatenate videos from txt file while adding a watermark

I'm trying to concatenate videos from a text file using this commmand ffmpeg -f concat -safe 0 -i video_folder/movies.txt -c copy video_folder/output10.mp4 and I also want to add a watermark using ...
Dillon Cortez's user avatar
1 vote
0 answers
122 views

Merging two videos while skipping common parts

A customer has a collection of tutorial videos, all of which have the following structure: preview (or recap) intro (always identical) repeated part from previous video (optional) new content outro ...
Igor Skoric's user avatar
3 votes
1 answer
8k 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
2 votes
1 answer
1k views

Clipping a video (spatially) using FFMPEG

How can I clip a video spatially using FFMPEG, with no border added, and no quality degradation? So basically I just need to split the video into 4 parts to separate the videos, like the frame below:
Tina J's user avatar
  • 559
1 vote
0 answers
268 views

Windows Movie Maker file size

I'm using ShareX to make x.264/MP4 tutorial videos in which there is very little motion. Most of the time I'm just typing and highlighting text. I'm getting reasonable file sizes. I edit the videos ...
MackTuesday's user avatar
1 vote
1 answer
496 views

Cut and Compress 4K Video?

I have a 20 second video which size in 4K which size is 125 MB. It is only about a defective electronic component so accuracy is not important. I want it much smaller. I have these options in VLC I ...
Léo Léopold Hertz 준영's user avatar
-1 votes
1 answer
78 views

What type of encoding with Bandicam?

I using Bandicam for screen recording file is so small. What type of encoding? I want to edit product from Bandicam and save, after that file is growing 8x from 10MB to 85MB. 10 MB including audio ...
We love Chiang Mai's user avatar
0 votes
1 answer
309 views

How to do a variable time scale?

I have a video where I would like to change the time scale of a video based on ratios read in from a file. I have figured out that to double the speed for an entire video I could use the setpts ...
Scott Chamberlain's user avatar
0 votes
0 answers
99 views

Lossless splitting and concatenation of video

I would like to split a video file into several video files in a way that would make it possible to recreate exactly the same original video file later. Can it be done? The videos I have have the ....
michau's user avatar
  • 158
0 votes
1 answer
61 views

How do I cut clips using its position from a video?

I have a lot of clip positions that I have to extract from a single video, how can I automate the whole process? As of now I have to manually cut each clip using its position, but as my number of ...
Ravijot Narang's user avatar
1 vote
1 answer
658 views

Cut WMV file into segments based on frame numbers and reencode to x264

I've done a bit of work with FFMPEG in my days and I am somewhat familiar with VirtualDub as well as high-end products such as Sony Vegas. However, I still can't figure out a simple and straight-...
Sebastien's user avatar
1 vote
1 answer
3k views

Video concatenating, with overlay

I have a video recorded from a gopro which is split into 3 parts as the maximum filesize is reached after about 17 minutes and the gopro automatically splits it into multiple parts. I also have a ...
user3550682's user avatar
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
0 answers
5k 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
1 vote
0 answers
150 views

Join AVI and WMV into an AVI

I have a WMV files and two AVI files I need to concatenate into one video file as an AVI file. What the quickest and easiest way to do this on OSX?
hrethrthrthrtyhtrhrthrt's user avatar
3 votes
1 answer
6k views

ffmpeg - concatenating two MP4 files results in bad output file

I generated two MP4 files - a five-second intro file, which is created by the script below, and the main video (about one minute long) is created by screen-cast-omatic, both in MP4 format. When I ...
DevDewboy's user avatar
1 vote
1 answer
2k views

Cropping video to different parts with same bitrate in ffmpeg

I am trying to crop a video clip (originally 960 by 540) in two 4 parts (top-left, top-right, etc..) and I use this command below (with of course corrext x/y positions): ffmpeg -i mov_a.m4v -vf "crop=...
Dumbo's user avatar
  • 594
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
6 votes
3 answers
6k views

dividing a video clip by 4 areas

I am working on a program that can playback a video clip in 4 phones. For this I need to supply each phone with a part of the video clip. Lets say I have a 1080p clip and I have 4 phones. Then I want ...
Dumbo's user avatar
  • 594
4 votes
1 answer
88 views

When encoding a video, is there a way to know the resulting file size in advance?

Is there a way to know how large your resulting file size will be before your video is finished encoding? BTW: I am using Microsoft Expression Encoder.
jth41's user avatar
  • 649
0 votes
0 answers
3k views

Allow multiple instances of Handbrake

Is it possible to run multiple instances of Handbrake on Windows 7 (video encoding application)? I have a 32 thread system and I think it would be more efficient to encode 2-3 movies at the same time....
Oddworld's user avatar
4 votes
0 answers
715 views

Accurate and reliable movie editing with avconv

I'm trying to perform movie editing in an automated way with avconv. It is made in two steps: extract some parts of an input movie: concatenate the parts to form an output movie: I tried some ...
erdavila's user avatar
  • 163
3 votes
0 answers
763 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
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,063
6 votes
1 answer
3k views

Convert GTK RecordMyDesktop OGV video for OpenShot editing

I make some screencasts with my laptop. The software that I use in Ubuntu is GTK RecordMyDesktop which gives me an OGV file. The quality is perfect and I am happy with it. For publishing or giving ...
rowman's user avatar
  • 335