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

learn more… | top users | synonyms

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
6k views

Cannot compile ffmpeg with fdk-aac

I need to compile ffmpeg with libfdk-aac on Ubuntu 13.04. I followed the following instructions to compile libfdk-aac wget http://downloads.sourceforge.net/opencore-amr/fdk-aac-0.1.0.tar.gz tar xzvf ...
0
votes
0answers
372 views

How to make a screencast in 13.04? [duplicate]

The question explains what is my need. Can we make screencast without using additional software other than ffmpeg? While searching the net, I found a solution. The solution was: ffmpeg -f alsa -i ...
2
votes
2answers
5k views

How can I determine which version of FFMPEG comes by default?

I am honestly confused beyond belief about my package that I have installed for FFMPEG. It is, according to Synaptic, version: 4:0.8.1-1really0u1 For some reason, I feel like this is not the ...
0
votes
1answer
342 views

Can't seem to get script/cron job to work?

ive written a ffmpeg script to mass convert mkv into mp4. when i run the script as my user, and enter my password for sudo privileges it works very well from the command line. the script is: #! ...
1
vote
1answer
5k 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
135 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 ...
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 ...
1
vote
1answer
906 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
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
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 ...
1
vote
0answers
140 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 ...
3
votes
0answers
287 views

5 seconds image intro with ffmpeg [closed]

I have one mp3 song song.mp3 and 2 jpg files 1.jpg 2.jpg Now, I want to make video from mp3 with jpgs as a background, but in a way so that 1.jpg streams for first 5 seconds then 2.jpg till the rest ...
2
votes
0answers
194 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 ...
9
votes
3answers
12k views

How do I use ffmpeg's “-vf” / “-vfilters” option without recompiling ffmpeg myself?

I have ffmpeg install from apt (version 4:0.5.1-1ubuntu1). I have a video that is up-side-down, so I want to flip it vertically. The ffmpeg documentation says to use the -vf option (which I see was ...
0
votes
1answer
214 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 ...
0
votes
1answer
9k 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 ...
1
vote
3answers
2k views

video gets corrupt after converting ogv to any format using ffmpeg

I was trying to convert ogv video to avi using ffmpeg. It does convert without any error but the output video seems to be corrupt. Does not matter which format I convert it to, out put is same as ...
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 ...
3
votes
1answer
914 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
6k 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
120 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?
2
votes
1answer
1k 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
1answer
67 views

How can I run “Video for everybody” in current ubuntu (i.e. without specially compiling the latest ffmpeg)?

I first asked "How do I convert a video to all formats neccesary for Video For Everybody" on Super User. The answer involved compiling the latest ffmpeg. Later, I asked "How do I strip the ...
1
vote
1answer
1k views

Totem issue with youtube: gstreamer

When trying to play youtube videos in Totem, I get this error: GStreamer encountered a general supporting library error. When starting from the commandline, the actual error is is this: ...
0
votes
0answers
46 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 ...
2
votes
2answers
12k 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 ...
1
vote
3answers
573 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 ...
0
votes
1answer
221 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
vote
1answer
40 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
2
votes
2answers
874 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 ...
4
votes
2answers
7k views

How to convert an mpeg2 to a streamable or fragmented mp4?

I am trying to convert mythtv recorded mpg (mpeg2) files into streamable mp4 files. Converting to an mp4 is simple, however, the entire file must be converted first before it is usable. Even using ...
0
votes
3answers
615 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
1answer
934 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?
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
0answers
679 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. ...
4
votes
3answers
3k views

ffmpeg unmet dependencies

I faced an issue recently when tried to install ffmpeg on my Ubuntu computer. I am running Ubuntu 11.10 64 bit, all latest updates are installed and system runs perfectly, however i feel need in ...
0
votes
2answers
1k views

MPlayer not working after update

After an update with update-manager in 12.04, MPlayer is not working anymore. It needs ffmpeg, but it can't be installed due to unmet dependencies. I added a PPA for ffmpeg, but did not solve the ...
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 ...
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 ...
1
vote
1answer
708 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
425 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
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 ...
3
votes
1answer
2k views

How do I record audio and video to a file from my webcam using ffmpeg?

This says to use /dev/dsp as the audio input. But I don't have a /dev/dsp I can find my webcam's mic in /dev/snd as /dev/snd/by-id/usb-Dynex_Dynex_1.3MP_Webcam-02
0
votes
1answer
690 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 ...
1
vote
2answers
787 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 ...
1
vote
1answer
498 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. ...
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 ...
2
votes
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 ...