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

learn more… | top users | synonyms

41
votes
6answers
80k 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 ...
0
votes
4answers
3k 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 ...
1
vote
3answers
172 views

One liner ffmpeg (or other) to get only resolution?

I'm not really well versed in the command line so hopefully this isn't too stupid of a question. If I run: ffmpeg -i videofile.avi I get an output such as this: ffmpeg version ...
3
votes
4answers
23k 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 ...
3
votes
2answers
1k 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: ...
1
vote
1answer
6k views

ffmpeg unkown libfaac ubuntu 14.04

I Have Installed ffmpeg 2.3 in Ubuntu 14.04 ffmpeg -i demo.mpg -acodec libfaac demo.mp4 ffmpeg version 2.3 Copyright (c) 2000-2014 the FFmpeg developers built on Aug 13 2014 22:15:33 with gcc 4.8 ...
1
vote
0answers
64 views

Ffmpeg 2.5.2 executable not replacing existing version

I'm trying to upgrade my ffmpeg from 0.10 to the latest (2.5.2). I performed the upgrade yesterday on a different Ubuntu 13.10 machine and it worked perfectly, so I'm not sure what I'm doing wrong. I ...
0
votes
2answers
776 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
2k views

How can I burn vobsub subtitles using ffmpeg?

I have an MKV that I am using to create a DVD using DeVeDe The MKV has embedded subtitles in vobsub format, which DeVeDe does not support (or bugged, not sure) I decided to burn the subtitles to the ...
0
votes
0answers
74 views

Ubuntu RTMP server output video over cvbs

