Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated.

learn more… | top users | synonyms

1
vote
0answers
18 views

Converting JPG to MP4 green output

I'm trying to convert JPEGs to MP4 using ffmpeg. I've got the process working for PNGs so I know I'm heading down the right track. With when ffmpeg finishes processing a JPEG, the resulting MP4 can ...
0
votes
0answers
17 views

How to create a video with slide transition from images using ffmpeg

Have two or three images, want to create slide left , slide up , slide right and slide down transitions using ffmpeg Fade in and out i found from the link Create video with 5 images with fadeIn/out ...
0
votes
0answers
20 views

How to animate boxblur radius in FFmpeg?

I am running the following FFmpeg command which converts a single image to a 10 second slow-zoom into the center of the photo. As you can see, I currently have the boxblur looking how I would like it,...
0
votes
0answers
17 views

FFmpeg Clip part of a video with screenshot

I need to clip part a of a video using FFMPEG, which is installed on a server and I do this using PHP. In fact I am building a website for this. I know the command that does this. As it has been ...
0
votes
1answer
32 views

framerate issue with ffmpeg zoompan filter

with a lot of searching on this board, I've been able to put the following ffmpeg command together. It creates a clip of an image scaling from 1.00 -> 1.12x over 240 frames @ 24p (10 seconds). ...
0
votes
1answer
26 views

How do I remux selected audio tracks and subtitles using ffmpeg?

so I have a video (could be MKV or MP4) with multiple audio tracks and multiple subtitles (different languages). What I want is to remux into a new video and: selecting just 1 or 2 audio tracks ...
0
votes
0answers
23 views

Display image every X seconds and during Y seconds in ffmpeg

I want to stream video with gif image (myimage.gif) but I want to display it every X minute (every 10 minutes) and during this time I want to make it loops Y time and then disappear (fade out). or ...
0
votes
0answers
17 views

How to use mpdecimate with the same codec as the input file and audio on the output file

I have a 60 fps Pro Res Video File where I want to keep every 4th frame (the others are duplicates, so in reality 15 fps). The audio has to remain identical (not shifted by the transformation) in the ...
0
votes
1answer
53 views

Replace parts of video with another video with ffmpeg

I have a few hours long MP4 video (h264+AAC) and I need to replace small parts of it with another video (or audio only). The reason is that the file is a recording of a live session and I need to ...
1
vote
0answers
22 views

Crop and reduce frame rate without loosing quality in ffmpeg

