Questions tagged [avconv]

Video and audio converter, can also capture live from an audio/video source.

avconv is the video and audio converter from Libav (which is packaged in Ubuntu as libav-tools). Full description of its usage and options can be seen here:

165 questions
25
votes
5 answers

How can I rotate video by 180 degrees with avconv

I'd like to rotate video (mp4) by 180 degrees, but not flip. Is it possible to do it with avconv?
sobi
  • 253
16
votes
2 answers

How drop an audio stream using avconv?

How do I Drop audio from a MKV with DTS encoding? I am using this command avconv -i Movie.mkv -c:v copy movie.mp4. I know the command would include the codec command but I don't know how to use it.
cmacia06
  • 339
13
votes
5 answers

What is the proper way to convert .flac files to 320 kBit/sec .mp3?

My latest challenge is finding out the correct way to convert several .flac files to 320k .mp3's. Does anyone know how to do this, maybe with avconv, without using an elaborate python script, decompressing the files to .wav first, or any other…
Richard
  • 8,502
  • 11
  • 47
  • 72
8
votes
2 answers

How to convert mpeg to mp4?

I would like to convert an MPEG TS file to MP4. Is there software for Ubuntu that I can buy that just works? In 13.10 I did the following with success: Edit the file with DVB-CUT and export to MPG. Then open the MPG in WinFF, select MP4 with High…
user104140
5
votes
1 answer

Why does avconv not work to record my screen?

I am trying to record my screen (without sound) using avconv but i think there is something wrong with it. I gave the command avconv -f x11grab -s hd720 -r 30 -i 0:0 sample.mov it ends up with an error [x11grab @ 0x84c03c0] device: 0:0 ->…
Umar
  • 140
4
votes
1 answer

avconv - Extract one video frame and repeat it

I'd like to repeat one frame from a source video to output. I've tried the following avconv -ss 00:20:00 -i INPUT_VIDEO -t 0.5 -vsync 1 -an -r 1 -vcodec libx264 VIDEO_1F avconv -i VIDEO_1F -t 10 -r 1 -vcodec libx264 OUTPUT_VIDEO But I found that…
neuront
  • 283
  • 1
  • 4
  • 13
4
votes
2 answers

avconv - Filter drawtext doesn't work

I' going to add some text to a video segment using -vf but it doesn't work. Here is what I tried avconv -ss 00:00:20 -i input.mp4 -t 00:00:10 -vcodec copy -acodec copy \ -vf…
neuront
  • 283
  • 1
  • 4
  • 13
4
votes
1 answer

Using avconv and keeping Audiostreams and Subtitles

I am trying to encode a mkv-file while keeping the audiostreams and the subtitles. This is the command I am using: avconv -i inputfile.mkv -c:v mpeg2video -acodec copy - scodec copy -b:v 5000k -maxrate:v 6000k -bufsize 1835k outputfile.mkv The…
ports
  • 41
2
votes
1 answer

How to obtain frame rate of video as a fraction?

I am attempting to determine the exact frame rate of an H.264-encoded video. Using avprobe, I can obtain the following information: avprobe version 11-6:11-1, Copyright (c) 2007-2014 the Libav developers built on Sep 26 2014 14:36:31 with gcc…
Nathan Osman
  • 32,155
2
votes
1 answer

"invalid pixel format string" when encoding a sequence of .pngs with avconv

I have a sequence of .pngs and I want to encode them into a video using the h264 codec. After a bit of googling I found that the proper incantation for doing this is avconv -f image2 -i frame_%08d.png -c:v h264 -crf 1 -r 24 out.mov but if I try…
2
votes
1 answer

How to create a time-lapse video from JPEG images using avconv?

I have a few hundreds of still images. The files are named according to the Canon convention - IMG_2501.JPG, IMG_2502.JPG, IMG_2503.JPG, .... I've tried: % avconv -f image2 -i IMG_%04d.JPG avconv_out.avi avconv version…
Adam Matan
  • 12,519
2
votes
1 answer

avconv does not support setting profile for mp4/h264/aac

Hi I am trying to convert a wmv video to mp4 using h264 baseline profile. avconv -i 'Video2.WMV' \ -vcodec libx264 -preset ultrafast -profile baseline \ -acodec aac -strict experimental \ -r 24 -b 255k -ar 44100 -ab 59k 'Video2.mp4' But it is…
Junaid
  • 505
2
votes
2 answers

Avconv -g parameter description

This is the official description of parameter: ‘-g[:stream_specifier] integer (output,video)’ set the group of picture (GOP) size Not very informative I'd say. Can anyone explain what does it actually do and what is the optimal value? And on what…
Somebody
  • 170
2
votes
1 answer

Problem using avconv to convert .mp4 to .webm

I'll try to describe my situation: I have an android phone makes video in mp4 format. I like to share this video on my web page and jwplayer. Such that operates well. I use one script to make all and all works fine. I use to convert the file in…
1
vote
1 answer

How can I remove segment from a video using avconv?

How can I remove one, or multiple segments from a webm video using avconv (without reencoding)?
1
2