Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [avconv]

The tag has no usage guidance.

3
votes
2answers
85 views

How to transition smoothly and repeatedly between two videos using command line tools?

I want to output a video using two videos as input, where these two videos fade (or dissolve) into each other in a smooth and repetitive manner, every second or so. I'm assuming a combination of ...
0
votes
0answers
127 views

using ffmpeg instead of avconv

i have 2 bash scripts wich i am trying to use which require avconv when i run the scripts i get the error bash: avconv: command not found but since i dont know where to find avconv in either pacman ...
1
vote
0answers
66 views

how to fix or change a mp4 video timestamps (frame rate) based on available frames?

I have a video file that was created as x264, 26 fps, 20MB. command used to convert avconv -i infile.mp4 -c:v libx265 -c:a libmp3lame outfile.mp4 After converting it to x265 HEVC it gets wrong ...
2
votes
1answer
5k views

How to download the highest quality .mp3 with youtube-dl on Sierra?

I'm trying to use youtube-dl to download the highest quality .mp3 files from youtube videos. I've installed youtube-dl and ffmpeg and downloaded libav. I found this command: youtube-dl -f bestaudio ...
3
votes
2answers
1k views

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 -...
1
vote
1answer
398 views

Incorrect scene change detection with avconv

According to this article I used successfully the command $ ffmpeg -vf "select='eq(pict_type,I)'" -i somevideo.mp4 -vsync 0 -f image2 /tmp/thumbnails-%02d.jpg I tried the second command: $ ffmpeg -...
1
vote
0answers
169 views

avconv / ffmpeg threading not working

Am I doing something wrong or is the threading option in "avconv" broken? I tried the "-threads" option with H264 and mpeg2video and regardless of what value I give it (0 to 4) there is no difference ...
0
votes
0answers
65 views

What's wrong with this Nautilus script?

I'm trying to write a simple Nautilus script that lets me select a media file, right-click to get Nautilus script menu, and convert it into an mp3 using avconv name=$...
4
votes
0answers
743 views

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 ...
1
vote
1answer
407 views

How do I use ffmpeg or avconv to create a file from a raw source

I'm trying to make a video recorder, to capture video of my partners seizures for her doctor. Because they're unpredictable, the system needs to be recording constantly, saving as 15 minute clips for ...
1
vote
0answers
177 views

Record fullscreen program with avconv/ffmpeg?

I'm trying to record a fullscreen program (snes9x) with avconv, aka ffmpeg. I have avconv set up to use my whole screen, but it doesn't capture snes9x when I run it. #!/bin/bash avconv \ -f ...
1
vote
1answer
1k views

Convert .264 to .mp4 using avconv

I have a video file (with no audio stream) taken from a Lorex CCTV DVR. The video file has a suffix of ".264" which I assume means its format is raw h264. I cannot play this video on certain media ...
6
votes
1answer
546 views

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 ...
1
vote
2answers
1k views

avconv commandline for downsampling HD video to SD

I'm trying to downsample a HD video recorded by TVheadend to SD size using the following command: avconv -i infile.ts -map 0:v -map 0:a:0 -map 0:a:1 -c copy -c:v mpeg2video -r 25 -qscale:v 2 -s:v ...
1
vote
1answer
539 views

Why libav-tools packet not contains avserver on Debian 8

Why libav-tools packet not contains avserver on Debian 8? I installed libav-tools using this command: apt-get install libav-tools avconv is avaliable after installation process, but avserver not. ...
2
votes
1answer
1k views

avconv “Error while opening encoder for output stream” for subtitles?

I'm trying to convert a video changing the audio codec from aac to ac3_fixed: avconv -i input.mkv -c:v copy -c:a ac3_fixed output.mkv However this commands aborts after showing the following output: ...
1
vote
1answer
73 views

How do I convert a batch of avis into mp4s?