I would like to take my input file (ProRes highest quality 60 fps) and crop it and convert the frame rate to 15 fps. The following did not work (the cropping alone did work, but the frame rate ...
0
votes
1answer
40 views

Why did the size of my video file increase after being cropped by FFmpeg?

I use FFmpeg library to crop a video in an Android project. User captured video with device camera. 10-sec video original 640x480 = 200 KB After crop by FFmpeg; why did the cropped file size is ...
0
votes
1answer
37 views

Specifying icecast protocol options in ffmpeg/avconv on Raspbian Lite

I'm very new at this Raspberry Pi 3 thing, but not afraid to delve into docs and examples. I've cobbled together commands and fixes to record audio from USB device - ultimately trying to stream ...
3
votes
1answer
35 views

How can I compress video by taking advantage of its static content?

I have an HD video that is a presentation, so it consists mostly of still images. It's a 50 minute, 200MB MP4 file, downloaded from YouTube. Is there a way to take advantage of the static nature of ...
0
votes
1answer
19 views

FFmpeg sidechaincompress give more importance to the sidechain

Have two audio tracks—one to be used as background and other as main audio—and I want to compress and mix the background audio to the main. I tried using the sidechaincompress filter but in the ...
1
vote
1answer
65 views

Loop a video overlay with ffmpeg

I have two videos, one of which is overlaid onto the other. The one that is overlaid is only a few seconds long, and I want it to keep looping whilst the main video plays. I have tried everything I ...
0
votes
1answer
27 views

How can I use both filter and filter_complex with ffmpeg?

I want to generate a waveform using this command : ffmpeg -i video.mp4 -filter_complex \ "[0:a]aformat=channel_layouts=mono,showwavespic=s=600x200,colorkey=black,colorchannelmixer=rr=156/255:gg=244/...
1
vote
1answer
59 views

How to delete a single metadata item from an MP4 file

Context and question I recorded a video with my MotoG3 phone Android phone and the resulting video (perhaps due to shaking the phone) plays rotated, that is, vertically, which is not something that I ...
0
votes
2answers
80 views

How can I merge video with ffmpeg

How can I get the following merged video files with ffmpeg? Please help me EDIT i Used hstack & vstack the following error 06-24 17:11:39.133 14565-14565/com.parksangha.videorecorder I/...
0
votes
1answer
91 views

Use FFMPEG To Convert .MKV to .MP4 With Conversion Settings

I am using a powershell script and ffmpeg to convert mkv files to mp4 files so that I can stream them using serviio The script executes as it should, however when serviio tries to add the converted ...
0
votes
1answer
28 views

Does using preset=placebo or veryslow option also decrease decode time?

When using h.264 I use preset=placebo option. It increases encoding efficiency, but I don't know I feel like it is also increasing decoding time. Is it right or it doesn't affect decoding time at all?
0
votes
1answer
52 views

ask ffmpeg subtitle and watermark on debian8 with no loss quality

please help for my case i have trouble on here for ffmpeg i use the command : ffmpeg -i whiskey.mkv -threads 0 -c:v libx264 -crf 28 -preset veryslow -vf "movie=logo.png[wm];[in][wm]overlay=0:0,...
0
votes
1answer
42 views

Merge many audio files with specific positions

I have multiple audio files that represent the session. So in one folder I may have: 2016-06-22-15-59-59-000.mka 2016-06-22-16-59-59-001.mka 2016-06-22-17-59-59-002.mka Filename is the date and ...
0
votes
1answer
30 views

ffmpeg flac to aac (libdfdk_aac) missing metadata

I want to convert an album from flac to aac. After converting the aac file is missing all metadata from the original flac file. I've already tried to convert it with the -map_metadata 0 argument My ...
0
votes
0answers
45 views

FFMpeg - Unable to slice QT videos

We use ffmpeg in one of our applications to slice videos. While it's working fine for slicing PAL videos, it is not working for QT videos... Here's the command we use: ffmpeg.exe -i "input.mp4" ss ...
0
votes
1answer
110 views

Overlay an image with an opacity setting in Ffmpeg

I want to overlay an image with an opacity setting I know how to overlay an image on a video, but I don’t understand how to set its opacity level too. I can easily add a watermark on my video, but ...
0
votes
1answer
36 views

Want to extract out only alpha using ffmpeg

Want to extract alpha channel from the video using ffmpeg in which black will mean transparent and white will mean opaque Used this http://ffmpeg-users.933282.n4.nabble.com/quot-Extracting-quot-Alpha-...
0
votes
1answer
49 views

FFMPEG complex filter buffer overflow

I'm trying to use ffmpeg 3.0.2 blend and concat filters together. Here is the command-line: ffmpeg -framerate 25 \ -loop 1 -t 40 -i img/01.png \ -loop 1 -t 40 -i img/02.png \ -filter_complex "\ [1:v][...
0
votes
1answer
41 views

Copy video quality on ffmpeg

I want to use ffmpeg to add a watermark but I want the video will have the same quality. How do I do that ? I tried to use -vcodec copy -acodec copy but was without watermark <?php echo "Starting ...
0
votes
0answers
20 views

How to run FFmpeg.exe through another C#.NET application?

I have to run the FFmpeg.exe on another remote machine to record audio 24/7. The issue is I don't have access to that machine. I wanted to know how to invoke the FFmpeg application through another ...
1
vote
0answers
34 views

Splitting from 1 to 4 stereo input streams to 8 mono streams

I wanted to know if there is a way to splitting from the files with 1 to 4 stereo streams into separate 8 audio streams in one output file. I would like to use the same command. I convert a large ...
0
votes
1answer
52 views

How to add watermark to video with ffmpeg after 1 minute, lasting 30 seconds?

I would like to watermark videos using ffmpeg, with the watermark showing after 60 seconds, with the watermark showing for only 30 seconds, then disappearing for the rest of the video. Can anyone ...
0
votes
1answer
25 views

Why do I get a black box when I tile pictures with -filter_complex tile=2x1 in FFmpeg?

As I was trying to write a script (which attempts to join two pictures eventually) using FFmpeg I came across a very weird behaviour. This is a command from I've found in the How to join two images ...
0
votes
3answers
52 views

Changing subtitle format with ffmpeg

How can I change the subtitle format of a movie to .srt for example? I have any movie (sound, video and an embedded subtitle). I just want to change the subtitles to .srt while leaving everything ...
0
votes
0answers
113 views

ffmpeg generating a blank video as output of a screen capture

I'm trying to record as video a screen but it's a blank video as output. I'm using this command: ffmpeg -f gdigrab -framerate 25 -i title=calc fo.flv How do I fix this?
1
vote
1answer
77 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:
0
votes
0answers
69 views

ffmpeg setpts=pts at filter complex doesnt take the different PTS of several streams

i am now testing ffmpeg for some month and have a strage problem. I use the following command to combine 4 streams in a mosaic: ffmpeg -i STREAM1 -i STREAM2 -i STREAM3 -i STREAM4 -filter_complex " ...
0
votes
0answers
65 views

cut 10 sec from start and from end of video with ffmpeg

I'm trying to cut 10 sec from the begging and from end of videos. I have 150 short videos in mp4 and I want to do this in batch. I have downloaded ffmpeg (x64) and installed. When I type the command "...
1
vote
0answers
48 views

FFMPEG motion compensation and search

I'm trying to modify the motion detection part of FFMPEG. What I want to do is to extend the search space, so that whenever the macroblock hits the rightmost edge of the frame, I need it to still move ...
1
vote
1answer
27 views

ffmpeg : combine two or three audios into one by lowering the volume of the other

Want to combine some audio files eg: 1) one long audio file which will act as a background audio 2) some audio files which will be replaced at specific intervals like at 10 sec of the first one So ...
0
votes
1answer
29 views

