Libav is a fork of the popular FFmpeg multimedia tool, best known for appearing in the Ubuntu packages. Include the full, uncut console output when asking for help with a command.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

avconv: remove audio stream, keep sync

I have an AVI file with one video and three audio streams. I would like to discard two of the audio streams, keeping only one. I tried to do so using avconv (v11.3-6): avconv -i in.avi -map 0:0 -map ...
0
votes
0answers
14 views

Basic conversion of sequence of images to avi with avconv

I'm trying to convert sequnce of images to small avi. Each image should be shown 2 seconds. I'm using this basic command sudo avconv -r 0.5 -i test%05d.jpg out.avi I get the output, but it shows ...
1
vote
1answer
2k views

Encoding multiple video streams with a single avconv invocation

I played with avconv on Ubuntu and I'm now able to e.g. record the desktop with sound from a soundcard. One thing I wanted to do was recording two video inputs at the same time, for instance the ...
0
votes
0answers
6 views

avconv - how to use two input files for transcoding to maximize quality

Let's say I have two video files encoded in lossy formats, for instance sample.mp4 (H.264) and sample.265 (H.265). Now I want to transcode to sample.webm (VP8). We all know transcoding degrades video ...
3
votes
1answer
3k views

How do I merge a folder of PNG images to a mp4 movie using avconv?

I have a folder containing many time stamped PNG images which I'd like to merge to a short movie. The contents of that directory looks like this: └── images ├── img_20130421_115547.png ├── ...
0
votes
1answer
23 views

How to extract Blu-ray audio without any conversion?

As avconv (forked from ffmpeg) said, the format of Blu-ray audio stream is called pcm_bluray, but why most of the tutorials say using -acodec pcm_s**le flag (** depends on its sample rate)? Are they ...
0
votes
3answers
703 views

Split MKV based on Chapters

I have a long MKV file which I want to split into its individual chapters. Running ffmpeg -i long.mkv gives me all the information about the chapters embedded in the file: Duration: 01:23:45.80, ...
0
votes
0answers
22 views

avconv stream dies after 2 hours

I have a live stream running from a Raspberry Pi camera using the following command: avconv -f h264 -r 25 -i fifo.264 -metadata title="Raspberry Pi Camera Module (LIVE)" -f flv ...
0
votes
1answer
45 views

Combine audio and video with avconv not merging video

I am trying to combine a ripped stream from YouTube that seems to be in a weird format. Anyway, the video and audio seem to play on their own but when I tried to combine it, the file size is just a ...
-2
votes
3answers
317 views

Conversion from WebM to MP4 in Ubuntu is slow and bad quality

I have used the command ffmpeg -i input.webm -q:v 10 -c:a copy out.mp4 I also tried using avconv instead of ffmpeg. The conversion is successful but the quality is bad. Also it takes a lot of ...
2
votes
1answer
125 views

Hardcoding FFMPEG subtitles on MP4 / MKV

I am using FFMPEG to hard code subs into a video. Having read many posts on the best approach, and whether to use mkv or mp4, but am still none the wiser. The code below uses an mp4 file. The ...
1
vote
0answers
148 views

avconv stream video from USB webcam without delay

I need to stream video from USB webcam. I am using avconv, but it has delay min 5s. Is possible to stream in real time without delay? avconv -f video4linux2 -i /dev/video0 -vcodec libx264 -f mpegts ...
0
votes
0answers
166 views

How do I get avconv/ffmpeg to output video with specific tbn, tbc

My father can only use an old video editor (Pinnacle Studio 12) that is very picky on what video files it imports. Here is the output of avprobe one of the videos it manages to import: encoder: ...
0
votes
0answers
48 views

How to constrain/stretch a video to a fixed duration using ffmpeg or avconv?

So I have a few hundred clips of videos, about 1 to 5 seconds each, that I'd like to all play at 2 seconds each...this means for the 1 second videos, they get stretched out, and the 5 second videos, ...
0
votes
0answers
28 views

avconv: convert sequence of randomly-named images to video

I have files named like alice.png, bob.png, charlie.png (there are hundreds of them) and I would like to make video from those. What I try is avconv -i alice.png -i bob.png -i charlie.png -r 25 -b:v ...
2
votes
1answer
46 views

Delete .avi videos by length using Linux terminal

How can I delete videos, via terminal, by length of the video? I have a cutoff point of 30 seconds, and I want to delete anything under that. If I select by size (find . -type f -size +27818098c) it ...
0
votes
0answers
91 views