I have several avi files in the one directory that I would like to convert to mp4s using avconv. Now I know the basic procedure of how to do this, manually, for each avi, namely (where $@ are the ...
38
votes
3answers
77k views

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 ...
1
vote
1answer
80 views

Custom action calling avconv in Thunar and Dolphin

I like to use a command like avconv -i %f -map 0:1 -c:a copy %f.m4a in the custom actions of Thunar or Dolphin to extract audio from mp4 and flv without transcoding. But that will output a name ...
1
vote
0answers
961 views

avconv: remove audio stream, keep audio and video synchronized

I have an AVI file with one video and three audio streams. I would like to discard two of the audio streams, keeping only one. I tried to do so using avconv (v11.3-6): avconv -i in.avi -map 0:0 -map ...
2
votes
0answers
191 views

Record video from camera and get frame number on demand

I'm using avconv at the moment to store the input of my camera as an video. This works fine. Now i'm asking myself if it is possible to get the current frame number at a particular time of the video ...
1
vote
1answer
614 views

Unable to output to TCP through avconv

I'm trying to use avconv to read a video from disk and output it over a socket, using: avconv -i video.mp4 tcp://127.0.0.1:5005 I get the error "Unable to find a suitable output format for 'tcp://...
1
vote
1answer
440 views

Avconv creates 0 byte outputfile after applying frame rate reduction

I installed avconv because I am too stupid to install ffmpeg, now I realized I am even more stupid. I tried to reduce the framrate from 30 fps to 24 fps following a very straigtforward tutorial: # ...
1
vote
0answers
154 views

extracting codec information from rpt stream

I got a list of rtp streams in a list, those are tv channels from my internet provider. I would like to get information about the codec and get the channel names instead of ip addresses, precisely ...
0
votes
1answer
1k views

Error while making movie from png's with avconv or ffmpeg

I want to create a movie from a bunch of png's by using the command: avconv -i pics/*.png out.mp4 or ffmpeg -r 1/1 -start_number 1 -i pics/*.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4 ...
6
votes
4answers
13k views

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 ...
5
votes
1answer
1k views

Mapping metadata with avconv does not work

The way I understand man avconv (version 9.16-6:9.16-0ubuntu0.14.04.1), the following command should convert input.ogg to output.mp3 and carry over metadata: avconv -i input.ogg -map_metadata 0 ...
6
votes
2answers
1k views

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 ...
1
vote
1answer
1k views

Convert video changing only bitrate

I have a mediaplayer program which lags playing one specific file. My assumption is that it is because of too high video bitrate (41.3 Mbps) and too slow CPU (it is embedded system). So, I want to be ...
1
vote
0answers
568 views

Avconv Error when trying to save an updating snapshot of an IP-camera stream

I'm trying to save an updating image of my camera stream on my Desktop. avconv -i rtsp://admin:12345@192.168.1.199/h264 -f image2 -r 1 /home/nuc/Images/img.jpg Protocol avconv version 9.16-6:9.16-...
2
votes
0answers
2k views

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....
1
vote
1answer
3k views

Slow down mp3 audio

I love VLC's option of slowing down audio playback. Now I want to take my mp3-files to a portable player and play them there. Unfortunately the player does not have a slow down option. How can I ...
2
votes
2answers
2k views

Cutting an AV file (MP4)

I have tried using openshot, pitivi, kdenlive, videolan to cut an audio/video file but they all seem to freeze. So I am now trying to use the following command: avconv -i input.MP4 -vcodec copy -...
6
votes
2answers
4k views

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 ...
1
vote
0answers
1k views

avconv stops streaming after some time

I am using raspberry-pi board and a usb camera attached with it. i use avconv tool to capture live video from camera and streaming it on network using rtp protocol. My command on server(raspberry-pi ...
3
votes
0answers
1k views

avconv: converting raw mjpeg video to a viewable format

I'm using a Beaglebone Black (BBB) with a USB Webcam attached to it. The BBB is running the latest Angstrom release. At the moment, it is proving difficult for me to convert video that I capture to ...
1
vote
0answers
201 views

How can I add a still image inside a video with avconv or opensource software

I would like to add a still image inside a h264 video following an in and out point in time. I would like to use only opensource/free Linux/Debian packages. I tried a lot of things with avconv like ...
2
votes
0answers
1k views

avconv error: av_interleaved_write_frame

I use avconv to cut a video and to remove subtitles. Depending on the length of the output video, I get a success or and error. The input video has the following information: avconv -i video.mkv ...
2
votes
0answers
198 views

Jitter while screen recording with avconv

I've figured out how to record decent quality with avconv now, the problem that remains which I also have experienced with ffmpeg and recordmydesktop is that my desktop background keeps flickering ...
12
votes
1answer
11k views

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 ...
1
vote
0answers
39 views

Can't stream both audio sources, only mic works

Why does the following code not stream both audio sources? #!/bin/bash INRES="1920x1080" OUTRES="1280x720" FPS="20" QUAL="medium" STREAM_KEY=$(cat ~/.twitch_key) avconv -g 0 \ -f x11grab -s $INRES ...
0
votes
0answers
1k views

How to convert a video file from mp4 to mp2

I have been searching a lot and I can't find a solution. How do you convert a video from MPEG-4 to MPEG-2? That shouldn't be too hard. But the avconv man pages don't give enough info to do this ...
9
votes
2answers
17k views

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 ...
2
votes
1answer
5k views

Compare video and image (percentage of differences)

I was wondering if it's possible to get the percentage of difference between a video and an static image using avconv (from libav) I have a surveillance camera constantly providing an RTSP video feed....
3
votes
1answer
5k views

Convert images into avi with Raspberry Pi

I'm following this page: Creating Timelapse Videos With The Raspberry Pi Camera. But every time I try to make the video, I get this error: original: http://i.imgur.com/VLJrK8q.png Specifically ...
4
votes
3answers
2k views

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 ...
3
votes
1answer
3k views

how to use avconv to record streaming audio (how to define sources)?

I have never used avconv before. I've been reading the manual and asking questions on various forums and IRC for the last couple weeks but I have not found an answer yet. (This question is one part of ...
26
votes
5answers
20k views

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? (...
2
votes
0answers
899 views

How to make CD-quality WAV files using avconv?

I want to make a CD using the audio tracks of some video clips. I was thinking of using avconv to convert the files. As far as the other steps go, I found some instructions on the Arch Wiki. This is ...
2
votes
1answer
829 views

tmpfs performance

I use avconv to make screen recording of gameplays on linux (yeah, I'm sorry, I am one of them, but I get more excited about the scripts than playing it self), but recently my harddrive has gone and ...