FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video.

learn more… | top users | synonyms

6
votes
1answer
2k views

How to set duration for avconv?

I'm trying to cut a portion from an mp4 video with avconv, but it doesn't seem to care about the -t param. My command line is avconv -t 10 -i GOPR0001.MP4 cut.MP4 This will process the whole ...
1
vote
1answer
4k views

avconv how to copy all stream and merge metadata (fix creation date)?

I am trying to fix the metadata of some old videos, so i would like to copy all streams audio video and subtitle and merge the metadata from a txt file. I first dump the metadata with: avconv -i ...
2
votes
2answers
3k views

ffmpeg for 13.04

I have a question how to get ffmpeg with x264 support for ubuntu 13.04 I used to use this ppa https://launchpad.net/~jon-severinsson/+archive/ffmpeg but as far as I understand 13.04 is not supported ...
1
vote
1answer
119 views

ffmpeg / avconv follow_mouse not working?

I'm trying the option -follow_mouse with both ffmpeg and avconv and I can't make it work. avconv version 0.8.6-6:0.8.6-1ubuntu2 tells me: Option follow_mouse not found. ffmpeg version ...
1
vote
1answer
660 views

What (input) types of files can ffmpeg convert and to what (output) files?

I like to use simple commands (added to Thunar custom actions), like ffmpeg -i %f %f.mp3. I can replace mp3 with flac for example - but what other output extensions can be used? Also, in Thunar ...
3
votes
3answers
4k views

Convert .mov files to Home theater Compartible MP4

I have bunch of mov files and I want to Play them on my Sony DVD Home theater (XVid/HDMI capable) but I cannot. I have tried different configuration in WinFF (ffmpeg frontend) but does not work. The ...
1
vote
0answers
125 views

Strange blue flashes when using a screen recorder, white flashes when using vlc to record

I use cinnamon currently and whenever I use ffmpeg to record my screen, blue flashes appear when I interact with the cinnamon panel and applets. When I initiate a recording in vlc, similar things ...
2
votes
1answer
1k views

Error while adding a watermark to mp4 with FFmpeg

I try to watermark an mp4 file with ffmpeg and the following command : ffmpeg -i originalvideo.mp4 -vf « movie=watermark.png [wm];[in][wm] overlay=0:0:1 [out]« watermarkedvideo.mp4 after some ...
2
votes
0answers
161 views

Splitting audio channels using pulseaudio

My mission is record desktop using avconv (ffmpeg) + record microphone input + use sphinx program which also need the same microphone for voice control. Now, the problem is that if I start sphinx ...
0
votes
1answer
196 views

Convert a bunch of jpegs to a movie

I have a bunch of non-consecutivly numbered jpegs (they are in order, but there are gaps in the sequence) that I want to convert into a movie. When I try using convert, ffmpeg or avconv, it creates ...
8
votes
2answers
19k views

How to fast convert mp4 to webm using ffmpeg?

Sorry to disturb you but I'm in a kind of a trouble. I have to convert 76 mp4 files to webm for the purpose of a website that uses HTML5 videos. I'm talking about 10 Gb of mp4 files... I know I can ...
1
vote
2answers
1k views

I get an error when trying to convert video

I m trying to convert mp4 video file to avi file with ffmpeg -i 10.mp4 -vcodec mpeg4 -vtag XVID -b 990k -bf 2 -g 300 -s 640x360 -acodec libmp3lame -ab 128k -ar 48000 -ac 2 -pass 2 -f avi 10.avi but ...
0
votes
1answer
7k views

How do I use ffmpeg's -filter_complex

i am using FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.3 and it doesn't allow me to use -filter_complex it shows: "ffmpeg: unrecognized option '-filter_complex'" I want to overlay 2 videos, how ...
5
votes
2answers
5k views

ffmpeg resize “could not find codec parameters”

I'm a newbee to ubuntu and need your help: (32bit ubuntu 12.10) my command: ffmpeg -i ../output_images/particles%04d.png -r 30 -b 30000k final_movie.avi works for my 800x800 *.png pictures ...
2
votes
1answer
8k views

Please give me an FFMPEG tutorial that works on Ubuntu 12.04

ffmpeg does not compile. Every time there is an error no matter what I do. I installed clean 12.04, followed the tutorial on ffmpeg website, but it is still not working. If its not libfdk-aac ...
4
votes
5answers
28k views

How to convert a video from mp4/flv to mpeg/mpg [duplicate]