I want to stream video from Adobe_Flash Media Live Encoder (FMLE) to an RTMP server (nginx, ffserver or crtmp) installed on a Cubieboard (cb2), and output that video stream over CVBS (RCA yellow, red, ...
1
vote
3answers
781 views

Some Youtube videos won't play in Kubuntu 14.04 and Chromium 36.0.1985.125

I'm running Kubuntu 14.04 and Chromium 36.0.1985.125. I'm finding that some YouTube videos give me the error: The Adobe Flash Player is required for video playback. But most other videos work ...
5
votes
1answer
12k 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
2answers
628 views

How to prevent the recorded video using ffmpeg get corrupt

Actually I have an device that record the audio and video. when the recording is started the video file also started to persist into the hard drive. But if device goes off unfortunately between the ...
2
votes
0answers
627 views

avconv/ffmpeg - audio slowly drifts out of sync, original is in sync

Almost all of the instructions I've read about drifting audio sync is regarding live screen recording. I'm simply trying to truncate useless video from the end of a raw DV file in an effort to prepare ...
0
votes
1answer
80 views

Error trying to convert .avi to .iso in DeVeDe - Conversion failed. It seems a bug of Mencoder

After a lot of Googling, I still cannot convert an avi to an iso. I tried to install ffmpeg from ppa https://launchpad.net/~jon-severinsson/+archive/ffmpeg and I changed in preferences "Encoder for ...
2
votes
2answers
6k views

Unknown encoder 'libvo_aacenc'

I get this error when I try to convert an wmv to 3gp using this command: ffmpeg -y -i "inputvid.wmv" -vf scale=352:288 -f 3gp -vcodec h263 -r 15 -b 200k -acodec libvo_aacenc -ac 2 -ar 32000 -ab ...
2
votes
2answers
908 views

Inlcuding subtitle when converting MTS to MKV

I want to convert my .MTS videos from my Sony HD Cam into a .MKV. I am using ffmpeg and it works fine. But I have problems with the subtitles (in this case the subtitles are date and time) because ...
1
vote
0answers
241 views

VLC crashes on playing WMV after installing (and removing) FFmpeg

I have Xubuntu 14.04. I added the ppa:jon-severinsson/ffmpeg repo and then installed ffmpeg and frei0r-plugins. After doing that VLC started crashing on playing WMV files. All WMV files cause it to ...
1
vote
1answer
1k views

Blu-ray player?

I'd like to play bluray discs in my laptop. I found the official documentation, and there it's explained that one should use mplayer and ffmpeg. Looking at the repositories, there exist two different ...
5
votes
2answers
6k 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 ...
0
votes
3answers
4k views

How to convert rmvb to mp4? (or, why ffmpeg doesn't work?)

I'm trying to use this script to convert an rmvb video to mp4, but I'm having problems with the ffmpeg. In apt-get there's only ffmpeg0 and ffmpeg-dev, I installed both, but the script doesn't work, ...
1
vote
2answers
3k views

ffmpeg & ffprobe & libfdk-aac on Ubuntu 14.10 server

How to install properly ffmpeg? (not a duplicate as most of the similar answers don't work properly) Normally i compile ffmpeg manually with the following guide ...
1
vote
0answers
120 views

ubuntu stream microphone to dlna in near real time

I want to use 14.04 to stream LineIn or microphone out to my cinema-theather, I used this tips: ...
0
votes
0answers
559 views

ffmpeg concatinate multiple videos in Ubuntu

I am trying to concatinate three videos using ffmpeg I tried this ffmpeg -f concat -i filelist.txt -c copy output.mp4 As described here and it gave me the following error: Non-monotonous DTS in ...
0
votes
3answers
3k views

How to cut audio file with avconv?

I have a hard time trying to figure out how to cut a file with avconv. Here's the command I use: avconv -ss 52:13:49 -t 01:13:52 -i RR119Accessibility.wav RR119Accessibility-2.wav But it doesn't ...
1
vote
1answer
234 views

avconv incorrect length when splitting video

avconv used to work fine for me in 13.10, but now it doesn't. I'm using it in the same way as before, for example: avconv -ss 1971 -t 2216 -i x.mp4 -vcodec copy -acodec copy -metadata track="7" ...
1
vote
1answer
223 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.
0
votes
3answers
335 views

mplayer configure Error: libavutil/x86/asm.h header is required for shared FFmpeg

In Ubuntu 14.04,I run ./configure --enable-gui --enable-xvid-lavc --enable-xv --enable-alsa to install mplayer,when it comes to Checking for FFmpeg .... then the error shows up. I cat config.log, the ...
0
votes
1answer
1k views

Building ffmpeg deb package gives fakeroot debian/rules clean gave error exit status 2

I am trying to build my first .deb package (with ffmpeg sources) and I get some errors. Those are my steps that can be reproduced to get this error: git clone git://source.ffmpeg.org/ffmpeg.git ...
8
votes
6answers
62k views

“Unknown option ”--enable-libfaad“ ERROR: libfaac not found” while configuring ffmpeg

I trying to install this following these instructions: sudo apt-get remove ffmpeg x264 libx264-dev sudo apt-get update sudo apt-get install build-essential subversion git-core checkinstall yasm ...
3
votes
1answer
2k views

Convert .mp4 to .ogg keeping only the audio, with Ubuntu 14.04 and avconv

How to convert a .mp4 file (downloaded from YouTube) to .ogg? (keeping only the audio) When Ubuntu had ffmpeg I could just do ffmpeg -i file.mp4 -acodec vorbis file.ogg Now we have to do without ...
0
votes
1answer
57 views

Remove source code directories after compiling ffmpeg?

I've just finished compiling ffmpeg. The code was downloaded into ~/src, then configured it, ran make, and then checkinstall. It seems to be working good. Now that all that is done, is it now safe to ...
0
votes
0answers
66 views

install IPD Toolbox in scilab 5.5 in ubuntu 14.4

How to install IPD Toolbox in scilab 5.5 in ubuntu 14.4 How to install ffmeg in ubuntu 14.4
2
votes
1answer
5k 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 ...
1
vote
0answers
358 views

how to stream webcam usinng ffmpeg [closed]

Im trying to stream a webcam on my server. I followed this tutorial, but http://www.area536.com/projects/streaming-video/ I get this long terminal output, which ends by saying [http @ 0x9c982a0] ...
0
votes
0answers
32 views

I can not get software updates for 14.04

I can not get software updates for 14.04 because it says that I need to check my internet connection. The solution already listed is to complicated when I run it on terminal. Can someone post any even ...
0
votes
1answer
81 views

My bash script depends on ffmpeg which was removed when I upgraded to 14.04. What to do? [duplicate]

I have a bash script to capture images using the webcam and it depended on ffmpeg. I recently upgraded from 13.10 to 14.04 and noticed that ffmpeg was removed and this script wouldn't work anymore. ...
0
votes
1answer
218 views

Trying to merge .avi videos with mendcoder

I started by using the suggestions found at this link: How to join video files from terminal? It worked for the first 6 times that I tried to merge a group of small .avi files into one larger file. ...
1
vote
1answer
150 views

I uninstalled Chromium. Why still extra ffmpeg codecs for the chromium browser in ubuntu update?

Chromium kept crashing on the gmail webpage (aw snap) and I have uninstalled it and installed goggle chrome. In software updater, I see "extra ffmpeg codecs for the chromium browser" is this for ...
3
votes
4answers
15k 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 ...
0
votes
1answer
487 views

Can not install Mobile Media Convert on Ubuntu 14.04

After installling 14.04, I have tried several .deb versions of Mobile Media Converter but all have unmet dependencies. like this: $ sudo dpkg -i mmc_1.7.4_amd64.deb Selecting previously unselected ...
6
votes
1answer
164 views

How to know current status of recording device?

I have a device that records the audio and video using ffmpeg. And I am using Ubuntu 12.04 for that device, but I want to find out if the device is currently recording or if it is in idle state from ...
1
vote
1answer
979 views

ffmpeg installation, kubuntu utopic unicorn

I haven't found any utopic unicorn ffmeg repositories, so I am trying to install it from https://launchpad.net/~jon-severinsson/+archive/ffmpeg by changing version from utopic to trusty in ...
0
votes
0answers
33 views

what does ~/<directoryname> do? [duplicate]

I had to use ~/ffmpeg_sources while installing. When I used it, it navigates me to the ffmpeg_sources directory. What does ~/ actually do?
3
votes
1answer
407 views

Is it possible to have both libav and ffmpeg installed and running on ubuntu 14.04?

I want to use Clementine but it needs ffmpeg to be installed if I want to play .ape files from it. On the other way, I still want to have VLC up and running, and I understand that VLC does no longer ...
0
votes
1answer
398 views

problem in installing ffmpeg in ubuntu 14.04

I try to install ffmpeg in unbutu according to https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu I create a shell file with below code sudo apt-get update sudo apt-get -y install autoconf ...
5
votes
3answers
14k views
0
votes
0answers
551 views

How to change subtitle color and other options in mencoder command line tool?

I want to burn a subtitle file with .srt format in Persian (-utf8) into a video file with .mp4 format using mencoder. This command works for simple task: sudo mencoder input.mp4 -sub subtitle.srt ...
0
votes
2answers
722 views

FFmpeg, error hardcoding subtitles

I'm trying to use ffmpeg to hardcode subtitles, but it gives this error: No such filter: 'subtitles' Error opening filters! My ffmpeg command and complete console output: $ ffmpeg -i ...
0
votes
1answer
262 views

How do I stream computer audio only with ffmpeg?

I am using this script: http://www.thegameengine.org/miscellaneous/streaming-twitch-tv-ubuntu/ to stream to Twitch. It works but I don't want to stream my microphone, only the computer audio. How ...