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
6 views

ffmpeg slow motion video with audio

I am able to do slow motion video using following command (found this at How to use slow motion effect in a specific time interval with ffmpeg): ffmpeg -i input.mkv -filter_complex \ ...
0
votes
1answer
7 views

ffmpeg audio duration increase using atrim

I have video of duration 10 secs and with the help of following command i can trim and then concatenate it using following command: Video ffmpeg -y -i test_video.mp4 -filter_complex \ ...
0
votes
1answer
15 views

ffmpeg mp3 to mp4 with image compatible with iphone

I need to convert an mp3 to mp4 with image (1080x720) using ffmpeg from my OSX command line. I already installed last version of ffmpeg (3.0.2), and tried the following command as described here ...
-2
votes
1answer
26 views

Best H.264 settings in Handbrake for lowest CPU drain

Actual file size is NOT an issue since I am deploying a standalone application or kiosk. But CPU drain is an issue. What are the optimum H.264 export settings to use in handbrake in this scenario?
0
votes
1answer
18 views

ffmpeg filter_complex chaining video streams (watermark then trim and join)

I am trying to add watermark and then trim specific part and at last join these by following command: ffmpeg -y -i test_video.mp4 -filter_complex \ ...
0
votes
0answers
31 views

ffmpeg: packaging H264@MPEGTS into Smooth Streaming

I have a (quite large) set of files that is all H264 in an MPEG TS container. Due to time constraints I need to repackage this content into smooth streaming without transcoding it (transcoding would ...
1
vote
1answer
28 views

Choosing Audio Stream While Converting Via FFmpeg

I`ve got a .mkv file with two audio streams. But when I intent to convert it to a .mp4, the ffmpeg only chooses the first audio stream. How can I make ffmpeg to uses second one? Thanks a lot.
0
votes
1answer
14 views

Encode h264 with FFMPEG that works across all browsers and devices (windows/mac/iOs/Android)

I want to encode images with FFMPEG to a h264 video file that will work on Windows Browsers and Mac Browsers and iOS / Android devices to display in HTML5. Is there a way to do that using one encoded ...
0
votes
1answer
11 views

How to add web cam(video) recording as overlay using ffmpeg

I have created following command to overlay image in video (desktop recording ): C:\>ffmpeg -y -rtbufsize 100M -f gdigrab -framerate 20 -offset_x 0 -offset_y 0 -video_size 1250x750 -draw_mouse 1 ...
0
votes
0answers
11 views

Cutting a slice of a clip with external subtitle

I need to cut a slice of a movie including it`s subtitle which is in a separated .srt file. I`m familiar with ffmpeg -ss but it won`t copy the subtitle. I would appreciate any kind of solution.
0
votes
0answers
33 views

Audio - ffmpeg produces high-pitched voices

I have a big video file and I'm using ffmpeg to get a smaller one. I work with the 2-pass ratecontrol and I'm using this simple command line ffmpeg -y -i file.mkv -c:v lix264 -b:v 900k -ac 2 -c:a aac ...
0
votes
1answer
27 views

ffmpeg pause video every 10 seconds for 3 seconds

Is there a way to use ffmpeg to halt a video for 3 seconds every 10 seconds? For example, I use a 30 seconds video, the video should stop at 0:00, 0:10, 0:20 and 0:30 for 3 seconds. The length of ...
0
votes
1answer
55 views

ffmpeg cutting off most audio when adding metadata tags

I'm trying to add metadata id3v2.3 tags to some files I converted to mp3 using VLC media player. Here's the command I'm using: ffmpeg -i "100000A9.mp3" -id3v2_version 3 -write_id3v1 1 -metadata ...
0
votes
1answer
29 views

Making pair of two YUV videos (side by side) using FFmpeg

I am trying to make a pair of 2 videos (side by side) with a 10px white border seperator. I used the following FFmpeg command, ffmpeg -i left.yuv -i right.yuv -filter_complex ...
1
vote
1answer
29 views

ffmpeg filter_complex multiple filters mute and text

I have 2 ffmpeg commands working fine alone ffmpeg -i test_video.mp4 -vcodec libx264 -filter_complex "drawtext=fontfile=test.ttf:text=awesome:fontcolor=white:fontsize=20:x=0:y=10+th" ...
0
votes
0answers
14 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
32 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
11 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
10 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 ...
0
votes
1answer
40 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 ...
-1
votes
0answers
10 views

Convert javascript slideshow to gif image [closed]

I have a simple javascript slider and i want this slider output to be in a single gif image how is it possible ?
0
votes
0answers
16 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
41 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
19 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
44 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
40 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
34 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
46 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
62 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
35 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
38 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
18 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
24 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
34 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
57 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
19 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
39 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
40 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
22 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
46 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
34 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
24 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
57 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
28 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
38 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
62 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
22 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
39 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
33 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
44 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 ...