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
1answer
421 views

How to make avi (MJPEG codec) by avconv for iphone?

I try to make video from pack of jpg by avconv and open it on iphone. I make avi file using MJPEG by command: avconv -r 10 -i %06d.jpg -r 10 -vcodec mjpeg -qscale 1 out.avi Eveything is ok on my ...
1
vote
0answers
198 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
1answer
345 views

How to convert any video to .avi with wmv1 codec using ffmpeg/avconv?

I have installed ffmpeg to convert a video. I am trying to convert a .mp4 to a .avi video with the codec wmv1. How to do this? I am using the command avconv in a Kubuntu terminal. Last attempt I did ...
0
votes
1answer
469 views

avconv recording pulseaudio output monitor stretches audio

Recording audio from pulseaudio output monitor results in stretched audio: The audio falls out of sync as it moves slower than the video I've checked, the video is in sync, it's the audio that's ...
1
vote
1answer
2k views

What is the difference beetween ffmpeg and libav, and how to chech which one is used for application? [duplicate]

I am working with some gstreamer based application and some other streaming stuff and I came to some confusion: What is difference between libav and ffmpeg? I found no explanation what are they and ...
0
votes
1answer
61 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 ...
1
vote
1answer
3k views

ffmpeg/avconv async is not working - unsync audio

I have a javascript that records video from a webcam as webm and audio from microphone as wav together. I am encoding these webm and wave files to generate a mp4 file using ffmpeg/avconv. But i've ...
0
votes
0answers
621 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 ...
1
vote
1answer
738 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 ...
0
votes
1answer
506 views

avconv gets killed if mkv has subtitles

What I'm trying to do is to take a movie (in an Matroska container), convert all audio tracks to AC3 and don't touch anything else. I'm using this line: avconv -i infile.mkv -map 0 -vcodec copy ...
0
votes
1answer
73 views

Human insensitive video compression

I have an AVI video file recorded by my laptop web-cam. It's only 10 minutes but it has so large size, 3.9 GB! I'm not expert in multimedia but I've seen really good quality long movies in only 4 GB. ...
4
votes
1answer
2k views

Resizing with avconv causes pixellation in output

I am trying to resize a video from 1920x1800 to 1280x720 for phone viewing. This is the command I used: avconv -i input.mkv \ -map 0:v -map 0:a:1 -map 0:s:0 \ # map video, 2nd audio stream, and ...
3
votes
1answer
4k views

Burn-in subtitles with avconv?

I have a mkv file and want to convert it to an DVD compatible mpg file with avconv. How can I also burn-in one subtitle stream from the same mkv file? avconv -i input.mkv -map 0:0 -map 0:1 -target ...
2
votes
2answers
6k 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 ...
1
vote
1answer
2k views

avconv can't convert stream to MP4 file, fails with “Unable to set encoding parameters”

I'm trying to script some testing of Wowza Media Server. Basically, I'm attempting to just beat the living bejeepers out of the thing. I have 5 slightly older computers, originally XP boxes, which I ...
1
vote
1answer
310 views

Where in FFmpeg is the DTS decoder located?

Where is the actual DTS decoder located? When I search through the FFmpeg folders, dtsdec.c and dtshddec.c show up, but they're only 2–4 kB, and don't have any actual decoding code anywhere within ...
0
votes
1answer
733 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 ...
1
vote
0answers
512 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
1answer
2k views

avconv mkv to mkv with audio compression bug

In order to make quality tests, I would like to compress the audio part (to a low bitrate) of a matroska file without damaging video. Audio codec is AAC and video codec is H264. I am using avconv on ...
0
votes
1answer
966 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 ...
2
votes
1answer
512 views

Codec choice for non CPU-intensive video transcoding

I am trying to achieve real-time transcoding of mkv / H264 videos on a low-end (slow CPU) platform. Using the following command line as a testing harness: avconv -i test.mkv -c:v mjpeg -q:v 3 -c:a ...
0
votes
2answers
2k views

H264 decompression/decomposition into JPG - quality issues

I'm trying to decode a 1920x1080 30fps h264 stream. Individual frames look outstanding in VLC media player (pausing the playback), but when I decode using avconv (ffmpeg has been deprecated and ...
0
votes
2answers
427 views

Encode mp3 to playback at 1.5x speed in avconv (libav)

I would like to take an mp3 file and re-encode it to play faster (perhaps at 1.5x speed). I primarily use avconv in debian linux, but can use any other program if recommended. I can use any operating ...
0
votes
1answer
4k views

avconv option -c:a copy

I am converting a bunch of videos from FLV to MP4 (for iphone compatibility) and using AAC codec it kept throwing out "invalid audio bitrate" or similar errors. I tried -c:a copy option and it works, ...
1
vote
1answer
691 views

Avconv Can not resample 6 channels

