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

spawned process in node.js exiting immediately

I'm trying to spawn an avconv process inside node.js. It should receive data on stdin and output converted data to stdout While the command works in the shell, it immediately closes in node.js and I don't know why: avconv -v quiet -i pipe:0 -vn -f…
Jelle De Loecker
  • 20,999
  • 27
  • 100
  • 142
2
votes
1 answer

Unwelcome DELAY when using arecord with aconv

arecord -f cd -D default:CARD=Intel -| avconv -i pipe:0 -acodec libmp3lame -aq 128k g3-$dt-$$.mp3 I'm trying to record via my laptop MIC. There's an unwelcome pause before start of recording. avconv version 0.8.10-6:0.8.10-1, Copyright (c)…
user621819
2
votes
1 answer

Which option will let avconv convert video to images starting from 0 instead of 1?

I need to convert a video to images. One requirement is that the index starts from 0. The command below is executed. avconv -i INPUT %04d.png However, the resulting image index starts from 0001.png, rather than 0000.png. Which option will…
2
votes
1 answer

Avconv broadcasting video stream

I'm doing some test for broadcasting a video stream. I try with: avconv -i video.mov -c:v libx264 -f mpegts udp://[destinationIP]:1234 And from "destinationIP" I can play the stream. But, how can I specify a range of IP and not a single IP?
Luca Davanzo
  • 21,000
  • 15
  • 120
  • 146
2
votes
0 answers

Recording RTSP-Stream with avconv and segmentation: incorrect codec parameters

I am trying to record an RTSP-Stream from a PoE IP-camera (Lupusnet LE932) using the tool avconv (version v10_alpha2-128-g77bb000). With the VLC Media Player 2.1.4, this RTSP-stream works without any problems. I can view it and record it. Now I…
user3297416
  • 133
  • 7
2
votes
1 answer

Raspberry Pi convert Pyaudio Wav to Flac 48000hz + Google Speech

I am facing following problem: I recorded sound with Pyaudio and saved it as Wav. The Wav file is 48000hz (No other Rate works (sampling rate error but thats an other story)) The Wav file sounds good , now i want to convert the wav to flac to sent…
Florian Braun
  • 973
  • 9
  • 16
2
votes
2 answers

Can't preserve metadata in ffmpeg video conversion

I would like to preserve the creation time metadata when I convert videos using ffmpeg/avconv. Here is the file I'm trying to convert: $ ffmpeg -i in.avi ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers …
sakovias
  • 1,356
  • 1
  • 17
  • 26
2
votes
1 answer

Compiling and Building a Slim version of avconv/ffmpeg for STM32F4-Discovery - an armv7 thumb 1/2 architecture

This is my first attempt at posting for help on Stack Overflow. My Project: Using an STM32F4-Discovery with the STM32F407VGT6 chip with the FPv4-SP and a camera/LCD peripheral setup, I need to record video at QVGA and output into a compressed MPEG-4…
2
votes
2 answers

wrong duration after converting from flv to mp3 using avconv and youtube-dl

I used youtube-dl to download and convert youtube video into mp3. youtube-dl http://www.youtube.com/watch?v=4f51DhJR0zo -o "Alesso - Think It's Time.flv" -x -f 43 --audio-format mp3 Now it looks like all the mp3 files have an unusual long duration,…
Mattis Asp
  • 993
  • 3
  • 14
  • 29
2
votes
1 answer

avconv frames option (avconv -r 1)

I'm new to this tool avconv I want to extract 1 frame per second from the video, I'm using avconv -i sample.avi -r 1 -s 200x200 -f image2 frames/foo-%03d.png the sample.avi is of length 30 seconds, but the conversion gives output of 920…
Kartik Rokde
  • 3,633
  • 8
  • 27
  • 33
1
vote
0 answers

Request aid to translate from an old avconv code to ffmpeg

I am working on an old script which uses avconv to manipulate some videos. I wanted to ask help to convert the following code into ffmpeg as I aknowledged avconv is not supported anymore. The code is: subprocess.call('avconv -i %s -an…
Azankiew
  • 19
  • 1
1
vote
0 answers

FFMPEG and AVCONV amix audio files lowers a volume

I am using this command foreach( $records as $record ) { if( $inputs == 0 ) { $meta_tags .= "1"; } else { $meta_tags .= ":0"; } $inputs++; $files .= ' -i ' . $path . $record; } $meta_tags .=…
LiborRiha
  • 11
  • 1
1
vote
1 answer

Please can you explain these avconv parameters?

Started working with avconv to stream video & audio to RTMP server but am completely new to this and don't understand how this is put together. I've been given this command, please could someone explain why there are multiple -f, -i parameters, for…
ApplowPi
  • 324
  • 1
  • 3
  • 10
1
vote
1 answer

Is it possible to encode an audio stream with the exact length (to millisecond)?

I am looking to create an output file with a length exactly 30 seconds in either mp3, aac, or vorbis codecs. I have used avconv (and also tried ffmpeg) with the following command: avconv -i input_file_here -c:a aac -b:a 320k -t 30 out.mp4 This…
v010dya
  • 5,296
  • 7
  • 28
  • 48
1
vote
1 answer

Multichannel AAC mp4 encoding using libav (avconv) or ffmpeg

I am trying to create a four-channel mp4 file with AAC encoding for ambisonics use. I am trying to encode a 4-channel first-order ambisonic wav file into AAC like so: avconv -i four_channel_input.wav -c:a libfaac -ac 4 four_channel_output.mp4 This…
Josh Kopecek
  • 143
  • 10