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

Limit MJPEG stream bandwidth

I have a very simple webcam, but it supports MJPEG streaming. Webcam is in remote location, and that location internet connection has a very low upload speed. I can capture that MJPEG stream with ...
1
vote
0answers
1k views

How to provide multiple input to ffmpeg?

I'm using ffmpeg to create time-lapses and it's working great. As input I have images named 001.jpg, 002.jpg, etc. and then with the command ffmpeg -i %3d.jpg -sameq -s 1440x1080 video.mp4 I create ...
1
vote
0answers
607 views

FFMPEG: Convert into avi compatible with mpeg2 DVB-T tuner

I have mpeg DVB-T tuner which plays avi with codecs: xvid and mp3. But when i convert video with libxvid, libmp3lame tuner prints 'Don't support this type'. What the command which successfully ...
1
vote
0answers
1k views

Why I am getting segmentation fault error while converting video using FFmpeg?

I am converting each type video to .flv video using FFmpeg but for some videos I got "Segmentation fault" error why this error was occurred? my code to convert .flv file is function ...
1
vote
1answer
2k views

ffmpeg - creating DNxHD MFX files with alphas

I'm struggling with something in FFMpeg at the moment... I'm trying to make DNxHD 1080p/24, 36Mb/s MXF files from a sequence of PNG files. My current command-line is: ffmpeg -y -f image2 -i ...
1
vote
2answers
310 views

Create MP3 from WAV without silence at the start and end

I´m creating MP3 files from WAV in FL Studio. But in created MP3 file is a very short silence (for example 0.02 sec) at the begging and at the end of the file. In my program, I want merge(join) these ...
1
vote
1answer
583 views

How to pause the ffmpeg recording process?

I am working on a screencasting application and using ffmpeg for these purposes. I am able to start recording by calling ffmpeg with this command : ffmpeg -f dshow -i ...
1
vote
1answer
4k views

FFMPEG converting from m4v to mp4 does not stop processing

I'm using ffmpeg to convert various types of video files into mp4s. The command I use works for most video files I've encountered, however when it encounters an m4v it never stops processing the ...
0
votes
2answers
5k views

FFMPEG add keyframes without reencoding

How can I add keyframes for FLV files without reencoding? I try to use this command, but do nothing: ffmpeg -i file.flv -vcodec copy -acodec copy -g 0 -y tmp.flv && yamdi -i tmp.flv -o ...
0
votes
2answers
67 views

Getting the smallest video with same quality, how to with FFMPEG?

I know its a "lame" question, but: lets say, I have a wmv, avi, etc BIG file. I want to convert it to .MP4, with the possible smallest file size, and of course with the same quality with audio/video. ...
0
votes
3answers
3k views

ffmpeg get video resolution

I am trying to get resolution of the video with the following command: ffmpeg -i filename.mp4 Thereafter I get a long output, but I need just width and height for my bash script, How should fine ...
0
votes
1answer
534 views

Combining two ffmpeg fillters or commands into single command

I want to combine two ffmpeg commands to single ffmpeg command. I want to apply a vintage effect and a watermark on a video. Please help me in creating a single ffmpeg command.
0
votes
2answers
1k views

ffmpeg limit number of images converted to video [duplicate]

Is it possible to instruct ffmpeg to combine a limited range of images together? Lets say there is a folder of 1000 images named img_0001.jpg to img_1000.jpg and I only wanted to combine ...
0
votes
2answers
1k views

.MP4 video (h.264 format) is not playing in iPhone when I host the video in Amazon EC2 instance

I have converted my source.flv video into target.mp4 (h.264 format) by using following command: ffmpeg -i source.flv -r 25 -b:a 128k -strict -2 -c:v libx264 -preset slow -s 320x240 -b:v 768k -ar ...
0
votes
1answer
2k views

Error using ffmpeg to convert mkv to avi on Windows 7

I am using ffmpeg on a Windows 7 machine. I am trying to convert mkv files to either mp4 or avi. Here is the command I used: ffmpeg -i "C:\Path\To\Input.mkv" "C:\Path\To\Output.avi" Here is the ...
0
votes
2answers
1k views

How to convert .mov videos to iPhone playable mp4 videos

I am trying to convert .mov videos to mp4(should be playable in iPhone) using ffmpeg.I am using Linux CLI. I have tried the following command: -i source.MOV -s qvga -b 384k -vcodec libx264 -r 23.976 ...
0
votes
1answer
2k views

How to convert AVI videos to small (smartphone) size

