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

15
votes
3answers
9k views

Resize videos with different widths to a fixed height preserving aspect ratio with ffmpeg

I'd like to convert a lot of video files to flash video for our company's website. I have a requirement that all of the videos must be in 360p format, so their size would be Nx360. FFMpeg uses -s ...
2
votes
1answer
616 views

FFmpeg can't properly splice my avi/mp3 audio files?

ATTEMPT #1 on a mp3 laced avi file: I want to splice the first part of a movie I have. Here is the command I used: ffmpeg -i file.avi -ss 0 -t 90 -acodec copy -vcodec copy output-4.avi Here is the ...
0
votes
1answer
1k views

ffmpeg fast motion webcam recording

I am trying to record every 12th frame from a webcam to a video file using ffmpeg to do fast motion (time delay) recording: ffmpeg -f oss -i /dev/dsp -r 2 -f video4linux2 -s 640x480 -i /dev/video0 -r ...
7
votes
2answers
6k views

Where can I download ffmpeg with libfaac?

Where can I download ffmpeg with libfaac (for Windows)?
2
votes
2answers
2k views

How to join two video frames into one, so the final video plays two frames as one simultenously

I want to connect two videos into one. Let's take two videos from Youtube as an example. I want my final video to have the height = height of first video + height of second video and width = max(width ...
7
votes
4answers
33k views

How to install libmp3lame for ffmpeg

I already have ffMpeg running on my test server. I would want to convert all possible audio files to mp3. I get the error 'codec not found'. here's what i typed: /var/www/i/uploads$ sudo ...
0
votes
0answers
403 views

FFMPEG Multistream WMV

I need a program for Ubuntu Lucid that can covert a video file to a multistream WMV. I have been looking into FFMPEG, but I can cannot figure out how to do several streams in a single WMV. Currently ...
2
votes
0answers
622 views

How do I use ffmpeg to trim silence in a mp3 file?

We need to trim silence from mp3 files and since we're already using ffmpeg to perform some conversions, we prefer to use it to do the trimming too. Is this possible? I can't find any reference ...
6
votes
5answers
5k views

Join Audio and Image -> Output as Video using FFmpeg

I have 1 image (jpg) and 1 audio file (MP3) and I would like to output this as a video file (say AVI for example). Does anyone know how to use FFMPEG to join the two? I'd like to show the image for ...
0
votes
1answer
368 views

How to resolve these linking errors while installing ffmpeg?

I downloaded ffmpeg installation using git: FFmpeg Git There are Git repositories of FFmpeg and libswscale. Both are kept in sync with SVN automatically. To allow building FFmpeg with ...
1
vote
1answer
2k views

How to extract frames using ffmpeg?

I have a .avi file with me. How can I extract all the frames from it using ffmpeg?
3
votes
1answer
1k views

How can I animate a series of png files in ubuntu 10.04?

I have a folder frames of alphabetically ordered .png files. I'm trying to animate them somehow from the command line. Is there a quick command to make a movie from these files? I'd appreciate any ...
0
votes
2answers
432 views

ffmpeg command line help

Does anyone know how to use ffmpeg? i got a list of files (video1.jpg, video2.jpg ... video10.jpg) that i want to convert to a .flv file so it displays like a slideshow. Does anyone know the command ...
3
votes
2answers
18k views

FFmpeg command to rotate an MP4 file by 90º

Can I rotate (save, reencode) a .mp4 file with ffmpeg? The only thing I found was on the mailinglist saying -vfilters "rotate=90" but ffmpeg says that "there are no vfilters". I tried -vf, it says ...
4
votes
1answer
1k views

Why does the quality of this video suck when converted with ffmpeg as opposed to mencoder?

Here's the command line that I'm using for both and the output. Any ideas? The bitrate of the two videos is comparable: both around 1500Kbps. ffmpeg command: ffmpeg -y -i aud.mp4 -acodec copy -i ...
7
votes
3answers
3k views

Speedup a Video on linux

I dont want to use player like vlc to speedup the playback. I want to actually speedup playback in the original file. Its like I want video to be played 2 times faster.
1
vote
0answers
965 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 ...
7
votes
3answers
7k views

