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
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,578
  • 4
  • 30
  • 40
3
votes
3 answers

How to get the duration/bitrate of a H264 file with avconv/ffmpeg

Executing avprobe test.h264 outputs Input #0, h264, from 'test.h264': Duration: N/A, bitrate: N/A Stream #0.0: Video: h264 (High), yuv420p, 720x480, 25 fps, 25 tbn, 50 tbc Executing file test.h264 outputs test.h264: JVT NAL sequence, H.264…
Maxime Dupré
  • 5,319
  • 7
  • 38
  • 72
3
votes
1 answer

play hls/rtmp on android

I have a wowza server where I broadcast livestreams that are played with jwplayer. Everything works perfectly fine with android and other systems though. (works with both rtmp and hls in android 4.4 and jwplayer (!)). The streams are sent to my…
ziggestardust
  • 211
  • 2
  • 13
3
votes
1 answer

Getting avconv working with x265 on Linux Mint 17.1

I compiled and installed the x265 codec from multicoreware as suggested here: https://bitbucket.org/multicoreware/x265/wiki/Home and then manually installed libav with libx265 enabled as suggested here: https://wiki.libav.org/Encoding/hevc Now, when…
shivams
  • 923
  • 12
  • 27
3
votes
1 answer

How can I extract the metadata and bitrate info from a audio/video file in python

What I would like to do is get the metadata from audio or video files and save it to a database record, so far the only way to do this seems to save AVCONV to a file using a subprocess.Open call then read that file, is there any libraries that can…
Fight Fire With Fire
  • 1,626
  • 3
  • 19
  • 28
3
votes
0 answers

copying several segments of the same video avconv

I am trying to copy several segments of one video file to a single output video file I can do it for one segment only by using the following code: avconv -i input.flv -ss 00:04:50 -t 00:04:00 -codec copy outputfile.flv Is there any way to do…
3
votes
1 answer

Set duration of matplotlib animations when using a generator

How can I specify the duration when saving a matplotlib animation to a file? Usually it would be given by the frame argument of animation.FuncAnimation(), but not when using a generator to create the frames of the animation. E.g. using this…
sitic
  • 539
  • 4
  • 13
3
votes
0 answers

Convert stream to a stream on the fly with avconv

I'm trying to convert flv stream to another mp3 or ogg stream. The point is I want to use mp3/ogg stream on HTML5 page, because flv stream can't be played with HTML5. So, I configured avserver.conf: Port 8090 BindAddress 0.0.0.0 MaxHTTPConnections…
novik
  • 65
  • 1
  • 1
  • 6
3
votes
1 answer

Fade (out) Audio in avconv

I'm trying to cut and fade out the last 4 seconds of a mp3 file: avconv -i SPEX_pilot_02.mp3 -t 0:0:25 -filter:a fade=t=out:st=21:d=4 preteach-words.mp3 There is no error, but there is no fade out effect applied. ): My version is avconv…
Andy
  • 4,783
  • 2
  • 26
  • 51
3
votes
1 answer

How to continuously extract video frames from streaming RTMP using avconv / ffmpeg?

We're dealing with streaming video on RTMP and my goal is to extract frames from the stream at a given interval, e.g. every 1 second. Currently I run a command in a loop, which takes a frame and exports it as base64 JPEG: avconv -i -y -f…
mvbl fst
  • 5,213
  • 8
  • 42
  • 59
3
votes
4 answers

How to render a watermark with transparency into a video

I'm trying to render a watermark into a video. The moment the image file (.png) for the watermark contains transparency the image isn't rendered into the video anymore. If I convert that image to .jpg and back to .png it works well. If I create a…
PaulS
  • 145
  • 1
  • 5
3
votes
1 answer

ffprobe or avprobe returning plain text errors in JSON output

I'm running avprobe to get stream infomation about a video in JSON ... avprobe -loglevel quiet -show_format -show_streams file.m4v -of json This is basically the exact same thing as ffprobe or ffmpeg -i (and I get the same error.) ffprobe -loglevel…
Justin Jenkins
  • 26,590
  • 6
  • 68
  • 1,285
2
votes
2 answers

command working with cmd but not from python code

I am trying to convert a test.mp4 file to test.wav from python code using avconv. I am able to convert the test.mp4 to test.wmv using cmd line but when i run the same command from python its giving me following error : line 103, in…
Sam
  • 61
  • 12
2
votes
1 answer

Save on disk h264 packages received using PyAV

I'm using PyAV to read packets from H.264 stream during 5 minutes. I need to save the packets encoded on disk and load and decode them later. I tried to use pickle to save the packets, but it cannot serialize them. What can I do? Here is part of my…
Vítor Cézar
  • 249
  • 1
  • 12
2
votes
0 answers

ffmpeg error convertimg mkv to mp4

I do this: ffmpeg -i "film.mkv" -strict experimental film.mp4 I get this: [matroska,webm @ 0x29fb0e0] Read error at pos. 93417 (0x16ce9) the file itself is playable and ok, but how can I fix this? or at least see the reason why it is reporting…
Blurry Script
  • 329
  • 1
  • 3
  • 11
1 2
3
17 18