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
1answer
700 views

What codec do I need in order to splice a mp4 file with ffmpeg?

I'm pretty sure I installed all necessary packages... here's my attempt at slicing out the first 14 mins of my video. meder@meder-desktop:/media/12dbbb01-4f96-433d-96a0-9b6c88598a51$ sudo ffmpeg -i ...
3
votes
3answers
5k views

Merge two audio channels (stereo) into one (mono) on GSM6.10 using FFMPEG

I would like to know if it is possible to merge stereo audio into mono on a GSM6.10 audio file using FFMPEG. If it is, please provide the command to achieve this. Otherwise, is it possible to convert ...
2
votes
3answers
5k views

Would like to change audio codec, but keep video settings with ffmpeg

I have a video for which I'd like to convert the audio codec to AAC 320 kbps / 44.100 kHz. What would I use for ffmpeg switches such that all the video settings and codec remain the same, but only ...
0
votes
1answer
453 views

Which command should I use to make .jpeg from .flv using ffmpeg?

The below command creates jpeg out of .mpg, but fails to create jpeg out of .flv. How can I do that? $ffmpegpath = FFMPEG_PATH; $input = "video_file/orig/fdgdf.mpg";//Lady.flv"; $output = ...
1
vote
2answers
409 views

Video from Frames at the OS X Command Line or Python?

I am looking for a good way to turn a stack of images into a video on the command line or python. Here is my setup: OS X 10.6 Sequence of images either in png or pdf format. (i.e. 001.png, ...
0
votes
1answer
612 views

Transcoding AVCHD from a Canon HG21 to MXF for Avid Xpress Pro

I have been able to convert the file to a .mov file in DNxHD using FFmpeg, but then Avid Xpress has to transcode it once again into DVCHDPRO. I could elimnate that step if I could go directly to ...
0
votes
2answers
4k views

Unknown encoder 'libmp3lame' [duplicate]

I'm using ffmpeg to convert my files but when I tried to convert WAV -> MP3 I got this error. It's surprising for me cause I installed this one yesterday. What could happen?
15
votes
3answers
10k 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
643 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 ...
8
votes
2answers
7k 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 ...
10
votes
4answers
36k 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
407 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
635 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
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
979 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 ...
8
votes
4answers
9k 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
839 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 ...
39
votes
8answers
42k 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
76k 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
39k 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
939 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
545 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
510 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
857 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
840 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
628 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
463 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 ...