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

265 questions
2
votes
0 answers

Linux uvcvideo driver - how to set custom (4 sec) keyframe interval for c920

I need to stream video from my logitech c920 camera to Youtube using RTMP. I'm using avconv for that purpose. I don't want to reencode the media, because my stream is running on raspberry pi 3 which compute power is limited. My camera has builtin…
BojowyZajaczek
  • 419
  • 1
  • 3
  • 10
2
votes
0 answers

FFMPEG / streameye - MJPEG streaming from raspebbry cam

I'm trying to stream video from different Raspberry Pi's ..; RPI 2B /2 B+ and RPI 3. I found out how to stream rtmp / flv video through NINGX and it works fine but now I need to convert this stream to MJPEG stream. Actually I need it as input for…
Emmanuel BRUNET
  • 1,286
  • 3
  • 19
  • 46
2
votes
0 answers

How to trim the beginning of a video with ffmpeg without transcoding the whole stream?

To remove the first 10 seconds of a video without any transcoding I can use the following command: ffmpeg -i input.webm -vcodec copy -acodec copy -ss 10 output.webm The problem is that if the key frames are located at 8 seconds then at 12 seconds,…
Gabriel Diego
  • 950
  • 2
  • 10
  • 22
2
votes
1 answer

How to use multiple video filters in one avconv cli

here is my cli: avconv -i /home/roroco/Downloads/test_rm_watermark.mp4 -ss 0 -t 30 -vf "delogo=x=1127:y=38:w=105:h=54:band=4" -vf "delogo=x=44:y=39:w=145:h=49:band=4" -c:v libx264 -an "/tmp/rm-watermark/test.mp4" -y I hope remove two watermarks in…
chikadance
  • 3,591
  • 4
  • 41
  • 73
2
votes
1 answer

Mux a regular file into Mpeg TS

im working in a file broadcasting method using mpeg2-ts and ISDB-T ( Integrated Services Digital Broadcasting - Terrestial), My problem is that im not being able to to put a file into the data stream, or as rawvideo, or anithing inside the…
JFrez
  • 39
  • 1
  • 4
2
votes
0 answers

How to extract EPG data from a rec/ts file?

I need to extract the data stream of a rec/ts file. What I've tried until now is with avconv avconv -i filename.rec I get this output avconv version 0.8.17-6:0.8.17-1, Copyright (c) 2000-2014 the Libav developers built on Mar 15 2015 17:00:31…
wolfrevo
  • 6,651
  • 2
  • 26
  • 38
2
votes
1 answer

Terminate avconv streaming after X seconds

For an app I'm developing, I need avconv to stream from a link for a specified length of time. I've tried using -timelimit to no avail. What am I doing wrong? Is there a better way to do this? Why doesn't -timelimit work? See, for example, the call…
2
votes
1 answer

image -> video -> image not lossless using avconv

I'm trying to test the amount of information lost with some different video codecs. I've got a python script which uses PyPNG to write a series of 8 bit RGB images. I then encode it using avconv, for instance avconv -r 1 -i ../frames/data%03d.png…
nrob
  • 861
  • 1
  • 8
  • 22
2
votes
1 answer

blur an mp4 video for website background

I am putting a video in the background of my web page. I want to blur the background for which I tried to put the following attribute in video tag:
2
votes
1 answer

avconv option for scale causes "Invalid frame size" error

I use avconv to get a preview image of a video clip. The command is avconv -i video.mp4 -vframes 1 -s 100x100 cover.jpeg It works but I would like to have correct dimensions of the output jpeg. For example to be the half size of the input video. So…
Greg Dan
  • 6,198
  • 3
  • 33
  • 53
2
votes
0 answers

Fade out audio at the end of video using avconv with shortest option

I'm using avconv for merging an audio file with a video file. I'm using a script in which the video length will vary from file to file. So, I use -shortest flag to stop audio abruptly at the end of the video. I want to fade out audio alone for 2…
BalaramanL
  • 21
  • 2
2
votes
1 answer

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 12M -y out.mp4 but I am only getting the first…
eudoxos
  • 18,545
  • 10
  • 61
  • 110
2
votes
1 answer

What kind of stream GStreamer produce?

I use following 2 commands to stream video from Raspberry Pi RaPi raspivid -t 999999 -h 720 -w 1080 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=$RA-IP-ADDR…
Max
  • 6,286
  • 5
  • 44
  • 86
2
votes
1 answer

Overlay a watermark in avconv for a specific time

How to overlay the picture label.gif only from second 1 to second 10? *enable=between(t,1,10)* didn't work avconv -y -i input.mp4 -vf 'movie=label.gif [watermark]; [in][watermark] overlay=10:10 [out]' -c:v libx264 -crf 22 output.mp4
2
votes
1 answer

Dump WebRTC stream to a file

I'd like to capture the audio and video from a WebRTC stream to a file or pair of files, if audio and video require their own individual files. The audio and video are not muxed together and are known to be available on a set of server udp…
Paul Gregoire
  • 9,715
  • 11
  • 67
  • 131