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
83
votes
5 answers

Rotate mp4 videos without re-encoding

I'm looking for a way to rotate videos shot with my Nexus 4 on my Debian Wheezy sytem. The videos are shot in portrait mode and I would like to rotate them to landscape mode. Preferably the rotation is command-line driven. I have found several…
stedes
  • 1,221
  • 2
  • 12
  • 16
76
votes
3 answers

Unknown encoder 'libx264'

I installed ffmpeg 0.8.9 on ubuntu11 by ./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libx264 When I run it ffmpeg -y -i test.mp4 -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -vcodec…
why
  • 21,267
  • 27
  • 91
  • 134
38
votes
10 answers

How to merge videos by avconv?

I have several chunks in folder. 0001.mp4 0002.mp4 0003.mp4 ... 0112.mp4 I would like to merge them into full.mp4 I tried to use: avconv -f concat -i <(printf "file '%s'\n" /root/chunk/*.mp4) -y \ -c copy /root/test/full.mp4 Unknown input format:…
Alex
  • 1,317
  • 4
  • 13
  • 25
22
votes
3 answers

avconv: make a video from a subset on images

I am trying to make a bunch of png's into a video using avconv, the png's are numbered like filename_ so I usually just use the command: avconv -r 10 -i filename_%d.png -b:v 1000k test.mp4 I now want to make a video from a subset of the…
Aly
  • 14,299
  • 42
  • 109
  • 181
19
votes
2 answers

Converting DVD image with subtitles to MKV using avconv

This is the procedure I know to convert a DVD image to another videoformat (v.g. MP4): concatenate the VTS_01_n.VOB files inside VIDEO_TS folder (for n >= 0) into a single VOB file. use avconv or ffmpeg in order to convert that VOB into another…
17
votes
1 answer

Convert from .mov to .mp4 (or h264) using avconv

Looking at the avconv website there seem to be a vast array of options to convert video. However, I'm getting lost in all the technical detail. Is there a simple way to convert a .mov to a .mp4 (or h264)? I'm happy if it's slightly lossy. If it…
Snowcrash
  • 66,400
  • 60
  • 203
  • 323
16
votes
2 answers

Create time lapse video from other video

Using avconv (or even ffmpeg, so I can use as a reference), how can I create a time lapse video by taking only anchor/reference frames from another video? Most information I find is on how to create a time lapse video by combining images, and I'd…
Orlando
  • 1,016
  • 1
  • 10
  • 22
11
votes
1 answer

avconv complains "non monotonically increasing dts to muxer in stream" when piping from libx264 on 14.04

I have a piece of code that takes a stream of images and writes them to a file using x264 to encode and avconv. The relevant bits are as follows // Setup encoder sprintf(cmd, "avconv -i pipe: -vcodec copy %s", filename); fp = popen(cmd,…
Mike
  • 209
  • 1
  • 2
  • 8
9
votes
3 answers

Convert PNGs to webm video with transparency

I would like to use avconv to convert a series of PNG images to a WebM video, preserving transparency. I understand that the pixel format used in the output video must support transparency. So I tried: $ avconv -framerate 25 -f image2 -i…
sebastian
  • 1,168
  • 1
  • 12
  • 20
9
votes
2 answers

Reduce HLS latency from +30 seconds

Ubuntu 12.04 nginx 1.2.4 avconv -version avconv version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers built on Feb 6 2014 20:56:59 with gcc 4.6.3 avconv 0.8.10-4:0.8.10-0ubuntu0.12.04.1 libavutil 51. 22. 2 /…
Rick
  • 553
  • 3
  • 6
  • 23
8
votes
0 answers

Stop audio notification from appearing on mobile Firefox

I am using an HTML5 video tag as follows: As you can see, the muted attribute is set.…
grssnbchr
  • 2,635
  • 6
  • 29
  • 66
7
votes
1 answer

avconv: getting aac to work. -strict experimental doesn't work

I am trying to get the following screencast command to work: avconv -f alsa -ar 44100 -ac 2 -i default -acodec aac -strict experimental -ab 320k -f x11grab -s 1024x600 -r 24 -i :0.0 -vcodec rawvideo screencast.mp4 But I still get the following…
Nicholas
  • 171
  • 1
  • 3
7
votes
0 answers

avconv: Overylaying multiple videos with offset

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 -s 640x480 -vf "movie=1.webm, scale=320:480 [vid2];…
user1064504
  • 483
  • 3
  • 16
6
votes
2 answers

Can I create a VFR video from timestamped images?

First, I have almost zero experience in making videos from images. What I have is a set of BMP timestamped images from which I want to generate a video. Since the timestamps are not equally spaced, I cannot simply use software that create…
Beginner
  • 245
  • 4
  • 15
6
votes
3 answers

Unable to install avconv/libav

I'm having no luck install libav on OS X Mavericks. Ive tried everything. I'm following this guide: http://earthwithsun.com/questions/568464/install-latest-libav-avconv-on-osx After doing the macport dependency check, which passes, I then…
FaNIX
  • 1,758
  • 5
  • 30
  • 59
1
2 3
17 18