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

learn more… | top users | synonyms

241
votes
9answers
353k 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 information......
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 ...
69
votes
2answers
149k 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 like ...
64
votes
6answers
124k 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 ...
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 properly,...
3
votes
4answers
64k 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
333 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 ...
13
votes
2answers
55k 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 ...
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? ...
1
vote
5answers
10k 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 ...
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
180 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 ...
6
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 ...
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 ...
2
votes
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
50k 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: ...
30
votes
3answers
41k 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 ...
8
votes
4answers
14k 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
46k 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 ...
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 $(...
6
votes
2answers
5k views

What to do with “recompile with -fPIC” message

I'm trying to configure the ffmpeg source package to build .so files rather than .a files. I run make after doing ./configure --enable-shared This gives me the following message: /usr/bin/ld: ...
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. ...
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 ...
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 ...
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 kb/...
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
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 ...
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
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 ...
1
vote
1answer
511 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 ...
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: ...
4
votes
3answers
5k 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
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
147 views

Can't display the thumbnails of HEVC Main10P and VP9 codec video

I hate totem player, it is useless to me, so I installed the ffmpegthumbnailer, removed totem player, and changed the default thumbnailer to it by following steps. sudo apt-get install ffmpeg ...
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
925 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
772 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 **: ...
0
votes
3answers
753 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 ...
0
votes
1answer
775 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 ...
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
1answer
487 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
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 ...
0
votes
2answers
5k 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 ...