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)

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
2answers
605 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 ...
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 ├── ...
1
vote
1answer
665 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
17 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 ...
0
votes
1answer
232 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?
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 ...
0
votes
1answer
53 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
572 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
893 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
418 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 ...
3
votes
0answers
612 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
481 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
357 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
152 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 ...
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 ...
1
vote
0answers
399 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
164 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
466 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
369 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
10 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
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 ...
0
votes
0answers
23 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
0answers
167 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 ...
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 ...
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
51 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, ...
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 ...
0
votes
0answers
177 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 ...
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
140 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
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 ...
0
votes
0answers
259 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
548 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
519 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
515 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 ...