Media tool with support for multiple codecs, filters, and containers. Include the full, uncut console output if you have problems with an FFmpeg command.

learn more… | top users | synonyms

4
votes
2answers
2k views

Streaming Desktop using FFMPEG in windows

How to stream Desktop using FFMPEG in windows?? I have tried ffmpeg -list_devices true -f dshow -i dummy and after that this to stream ffmpeg -f dshow -i video="Chicony USB 2.0 Camera" -r 30 ...
0
votes
0answers
35 views

how to combine two videos in one, odd frame video 1, even frame video 2…on Linux

I have two videos of same length but different content, I want video one to be on even frames and video two to be on odd frames on the same video. Frame sequence: video1 frame 1 video2 frame 2 ...
2
votes
1answer
13 views

ffmpeg stream copy frame accuracy

I know this might not be possible, but I'd at least appreciate understanding what's going on. I have a video with forced keyframes every 2 seconds. Ideally, I was hoping I'd be able to get ...
-1
votes
1answer
37 views

How to cut unwanted video parts and join the rest ones into one video using FFmpeg?

I have read about cutting and splicing using concat but this is not enough for me. I would like to cut marked video parts and join into single video file without re-encoding. Is it possible to cut ...
0
votes
1answer
16 views

Repair missing keyframes in downloaded video stream

I downloaded a video using ffmpeg with the following characteristics: Input #0, mpegts, from 'video.ts': Duration: 00:27:59.76, start: 1.400000, bitrate: 714 kb/s Program 1 Metadata: ...
1
vote
1answer
18 views

Unable to use unicode in outputfile name for FFMPEG transcode

I am using FFMPEG in a C# windows service to convert videos. Conversion is working fin. But when I specify the outputfile name containing unicode, transcoding fails. Is it a known issue, or is there ...
0
votes
1answer
11 views

ffmpeg syntax Label not found error

I am trying to normalize the audio of a video file (mp4), but ffmpeg is throwing an error.. The command: ffmpeg -i input.mp4 -af "[0:a]compand=.3|.3:1|1:-90/-60|-60/-40|-40/-30|-20/ ...
0
votes
0answers
14 views

How to overlay mp3 files using ffmpeg on android [on hold]

I want to overlay 2 mp3 files in android. I am using following ffmpeg command ffmpeg -i abc.mp3 -i def.mp3 -filter_complex amix=inputs=2:duration=first:dropout_transition=3 result.mp3 -y But I am ...
1
vote
1answer
52 views

ffmpeg mp4 audio trim

My mp4 is h264+aac I want to use ffmpeg.exe to add a background music to it , this musci is shorter than the mp4,thus the music should loop I have tried ffmpeg -i test.mp4 -i background.m4a ...
1
vote
1answer
20 views

static background and video overlay

I have a jpg: bg.jpg (300x600) and a video: video.mp4 (280x580) I want to overlay video.mp4 over bg.jpg, so that video position is 10,10 and the output video is video.mp4 minutes long. Is this ...
0
votes
1answer
16 views

ffmpeg - define exact time distance for images

I have a movie that is 3 minutes long and 29 image/sec. I want to split it into images by 1/second. I use this command: ffmpeg.exe -i FILE0014.MOV -r 2 -f image2 -vcodec mjpeg -qscale 2 "%%05d.jpg" ...
0
votes
1answer
26 views

Convert video to mpg format using FFMPEG

I am using FFMPEG to convert video files to mpg format. Conversion works fine for audio content, but the output has no video content. This is the parameters I am using: ffmpeg.exe -i "" -y -s ...
53
votes
5answers
30k views

How do I convert a video to GIF using ffmpeg, with reasonable quality?

I'm converting .flv movie to .gif file with ffmpeg. ffmpeg -i input.flv -ss 00:00:00.000 -pix_fmt rgb24 -r 10 -s 320x240 -t 00:00:10.000 output.gif It works great, but output gif file has a very ...
-1
votes
0answers
23 views

FFmpeg command taking long time [on hold]

I am using following ffmpeg command to lower volume at particular duration but it takes around 20-30 seconds. How to speed it ffmpeg-0 -i abc.mp3 -af "volume=enable='between(t,5,10)':volume=0.15, ...
0
votes
0answers
16 views

Find video duration after applying slow motion

I'm trying to have apply slow motion effect to a series of videos. And further those videos will be scaled, padded and cross-faded. Following is the command I'm using to apply slow motion. ffmpeg -i ...
0
votes
0answers
29 views

maybe incorrect parameters such as bit_rate, rate, width or height

Can someone help me figure out why FFMPEG keeps failing? I am running the command in PHP using exec. The exit code is 1. command: ffmpeg -i uploads/5566963704760/IMG_1806.MOV -vf ...
0
votes
1answer
2k views

Media Player Classic Home Cinema stops on MKV