I download videos in mp4 or flv format but I need to convert them to mpeg 1/2/3 so that I can watch them on my special gadget. I think I need a program. any suggestion thanks
3
votes
1answer
811 views

Extracting images from video in 1 minute intervals

I would like to extract images from a video Exp01.avi, the video is 25 minutes long. I want the images to be extracted from the video after every 1 minute interval. Please someone tell me how to do ...
2
votes
3answers
5k views

How to convert a raw video using ffmpeg

I have a raw video that has the following properties: 25 FPS UYVY Codec 876 MBit/s AVI Container I want to convert this raw file to another container using ffmpeg. Right now the problem is that ...
1
vote
1answer
107 views

ffmpeg wait before recording desktop

Is it possible to make ffmpeg wait a couple seconds before starting to record? if so how is there another way to start an ffmpeg script besides from the terminal?
1
vote
0answers
123 views

Which settings for re-compiling libav-tools?

Which settings is Ubuntu's package libav-tools compiled with? I want to re-compile libav-tools (even better: the whole libav) without adding or removing its features.
2
votes
1answer
990 views

Is it possible to do a lossless conversion from m4v to webm?

I have several m4v files, which I need to convert to webm. I am using ffmpeg for doing so and have used commands such as: ffmpeg -i myfiletoconvert.m4v output.webm The conversion works fine, and ...
0
votes
0answers
45 views

can't install ffmpeg in ubuntu [duplicate]

Possible Duplicate: How to install software or upgrade from old unsupported release? I tried to install ffmpeg in ubundu.using the command sudo apt-get install ffmpeg But i can't install ...
1
vote
3answers
514 views

Bash script generating image from video with specific title in subdirs

I have the following bash script generating a jpg file with the same name of the video file. Now I need to change the bash script to generate the jpg file with the name image.jpg instead of with the ...
3
votes
2answers
1k views

How to convert flv file(s) to mp3 from PCManFM's (Open with) context menu?

Opening a terminal in a folder that contains a flv file called "one" (one.flv) and running this command: ffmpeg -i one.flv one.mp3 the flv file is converted to mp3 with the same name and in the same ...
2
votes
1answer
366 views

Video Conversion using libav with libopus

i need to convert my video files with VP8 / Opus in Matroska(mkv) container using avconv in terminal Can anyone give example usage of it?
2
votes
2answers
11k views

ffmeg x264 presets not working

Trying to capture screen to video file encoded with lossless x264: vic@vic-X202E ~/Desktop » ffmpeg -f x11grab -r 15 -s 1366x768 -i :0.0 -sameq -vcodec libx264 -preset:v ultrafast test.mkv ffmpeg ...
2
votes
0answers
2k views

Xubuntu 12.10 and FFMPEG webcam