I want to convert some .avi videos to a lower resolution, both to considerably shrink the files' sizes and to make them easily viewable on a smartphone. How can I do the conversion? I have ffmpeg ...
0
votes
1answer
1k views

How to determine AAC bit depth

With a wav file for example you can easily distinguish between bit depths 24-bit Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s32, 2116 kb/s 16-bit ...
0
votes
1answer
2k views

Why can't I convert FLV to MP4 format using FFmpeg when MP3 works?

In fact I have succeeded to convert FLV to MP3: D:\tmp\ffmpeg-20121005-git-d9dfe9a-win64-static\ffmpeg-20121005-git-d9dfe9a-win 4-static\bin>ffmpeg.exe -i a.flv -acodec mp3 a.mp3 ffmpeg version ...
0
votes
2answers
2k views

FFmpeg “-vf” gives me “Unrecognized option 'vf'”

I'm trying to watermark a video using FFmpeg and -vf to overlay a PNG, but it's not working. My command line: $ffmpeg->exec('-i "' . $path_src . '" -vf "movie=watermark.png [wm]; [in][wm] ...
0
votes
1answer
59 views

Understanding FFMPEG codification process

I am developing some code with FFMPEG and my purpose is to transcode a single video file with keykrame aligned to do Adaptative Bitrate. So, my question are why fps is changing during codification ...
0
votes
1answer
102 views

Invalid duration specification with FFMPEG - what could be the reason?

Using a command like: ffmpeg -i input.mp4 -c copy -t 00.11.10 -map 0 output.mp4 I get: Invalid duration specification for t: 00.11.10 Similar error for -to and -ss. What could be the reason for ...
0
votes
1answer
106 views

Reducing bitrate with ffmpeg using `-b:v 500k` doesn't actually reduce bitrate to 500k

I am trying to create several downgraded versions of a video file with ffmpeg. I am using the following command via the command line (the command is taken from the documentation): ffmpeg -i ...
0
votes
2answers
222 views

unable to find a suitable output format for 'ΓÇô'

I'm trying to encode videos for mpeg dash streaming, I used the following command (I bring it from this article: ...
0
votes
1answer
265 views

Join and encode files with ffmpeg

I want to join 3 files but every file is a different compression format (xvideo, theora, x264) and they are different resolution. I used this guide before but as far as I know it is only when the ...
0
votes
1answer
442 views

error in convert video with ffmpeg

FFmpeg failed to transcode dsmall.mp4. Reported errors PHPVideoToolkit error: Execute error. It was not possible to encode ...
0
votes
1answer
2k views

ffmpeg error : -vf/-af/-filter and -filter_complex cannot be used together

I am trying to run the following cmd, which should add a watermark to the video and also upscale it. ffmpeg -i "in.avi" -i "\logo.png" -vf scale=854:-1 -preset veryfast -crf 20 -filter_complex ...
0
votes
2answers
717 views

ffmpeg to convert from flac to wav

I need to convert a flac file to a wav file without changing sample rate and bit depth. As far as I know changing these properties may distort the audio, so how do i specify them not to be changed? ...
0
votes
1answer
11k views

Add an image as watermark to a video file with ffmpeg

I would like to add a text to a video file with FFMPEG. While I was able to do this with plain text $FFMPEG -y -i $SOURCE \ -vf ...
0
votes
1answer
5k views

How to extract all key frames from a video clip?

I'm trying to extract key frames from a video clip. I tried the following command, but it extracts all frames. ffmpeg -vf select="eq(pict_type\,PICT_TYPE_I)" -i 2.flv -vsync 2 -s 73x41 -r 30 -f ...
0
votes
2answers
5k views

Getting error: Unknown encoder 'libvo_aacenc'

I am new to ffmpeg, just trying to build an SDP file for streaming. I'm facing an error when I run the command ffmpeg -re -i "sample.mp4" -f rtp rtp://127.0.0.1:10000 -flags +global_header -c:a ...
0
votes
1answer
3k views

Tuning hqdn3d for use with ffmpeg

I have some live action video I am scaling up 200% and then uploading to youtube. Trying to reserve as much quality as possible. Can anyone suggest some good starting settings to use with hqdn3d? Is ...
0
votes
2answers
2k views

Converting hundreds of pictures of naming style “frame_0000.jpg”, “frame_0001.jpg” into an avi?

I have all of these images as jpegs and I want to stream them into an AVI. I am trying to use ffmpeg with the command noted here but I get an error "No such file or directory". My exact command is ...
0
votes
4answers
3k views

Can't see subtitles with DXVA FFdshow

First of all, let me explain the layout. I've been using a CoreAVC for dual core playback. It's not that bad and if I bought it, I should use it, but I don't really like it. Why? I've got an ATI and ...
0
votes
1answer
25 views

FFMpeg image sequence to video using VP9 encoder

I'm trying to transcode mp4 to webm format in a lossless way. I tried two ways to do that. For that purpose, I extracted mp4 video to image sequences (png). Then, I converted image sequence(without ...
0
votes
1answer
33 views

Rotate AVI video by 90 degree

I used to apply this command to transcode videos of my mobile phone to AVI: ffmpeg -i Input.mov -s 640x360 -sameq -vcodec msmpeg4v2 -acodec libmp3lame Output.avi Now I'd like to rotate some videos ...
0
votes
1answer
47 views

Since you can't write FFMpeg to stdout with flv to mp4 is there a workaround?

I've been trying for a while to figure out a way in which I can have FFMpeg input a flv url and output to stdout mp4. Apparently mp4 requires to read the size of the file to fully work. Is there a ...
0
votes
1answer
46 views

How to capture 4 screenshots and to specify time for everyone

How to capture 4 screenshots in one inquiry, specifying time for each of screenshots? For example: The 1st screenshot on 00:01:19 min. The 2nd screenshot on 00:01:36 min. The 3rd screenshot on ...
0
votes
1answer
480 views

“Application provided invalid, non monotonically increasing dts” in ffmpeg

I convert wma to mp3: find -name *.wma -exec ffmpeg -i {} -acodec libmp3lame -ab 224k {}.mp3 \; By conversation process I got warning messages for all media files [mp3 @ 0x1de53e0] Application ...
0
votes
1answer
97 views

When doing 2 pass video encoding with FFmpeg, how to find the optimal bitrate?

When doing 2 pass video encoding with VP8 (libvpx), is there a way to figure out the optimal bitrate, so I don't have to guess? Something like a small compression test, or some ffmpeg command, that ...
0
votes
1answer
184 views

Why will this mp4 file (generated by ffmpeg) play on safari but NOT firefox?

I have an mp4 file (that's blank space, I use it to test subtitles) It's currently sitting at http://projectgrin.org/SubtitlePlayer/video/output.mp4. I generated it with ffmpeg. My notes are ...
0
votes
1answer
364 views

Ffmpeg upscale and letterbox a video

I have a video with that is 480x360 in resolution, what I want to do is upscale this video to 1280:720 and not loos the original videos aspect ration ( letterbox the left and right side) So I know ...
0
votes
1answer
216 views

How can I get exact delay between audio and video by FFmpeg?

I know how to set delay by "-itsoffset" , But I want to know how to get exact delay time. Please help me . Thanks in advance
0
votes
2answers
727 views

ffmpeg dyld: Library not loaded: /usr/local/lib/libmp3lame.0.dylib

I am getting this error when running ffmpeg on OSX Yosemite 10.10.2 ffmpeg dyld: Library not loaded: /usr/local/lib/libmp3lame.0.dylib Referenced from: /usr/local/bin/ffmpeg Reason: image not ...
0
votes
1answer
1k views

Creating video containing animated text using FFMPEG alone

I doubt this is possible, but am trying to find some way to dynamically render text, and then optionally animate it (simple left to right movement) and then composite the result on top of another ...
0
votes
2answers
2k views

How to put border around video to prevent clipping of content

My TV is old and for some reason clips some content off of the left edge. I'm trying to show a video on it in which the left edge is vital to the presentation. Is there some way (with ...
0
votes
1answer
395 views

Any downsides to always using the -movflags faststart parameter?

It seems many sites like YouTube suggest moov atom at the front of the file (Fast Start). ffmpeg does not make this a default behavior, but you can specify it with the -movflags faststart option. ...
0
votes
1answer
63 views

Converting a large MP3 to video

I have 6 MP3 files that are between 1.2GB and 2.8GB in length. I also have 6 image files. I want to make 6 videos using those 6 MP3s and images. I have tried using uMusic to merge these and while ...
0
votes
1answer
89 views

Why putting -ss before -i makes it faster to capture a thubmnail image from a video file?

The first command extracts a thumbnail image from a video file much faster than the second command (because I put the -ss before the -i): ffmpeg -ss 10 -i input.mp4 -vframes 1 -s 320x240 output.jpg ...
0
votes
1answer
125 views

Is ffmpeg -i input.mp4 what programmers use to get video information?

Is this command what programmers use to get video information: ffmpeg -i input.mp4 It seems to me like it makes you jump through hoops, since it gives you all of the information in one long string ...