Questions tagged [video-editing]

Video editing is the act of trimming, modifying or updating a video. For questions related to processing videos with filtering video frames, use [video-processing], and [video-encoding] for questions related to editing videos in any format.

Video editing is the act of trimming, modifying or updating a video, with or without dedicated software. Special effects, audio, subtitles and most movie-production practices are performed.

See also:

361 questions
9
votes
1 answer

Commands to cut videos in half horizontally or vertically, and rejoin them later

How can I use ffmpeg to cut video in half, vertically or horizontally by resolution; so for a 640 x 480 video, I want to separate that into two halves with a resolution of 320 x 480, or to separate it into two halves horizontally with a resolution…
White Grimace
  • 93
  • 1
  • 3
9
votes
1 answer

Moviepy - Crop video with frame (region of interest) moving from left to right with time

I'm working on creating GIF from video clips automatically on the server using MoviePy. The library helped in various transformations and trimming of video to create GIFs. In my current project, I have a video clip with lots of moving objects…
Anna23
  • 680
  • 2
  • 8
  • 16
9
votes
1 answer

Videos shot from android phones get ruined after editing with AVFoundation iOS

I am working on an app that requires editing videos(setting overlays).Now,while the videos shot from iPhones are edited fine,the ones shot from android phones are getting blank after editing. I can't imagine what the problem could be.I would…
Reckoner
  • 1,041
  • 2
  • 13
  • 29
9
votes
3 answers

Speed change command fails when audio stream is not present in video - ffmpeg

I am trying to change speed of the video that does not contain audio stream via below command String[]{"ffmpeg", "-y", "-i", orginalFile, "-threads", "5", "-preset", "ultrafast", "-strict", "experimental", "-filter_complex",…
Lalit Sharma
  • 1,142
  • 1
  • 15
  • 32
9
votes
5 answers

stitching videos together using ffmpeg on the command line

Does anybody know how to stitch two (or more) videos together using ffmpeg (or another cli)? This is assuming that all the videos are in the same format and the video format being used allows for lossless stitching (no transcode, just end-to-end…
quinn
  • 5,508
  • 10
  • 34
  • 54
9
votes
1 answer

ffmpeg: concat videos and images

I have 2 videos (same resolution, same encoding) files that I want to concat and I want to insert some text for 3 seconds between them, as a splitter. I'm doing this with ffmpeg on Windows. Optional ideas that I would be interested in: avoid…
Yosko
  • 329
  • 1
  • 4
  • 15
8
votes
3 answers

How can I add overlay text on a video, then re-encode it?

I want to edit video from my iOS application. I want some text on the source video for language subtitles. I then want to save video with that text overlaid. text not just only display purpose. but when i open edited video it show updated video. Is…
Gaurav Thummar
  • 780
  • 1
  • 12
  • 22
7
votes
1 answer

iPhone AVErrorInvalidVideoComposition error when doing image overlay on video?

I have combined the 2 code chunks found here into one solid chunk (and verified the process with an Apple Developer Xcode tutorial file). When I run it, however, I get an error. It says: Error Domain=AVFoundationErrorDomain Code=-11841 "The…
7
votes
1 answer

How to add chapters into mp4/mkv file using ffmpeg?

Currently i'm using MKVToolNix for my needs which is fine but i would prefer some CLI also. As far as i know ffmpeg supports chapters management.
Alex Zubkov
  • 107
  • 1
  • 1
  • 7
6
votes
3 answers

How to trim the video with start & end time in android programmatically?

I want to trim the local video based on start and end time in android programmatically ,I tried below attached few links but haven't worked for me.Please let me know any working libraries or sample code to overcome this? Refereed links: Android sdk…
6
votes
2 answers

FFMPEG - Fading text with background

I'm trying to fade a text in and out (the text has a background), at the moment, what I have is this command: 1. Blend command ffmpeg -y -i input.mp4 -filter_complex "drawtext=fontfile=HelveticaNeue.ttf:text='Testing': fontcolor=white:fontsize=40:…
Helder Santos
  • 119
  • 1
  • 11
5
votes
1 answer

Changing video Frame size using AVFoundation

I am trying to change the video frame size to square i.e 100 x 100. Here is the code: - (void) changeSize :(NSURL *) url { //Create audio/video Settings NSDictionary *videoSettings = [NSDictionary dictionaryWithObjectsAndKeys: …
5
votes
1 answer

Blender 2.8 video editing video becomes dark

All configurations are default, I have not changed anything, in the old version is correct, under is my screenshot: This is a screenshot of Blender 2.8: And this is a screenshot of Blender 2.79: When I open the new project (created by Blender 2.8)…
鸿则_
  • 314
  • 1
  • 14
5
votes
1 answer

Audio Video merge using ffmpeg- moov atom not found error

I am using below command for merging audio and video- "-i", videoFileAbsolutePath, "-i", audioFileAbsolutePath, "-c:v", "copy", "-c:a", "aac", "-map", "0:v:0", "-map", "1:a:0", "-shortest", destinationFileAbsolutePath For few videos I am getting…
varmashrivastava
  • 432
  • 2
  • 6
  • 21
5
votes
1 answer

Video editing in android studio

i'm looking on some documentation and examples as to how i should get started creating a video editing application. Been having a hard time finding anything useful, anyone who can guide me to something? Thanks
Anders Lassen
  • 615
  • 2
  • 8
  • 20
1
2
3
24 25