Questions tagged [avconv]

Questions about using avconv, a video and audio converter.

should be used for questions about the usage of the avconv converter. If your question is about audio/video conversion in general you should use and / tags.

From its documentation:

avconv is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and resize video on the fly with a high quality polyphase filter.

External links

56 questions
63
votes
3 answers

Re-encoding video library in x265 (HEVC) with no quality loss

I am trying to convert my video library to HEVC format to gain space. I ran the following command on all of the video files in my library: #!/bin/bash for i in *.mp4; do #Output new files by prepending "X265" to the names avconv -i "$i"…
shivams
  • 4,505
  • 3
  • 19
  • 36
36
votes
6 answers

How to get near-perfect screen recording quality?

Someone suggested I direct a copy of the unmodified X display to a file and afterwards convert that file to a general purpose video file. What commands would I use to do this on a Kubuntu system? (Edit: He said something about attaching a display…
Oleg Pryadko
  • 2,330
  • 7
  • 25
  • 33
13
votes
7 answers

FFMPEG - Interpolate frames or add motion blur

I just watched the trailer for the hobbit, and a trailer for the avengers which both feature an increased framerate. A lot of the comments state that this isn't "true" 60fps since it was not shot at 60fps, but actually a lower frame-rate that has…
Programster
  • 2,157
  • 9
  • 23
  • 35
12
votes
1 answer

How do I `avconv` every m4a in a dir to mp3s?

So I'm trying to convert lots of m4as to mp3s, and I think the best way to do that is using avconv. The problem is, I can't seem to find any solid examples on how to use avconv. Looking at the man page, it has a ridiculous amount of flags/options,…
evamvid
  • 688
  • 4
  • 10
  • 21
9
votes
2 answers

Interactively concatenate video files

How to concatenate (join) multiple MP4 video files into one file interactively? There are a lot of programs that do this for two files from the command line. For instance: ffmpeg avconv MP4Box But we frequently need a solution to do this…
Slyx
  • 3,845
  • 2
  • 19
  • 25
7
votes
2 answers

Downsampling a video with avconv / ffmpeg

I know really little about encoding and using avconv / ffmpeg. I am trying to downsample a video as follows: avconv -i blah_in.avi -s 640x360 -pass 1 blah.avi avconv -i blah_in.avi -s 640x360 -pass 2 blah.avi I am aware that this is very…
January
  • 1,877
  • 2
  • 16
  • 14
7
votes
3 answers

Convert video to exactly the same format as another video

Suppose I have two video files A and B. Now I want to convert A to the same format (i.e. same container, same audio and video codec), same bitrate, size etc. as B. Is there a way to do this automatically (i.e. without extracting the information…
student
  • 17,875
  • 31
  • 103
  • 169
6
votes
1 answer

how to merge two audio input source using avconv

I try to make screencast using avconv and I facing a problem. I finally succeed to record both pc output and microphone input , the problem is that they're not merged in the output file. (I saw they're an option filter_complex amix=inputs but its…
eephyne
  • 203
  • 1
  • 6
6
votes
3 answers

How to splice sections of a video with avconv?

I have figured out so far that you can cut a section from a video with avconv with a command like this (cuts from 1:00-3:00): avconv -ss 00:01:00 -i "input.avi" -t 00:02:00 -c:v libx264 -crf 23 "output.mp4" But how would I cut two (or more)…
DisgruntledGoat
  • 782
  • 1
  • 7
  • 15
6
votes
1 answer

correctly splitting an avi file

I'm trying to split an avi file as follows. avconv -i file.avi -vcodec copy -acodec copy -ss 0 -t 10 out.avi and this works (It creates a chunk with first 10 seconds of the video). The problem is when I want to split from tenth second to twentieth…
xralf
  • 16,149
  • 29
  • 101
  • 149
5
votes
2 answers

trim and fade in/out video and audio with avconv (or different tool)

I'm using avconv for trimming and converting videos. Let's say I want to drop the first 7 and last 2.5 seconds of the video stream and one audio stream of an one-hour mts file: avconv -i input.mts -map 0:0 -map 0:3 -ss 0:0:07 -t 0:59:50.5…
Philippos
  • 13,237
  • 2
  • 37
  • 76
5
votes
1 answer

Don't wait for audio stream with ffmpeg/avconv using named pipes

I have two named pipes, audio_conv and video, for s16le and h264 streams, respectively. I want to convert them to webm format on fly. Data to these pipes proceeds from my application, that parses proprietary format and converts audio. But sometimes…
FunkyCat
  • 171
  • 8
5
votes
2 answers

Is there any equivalent to the atempo ffmpeg audio filter but for avconv to speed up video & audio?

As noted here, we could speedup audio with ffmpeg using: $ ffmpeg -i input.mkv -filter:a "atempo=2.0" -vn output.mkv But on Ubuntu, ffmpeg is replaced by avconv, and the atempo filter is not available in avconv. My question is: Are there any…
gongzhitaao
  • 341
  • 3
  • 14
4
votes
3 answers

avconv creates creates files whose duration is incorrect

I am attempting to create a variable rate mp3 from a flac using the following command: avconv -i t.flac -id3v2_version 3 -vn -acodec libmp3lame -aq 0 t.mp3 avconv and mediainfo both list the duration of the final mp3 correctly as 2m40s, but every…
William Everett
  • 430
  • 1
  • 5
  • 13
4
votes
0 answers

How to record v4l webcam with ffmpeg? Cannot find a proper format for codec 'none'

Goal is to capture video from my old usb webcam (device 0733:0430). Trying to save video gives this error. (I've tried both ffmpeg and avconv.) Command ffmpeg -f v4l2 -i /dev/video2 -s 160x120 tmp.mkv [video4linux2,v4l2 @ 0x815280] Time per frame…
Rucent88
  • 1,850
  • 4
  • 24
  • 33
1
2 3 4