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

learn more… | top users | synonyms

1
vote
1answer
54 views

How to mix and play back multiple audio tracks from a video file?

I have a video file (in an mkv container) with multiple audio tracks (aid=1,2,...). Using either mplayer or mpv, how can I play two of the audio tracks simultaneously (ideally being able to set each ...
1
vote
0answers
277 views

ubuntu 16.04 mplayer fullscreen issue

MPlayer refuses to go fullscreen when I start it with -noborder option. Without this option it works fine. I tried following command but it does not work. mplayer -vo vpdau -zoom -fs -noborder video....
2
votes
2answers
4k views

Merge multiple mp4 files into a single video via the terminal [duplicate]

I am trying to concatenate a directory full of .mp4 files into a single video through the terminal. I have found plenty of methods that say they can do this but either require FFmpeg (which, to the ...
1
vote
1answer
107 views

Where are the headers of libavcodec and libavformat located?

I executed the following commands in the terminal: sudo apt-get install libavcodev-dev sudo apt-get install libavformat-dev I tried to find the headers (various #include<libavcodec/*.h>) in ...
0
votes
0answers
71 views

how to recover corrupt mp4 from samsung note 3

I have an app which records mp4. Some videos are fine and some corrupt. But even the corrupt ones are huge in size which I conclude have data.However, I have tried ffmpg, avconv and media info. I am ...
-1
votes
1answer
239 views

Why does Ubuntu choose to put the 2.8.6 version of ffmpeg in their repository? [closed]

The official version of ffmpeg is 3.0.1, shouldn't the newest Ubuntu 16.04 LTS choose 3.0.1 or 3.0?
0
votes
2answers
118 views

Video codec for making home videos smaller?

Complete video beginner here. I have a bunch of old videos in multiple formats and codecs - like birthday videos, undergrad random captures etc. There is a large number of files that amount to ~25GB ...
0
votes
0answers
66 views

Hardware Accelerated video encoding with Motion

In the thread How can I access the H264 stream from my IP-camera with “Motion”? one advice given by MrDave was "to trigger an external recording application to record the main H264 stream in the ...
4
votes
1answer
2k views

How to Convert All The .MOV Videos To .MP4 in folder

using ubuntu 14.04 i am a newbie can anyone help how to easily convert all the .mov files in my /var/sentora/hostdata/zadmin/public_html/ctkdonline_com/wp-content/uploads/2015/08 folder need to ...
2
votes
1answer
56 views

Ubuntu ffmpeg command -i not found

I'm a beginner with Ubuntu and I need to setup a streaming server for my company, I've installed NGINX and FFMPEG, but when I call ffmpeg -i in the ~/ffmpeg/ffmpeg directory it returns an error ...
4
votes
1answer
317 views

How to install ffmpeg 3.0 on Ubuntu 15.10

ffmpeg 3.0 was released in February, it solves an important bug so I want to use it. Is there any easy way to install ffmpeg on Ubuntu Wily, for instance a PPA? What I tried: Xenial only has 2.8.6,...
1
vote
1answer
37 views

How can the speed of an AVI file be changed?

I want to change the speed of an AVI video file such that it takes twice as long to play as it did originally. I have attempted to do this with ffmpeg, but this results in a very low quality video: ...
3
votes
4answers
65k 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
59 views

Read bitmap data going to X server

I would like to be able to read the data that is being sent to the X server, and stream it into my application for real time processing. I tried using ffmpeg [2] to capture all the data, but it takes ...
2
votes
2answers
6k views

php5-ffmpeg not available in 14.04's repos, what now?

I know that from now on, Unbuntu only supports libav instead of ffmpeg. But as for ffmpeg-php, I am not aware of any similar tool. So how developers are supposed to do? Is there any option beside ...
2
votes
2answers
8k views

How may I burn srt subtitles to video with avconv?

System : Xubuntu 13.04 x64 I've found usage of this functionality in ffmpeg here ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi but it doesn't work. I get an error No such filter: '...
2
votes
2answers
7k views

How to extract aac audio from an mp4 file to m4a

How can I extract the aac audio from an mp4 file? I tried with ffmpeg and -acodec copy but if i use mp4 as output it will still encode the video and I get the same file size. If I use m4a as output ...
1
vote
0answers
78 views

How to convert webm video to mp4 when encountering errors for unsupported LBRR frames and decoding SILK/Opus

I have a low quality, but playable .webm video. It was recorded from a webrtc live stream that seems to have been on a bad connection. There are not many video frames and the audio cuts out for a ...
0
votes
0answers
23 views

how to convert video from web link with format mpeg4 to high quality mpeg2?

I try to convert video using FFmpeg, and it shows me 'option not found'. Which command can I use to convert from mpeg 4 to mpeg 2 using FFmpeg? The video is not in my folders, it fetches from web.
0
votes
1answer
302 views

How to play video using ffmpeg on ubuntu?

I tried to install ff mpeg on my Ubuntu 15. When I try to play video like: ./ff play requirerdvideo it shows me that : bash :./ff play: no such file or directory How can I fix this problem ...
0
votes
1answer
52 views

ffmpeg unrecognized option “draw_mouse”

There is ffmpeg package installed from ppa:mc3man/trusty-media. ffmpeg version N-78590-g5590ab4 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1) When ...
1
vote
1answer
180 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 ...
0
votes
0answers
133 views

FFMPG vs AVCONV: Has the CRF metric change?

I was planing to transcode a big library of old TV shows, 500GB of SD content. Since it is old, and I am not planing to store it like it is, but I just want to keep it mainly for the audio, I though ...
2
votes
3answers
10k views

How to compile FFmpeg with x265 support?

Today I found out that x265 is already present in ffmpeg so I compiled ffmpeg with this guide Sadly libx265 did not work on ubuntu, however on windows I tried the same thing with zeranoe ffmpeg ...
10
votes
2answers
20k 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 ...
5
votes
5answers
16k views

How can I convert .mp4 files to .3gp using ffmpeg?

I would like to download a few videos from youtube and convert them to 3gp so that I can play them on my phone. I would like to know how this can be done using ffmpeg. I tried the various results on ...
30
votes
3answers
52k views

How can I convert an ogv file to mp4?

I created a screencast using recordmydesktop which produed a .ogv file. I believe this is an OGG file encoded using the Theora codec. I'm wondering, how can I convert this to MPEG4/H.264? I've tried ...
1
vote
1answer
177 views

How to install FFMPEG on Ubuntu aarch64

I need to install ffmpeg on Ubuntu aarch64 Architecture. I searched the web but all the guides are about how to install ffmpeg on other Ubuntu distros.
1
vote
1answer
610 views

Converting .mov files to .mp4 using ffmpeg

The conversion answers that I have seen on the web suggest using a -c option in the command line using ffmpeg. However using Ubuntu 14.04 the -c option does not exist in ffmpeg version SVN-r0.5.1-4:0....
1
vote
2answers
15k 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, ...
0
votes
1answer
89 views

Re-encoding through FFMPEG

How do I run this command on splitting files, but with re-encoding to MP4 as shown in earlier post? And when splitting the file, how do I avoid hogging the system's resources (especially if it's a ...
0
votes
1answer
1k views

How to use FFmpeg Command for Reverse Video? [closed]

i am use to FFmpeg library in android for reverse video. I can dump images from video but how to reverse all images and make video. See this link that from i am use to library in my gradle.. Library ...
1
vote
0answers
71 views

Open broadcaster not installing

I'm trying to install Open Broadcaster: https://obsproject.com/download#linux but I'm getting these errors: The following packages have unmet dependencies: obs-studio : Depends: libavcodec-ffmpeg56 ...
3
votes
1answer
93 views

Recording Lenovo Easy Camera with ffmpeg - framerate too low

Does anybody have a glue why I can't get ffmpeg to record my webcam higher than 8 fps, with ffmpeg? I've tried Cheese and GUVCView, under various settings. GUVCView only records a still picture, and ...
1
vote
1answer
55 views

ffmpeg unable to record video with audio how to solve it?

ffmpeg unable to record video with audio how to solve it? $ ffmpeg -f oss -i /dev/audio -f x11grab -s 1280x1024 -r 3 -ab 11 -i :0.0 /tmp/out.mp4 ffmpeg version N-77455-g4707497 Copyright (c) 2000-...
4
votes
2answers
5k 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 ...
1
vote
1answer
122 views

Videos which are converted in Linux do not play in mobile browser

I used avconv and ffmpeg to convert video files, but these files after this process did not work on a mobile browser. They only work as well on VLC or any other browser of desktop (Linux or Windows). ...
1
vote
1answer
375 views

HTML5 DRM video won't play on Ubuntu 15.10 with latest Google-Chrome

I have three 15.10 systems with Google Chrome installed. Two play purchased Amazon movies just great. One gives me a "Digital Rights Error" tells me to enable Widevine and refer to error 7235. I ...
1
vote
1answer
20 views

Adaptive crf value in ffmpeg?

I use a crf value of 19 wich works, but some times the bit rate gets too high. Basically I want to know how to make ffmpeg try to keep the quality level at 19 but when the bit rate gets too high, ...
8
votes
3answers
29k views

How can I convert a 1080p wmv video to a 720p video?

I have a 1080p wmv video that I'd like to convert to a lower quality (preferably 720p) video. I would like to keep the audio intact. How can I accomplish this in Ubuntu?
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
1answer
157 views

unable to download 480p format using youtube-dl

I'm trying to download 480p format youtube video using youtube-dl using youtube-dl -f 135+141 --prefer-ffmpeg <url> and i get the following error and it failed to mix audio and video ...
4
votes
2answers
148 views

Can a Zenity list display a string `--option`?

Is it possible to have a Zenity list-style menu show a code option like -r? I am trying to make a simple GUI for an FFMPEG bash script. This is just one prompt for selecting a framerate for a video. ...
3
votes
3answers
17k 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 (...
0
votes
1answer
286 views

Upgrade already installed ffmpeg software on ubuntu server

I have ffmpeg version 2.2.5 installed on my server which is running on ubuntu. I want to update it to latest version and codecs/libraries. I have tried the following commands but they are not working....
71
votes
2answers
155k 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 ...
7
votes
3answers
29k views
0
votes
0answers
151 views

Extract partial streams ffmpeg

I am using ffmpeg last version (compiled from sources). And I have flv videos that are partially recorded from TV streams. These videos have proper video, and proper audio streams. But the subtitle ...
64
votes
6answers
126k 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
0answers
140 views

Restream from HDHomeRun with ffmpeg

I have an older HDHR-US that does not have any upnp services and requires a special library. I can use the library on my ubuntu 14.04 server to save the video stream. I can also output to a pipe. ...