Media Player Classic Home Cinema stops on MKV. It goes to "stop" mode after file open. Unable to run playing. No error messages generated. MPC-HC version: 1.6.7.7114 (9eb64ec) 64 bit Compiler ...
1
vote
1answer
30 views

Join 2 mp3 files with one having lower volume than other

I have 2 mp3 files (a.mp3 and b.mp3) and I want to overlap them using ffmpeg. How to overlap them in such a way that a.mp3's volume is low and b.mp3 volume is high so that it appears that a.mp3 is ...
0
votes
1answer
22 views

Merge audio and video using ffmpeg and retain both video and audio voice

I want to merge audio and video using ffmpeg. I use following command but it erases my audio from video. I want overlap of audio from both video and audio. ffmpeg-0 -i output312.mp4 -i abc.mp3 -c:v ...
1
vote
1answer
30 views

ffmpeg Images to videos

Is there a way to input multiple images in ffmpeg when the images are not sequential? Something like -i image1.jpg otherimage.jpg newimage.jpg? I know how to use -i img-%3d.jpg, but this doesn't ...
0
votes
1answer
1k views

Linux On-Demand Streaming Server

I'm looking for a server software for Linux, with which I can stream Video files via the network. I'd prefer a Software with a (web) GUI or one where you only have to point your media player to a ...
3
votes
1answer
113 views

Loop text that wipes left to right using FFMPEG drawtext filter

I have the following FFMPEG command which correctly wipes text across the bottom of a video. ffmpeg -y -i test_small.mov -acodec libmp3lame -vcodec libx264 -pix_fmt yuv420p -b:a 192k -b:v 1400k -ar ...
0
votes
0answers
32 views

Why does delaying audio in avi makes no sense?

I have an avi video which seem to have an audio delay of about 5.5 seconds. Therefore I used avconv to correct for this delay: avconv -i myfile.avi -itsoffset 5.5 -i myfile.avi -map 0:1 -map 1:0 ...
0
votes
0answers
28 views

How to fix a .mov file in hex editor from Photo Booth crash on OS X?

I was recording a ~4GB video using Photo Booth on OS X. The program terminated for some reason (unsure of whether it was computer sleep or something else). I have a corrupted file of about 4GB in ...
0
votes
0answers
73 views

how to maintain the pixel clarity using ffmpeg to resize .gif to .gif format [duplicate]

I want to reduce the resolution of the .gif file but I need the clarity to be maintained with the same .gif format. Here is the ffmpeg image resize command which I used. ffmpeg -i input.gif -y -s ...
1
vote
1answer
42 views

Upscaling video with different filter on each side

I need scale up video from one DOS game using FFmpeg. But with Nearest-neighbor interpolation on left side and xBR filter on the other one. Input (320x200) Output (1280x800) Here is a command, ...
0
votes
0answers
20 views

ffmpeg, how to add new audio (mixing) in video [duplicate]

I want to add an audio file in video. The resultant video contain both the audios, first contain by video it self and second from audio file. Basically mix both the audios. Final video have two ...
0
votes
1answer
21 views

Muxing Audio Over Video Using Ffmpeg

So i have been through lots of tests and i still cannot seem to get audio to mux over video using ffmpeg and cannot figure where i am going wrong so would really appreciate some help. I have this ...
0
votes
1answer
28 views

ffmpeg - images from video at different sections and incrementally numbered

I am using ffmpeg to extract still images from a video. From a given time, for a given duration using the -ss and -t parameters. ffmpeg -ss 00:10:01 -t 2 -i /Volumes/OO_8/VideoSource.mkv -qscale:v 2 ...
1
vote
0answers
14 views

How to use ffmpeg frei0r filter with mixer2 plugins

I'm using frei0r-20121203-git-f4bac51-filters-win64.7z and zeranoe ffmpeg, then set PATH. twolay0r plugin is fine, but value plugin is error. set FREI0R_PATH=frei0r-20121203-git-f4bac51-filters-win64 ...
0
votes
0answers
10 views

ffmpeg “-bug” parameter explanation

I found "-bug" parameter for ffmpeg in one of encoding scripts, and have no idea what it is. ffmpeg man page says that it's action for not autodetected encoder bugs, but I can't find any information ...
0
votes
0answers
17 views

Pipe remote jpg webcam image to ffmpeg as video

I have a cheap ip webcam. All it provides is a single http url to a static jpg file. Such as http:///image.jpg. Repeatedly requesting the same url will provide subsequent frames from the ip camera. ...
0
votes
1answer
46 views

Force ffmpeg to use 100% of CPU

I'm using ffmpeg to extract frames from video, but the process is so slow. Looking at CPU usage I see that ffmpeg use only 50% of my CPU. I've tried also to add -threads 4, but it seems it doesn't ...
1
vote
1answer
45 views

