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

6
votes
5answers
6k 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
377 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
435 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 ...
8
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
975 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
8k 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
824 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 ...
24
votes
1answer
17k 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 ...
38
votes
8answers
41k 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, ..., ...
63
votes
5answers
74k 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 ...
20
votes
8answers
38k 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?
-2
votes
1answer
920 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
542 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
2k 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
469 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
507 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
856 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
836 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
627 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
4k 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
4k 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. ...
3
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
462 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
775 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
478 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: ...
8
votes
3answers
15k 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 ...
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
287 views

variable bitrate streaming under linux

i know that in Linux i can stream using vlc and ffmpeg. i was able to successfully stream using vlc but only in static bitrates. i must set 400k/s or 800k/s. i want it to use as much upload bandwidth ...
3
votes
1answer
2k views

Include external subtitles while converting video with FFmpeg

Is it possible to use subtitles from an external file while converting a video with FFmpeg? The file extension of the subtitles is .stl or .vob.
1
vote
1answer
91 views

ffmpeg related issue

I am using the following command for video conversion using ffmpeg and it is working fine: ffmpeg -i 'in.wmv' -s 1280x720 -b 256 -ar 44100 -ab 64k -ac 2 'output.mp4' However, when I am playing ...
14
votes
7answers
8k views

Get MP3 Length in Linux / FreeBSD

I have a bunch of mp3 files with various length. I want to cut it down to 50%-60% length. Says, from 1 minute down to 30 seconds. It should be trivial using ffmpeg. But, I don't know how to determine ...
4
votes
2answers
4k views

FFMPEG not resizing a video properly

I am trying to use FFMPEG to resize a video using -s 480x272. Unfortunately something is causing FFMPEG to output a video with 483x272. For those curious this is the command I am using: ffmpeg -i ...
1
vote
3answers
8k views

How do I configure FFserver+FFmpeg to fetch a live stream in one format and output it in another?

I've got an IP camera on a 3G modem. I need to fetch its stream from a landline server and re-stream it. Right now the only cheap option seems to be FFserver (but feel free to suggest others), but ...
2
votes
6answers
1k views

What is the easiest way to scale a Quicktime MOV to a different size in Windows?

I've tried a ffmpeg, and it doesn't know how to read Quicktime MOV, neither does VirtualDub. Avidemux crashes when I open the Quicktime MOV. In Linux, I'd just use MEncoder, but I'm telling someone ...