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

learn more… | top users | synonyms

233
votes
9answers
335k views

Is FFmpeg missing from the official repositories in 14.04?

I tried to install ffmpeg in trusty/Ubuntu 14.04 and got the following message: $sudo apt-get install ffmpeg Reading package lists... Done Building dependency tree Reading state ...
25
votes
2answers
24k views

How to replace avconv with (the real) ffmpeg and have it work right?

UPDATE (original text preserved below) With the real ffmpeg about to return (in 15.04), Jon Severinsson's PPA no longer working (for ffmpeg), and both avconv-ffmpeg (now called "libav") and the real ...
59
votes
6answers
117k views

How to convert .mkv file into .mp4 file losslessly?

I need to convert a video file from Matroska container into mp4 container. Matroska file contains one h.264 video track and one AC3 sound track. It should be possible to do this losslessly, but how to ...
62
votes
2answers
134k 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 ...
6
votes
2answers
9k 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 ...
13
votes
2answers
51k views

Fastest way to convert videos (batch or single)?

I know there are a lot of questions about video encoders around here, but my question is more about workflow/efficiency. For my day job, I need to convert videos, frequently, from many random formats ...
8
votes
2answers
16k views

Why does ubuntu-restricted-extras want to remove some libav packages?

When I try to install "ubuntu restricted extras" in "ubuntu software center", it displays a warning dialog that says the following items must be removed: libavcodec53 libavutil51 Why? And if I ...
3
votes
4answers
63k views

Convert mkv to mp4 with ffmpeg

When I try converting mkv to mp4 using ffmpeg, the following error occurs: version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers built on Jun 12 2012 16:52:09 with ...
0
votes
1answer
306 views

Remove Audio Streams of videos - recursively without converting audio or video with FFMPEG

Lets say for example you have a season of a TV show, the best encode you can find, but it has multiple audio streams, that you don't need. You don't want to re-encode and loose video/audio quality and ...
5
votes
2answers
2k views

Why can't I watch video after installing the original ffmpeg fork from Jon Severinson's PPA?

I just installed the Jon Severinsson ffmpeg PPA, and I cant watch any video and get audio only, I get a need extra plugins needed install? and then packaged dependencies could no be resolved . Here ...
29
votes
3answers
39k views

Clementine won't play .wma, with “Your GStreamer installation is missing a plugin” error

Here's a screenshot: It displays messages like: "Clementine stopped." or displays songs that are not playing, and indicator icon is disappearing and reappearing. Does this happens only to me, or is ...
5
votes
1answer
14k views

Install latest ffmpeg for all users in Debina/Ubuntu

I installed ffmpeg on my Ubuntu using this guide This is working just fine and I know that guide is for installing ffmpeg for the current user. Can anybody help me to install ffmpeg for all users? ...
7
votes
3answers
11k views

Add an audio file to and mkv video

I'm quite new to multimedia things, I'm trying to find a way to make nice screencasts, I've already been able to capture my desktop with ffmpeg: $ ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 30 -s ...
1
vote
3answers
3k views

best command line tool to join videos

I have used ffmpeg, but with it you have to first make mpg videos then do cat video1.mpg video2.mpg > joined.mpg and then convert to joined.mpg to joined.mp4 with ffmpeg to be able to upload on ...
9
votes
3answers
14k 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 ...
1
vote
0answers
167 views

PulseAudio channel map at run time

Could I map (Swap) the channel at run time. I am using the ffmpeg to record the both video and audio from two logitech cam/mic and bluetooth mic. Now currently at the starting of recording bluetooth ...
0
votes
0answers
374 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 ...
5
votes
4answers
4k views

Good PPA for ffmpeg

Its annoying that the default ffmpeg in ubuntu's repositories is outdated and hobbled for legal reasons, however, there's a great page on the forums that walks you through building it from scratch: ...
2
votes
3answers
9k 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
9k views

Install ffmpeg in Ubuntu 12.04 LTS

Background : I used ffmpeg to merge two videos side by side. First I install ffmpeg by following command as it suggest by Ubuntu itself. sudo apt-get install libav-tools or sudo apt-get install ...
0
votes
0answers
85 views

How to Add Time stamp when using ffmpeg Video Recorder? [duplicate]

Is there any option , that let a user record a video with a time stamp . I use many web-cam recording and i didn't found this option . Program i used Guvcview , Cheese . Any Help ?
38
votes
10answers
48k views

Converting mp4 to mp3

I have a video I need to convert to mp3 (from the command line - not GUI) video.mp4 I tried: ffmpeg -i -b 192 video.mp4 video.mp3 with no success. I get the following error: WARNING: ...
8
votes
3answers
11k views

avconv version and youtube-dl

I have youtube-dl version 2015.07.04. While downloading a video, I see this message: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will ...
10
votes
2answers
1k views

Can a server handle simultaneous shell commands?

I'm writing a very simple browser based MP3 player in PHP. Part of this project requires that every MP3 file is converted to a WAV file. There's a function in PHP called shell_exec that allows you to ...
9
votes
5answers
43k views