ffmpeg - Is it possibe to retain real timecodes using -copyts?

It's is a simple task. I want to make a converted clip of a video using -copyts to have it's real timecodes. For example, the converted clip of this command: ffmpeg -hide_banner -ss 57:41.76 -i input....
0
votes
1answer
63 views

How to loop a video back and forth with ffmpeg

I have a video of 5s length. The final video should be 60s long. The resulting video should be a "ping pong" loop, meaning my 5s should be played back and forth until the 60s are reached. Does ...
0
votes
1answer
88 views

how can I using code in Android ffmpeg library

My Code is: private void startTransformVideo() { String cmd = new String("-y -i {filepath}{filenameRaw}.mp4 -vf crop={width}:{height}:0:0 -acodec copy -threads 5 {filepath}{filenameCropped}.mp4")...
0
votes
0answers
34 views

FFMPEG:merging Image and Audio duration getting increased

I am trying to create a video using a still image(.png) with audio(.wav) file using FFMPEG with video duration equal to audio duration but even keeping '-shortest' & '-loop 1' as flag, pegstill ...
0
votes
1answer
57 views

Filter Boxblur has unconnected output

I am trying to blur specific part of video depending on specific interval,like in 2-10 second blur this part and in 12-20 blur another but I am not able to get this working. Here is the command I can ...
0
votes
1answer
43 views

FFMPEG Crop video and insert gif same time

$command = 'ffmpeg -ss 6 -i input.mp4 -ignore_loop 0 -i logo.gif -filter_complex \ "crop=in_w-2*28:in_h-2*25;[0:v][1:v]overlay=15:H-h-25:shortest=1" -codec:v libx264 out.mp4'; i can't manage both ...
0
votes
0answers
9 views

Cross fading and concating videos in FFmpeg

newbie in FFmpeg Library . I added cross fade effect between 2 videos using command of FFmpeg : input 1 : big_buck.mp4 input 2 : big_buck.mp4 generated Output with cross fading : result.mp4 ...
0
votes
1answer
142 views

Change framerate in ffmpeg without reencoding

I have a mkv (h264) video that is 23.976 fps (24000/1001) but I want to convert it to 25fps without reencoding and loosing quality. I know mkvmerge can do it ( with option --default-duration '0:25fps')...
0
votes
0answers
23 views

Is there any quality in loss in FFMPEG when converting to .PNGs?

I need to dump video files to their individual frames as .png files, and I'm using FFMPEG to do so like this: ffmpeg -i video.ts -r 59.94 dump/%d.png Now, I get all of the frames I need, and they ...
0
votes
1answer
42 views

How to conditionally blur video using FFMPG

I want to conditionally blur video Like for a 30 second video form 2-10 second blur different area than 12-20 second. But I am only able to blur it 1 time only so far,Following is the command I tried ...
0
votes
2answers
60 views

bash script: 'while read' loop through lines in text file losing characters. ffmpeg line to blame?

I am looping through a text file, using 'while read'. I read three variables from each line - two filenames and a decimal number. I know that this works in a vanilla setup (loop, read line, echo line, ...