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)

3
votes
1answer
2k 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 ├── ...
1
vote
1answer
489 views

How to use avconv or ffmpeg to convert any video to an exact size and shape

We have a system that supports streaming video, but we support multiple players. I have multiple systems that I COULD use for this. Currently, I've been using the media server that we use to stream ...
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
1answer
19 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
116 views

speed up video using avconv without quality loss

After having read this page, I'm using avconv (which in this case is apparently same as ffmpeg, and which I need to use instead since I'm on Ubuntu trusty) to speed up a .swf video. I don't want a ...
0
votes
1answer
31 views

How can I make the output format of a video the same as the input format?

How can I make the output format of a video the same as the input format for general case? avconv -i source -vcodec copy -acodec copy -movflags empty_moov -f ??? output I would not like to use -f ...
0
votes
1answer
337 views

How can I record a video signal in Linux from the command line?

I have a Linux machine with a Pinnacle video card. I wanna record a video signal from my TV connected to the S-Video input in my Pinnacle card. I could record using VLC GUI, but I wanna cron it, so I ...
0
votes
1answer
667 views

How do I merge two videos and increase sound volume using Avconv?

I'm trying to merge two cd-s into 1 file and also boost sound volume 200%, I tried this using avconv tool, but I only got cd1 and without an boost in sound: nohup avconv -i cd1.avi -i cd2.avi -vcodec ...
3
votes
0answers
502 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 ...
3
votes
0answers
2k views

Avconv increases file size

I am using the version of avconv in Ubuntu 12.04 to archive videos. I would preferably use some kind of lossless video compression (e.g., huffyuv or FFV1), but using the original video stream (copy ...
2
votes
0answers
370 views

Non monotonically increasing dts to muxer in stream 1

I have an error with 1gb videofile and avconv Application provided invalid, non monotonically increasing dts to muxer in stream 1: 177873 >= 177849 av_interleaved_write_frame(): Invalid argument ...
2
votes
0answers
287 views

ffmpeg/avconv crashes when video frame isn't expected size

I'm capturing my webcam using ffmpeg/avconv, but I keep running into this problem: The v4l2 frame is 828212 bytes, but 829440 bytes are expected And then it crashes. It should just skip that frame, ...
1
vote
0answers
94 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 ...
1
vote
0answers
75 views

Why can't I seem to get the framerate right when using avconv to convert a sequence of images to a gif?

I need to convert a series of images to gifs. I found three broad ways to do this. One involving ImageMagick, One involving gifsicle and another involving avconv. I can't use Imagemagick because ...
1
vote
0answers
97 views

Piping images to avconv at unknown fps

I am currently reading images from a camera "as fast as possible" (>50fps), outputting them as JPEGs, and piping them to avconv using the image2pipe input. What is a good approach to getting the ...
1
vote
0answers
309 views

Use avconv to convert iMovie DV streams to other formats

I have a bunch of DV streams that were imported from a DV camcorder using iMovie. Unfortunately, neither avconv nor VLC seem to be capable of converting these files correctly, whereas QuickTime ...
1
vote
0answers
300 views

AVCONV errors while grabbing af stream from an IPCAM

When im trying to grab a stream from my D-Link DSC-932L Cam, using avconv, I keep getting errors. Depending of framerate etc. the proces will terminate whitin a minute. Here is the string and common ...
0
votes
0answers
11 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
34 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, ...
0
votes
0answers
45 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 ...
0
votes
0answers
101 views

FFmpeg/Avconv: Scaling Filter “Error when evaluating the expression”

I'm trying to scale a video with FFmpeg with the following command: ffmpeg -i input.jpg -vf scale="'if(gt(a,4/3),320,-1)':'if(gt(a,4/3),-1,240)'" output_320x240_boxed.png This is taken verbatim ...
0
votes
0answers
69 views

Automated avconv recordings script

I'm currently recording video from my IP camera to disk by making use of avconv (ffmpeg). avconv -i rtsp://192.168.1.1/stream -c copy pool.mp4 This works great as my feeds are already h264, I ...
0
votes
0answers
65 views

Read frames into Matlab with avconv

I have a very large video file (5.9 GB - 120fps at 1.3 megapixel for 2h) from which I want to extract a few hundred frames at known, sparse time points, and send via the shortest path to Matlab. ...
0
votes
0answers
48 views

Converting with avconv without trying to increase quality

This might just be a quick question or a matter of a specific flag, but I have a standard format that I use for storing videos on my computer. The idea is to cut down on storage requirements while ...
0
votes
0answers
316 views

Understanding avconv console output

I'm using avconv to broadcast a video on justin.tv from my Raspberry Pi. I get it (weakly) working a very few times. Most of the times justin.tv is not being updated and says "disconnected". The ...
0
votes
0answers
149 views

using avconv to convert rbga image sequence into video while preserving alpha chanel

Is there any way to use "avconv" to convert a sequence of png images with alpha channel into a video and preserving the alpha channel? $ avconv -f image2 -framerate 60 -i img_%5d.png -r 29 foo.mp4 ...
0
votes
0answers
55 views

Messed up ffmpeg/libav configuration (ubuntu)

I tried to update my ffmpeg version from the default deprecated version to the latest one. I'm now trying to revert my system back. I removed the PPA I used, but I can't seem to revert the packages. ...
0
votes
0answers
230 views

OUTPUT webcam video over rtp

I'm currently trying to stream webcam video from beagleboard black to my laptop and am using this line of code: avconv -f video4linux2 -i /dev/video0 -debug -vcodec mpeg2video -r 25 -pix_fmt yuv420p ...
0
votes
0answers
452 views

avconv overlay for live video

I want to combine two stream and I want a single stream with both video in a single stream by simultaniously, both stream want to be visible at a time left half first video should be there and right ...
0
votes
0answers
372 views

How to loop audio when mixing with longer movie in avconv

Is it possible to loop audio when mixing with longer movie using avconv? I want music to repeat itself through whole movie. In avconv manual i found parameter "-flags loop" but it doesn't work. Music ...
0
votes
0answers
2k views

avconv and ffmpeg - drawtext filter text_w evaluates as 0 in Ubuntu Precise

I'm attempting to draw text onto a video using either the avconv or ffmpeg commands. When specifying x= for where on the final video to place the text, the 'text_w' value is evaluating to 0, rather ...