how to convert avi (xvid) to mkv or mp4 (h264)

Very noob when it comes to video. I'm trying to make sense of what I"m finding via Google... but its mostly Greek to me. I have a bunch of Avi files that won't play in my WD TV Play box. Mediainfo ...
4
votes
1answer
4k views

How to build and install latest SimpleScreenRecorder from git?

I want to install SimpleScreenRecorder (SSR) from git as recommended by the developer. The binary version crashes and it is possible that the git version already has the fixes for my crash problem. ...
3
votes
1answer
7k views

capturing video from webcam and saving to a file

I am trying to capture video(alongwith audio) from a webcam. I need to record the video and save it to a file,for further processing. Would like to do it through CLI. Any ideas how to do it using ...
2
votes
1answer
3k views

OpenCV install problems on Studio 12.04 - broken dependencies [duplicate]

Problem: I'm trying to install OpenCV (video analytics) and am following the Ubuntu OpenCV installation documentation. The provided script has a line which executed for some time, taking away more ...
2
votes
2answers
4k 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 ...
0
votes
5answers
9k views

How to use Ffmpeg to convert wma to mp3 recursively, importing from txt file?

I tried different options from forums, but most of them are out of date (ffmpeg tells me about it, like with -sameq option). Im trying to understand the docs, but I can't. I want to know how to ...
7
votes
2answers
2k views

What are the implications of the ffmpeg / libav fork for users?

The ffmpeg project got forked: http://libav.org/ http://ffmpeg.org/ libav has already been added to the ubuntu repositories: https://launchpad.net/ubuntu/+source/libav What are the implications ...
5
votes
3answers
2k views

ffmpeg options: -acodec libfaac -ab 192k produce 150kbit files?

When I use ffmpeg to convert an audiofile with the option -acodec libfaac -ab 192k and use ffmpeg -i on that file afterwards to get the audio file information, it tells me bitrate: 152 ...
3
votes
4answers
8k 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 ...
3
votes
1answer
3k 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
2
votes
1answer
3k views

Convert CAF to MP3 or WAV?

I have a CAF server on my Ubuntu 9.10 server and I need to convert them to MP3 or WAV. I have already tried with pacpl and ffmpeg, but it didn't work (I don't have the right encodings in Ubuntu). ...
1
vote
1answer
497 views

Is it possible to restore the original quality of a YouTube video after downloading it? [closed]

I'm on Xubuntu. Two days ago, I wanted to download a mp3 song from YouTube: this one using this firefox extension or any other. The size is 82 MB. It's clearly not an mp3 file; it's a video that has ...
1
vote
1answer
2k 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 ...
4
votes
3answers
4k 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 ...
3
votes
2answers
3k views

ffmpeg: command not found

I have ffmpeg installed in my Ubuntu 14.04 but when I tried to use it in terminal I got the following error, $ ffmpeg -i input.avs -an -vcodec rawvideo -y output.avi ffmpeg: command not found I ...
3
votes
2answers
2k views

can someone tell me what this means and how do i fix it? [duplicate]

All i wanted to do was put vlc on my computer. This is turning into a real pain in the butt. I had to update and upgrade just to get the software centre to run, but when i try to install vlc i get the ...
2
votes
1answer
2k 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 ...
1
vote
1answer
742 views

Problem with m4a files

Rhythmbox, vlc and totem instantly crash when opening a m4a file. When I run rhythmbox -d and play a m4a file, I receive this message: (rhythmbox:9023): GStreamer-CRITICAL **: ...
1
vote
0answers
35 views

Remove audio from mp4 file [duplicate]

I have a video file i.e. video.mp4 it contain both video and audio. I want to remove the audio from this mp4 file. I tried using the following ffmpeg command: ffmpeg -i /home/Desktop/video.mp4 ...
1
vote
1answer
800 views

ffmpeg-video trim from the end of the video

I have some videos of different duration.I want to cut(remove) the last 5 seconds of all videos.Can i use 'ffmpeg' in a loop to trim the videos?please help me.
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
1answer
435 views

Split a large video file into small clips 15 sec each

How do I split a large mp4 file using ffmpeg, into smaller clips, which are 15 seconds each. Kindly advice/suggest please. Thanks, Dominic
0
votes
1answer
5k views

How to install and/or run Universal Media Server on Ubuntu 14.04?

I have installed UMS onto my Ubuntu box according to the manual here. All commands worked fine except two: 1) I was unable to install ffmpeg package which is absent in this version of Ubuntu. I have ...
0
votes
2answers
4k views

VLC unable to play wmv

I recently installed ffmpeg on Ubuntu 14.04 to do some video editing because avconv didn't have some options that I wanted or knew about. After installing ffmpeg, VLC seems to be unable to play wmv ...
0
votes
2answers
1k views

Winff exits with “Unrecognized option” error

I installed ffmpeg completely from this Guide. I installed Winff in Ubuntu but when I want to try convert I face to this error: ffmpeg version git-2013-11-15-995f450 Copyright (c) 2000-2013 the ...
0
votes
3answers
733 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 ...