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

0
votes
0answers
26 views

ffmpeg DTS output issue creates double length files

I am attempting to concatenate mp4 files with the following command line. ffmpeg -fflags +genpts -y -f concat -copytb 1 -safe 0 -i .\list.txt -c:a copy -c copy $outputFileName I get a number of ...
-1
votes
1answer
37 views

How to use multiple filters

I wanna crop video and set sound at the same time. How can i do this? ffmpeg -i input.mp4 -vf "scale=2*iw:-1, crop=iw/2:ih/2" -map 0 -c:v -af aecho=0.9:0.3:1000:0.5 output.mp4
0
votes
0answers
15 views

zoompan filter creates shaky image?

I try to perform a basic zoompan with FFmpeg. I have an input list image (.jpg 400x300) and i create slice image video (.mp4 400*300) from it, with a zoom each image. This is my command: ffmpeg -y ...
0
votes
0answers
14 views

GnuTLS: undefined reference to 'CertEnumCRLsInStore'

This all started because I wanted to compile FFMPEG with specific options. One or more of these options requires that I have GnuTLS installed as well. So I went through the process of downloading and ...
2
votes
1answer
231 views

FFMpeg concat demuxer unsafe file name

I'm using ffmpeg inside my .net application to merge(concatenate) some short videos with the same encoding and width and height dimensions. I've created a txt file as the documentation says and this ...
0
votes
0answers
17 views

Using 3ga and 3gp with ffmpeg

I have sometimes converted .3gp files from my Android voice recorder into .mp3, easy as pie - sometimes I combine image(s) and create videos from these recordins for Youtube, but when I try to convert ...
0
votes
2answers
82 views

How do I install ffmpeg on Debian Jessie?

My installation of Debian Jessie is seemingly doing everything it can to prevent me from installing ffmpeg. I have read How to install FFmpeg on Debian?, but avconv is not an option and adding deb ...
0
votes
0answers
27 views

Crop video file using VLC

I found the following command for cropping a video file using VLC: vlc input.mp4 --crop=480x500+290+720 But after running the command, the VLC player opens and I can't see any change on the ...
0
votes
1answer
60 views

How to crop background image to be used in overlay?

ffmpeg -loop 1 -i hinh1.jpg -i 2.mp4 \ -filter_complex "[1]scale=iw/2.5:-1[ovrl]; \ [0][ovrl]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1[v],\ ...
0
votes
1answer
65 views

FFMPEG: Overlaying scaled video over image

I am trying to produce video containing static image and smaller video which would be overlaid on top of it. Dimensions and position of overlay video are dynamically sent to the server script which ...
0
votes
1answer
58 views

Convert MKV with DTS audio to MKV with AAC, AC3 or MP3 audio

I have an MKV with multi-channel DTS audio. Using ffmpeg from the command line I want to convert to MKV with either multi-channel AAC, AC3 or MP3 audio. Can someone please tell me command-line for all ...
0
votes
1answer
55 views

Copying audio from a quicktime with ffmpeg

I am trying to copy just the audio from a quicktime. >"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -y -i a.mov -vn -acodec pcm_s16le a.wav Here is my output. Sorry for the formatting. ffmpeg ...
3
votes
0answers
88 views

Youtube-DL: How to strip video information/description when converting audiofile to MP3?

This might be picky, but when I use Youtube-DL to convert audio from a video to MP3, I let it also tag the title and embed the thumbnail from the video. Somehow it adds the video description and some ...
0
votes
1answer
46 views

FFmpeg audio phase reversal

I'm writing a script which performs a series of operations on several .wav files. One of the operations is phase reversal (from what I gather, a 180 degrees phase shift). Is this possible with FFmpeg ...
1
vote
1answer
42 views

FFmpeg - Fade in watermark only

I am trying to place a watermark.png image on a video with a fade-in effect. This is my command: ffmpeg -i input_vid.mp4 -c:v libx264 -pix_fmt yuv420p -vf movie=watermark_3.png, scale=144:31 ...
0
votes
0answers
21 views

FFmpeg - Add number to output

Is there any way to automatically add a number to the output file with FFmpeg? I don't want to override previous outputs, and I don't want to set the output number manually. I am looking for something ...
1
vote
1answer
31 views

ffmpeg increases video segments length when used with -segment_time - how to fix?

I am trying to record rtmp stream to file, splitting every 10 seconds. My ffmpeg command is: ffmpeg -i rtmp://192.168.16.82:1935 -f segment -strftime 1 -segment_time 10 -segment_format avi ...
0
votes
1answer
49 views