FFmpeg / libav / Avconv settings to add higher contrast to a video

I successfully convert videos to mp4 from images turning the video black and white, is there a way to add contrast and brightness to balance the higher contrast so that it looks sharper? Here is the ...
2
votes
2answers
3k views

Converting RGB images into lossless video with avconv / ffmpeg

I am trying to convert a series of PNG24 images containing a screen animation to a lossless video, so that every pixel is reproduced exactly as it was in the original. But avconv (and ffmpeg) both ...
0
votes
0answers
25 views

What parameters for lightweight HTML5 video with avconv? [duplicate]

I have this: avconv version 0.8.16-6:0.8.16-1, Copyright (c) 2000-2014 the Libav developers built on Sep 16 2014 23:10:48 with gcc 4.7.2 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'film.mp4': ...
0
votes
2answers
706 views

Reducing video size with avconv… why does the size increase?

i have an android video: $ mediainfo 20140324_192544.mp4 General Complete name : 20140324_192544.mp4 Format : MPEG-4 Format profile ...
0
votes
2answers
597 views

How to install libav-tools in centos 6

I used tutorial to compile it from source but it never worked for me. I am facing error on following points Download x264 codec and compile it: git clone git://git.videolan.org/x264.git x264 cd ...
0
votes
0answers
157 views

avconv and ffmpeg: errors reading png files

I'm trying to use avconv to overlay data onto a video. I generate PNG files representing the overlay data at 4fps. The PNG files are the 120px wider and 60px taller than the original video, because ...
0
votes
0answers
50 views

Force avprobe format detection

I have a gif file without an extention called loop. the command avprobe loop returns: [mp3 @ 0x7faa59004a00] Format detected only with low score of 1, misdetection possible! avprobe subsequently ...
0
votes
0answers
9 views

How to limit a source filter with avconv?

I'm combining multiple videos to show them side by side using this script: avconv -i Input0.mov -i Input1.mov \ -filter_complex "color=black:1280x720:24 [BLACK]; \ [0:v] fifo, crop=640:640:320:8, ...
3
votes
1answer
674 views

How do I extract the timestamps associated with frames ffmpeg extracts from a video with the -r option?

ffmpeg -i myvid.mp4 -r 25 -t 100 image-%d.jpeg Is the command I'm using to extract frames and it's working just like I expected. However I'd also like to look at the timestamps of the frames. ...
1
vote
2answers
130 views

How to strip metadata from MP3 files?

I want to strip metadata from MP3 files. In a brief: How to simply get a stream of pure MP3 frames out of a MP3 file – by means of command line tools? Preferable using tools out of the box of a linux ...
0
votes
1answer
208 views

avconv gives empty output

I tried converting a video file to a desired format using FFmpeg through WinFF. I have specific demands about some aspects of the output file, while other aspects should be set in a way which will ...
1
vote
5answers
278 views

How to convert from .avi container to .mp4

I have an .avi file containing the following streams: Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 608x256 [PAR 1:1 DAR 19:8], 23.98 tbn, 23.98 tbc Stream #0.1: Audio: mp3, 48000 ...
0
votes
1answer
271 views

Piping output from ffmpeg/avconv over ssh to a file

I like to pipe the output from ffmpeg/avconv over ssh to a file. I would like to do something like this. ssh USER_NAME@SERVER_IP "avconv -i ...
0
votes
0answers
73 views

avconv: Overlaying & Offsetting Videos

I am trying to overlay multiple videos in a split screen, with different offset (Audio, video both offset), initially I tried offsetting & overlaying like following avconv -i 1.webm -itsoffset 2 ...
12
votes
1answer
10k views

How to install libav/avconv on OSX?

OSX comes with a command line video conversion utility avconvert but this tool provides limited functionality compared to the avconv provided by libav. How can I install avconv on OS X?
3
votes
0answers
414 views

Why does avconv change the fps when deinterlacing?

I have a .MTS 1080i of 25fps (mediainfo) that I deinterlaced with avconv -i input.MTS -vf yadif -c:a copy output.mp4. As the wiki says, the default value for yadif is 0 which "outputs one frame for ...
0
votes
1answer
82 views

Confused about timecode/fps results when using avconv/avprobe

I'm using avprobe to get information about timecode and fps from videos. Getting the information isn't a problem but I'm a bit confused as to the result. When running avprobe on an H.264 file I'm ...
0
votes
1answer
231 views

Concatenate .mp4 videos of different encoding parameters using avconv without losing quality?