Having a problem running ffmpeg to an ffserver in a brand new install of Xubuntu 12.10. I just installed Xubuntu 12.10 from scratch, then installed ffmpeg. I plugged in my webcam (mind you I have ...
0
votes
1answer
201 views

Force ./configure NOT to look in /usr/lib /usr/bin /usr/include

I want to compile FFmpeg but as you know its compile will (by default) look in the system's 'lib include bin' directories before following my orders set via --extra-cflags or --extra-ldflags Now the ...
-1
votes
1answer
122 views

Best is the best format to store videos? [closed]

I download and import videos from various website and devices. I also view them on various devices requiring different formats. I want to convert my videos into a single base format, then convert ...
1
vote
1answer
39 views

Is it ok to have 2 screen recorders running at the same time?

Ok I always have issues recording my desktop with kazam or gtk-recordmydesktop so now I'm very paranoid so is it ok to have ffmpeg running with kazam at the same time? will there be conflicts? thanks
0
votes
3answers
1k views

FFmpeg multi pass encoding

Sorry, I am really new to this, and have problems doing some tasks without help. So I have a terminal command: ffmpeg \ -y \ -i '/media/levan/BEEA60D8EA608E89/Downloads/Videos/Tony Braxton - ...
1
vote
1answer
872 views

Cannot use ffmepg on Clipgrab Ubuntu 12.10

I have Clipbgrab on my Ubuntu 12.10, but when I download on mp3 mode it doesnt convert the video on mp3 file. Do you know how can I upgrade to a new version to use it?
8
votes
1answer
11k views

how can I batch extract audio from mp4 files with ffmpeg without decompression (automatic audio codec detection)?

I have 228 mp4 files (2.6GB) and would like to extract audio from them (mp3 or ogg). I want to batch extract them - preferably with bash. I'm not sure if all files use the same audio codec as they ...
2
votes
4answers
12k views

How do I add and/or keep subtitles when converting video?

I have a mkv video I want to convert to mp4, but every which way I try and convert it (Handbrake, WinFF, ffmpeg, mencoder,...I lose the video's subtitles. How can I convert the video,keeping the ...
3
votes
0answers
2k views

How to stream a local video file over Internet using avconv/avserver?

As FFmpeg is going to be dropped from Ubuntu, it will be important to know how to broadcast videos over Intrnet using avconv. An official guide is available, but it doesn't give much information how ...
0
votes
3answers
551 views

FFMPEG compilation errors

First of all i am a newbie to Ubuntu Linux and have been trying to install and compile FFMPEG on an Ubuntu machine... I am trying to compile FFMPEG on an Ubuntu machine, using the following link ...
1
vote
0answers
611 views

How to stream H264 Video from camera over FTP?

I bought a h264 security camera system last year and set it up to ftp video to my computer. I was able to get the video to play (even though it played a little fast) on Ubuntu 11.04 using mplayer. ...
1
vote
1answer
635 views

Convert flv video to 3gp

I use winff (the GUI for ffmpeg) to convert audio/video to different formats. Yesterday I was trying to convert an flv video to 3gp (so that I could see it on my mobile phone), but it doesn't show the ...
1
vote
1answer
357 views

Error when Using ffmpeg

I'm trying to create a video file from a series of JPGs using the following command:- ffmpeg -f image2 -i img*.jpg -s 640x480 movie.mpg but it fails after generating a lot of output with the ...
2
votes
2answers
784 views

How to convert AC3 to Flac and apply a delay?

I have a MKV video file. The audio track is ac3. I extracted the AC3 and now want to convert it to Flac. But I need to add a delay/offset of 150ms. The offset should be permanent; the actual duration ...
2
votes
0answers
2k views

Can't capture video from usb-webcam with ffmpeg

i have a hama usb webcam which works fine with the fswebcam command to capture single frames but when i try to capture a video with ffmpeg i get an error: sudo ffmpeg -f video4linux2 -i /dev/video0 ...
0
votes
1answer
664 views

Downsize video for use on Android phone

I've got some 1080p movies on my Ubuntu system, which I'd like to trasfer to my Android phone for when I'm in a situation where I have nothing to do (like an absent teacher at school). My phone screen ...
23
votes
3answers
46k views

How to download an MP3 track from a YouTube video [duplicate]

Possible Duplicate: How to download a youtube video via terminal There are several Q&A threads that explain how to download youtube videos using the terminal. However, I would also ...
2
votes
2answers
1k views

'sudo apt-get build-dep ffmpeg' fails because of libjack0 in Ubuntu 12.04

I'm trying to build ffmpeg from source so I can add libx264 support, but sudo apt-get build-dep ffmpeg gives me: Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
448 views

Can't open video files

I could open video files but then I installed ffmpeg to install opencv and now it does not open video files. I tried vlc and ubuntu's Movie Player to open .mkv, .avi, and .mp4 but none of them opened. ...
1
vote
2answers
754 views

Ripping DVD to Play in XBox 360

I am trying to rip a dvd to be playable on my XBox 360. I used Handbrake 0.9.8 Normal & High Profile presets with no avail. Although MPEG-4 & H.264 are supported by the XBox, it won't play ...
5
votes
3answers
3k views

ffmpeg/avconv - the -psp option no longer works on Sony Walkman

Since the changeover from ffmpeg to avconv, the -psp option does not seem to render video correctly for Sony Walkman - "file format not supported", it was perfect before. ffmpeg -i video.avi -f psp ...
1
vote
1answer
620 views

Audio delays progressively when recording with ffmpeg

I am trying to record screencasts in Ubuntu 12.04, I have a working command, the audio sounds great and the video looks great. I have one issue though, the audio delays as the video goes on. At the ...
3
votes
2answers
4k views

How to add microphone audio into avconv's video in x11grab mode?

I want to create some screencast, I am using avconv (recent ffmpeg counterpart) for doing so. This is the reference for command I used. I also referred the avconv manual pages. Due to some reason I ...
1
vote
2answers
5k views

how to format the ffmpeg command to record sound from my webcam

Using ffmpeg arecord -L, I am able to identify my Logitech usb webcam as: hw:CARD=U0x46d0x821,DEV=0 USB Device 0x46d:0x821, USB Audio Direct hardware device without any conversions ...