How many threads does ffmpeg use by default?

I see that there's a -threads <count> command line option in ffmpeg. What is the default value of this option?
0
votes
3answers
741 views

join videos split screen

I am looking for a command line tool to join 2 video files, however I want the videos joined split screen frame by frame instead of one after another. Any ideas? Seems this is not possible with ...
4
votes
2answers
2k views

How do you splice out a part of an xvid encoded avi file, with ffmpeg? (no problems with other files)

Im using the following command, which works for most files, except what seems to be xvid encoded ones /usr/bin/ffmpeg -sameq -i file.avi -ss 00:01:00 -t 00:00:30 -ac 2 -r 25 -copyts output.avi So ...
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 ...
23
votes
1answer
15k 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 ...
35
votes
8answers
35k views

ffmpeg: create a video from images

Is it possible to use ffmpeg create a video from a set of sequences, where the number does not start from zero? For example, I have some images [test_100.jpg, test_101.jpg, test_102.jpg, ..., ...
52
votes
5answers
63k views

Using ffmpeg to cut up video

I am using ffmpeg to cut out a section of a large file like this: ffmpeg -i input.wmv -ss 60 -t 60 -acodec copy -vcodec copy output.wmv The -ss part works fine but the -t is ignored. It correctly ...
3
votes
1answer
10k views

Video Thumbnails using ffmpeg

I'm looking for a nice short easy way to create a series of thumbnails for any given video file. I'm almost there using ffmpeg, here's what I have: ffmpeg -i /tmp/video.avi -r 1 -ss 60 -r 1 ...
18
votes
8answers
33k views

How to convert video to images?

How can I convert a video file to a sequence of images, for example one frame every N seconds. Can mplayer or ffmpeg do this? I have used MPlayer to grab screenshots manually but I would like to ...
6
votes
1answer
2k views

ffmpeg encoding on QuadCore

I am trying to push my server's CPU cores to the max, but no success. Encoding 2-pass style, set my "-threads" to 128 . When running 2nd pass , the CPU seems to be at 98% usage, but first pass run ...
4
votes
3answers
11k views

Rotate a video file 90 degrees using Ubuntu

I want to use Ubuntu and preferably standard packages such as ffmpeg to rotate a .3gp video file by 90 degrees in any direction. Preferably a command line or Python script. How can I do that?
-1
votes
1answer
812 views

ffmpeg conversion problem

installed ffmpeg and it shows version and all correctly. but even info ffmpeg command itself shows ffmpeg -i Alice_In_Wonderland.mp4 gives messgae like FFmpeg version 0.5, Copyright (c) ...
1
vote
3answers
526 views

Why is my ogg bigger than my m4a?

I am using the following commands to encode an audio file to m4a & ogg formats: ffmpeg.exe -i 0123456789 -ab 192k out.m4a ffmpeg.exe -i 0123456789 -f wav - | oggenc2.exe - -r -q 6 -o out.ogg ...
0
votes
3answers
273 views

Quality gets worse using ffmpeg and Flash

I have bunch of flash videos and am adding my brand to all of them. The problem is quality gets worse. I am doing with this command: ffmpeg -i /input.flv -vhook "/usr/loca/vhook/drawtext.so -f ...
0
votes
1answer
1k views

Mplayer no sound when playing some movies

Ok, that's a bit of a strange problem, that somehow crept into my system. It used to work fine. Here is the problem as far as I can identify it. When I try to play certain video files with mplayer, ...
0
votes
1answer
467 views

how to show lof info of ffmpeg with nautilus scripts?

Anybody knows how to take output log of ffmpeg, which may be like this this command working well no log out put ffmpeg -sameq -ss [start_seconds] -t [duration_seconds] -i [input_file] ...
18
votes
8answers
7k views

Program to convert flac to mp3? [closed]

I'm looking for a program to convert flac files to mp3, while preserving the embedded metadata (including album art). I'm pretty sure this is possible with ffmpeg, but I don't know the command . . . ...
0
votes
1answer
497 views

Does Theora Decoder in libavcodec (FFMPEG V0.5) support YUV422 YUV444 modes?

I am working on theora decoder in ffmpeg V0.5. When i try to decode a 422 or 444 ogg/ogv bit stream using ffmpeg, the output yuv is junk. When i checked the ffmpeg source code, i saw that a pixel ...
2
votes
1answer
849 views

How do you encode iPhone/iPod Touch videos with ffmpeg?

There are lots of suggested parameter lists out there for ffmpeg to encode iPod Touch video, but I thought I'd subject the question to SuperUser.com to get some good answers. How do you encode iPod ...
1
vote
2answers
808 views

ffmpeg specific jpeg encoding

I'd like to convert a movie into jpeg in a specific way. I was wondering if ffmpeg can help here. What I need to achieve is every 25 frames from the movie needs to be written in a single .jpeg file - ...
0
votes
1answer
624 views

Does ffmpeg version 0.5 configured on linux support encoding using Theora codec?

I have configured, compiled a ffmpeg source code version 0.5 with versions as below: FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-memalign-hack ...
5
votes
1answer
3k views

What is the command to cut a portion out of a video and save it using ffmpeg?

I've tried ffmpeg -t in_movie.avi -ss 00:26:20 -t 00:28:24 out_movie.avi but that's giving me: Invalid duration specification for t: in_movie.avi Please advise. UPDATE: Molly, that command ...
2
votes
2answers
3k views

Command line tool to capture webcam video in Windows Xp

I want to know how to capture webcam video and dump the raw as well as an encoded version using ffmpeg. I want only the video stream. I'm on Windows xp.
18
votes
4answers
7k views

Creating video with audio and still image for YouTube

I'm running the following command: ffmpeg -i audio.mp3 -ar 44100 -f image2 -i logo.jpg -r 15 -b 1800 -s 640x480 foo.mov Which successfully outputs a video with my recorded audio and an image on it. ...
2
votes
2answers
5k views

How to convert WMV to other formats (such as h.264) using ffmpeg on Mac OS X? [duplicate]

Possible Duplicates: How to convert wmv to mp4? Suggest ffmpeg tweaks for converting from WMV to FLV? I've installed ffmpeg through MacPorts using the following Terminal command: $ sudo ...
2
votes
0answers
453 views

ffmpeg imlib2.so : watermarked video file size is way bigger than the original and without sound!

ffmpeg -sameq -i '/var/www/original.flv' -vhook '/usr/lib/vhook/imlib2.so \ -x 0 -y 0 -i /var/www/watermark.jpg' /var/www/out/after.flv The watermark.jpg is a small text under 5kb. After i ...
7
votes
2answers
8k views

FFmpeg extract clip - stream frame rate differs from container frame rate (x264, aac)

Summary H.264 video seems to have a really high frame rate that requires a scaling factor to the applied to the duration of video that I'm trying to extract (900x lower). Body I'm trying to extract a ...
3
votes
3answers
2k views

Watermarking videos on Linux

I want to add watermarking on to my FLV videos. Previously I used to do that using FFmpeg's vhook option but due to some problems I had to upgrade it to the latest SVN revision. This version of FFmpeg ...
3
votes
2answers
757 views

Building video incrementally from incoming jpeg images

Is it possible to append one jpeg frame (or a small number of frames) to a video while retaining good image quality and compression? I have a script that downloads a jpeg image from a webcam every 30 ...
1
vote
2answers
457 views

How to stich mp3s together with ffmpeg

I need to to make 10 mins videos with 5 x 2 mins mp3 samples stitched together. How would you do that with ffmpeg from the command line?
1
vote
1answer
2k views

FFMPEG Segfault Solutions

I'm trying to convert a bunch of movies into h.264 mp4's using FFMPEG. These movies are sourced from various portable camcorders such as the Flip Mino HD and the Kodak ZI8. One issue I'm having with ...
9
votes
2answers
7k views

Can FFMPEG capture from the screen in Windows?

I am trying to capture a certain region of the screen (actually its specifically a number of visible windows) on Windows XP with FFMPEG but I can only find options to capture from X11: ...
7
votes
3answers
14k views

How to strip audio streams from an MKV file?

I've been trying to remove unneeded audio streams from an MKV (Matroska) file. The reason why I want to do this is to avoid having to manually select the wanted stream in Windows Media Player. The ...