ffmpeg convert image to mpeg/mp4 gets mp4 file with 0 bytes

I'm trying to convert a png file to mp4 file but I get 0bytes mp4 files. Here is my code structure: ffmpeg -r [framerate] -i [images] -s [resolution] -vcodec libx264 [videofilename].mp4
0
votes
1answer
72 views

FFmpeg concatenate - Error while opening encoder

I have an Android application that uses ffmpeg to concatenates 2 mp4 video files (360x640) together and outputs it as one .mp4. This is my command: ffmpeg -y -i vid_1.mp4 -i vid_2.mp4 -strict ...
0
votes
0answers
30 views

Seeking accurately in ffmpeg

I'm trying to trim a video from a given initial point in time and a duration. However, after researching, it seems that ffmpeg's seek accuracy is not sufficient most of the times, unless the video ...
0
votes
1answer
43 views

Video player high CPU usage

I need to play a video file with ffplay in fullscreen mode. The original file has 720x576 resolution, my display is at 1920x1080. When I launch ffplay as ffplay "filename.avi" and upscale it by ...
0
votes
1answer
50 views

How do I combine videos and include blank space with ffmpeg?

Suppose I have a series of video files to combine with non-overlapping times: 1.mp4 [0:00-0:45] 2.mp4 [1:00-2:00] 3.mp4 [2:10-3:00] This example has three segments, but in general, there may be ...
0
votes
1answer
35 views

Apply Gamma correction in avconv or ffmpeg

I cannot adjust a video using avconv or ffmpeg with Gamma correction. I use Debian Jessie, so I first suspected that avconv was incomplete, so following this question, I built ffmpeg myself. Using ...
0
votes
1answer
59 views

Trimming and joining media files using ffmpeg

I am trying to remove a segment (00:26:00 - 00:32:30) from a video file input.mp4. Since there is no way to do that directly using ffmpeg (as far as I know), I am instead cutting the segments which I ...
0
votes
0answers
45 views

How to remove silence at the beginning and end of a file with ffmpeg?

Some earlier threads said that the silenceremove filter doesn't support trimming silence from the end? is this still the case? My audio is lossless so I don't need to streamcopy or anything fancy ...
0
votes
1answer
33 views

Splitting up mp4 files with ffmpeg results in black videos

I'm trying to split a long video in mp4 format into 60 second sections: ffmpeg -i YDXJ0028.mp4 -c copy -segment_time 60 -f segment YDXJ0028_%03d.mp4 This kind produces the segmented video files, ...
0
votes
2answers
96 views

How to select the left audio channel with ffmpeg and downmix to mono?

I have an old "stereo" movie as a mp4 file. The sound is only in the left channel, the right channel is silent. I'd like to use ffmpeg to copy the video stream : ffmpeg -hide_banner -i video.mp4 ...
1
vote
0answers
42 views

FFMPEG realtime streaming using a remote m3u8

I've been doing a long term research to do DRM solution for my client and we are almost there, here is what we'd like to achieve and please accept my lack of understanding, Im well new to FFMPEG and ...
0
votes
1answer
41 views

ffmpeg convert image to mpeg/mp4

To convert jpg to avi this code works perfect on my server shell_exec("ffmpeg -f image2 -r 1/10 -i image.png out.avi"); I need to convert jpg/png images to mp4/mpeg. How do I do this?
1
vote
2answers
81 views

ffmpeg - trim and merge video clips without reencoding

I have two videos that I want to trim, and then merge the trimmed output. They're all the same size/codec so I'd like to do that without re-encoding too much. But if I do: ffmpeg -i clip1.mp4 -ss 1.2 ...
0
votes
0answers
24 views

Video delay when using filters in ffmpeg

I try to make video of sport event using raspberry pi. Drawtext filter seems good option to write score on the video. I have problem with synchronization / delay of video. I can see changing points ...
0
votes
1answer
72 views

Cutting and merging camera's H264 video results in corrupt file

I am not sure is the problem with the specific video or incorrect commands. I have tested with the latest ffmpeg 4/4/2016 build and older v2.8.6. The Sample.avi is recorded by a PTZ camera. To cut ...
2
votes
1answer
39 views

vlc command for lossless analog video capture

I want to digitize my VHS tapes using a video capture USB thingy. I wanted to use ffmpeg but sometimes it freezes recording and I haven't found a solution yet, I cannot rely on this. (See: ffmpeg ...
0
votes
0answers
58 views

ffmpeg Windows XP Entry Point Not Found Error

