Questions tagged [avconv]

avconv is a command-line tool for decoding, encoding, filtering, demuxing, and muxing multimedia. It is created by Libav–a fork of FFmpeg. Do not use the ffmpeg tag for avconv as these two tools are not identical. Non-programming questions involving this tool are off-topic and should be asked at Super User.

avconv is an open-source command-line video and audio encoding tool. It is created by Libav–a fork of FFmpeg.

Example command

avconv -i input.avi output.mp4

Getting avconv

  • Ubuntu 14.04 and Debian Jessie & Wheezy users can install avconv from the repository with the libav-tools package. Later Ubuntu and Debian versions provide the ffmpeg package instead.

  • Windows users can download avconv at builds.libav.org.

Links

263 questions
6
votes
1 answer

avconv : flac to ogg conversion with metadata kept

I'm currently writing a command line tool to convert a input music library with various formats (flac / ogg / mp3 / ...) to an output music library of a given format (flac / ogg / mp3). I've based it on avconv (or ffmpeg if avconv is not available)…
Biapy
  • 304
  • 3
  • 8
6
votes
2 answers

Wildcard for sequential images

I'm trying to animate a series of jpg files using avconv. Based on numerous examples, I'm trying using %d.jpg to specify the files. Or %05d.jpg. However, I'm getting: avconv -i %d.jpg a.avi avconv version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright…
abalter
  • 7,589
  • 12
  • 75
  • 118
5
votes
1 answer

how to Concatenate mp4 or mkv files using avconv

I have multiple mkv files in a ubuntu directory.I have installed 'avconv' tool and its working fine. My aim is to simple concatenate all those files and produce a single mkv file. I referenced so many articles and found that this command should…
Danny
  • 153
  • 3
  • 13
5
votes
2 answers

convert animated gif to video on linux server while preserving frame rate

how do I convert an animated gif to a video (e.g. h264@mp4) programmatically on a linux server? I need this to process user generated content which should be output as several defined video formats; therefore its possible, that users may want to…
pmedia
  • 191
  • 2
  • 13
5
votes
1 answer

Ffmpeg, avconv and sameq

Earlier I wrote so: ffmpeg -i input.mp4 -sameq output.mp3 ...and thus receive audio from video file. Ffmpeg just taken out or converted audio to mp3 with an appropriate quality. All thanks to key: -sameq [use same quantizer as source] Now in…
xiaose
  • 576
  • 1
  • 4
  • 18
5
votes
1 answer

Converting fragmented mp4 file for MSE (Media Source Extensions)

I'm looking for a way to generate proper fragmented *.mp4 files for MediaSourceExtension (Chrome). I tried out the example from here: http://people.mozilla.org/~jyavenard/tests/mse_mp4/paper.html and with the given video file it worked just fine. So…
Die Usche
  • 122
  • 10
5
votes
2 answers

Using avconv to get a single frame from h264 video at set time

I want to use avconv to get a single image at a specified time out of a video file. I've read just enough about libav to think I know what I'm doing, but not enough to actually know. I've tried: avconv -ss 00:00:01.786 -r 25 -i input_video.h264…
4
votes
3 answers

Infinite stream from a video file (in a loop)

Is there any way howto create an infinite h264 stream from a video file (eg. mp4, avi, ...). I'd like to use ffmpeg to transcode avi file to h264 but there's no loop option for output.
Josef Zamrzla
  • 163
  • 1
  • 2
  • 10
4
votes
0 answers

Streaming live video with avconv on nginx rtmp server player error

Good morning, My current project involves playing live video (testing using a usb webcam for now). I compiled and installed nginx server with the rtmp module (obtained from https://github.com/arut/nginx-rtmp-module). The nginx configuration file is…
4
votes
0 answers

Raspberry Pi HLS streaming

I have a rev. B Raspberry Pi and want to stream from my Microsoft Lifecam VX-800 to a web server using HLS protocol and avconv/ffmpeg, preferably without using raspivid because it's not working (couldn't figure out why). The stream needs to be fed…
4
votes
1 answer

FFmpeg/Libav audio decode example

I am trying to get the same output as that of ffmpeg/avconv from converting an MP2 file to raw PCM using code. I used the audio_decode_example function from the tutorial included in the FFmpeg/Libav documentation but the outputs were different. What…
Walid Baccari
  • 403
  • 1
  • 9
  • 18
4
votes
2 answers

avconv: How to concatenate a bunch of flv files (h264 encoded video, adpcm_swf encoded audio)?

I want to concatenate some .flv files (each is h264/adpcm_swf encoded with the same settings). Ideally, I'd like to add something like a cut in between the files - a black screen for 1 or 2 seconds would suffice. I've tried using avconv's…
Jost
  • 5,992
  • 8
  • 37
  • 65
4
votes
2 answers

avconv mp4 to webm libvorbis buffer overflow

Trying to convert a bunch of mp4 files into webm. So I run the following command. I tried a similar command with ffmpeg. avconv -i input.mp4 -threads 8 -s 1280x720 -pre libvpx-720p -b 3900k -pass 2 -acodec libvorbis -b:a 128k -ac 2 -f webm -y…
Halsafar
  • 2,362
  • 3
  • 25
  • 51
3
votes
1 answer

TimeStamp variable stopped working in bash script with avconv

The following script was working fine until I upgraded all my Raspberry Pis to Release 9: #!/bin/bash cd /home/pi/Videos/SecurityCam/ DToday=`date '+%Y%m%d-%H%M%S'` fn="VID $DToday" SubT="PP $PB $DToday" avconv -f video4linux2 -i /dev/video0 -t…
Chiwda
  • 914
  • 4
  • 25
  • 40
3
votes
2 answers

insert audio into another audio file (eg a censor bleep)

I need to insert a short beep into another audio file (similar to a censorship bleep) using linux and/or php. I'm thinking there should be some way to do it with ffmpeg (with some combination of -t, concat, map, async, adelay, itsoffset?) or avconv…
Redzarf
  • 2,177
  • 4
  • 25
  • 35
1
2
3
17 18