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

2
votes
3answers
2k views

Will a file encoded with the libx264 play on Windows 8?

I'm sending a movie via email. Will a file encoded with the ffmpeg's option libx264, be able to play back natively in Windows 8 without any external software? ffmpeg -i in.avi -vcodec libx264 ...
0
votes
0answers
183 views

How to automatically create comparison pictures for a transcoded video file?

How do one automatically/easily create a "before-after" comparison of two video file, where one file is the transcoded version of the other, in terms of several still images? Each pair would be ...
6
votes
1answer
5k views

accurate cutting of video (+ audio) with ffmpeg

I want my website to allow users to accurately create their own clips from a source video I provide. I have a source video file that I first want to convert to something suitable for a website: ...
1
vote
0answers
573 views

.MOV video compressed with PNG has no alpha channel

I have a QuickTime file .mov with alpha channel compressed with PNG codec. What I need is to create smaller version of this file using ffmpeg. Everything works except new mov has no alpha (Adobe After ...
4
votes
1answer
844 views

How to merge video flv and audio wav file in ffmpeg

I want to merge an audio .wav with a video .flv using ffmpeg Please suggest me how to achieve this. i am using this command on ubuntu 12 : ffmpeg -i recod_audio.wav -i recod_ideo.flv -acodec ...
1
vote
1answer
317 views

JM H264 Reference Software quality drop

I've just started messing around with the latest JM 18.4 tool for a bit but after I encode a sample yuv file the video comes out poor.(Everything is on default, I did a clean compile just to make sure ...
1
vote
1answer
2k views

Error when trying to enable x11grab in ffmpeg

I've lost a day of work over this. Trying to set up ffmpeg so I can do screen captures and just receive error after error after error. However, the root issue is that I can't even seem to enable ...
2
votes
2answers
7k views

What is the best way to downscale mp4 video while keeping it as sharp as possible?

I've got an .mp4 file that's currently 830x1100 (it's a screencast) that I need to resize down to 114x150. I've been experimenting for hours with ffmpeg settings and nothing comes out looking nice and ...
1
vote
1answer
2k views

How to create thumbnail image from .flv video by using ffmpeg ?

I am using following command to create thumbnail image from flv video , image is created but with error (image doesn't open) ffmpeg -ss 00:00:10 -i output.mp4 -f image2 -s 150x150 -vframes 1 -c:v ...
2
votes
1answer
436 views

Stream live audio with noise filter in Linux

I need to strip the noise from an audio source, but it needs to happen live. The resulting voice doesn't need to sound perfect, it just can't contain too much noise. I've read up about sox, but it ...
4
votes
1answer
8k views

ffmpeg open webcam using YUYV but i want MJPEG

I need ffmpeg to open webcam (logitech c910) in MJPEG mode, because the webcam can give ~24 using MJPEG "protocol" and only ~10 fps using the YUYV. Can i choose between them using ffmpeg command line? ...
0
votes
1answer
1k views

ffmpeg an image sequence

I want to encode a sequence of images to an video file, I have done this in the past with something like: ffmpeg -i %08d.jpg out.mp4 But first I had to rename the files to be in that %08d.jpg ...
1
vote
1answer
872 views

ffmpeg - How to set MIME-type?

I'm trying to set the proper MIME-type for an AAC file, but this command does not work: ffmpeg -i rain.mp3 -metadata mime-type="audio/aac" rainmp3toaac.aac but, actualy audio/x-hx-aac-adts is set. ...
2
votes
0answers
938 views

Playing and recording a live stream from another computer webcam using VLC/FFmpeg

I was trying lately to set a video server on one machine and play it in a differen machine, it works with me.. but the problem is that it always stuck and become jammed in the middle .. and it is very ...
1
vote
1answer
1k views

ffmpeg working when SSH but not when PHP exec

I am not sure why so first here is the error Array ( [0] => ffmpeg: error while loading shared libraries: libvpx.so.1: failed to map segment from shared object: Permission denied ) my PHP ...
5
votes
1answer
5k views

Install FFmpeg on OS X

Is there a good place or bash script I can use (or at least a version I can build myself) for FFmpeg on OS X? I have Xcode installed as well as the CLI for Xcode (gcc etc). I have a version of ...
1
vote
1answer
12k views

Cheat sheets and presets-settings that actually work with FFmpeg 1.0?

Have tried a number of 'cheat sheets' available elsewhere but they almost all are out of date and simply will NOT work with the latest version of FFMpeg. Can anyone point me to settings that WILL ...
3
votes
1answer
6k views

FFmpeg is “unable to find a suitable output format for '–i'”

I'm trying to do a simple conversion using the following arguments from Fabio Sonnati's blog. ffmpeg –i source.MOV –r 15 –s 320×240 –an video.flv Getting this error Unable to find a suitable ...
1
vote
0answers
770 views

Fade in a movie from white with FFmpeg

I have an AVI file and I want to create a fade effect, BUT I want the fade-in to begin with white, meaning I want the first frame to be white and the movie should slowly (and continuously) appear ...
2
votes
0answers
1k views

Failed to convert a wmv file to mp4 with ffmpeg

i need a help with this command FFMPEG COMMAND: ffmpeg -y -i /input.wmv -vcodec libx264 -acodec libfaac -ac 2 -bufsize 20M -sameq -f mp4 /output.mp4 Output: ffmpeg version 1.0 Copyright (c) ...
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 ...
1
vote
1answer
4k views

Convert BMP to video in a given frame rate in FFmpeg

I am trying to encode several BMPs\JPEG into a movie file using: ffmpeg -f image2 -i a%d.jpg output.mpg The thing is that I want the frame rate of the movie to be 10, and it seems to be 25 ...
6
votes
1answer
3k views

Screen Casting using ffmpeg (too fast)

I can use ffmpeg to make screen casts: ffmpeg -f x11grab -s 1280x800 -i :0.0 -c:v libx264 -framerate 30 -r 30 -crf 18 out.mkv However the output comes out to be too fast paced. It also happens with ...
2
votes
0answers
356 views

ffmpeg/avconv crashes when video frame isn't expected size

I'm capturing my webcam using ffmpeg/avconv, but I keep running into this problem: The v4l2 frame is 828212 bytes, but 829440 bytes are expected And then it crashes. It should just skip that frame, ...
0
votes
1answer
137 views

Create a folder.jpeg for videos from batch script

I want to be able to run a batch file and it looks in all the folders within directory and creates a folder.jpeg for each flv it finds in a folder. I have this script that works but it puts the ...
4
votes
1answer
2k views

Lossless universal video format

I am trying to find the most suitable lossless video format for 1280x720 25fps video. The video has 4 minutes. Sound will be 320 kbps mp3, that is not a big deal. Ideal conditions: Lossless (can be ...
0
votes
2answers
2k views

Converting flv and mp4 video format to '.ogg' using FFmpeg

I have HostGator VPS server with FFmpeg installed. It allows me to convert .wmv to .flv as well as .mp4 files successfully using the following commands for flv and mp4: ffmpeg -i WantsABath.wmv -b ...
2
votes
1answer
378 views

Split section of video with ffmpeg

I've been trying to get this to work and I'm really close, but something still isn't right. I have a 14 second clip I'm trying to cut out of a longer mp4 video. I got the video to cut to the right ...
1
vote
1answer
1k views

VP8 and WebM, not working in ffmpeg-php

I need a help with ffmpeg-php and Ffmpeg. Ffmpeg: ffmpeg version 1.0.git built on Oct 6 2012 01:54:50 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4) configuration: --enable-gpl --enable-libmp3lame ...
0
votes
1answer
3k views

Make exact mp4 (H264) format for uploading to youtube

With ffmpeg I'm converting video from mp3 and picture to upload it to youtube. After upload, conversion fails. Reasons are unknown. I believe the problem is in format. By the way If I'm uploading file ...
0
votes
0answers
312 views

Crash in audio resampler with some audio rates - FFMPEG PHP ( Solved! )

i have a problem with this command( FFMPEG PHP ): Command: ffmpeg -i 62f76f050494f0ed6a5997967c00c0c0.wmv -ss 0 -t 99 -y -ar 44100 -async 44100 -r 29.970 -ac 2 -qscale 5 -f flv ...
8
votes
3answers
493 views

How to convert .avi video that has 1 static image in the video (with sound) to mp4 video with ffmpeg to least possible size?

I've an .avi video (divx) that's at 25fps and it has mp3 audio at 64kbit/s. This video has just one image throughout the entire video. I'm trying to convert this video to mp4 but to make it as small ...
3
votes
2answers
13k views

Convert MKV with DTS sound to MP4 video with AAC or AC3 audio

I've got a 4.3 GB 720p movie and want to convert this MKV with DTS sound to MP4 video with AAC or AC3 audio. I sometimes got "ffmpeg: unrecognized option '-c:v'" and "aac unrecognized" and other ...
1
vote
0answers
171 views

FFmpeg cuts video duration while transcoding

When using ffmpeg on linux, my 4.3GB 2.21 second video is being chopped down to 1.56 duration. I'm trying to reduce file size, but not lose frames. steve@steve-OptiPlex-170L:~/Desktop$ ffmpeg -i ...
19
votes
1answer
10k views

What is the “sameq” or “same_quant” option in FFmpeg? Does it mean “same quality”?

Often, I've seen FFmpeg commands using the sameq option, for example ffmpeg -i input.mp4 -sameq output.avi What does this mean? Does it mean "same quality"? If not, what should I use instead?
1
vote
0answers
736 views

Cannot stream webcam using ffserver because of malloc error

I was following this tutorial RaspBerry Pi webcam and when I run the following command from root: $ ffserver -f /root/ffserver.conf & ffmpeg -v 2 -r 5 -s 640x480 -f video4linux2 -i /dev/video1` ...
2
votes
1answer
3k views

Using ffmpeg to cut up mkv video

I'm completely lost with ffmpeg I got an mkv of 4:33 duration and I'd like to cut out the end from 4:20 I tried different ways: 1) Does not cut at all ~ > ffmpeg -t 00:04:20 -acodec copy -vcodec ...
2
votes
0answers
802 views

FFmpeg blur filter not working at all

I am trying to blur out the video using FFMPEG by following there documentation, but it is not working at all, all it do moves the few frames forward (8 sec video became 10 sec video and so blank ...
2
votes
3answers
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
1k views

Could not find codec parameters in ffmpeg in Windows

While trying to convert wmv to animated gif using ffmpeg in Windows 7, I ran into an issue. Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. ...
1
vote
0answers
70 views

Video for HTML5 — ffmpeg commands [duplicate]

Possible Duplicate: What bunch of ffmpeg scripts do I need to run “Video for everybody”? I'd like to allow my users to upload their videos (no clue what format they'll be) and ...
0
votes
2answers
3k views

Mjpeg recording with FFMPEG preserving time information

I am recording the MJPEG video from an IP camera and saving it to a file but the problem is that file's duration is way smaller than the actual recording time. Its around 9 seconds video for 2 minutes ...
2
votes
0answers
445 views

Animated GIF as an overlay in FFMPEG?

I have an animated gif that I wanted to loop in the bottom corner of a video, unfortunately when added as an overlay in ffmpeg it does not loop and only shows the first 'frame'. Is there a way of ...
1
vote
2answers
318 views

How do I encode video for Philips DCP851 with ffmpeg?

An older Philips player i have would play "xvid" files, such as those commonly created by Handbrake & similar tools. This one won't play all those files i had lying around, nor using the standard ...
5
votes
1answer
8k views

Batch convert *.avi files using ffmpeg

I am trying to convert 20+ .avi files in a batch using ffmpeg. I've got the following @echo off. for file in *.avi do ffmpeg -i "$file" -s 640x480 -vcodec msmpeg4v2 "'basename "$file" ...
3
votes
1answer
2k views

FFMPEG: Convert .rgb images to video

I want to create a video from .rgb files. These just contain the pixels, no header. I'm able to cerate a video from pngs: ffmpeg -f image2 -r 30 -i %%06d.png -vcodec huffyuv video.avi But ...
1
vote
1answer
4k views

converting to MXF using ffmpeg

I have been trying to use FFmpeg utility to convert a avi file using DNxHD to mxf format. I am using "FFmpeg" with params as following: ffmpeg -i ccvt_box.avi -vcodec dnxhd -video_size 1920x1080 -r ...
4
votes
1answer
5k views

FFmpeg (MacPorts) - libfaac missing, need new audio encoder

I am so confused. I am trying a quite simple FFMpeg command to transcode a movie file to a x264/AAC mp4 file via the command line (for Vimeo upload). (Mountain Lion/Macports) ffmpeg -i INPUT.AVI ...
1
vote
2answers
3k views

How to batch convert video files on OSX for AppleTV2 / iPhone4?

I'd like to have a solution to batch convert video files to a format suitable for the AppleTV2, iPad2, iPhone4, while at the same time preserving as much quality as possible; I want a single output ...
1
vote
0answers
552 views

ffmpeg extract I-Frames, GOP to jpeg sequence

This is kind of hard to explain, so bear with me. So I'm looking for some way to export video GOP frames to jpegs. I'd like to preserve the I-Frames, P-Frames, B-Frames, etc. So that the next frame ...