How can I use the avconv tool to concatenate multiple .mp4 videos of different encoding parameters in a single container, without losing quality?
1
vote
2answers
128 views

How do I capture my second monitor using avconv?

With this command: avconv -f x11grab -s 2560x1440 -i :0.0 I can stream video from my main monitor. I also have a second, 1080p monitor on which I do my gaming. I want to stream from that monitor. ...
0
votes
1answer
309 views

Convert mkv with AVC High@L4.0 to mp4 with ACV High@L4.1 or higher

I am trying to convert some mkv files I have to mp4 so that they can be played to my chromecast. Here is the information about the video files. mkv file information As you can see that the video ...
2
votes
2answers
5k views

reduce size of mp4 using avconv

I'm looking at this question Reduce size of MP4 and I want to do it using avconv, however, I'd also like to shrink the frame size by about half. My problem is when I do avconv -i "$file" -s 640x480 ...
3
votes
0answers
611 views

Accurate and reliable movie editing with avconv

I'm trying to perform movie editing in an automated way with avconv. It is made in two steps: extract some parts of an input movie: concatenate the parts to form an output movie: I tried some ...
0
votes
0answers
172 views

Access to IP camera stream

I'm trying to set up three IP cameras I got for using them in ZoneMinder. According to the webinterface of the camera, the stream can be viewed at: http://192.168.47.202:8090/live.asf But, since I'm ...
0
votes
0answers
182 views

Avconv doesn't copy audio stream

I am trying to restream m3u8 link to my local rtmp server like this: avconv -i "http://mthls-i.akamaihd.net/hls/live/219508/mthls/06.m3u8" -c:v copy -c:a copy -f flv rtmp://127.0.0.1:1944/live10 ...
0
votes
0answers
92 views

Seeking in live transcoding video (via rtmp)

this is my setup: avconv transcodes a video on the fly and send it to nginx which is configured with rtmp support. I can watch the stream with vlc for example. But I can't fast forward or so. I see ...
0
votes
0answers
101 views

avconv: Assertion mpah.frame_size >= (32 + 4 + 4 + 4 + 4 + 100) failed

I'm trying to concatenate 2 or more mp3 files using the avconv, but I get the followiong error: Assertion mpah.frame_size >= (32 + 4 + 4 + 4 + 4 + 100) failed at ...
19
votes
2answers
32k views

Why would I choose Libav over FFmpeg, or is there even a difference?

From what I've seen it looks to me like Libav's avconv is thought to become a successor of ffmpeg — is that correct? If that's true, why is that so? What exactly is libav doing better and why would ...
2
votes
1answer
410 views

Debian: Version number of installed package differ from those in repository causing dependency issues

I can't install libav-dbg due to dependency issues with version numbers of installed packages, that do not correspond to those in the repository. How is this possible, and how can i resolve the issue? ...
0
votes
0answers
27 views

Libav, slow internet, the golden median

Some time ago I was to configure a streaming service, unfortunately there were surprises at every corner... (awesome official bugs, delays on deliveries and etc.) After tweaking around a lot I found ...
0
votes
0answers
139 views

Ubuntu Screencasting: Libavdevice segmentation fault

I'm trying to stream to twitch a screencast of a remote desktop, but I meet some segmentation fault. The OS is: Xubuntu 14.04 , xfce, x2go I tried with Ubuntu 14.04, Ubuntu 12.04, ffmpeg and avconv, ...
1
vote
2answers
2k views

User Generated Chroma Key Composite Videos with FFMPEG / AVCONV

I want to create a system where a user can upload two videos to a website, one of which has blue screen in the background, and the website uses AVCONV (or similar) to create a composite video of the ...
0
votes
0answers
201 views

Converting RAW Blackmagic Intensity Card frames

I am trying to convert raw video frames that I have captured using a Blackmagic Design Intensity card. The output frames are of the format: YCbCr 4:2:2 packed 8 Bit UYVY Abekas How can I convert ...
1
vote
1answer
55 views

How can I save an avconv/ffmpeg command for later?

I'd like to save my entire avconv command with options so that I can reuse it without typing it in every time. I would still need to specify the input and output filenames. How do I do this? I'm on ...
1
vote
0answers
1k views

Using avconv to convert an animated gif to mp4 with sound

I want to convert an animated gif and a midi (music) file into a mp4 video. Is it possible? I saw a lot of topics on documentation, foruns and stackexchange sites, but I didn't find. It works with 1 ...