after downloading ffmpeg I tried to open the .exe file and I receive this error: This is using the lastest x32 build from ffmpeg's web site. Is anyone aware of a way to fix this or does this ...
0
votes
1answer
41 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: ...
0
votes
0answers
34 views

Is there a way to create a video from images with Ken Burns Effect using ffmpeg?

I was able to create a simple zooming effect but couldn't do a pan and zoom using ffmpeg. Is it possible to do that? This is the code i have so far: ffmpeg -y -i image%d.jpg -r 30 -vf ...
0
votes
1answer
42 views

Is it possible to use ffmpeg to merge files, transcode to MXF IMX30 with VITC

Is ffmpeg capable to transocode into IMX30 MXF? I have quiet a few files in DVCPRO MOV which I want to merge into one, transcode to IMX30 MXF with VITC since I have the program which is only capable ...
0
votes
0answers
79 views

Converting H265 to H264 causes artifacts in dark areas

I'm not sure if this is the right place to ask this, but I'll try anyways. I'm trying to convert a lot of HEVC (H265) videos to AVC (H264) and I'm getting all these nasty artifacts in dark areas. Does ...
0
votes
0answers
71 views

ffmpeg -segment_time produces spoiled segments

I use this docker image instead of installing ffmpeg directly to my OS X. What I want to achieve is to split some .avi file into pieces with duration of 30 seconds each. Here is my command: ffmpeg -i ...
1
vote
2answers
78 views

FFMPEG: How to split a video *NOT* on a GOP boundary/Keyframe WITHOUT transcoding?

Using FFMPEG, how can you break a video up into equal length segments THAT MAY OR MAY NOT start on KeyFrames? Assuming you are familiar with the segment format and the break_non_keyframes option, ...
0
votes
0answers
44 views

fast video overlay on a png image

I am using the following code to overlay my video on a background .png file: ffmpeg -i C:\image.png -i C:\input.mp4 \ -filter_complex "[1:v][0:v]scale2ref=-1:950[ovrl][0v]; \ ...
0
votes
0answers
14 views

FFmpeg - video re-encoding and remuxing

I am using FFmpeg C API to re-encode a video and to remux it (I have been following the official samples, that work after some modifications). Since I only have to process (modify) some video frames, ...
0
votes
1answer
47 views

ffmpeg join two mp4 files with ffmpeg on command line

I can successfully join multiple files using the following command: ffmpeg -f concat -i input.txt -codec copy output.mp4 the only problem with this command is that ypu need to read the filepaths ...
0
votes
0answers
19 views

ffmpeg doesn't start recording when using segments

I've got ffmpeg under Debian Wheezy and I'm trying to record a few cameras around the office in one hour blocks over 24 hours. When I type the following command it records without a problem; ffmpeg ...
1
vote
1answer
30 views

Red and Green color channels are swapped in ffmpeg rendered video

I'm using code similiar to this to pipe OpenGL image data directly to ffmpeg. I'm using this readpixels call: qglReadPixels( 0, 0, glConfig.vidWidth, glConfig.vidHeight, GL_RGB, GL_UNSIGNED_BYTE, 0 ...
1
vote
0answers
77 views

Setting audio quality for FFmpegs aac encoder in VBR mode

As FFmpeg switched their recommended aac encoder from libfdk_aac to the native aac quite a while ago i wanted to start using it. My problem is with the lack of documentation. It just states that you ...
0
votes
1answer
39 views

Ffmpeg lose streams while using -map 0

I had a strange issue using ffmpeg on Ubuntu 14.04. I run a command ffmpeg -i output2.avi -c:v h264 -minrate 2000k -maxrate 5000k -bufsize 2000k -profile:v high -level:v 4 -coder 1 -s 640x360 -bf 0 ...
1
vote
1answer
47 views

FFMPEG - How to keep metadata while transcoding

Ffmpeg newbie here. I put together a command line that takes anything put into it and outputs audio in aac: for %%a in ("*.*") do ffmpeg -i "%%a" -vn -c:a aac -b:a 320k "Output\%%~na.aac" pause ...
0
votes
1answer
45 views

Pipe ffmpeg output to other process

I want to pipe ffmpeg output to some other process like this: ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0 - | process. I get Unable to find a suitable output format for 'pipe:' ...
0
votes
1answer
32 views

Unknown option -pthread in LD

This is a follow up from this issue on Github. Basically, on OS X El Capitan, I get this message: ld: unknown option: -pthread clang: error: linker command failed with exit code 1 (use -v to see ...