I'm getting a message, that it cannot resample 6 channels into 2 channel audio. This is the command i'm using to convert into h.264+aac: avconv -i ...
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 ...
1
vote
2answers
472 views

Bash script to extract audio from video

I have written this little script to batch extract audio from video using avconv. It was working fine, but strangely it doesn't work anymore (since I have changed the codec from aac to mp3). The ...
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
4k views

Simplest video grab from webcam: how to

On Raspbery Pi's Raspbian (based on Debian Wheezy) I'm trying to make a simplest video grab from a Logitech C910 webcam to a video file via ffmpeg/avconv. I say: $ avconv -t 5 -f video4linux2 -s ...
2
votes
1answer
917 views

imagemagick image conversion piped in avconv fails

I am trying to write a script that should take all sort of images (format, size...) and create a video with avconv. I've managed to make it work with a series of jpg (all the same size though) and I'm ...
2
votes
0answers
534 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 ...
1
vote
1answer
1k views

How to use avconv filters after encoding?

I have this avconv command: avconv -i file -s [new size options] -vf "[filters]" /root/converted/1.mp4 Avconv uses the -vf filters before the -s scaling, but I need one avconv command to: Resize ...
0
votes
0answers
556 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 ...
1
vote
1answer
179 views

Avconv generating HUGE metadata over 90mb for 718mb video file

This is the metadata file, extracted with Atom box studio: https://www.dropbox.com/s/tok76wospngf854/moov Video was converted with avconv, info: /usr/local/bin/avconv -version avconv version 9.4, ...
2
votes
1answer
686 views

Stream/record desktop, mic and system output

Im try to stream my desktop, and two audio: system output, and mic. Im using this command, but the audio from my system (hw:0,0) dont hear in output file... avconv \ -f alsa -i pulse \ -f alsa -i ...
0
votes
1answer
212 views

avconv crashes after ~3 minutes - could be source regression, how do I get last stable version in git?

Application provided invalid, non monotonically increasing dts to muxer in stream 1: 8657 >= 8657 av_interleaved_write_frame(): Invalid argument [pulse @ 0x2a03400] pa_simple_read failed: Bad state ...
2
votes
1answer
592 views

How do I recompile libav on ubuntu 12.04 without breaking anything

I have a "Little" script for screencasting - I'll skip to the good part. In my avconv command I record 3 different sources simultaneously to 3 different tracks. The only way I know of getting audio ...
17
votes
1answer
14k 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?
2
votes
1answer
1k views

how to record/stream multiple audio output from a single input?

This is the command I am currently using to stream live audio under the Raspbian distro: ffmpeg -f alsa -ac 1 -i hw:1 -ar 44100 -f flv rtmp://10.255.11.53/ The functionality I am looking for is ...
2
votes
1answer
475 views

Extract M4A audio from a video and associate the artwork

Why on Ubuntu 12.04, when I extract audio in M4A from a video (MP4 or FLV, etc.) with avconv: avconv -i video.mp4 -c:a libvo_aacenc sound.m4a there is a video stream in it, and if I want only ...
4
votes
0answers
643 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 ...
1
vote
1answer
874 views

Reuse transcoding outputs to generate multiple files with AvConv

I am trying to find information about how to transcode a file into multiple outputs in one shot, but I don't seem to be able to. Most of the results I find describe the opposite: merging multiple ...
0
votes
0answers
565 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 ...
1
vote
0answers
390 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 ...
2
votes
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 ...
17
votes
2answers
18k views

Resizing videos with ffmpeg/avconv to fit into static sized player

I have a html 5 video player which is 700px wide, 400px high. I'm trying to use avconv to use ffmpeg to resize (while retaining the aspect ratio) and making sure it fits into my player. Input can be ...
3
votes
1answer
1k views

A way to capture error output from ffmpeg/avconv in a bash script

I am trying to batch convert a bunch of files and i am doing an simple listing of the converted files to a text document so that i can stop the script and continue from approximately were i started. ...
1
vote
2answers
1k views

X Error of failed request: BadCursor (invalid Cursor parameter) when recording Xvfb with ffmpeg/avconv

I am trying to record video output from Xvfb using ffmpeg or avconv. I start Xvfb with: $ Xvfb :29 -screen 0 1024x768x24 When I later try to record display :29 with avconv (same output for ffmpeg): ...
1
vote
1answer
3k views

avconv (ffmpeg) on Raspberry Pi often corrupts extracted video still images

I'm using avconv on a Raspberry Pi to try to fetch a still image from an IP camera with an RTSP stream of H.264 video: $ avconv -v verbose -i $url -fflags discardcorrupt -t 00:00:01 -r 0.1 -an -vsync ...
2
votes
1answer
1k views

LIBFAAC cannot resample channels

Im using avconv to convert video files into MP4, but whenever I try to encode files with 6 or 8 channels into 2 channels using libfaac I get these error messages: Can not resample 8 channels @ 44100 ...