Problems with joining videos in FFmpeg with a cross-fade effect (buffer queue overflow, frames dropped)

I can successfully join a couple of videos into one (using this method) with a nice cross-fade effect in between, but the output video contains no audio. I'm using the -filter_complex command. I've ...
0
votes
0answers
13 views

How can I batch convert all of my video files to AAC audio without converting the video?

I've used XMedia Recode to do this and it works great. I set video to "copy", audio to "convert", and it takes 2 minutes for a 2GB file. There's two problems with it for batch work though. It doesn't ...
1
vote
1answer
31 views

ffmpeg mapping help, encode 1 6ch audio into multi-tracks

I have 2 input files: cover.jpg audio.dts (6 channel) My target file will be a mp4 with 1 video and 3 audio: audio 1 is 2 channel aac audio 2 is 6 channel ac3 audio 3 is 6 channel dts Here is ...
0
votes
0answers
206 views

ffmpeg errors when converting caf to mp3/wav

It seems similar posts around here suggest this should work but I keep getting errors. While trying to convert a caf file to an mp3 or wav using ffmpeg ffmpeg -i sample.caf out.mp3 libavutil ...
26
votes
1answer
18k views

FFMPEG Splitting MP4 with Same Quality

I have one large MP4 file. I am attempting to split it into smaller files. ffmpeg -i largefile.mp4 -sameq -ss 00:00:00 -t 00:50:00 smallfile.mp4 I thought using -sameq would keep the same quality ...
2
votes
1answer
39 views

FFMPEG filter to boxblur and greyscale a video using alpha mask

Can someone show me how to enhance the example found here: FFmpeg - Apply blur over face To do the following: Use an input alpha mask PNG instead of a declared rectangular region both blur and ...
0
votes
2answers
3k views

HTML5 video player stutters even after video is loaded

I am using jwplayer to display videos on my websites but cannot manage to make them running smoothly. They stutter, especially in full screen, although I wait for the video to fully load. I tried ...
0
votes
0answers
43 views

Getting an mp4 to play on iOS Safari with ffmpeg

I have a script that cuts and splices some video from youtube with ffmpeg to make an mpeg thumbnail. The final result is an mp4 that runs fine with the HTML <video> tag on Mac OSX Safari, ...
0
votes
1answer
2k views

ffmpeg fastest way to convert videos avi to mp4

I have server which has: 8x3,4 (sandy bridge cpu) 10gb ram i tried different combinations to convert vvideos i mean avi to mp4 but it takes so long: - ~20mins=~200mb maybe there is some ffmpeg ...
0
votes
1answer
680 views

FFMPEG “Past duration 0.xxxxxx too large”

I'm recording an HLS streaming and I would like to save in a FLV Container. My ffmpeg's cmd is: /.../recorder/class/ffmpeg-2.6.1-32bit-static/./ffmpeg -i http://server/url/playlist.m3u8 -b:a 128K ...
1
vote
2answers
29 views

ffmpeg wants to overwrite existing images

I want to make a timelapse movie with ffmpeg. For now I use mencoder with following command: mencoder mf://*.jpg -mf fps=12 -nosound -noskip -ovc copy -o Zeitraffer$begin.avi I'm trying to make a ...
28
votes
3answers
27k views

Remove audio from video file with FFmpeg

How can I strip the audio track out of a video file with FFmpeg?
2
votes
4answers
4k views

How to create a thumbnail from the middle of a video with FFmpeg

Is there a way to grab a video thumbnail in FFmpeg? I'd like to grab the middle-most frame as the video and use that as the thumbnail. Video duration is unknown. The ability to specify the ...
1
vote
1answer
47 views

FFmpeg - PNG / JPG - Invalid data found when processing input

I am trying to add a watermark to a video with FFmpeg. I have a custom build of FFmpeg that I am creating with a view to keep the binary size down. I seem to have excluded the ability for FFmpeg to ...
0
votes
2answers
266 views

Concatinating mp4 files to a single mp4 file

I have some mp4 video files with me and i need to concatenate them one by one and make a single MP4 video file. I came to know about FFMPEG through which we can concat files. I tried doing ffmpeg ...
0
votes
1answer
43 views

Skip parts of video while converting it to images with ffmpeg

I use this command on ffmpeg to convert a video into images: ffmpeg -i video.mp4 -q:v 1 -r 1 -f image2 frame-03d%.jpg What I want to do is to skip the first x seconds and the last y seconds of the ...
0
votes
0answers
37 views

FFMPEG conversion error “unable to find a suitable output format for 'pipe:' pipe::”

ffmpeg -i input.wmv -ab 128k -ac 2 -ar 44100 -b:v 900k -r 29.97 -s 640x480 output.wmv Hi, I am trying simple ffmpeg transcoding and I am getting an error in my code above. The error I am getting is ...