Libav is a fork of the popular FFmpeg multimedia tool, best known for appearing in the Ubuntu packages. Include the full, uncut console output when asking for help with a command.

learn more… | top users | synonyms (1)

1
vote
2answers
56 views

How to increase video speed and frame rate without duplicating frames

I have a long video with a frame rate of 30 FPS that I want to convert into a 200x time-lapse with a frame rate of 60 FPS. My only problem is that avconv is unnecessarily duplicating every other frame ...
0
votes
0answers
11 views

Combining multiple WAV files into a single MP3

I'm trying to combine a number of wav files into a single mp3. The simplest command I can come up with is this: /usr/bin/avconv \ -y \ -i input1.wav \ -i input2.wav \ -i input3.wav \ -i input4.wav \ -...
0
votes
1answer
8 views

Inplace modification of incron monitored files

I have samba share where users create video files, i need to stripe audio tracks from that video files and rsync new files to remote folder. I monitor the samba share with CLOSE_WRITE option, to strip ...
0
votes
1answer
37 views

Specifying icecast protocol options in ffmpeg/avconv on Raspbian Lite

I'm very new at this Raspberry Pi 3 thing, but not afraid to delve into docs and examples. I've cobbled together commands and fixes to record audio from USB device - ultimately trying to stream ...
0
votes
1answer
25 views

libav - stream audio via UDP results in overread or underrun

I am streaming small audio files from one raspberry-pi to several other raspberry-pi's. The wireless connection is good, the throughput is good, the ping/latency is good. The receivers look like ...
0
votes
3answers
413 views

How do I install ffmpeg on Debian Jessie?

My installation of Debian Jessie is seemingly doing everything it can to prevent me from installing ffmpeg. I have read How to install FFmpeg on Debian?, but avconv is not an option and adding deb ...
0
votes
1answer
42 views

Byte position of frame with closest timestamp with avprobe

With ffprobe I managed to get the byte position of the frame closest to a specified timestamp: the pkt_pos in ffprobe -i audio.mp3 -show_frames -read_intervals 01:30%+#1. Now I am on a Debian system ...
0
votes
0answers
39 views

How can I use Libav to convert a multipage tiff into a video

I have a multipage tiff with many frames. If I try to convert that using libav it only recognizes the first image in the stack: $ avconv -y -v debug -f image2 -i 151123_chan3-2_#1.tif 151123_chan3-2_#...
1
vote
0answers
14 views

Prevent AVCONV from upgrading A/V quality

I am trying to convert all video files of different formats and qualities into one semi-standard format. Thankfully avconv makes this reasonably easy. This is the command that I am using: IFS=$'\n'; ...
0
votes
0answers
68 views

avconv - Error for scale filter

I'm trying to rescale a video via avconv with the following command: /usr/bin/avconv -i /home/user/video.mp4 -filter:v crop=960:720:160:0,scale=h=498:w=-1 -an -y -frames:v 1 media/image.png But I'm ...
0
votes
1answer
62 views

Rotate AVI video by 90 degree

I used to apply this command to transcode videos of my mobile phone to AVI: ffmpeg -i Input.mov -s 640x360 -sameq -vcodec msmpeg4v2 -acodec libmp3lame Output.avi Now I'd like to rotate some videos ...
0
votes
1answer
48 views

Scaling a video fails

I am using avconv to scale a video to a lower size. I just want to make video width smaller, and allow height to adjust automatically with the width to keep proportions same. After the command, a file ...
0
votes
0answers
56 views

How to redirect video subtitles to pipe?

I am watching subtitled videos. I would like the subtitles to be sent to a pipe instead of being displayed on the video. The aim is to process the subtitle data with some other software, like sed, in ...
0
votes
0answers
56 views

Use avconv and image magick to convert video into reduced size gif

I'm using this answer to convert a video capture of a small section of my screen to a gif for a tutorial on a webapp. The problem is that the gif conversion increases the file size. avconv -i video....
1
vote
0answers
12 views

libav - readability of text from high resolution to low viewing resolution

Scenario: Trying to create a screencast of a linux system for a tutorial.. The two monitors I have are a combined (3400x1200).. When I play it back on a windows machine, either using VLC or Windows ...
1
vote
2answers
349 views

mp4 video for asterisk with ulaw as audio and h263 for video

Scenario: I want to play a video file on asterisk. my softphone only support ulaw/h263 for audio and video respectively. So I am allowing both formats in sip.conf file and expecting it to run. ...
1
vote
0answers
17 views

Cropping with avconv

I am trying to crop a video with avconv avconv -r 25 -i test.avi -vf "crop=out_w=in_w" -b 1024k test2.avi but avconv tells me Invalid chars '=in_w' at the end of expression 'out_w=in_w' whatever ...
0
votes
0answers
153 views

openRTSP default 25fps encoding (not 24)

I want to capture the RTSP stream from some IP cameras, and after looking around I found 2 great tools to do this: avconv and openRTSP openRTSP -u user password rtsp://10.48.34.125/axis-media/media....
0
votes
0answers
40 views

issue sending user and password in VLC

Basically I have a net where I can do this without problem: vlc rtsp://10.48.1.10/mpeg4/media.3gp --rtsp-user=user --rtsp-pwd=password but when I do this: vlc rtsp://user:password@10.48.1.10/mpeg4/...
0
votes
2answers
58 views

Reading specific MKV metadata from avconv

I want to extract a specific piece of metadata from an MKV and use it as the filename of a converted file. Example, if I run avconv -i MyFile.mkv I get the following output avconv version 9.18-6:9....
0
votes
0answers
83 views

avconv combined audio and video streams, mplayer fails to play audio

I have a movie.avi file compressed with DivX which I'm trying to recompress with H264. I compressed the video stream with x264, leaving the audio as is. I'd prefer to compress everything at once, but ...
4
votes
1answer
321 views

How to correctly use x265 lossless parameter with avconv

x265 has a lossless mode which is used for ultra-high bitrates with zero loss of quality. I tried using this mode with avconv as follows: avconv -i input.mp4 -c:v libx265 -x265-params lossless -c:a ...
0
votes
0answers
271 views

avconv Error “Header missing” while converting mkv audio to AAC

I want to convert Videos from MKV (h.254 + MP3) to MKV (h.264 + AAC), because the Chromecast no longer supports MKV with MP3. When I try avconv -y -i /media/user/Data/toImport/Fr\ S02-01\ Das\ ...
2
votes
1answer
166 views

Avconv only converts a single frame when converting a GIF to WebM format

I am trying to convert GIF images into WebM videos with avconv, but I only get a single frame into the WebM video. Example GIF: I use the flowing command: avconv -i horse.gif -c:v libvpx -qmin 10 ...
1
vote
0answers
55 views

avconv / ffmpeg covert images to video skips frames when frame type changes

I have an instance of ffmpeg that captures one fps from our home CCTV cameras. At the end of the day I have an ffmpeg script that takes those images and turns them into a video. This is fine with one ...
1
vote
1answer
447 views

avconv stream to rtmp via nginx-rtmp-module - convert into html5 file/stream

just keeping things short at the beginning. I stream via rtmp with avconv through a nginx configuration. Catching that stream onto a website is only possible via flash as far as i know. Nowadays it'...
0
votes
1answer
247 views

avconv: Converting from .ts to H264, with high quality screenshots

I am using avconv to convert MPEG Transport Streams to H264. My main goal is to capture high-quality screenshots from the source video files. The TS files are interlaced, so I am first converting to ...
2
votes
1answer
156 views

Using ffmpeg to extract segment in the middle of long video

I need to extract a 30 second interval from the middle of a video, while converting it to webm. ffmpeg seemed like the perfect one liner: ffmpeg -i long.mkv -vcodec libvpx -b:v 1M -ss 02:00:00 -t 00:...
1
vote
2answers
837 views

Capture still image from remote ip cam using avconv

I'm attempting to capture a single still from an ip camera with avconv in ubuntu (server). Can anyone tell me what's wrong with the following command: avconv -i rtsp://[USER]:[PASS]@[IPADDRESS]:554/...
1
vote
0answers
1k views

streaming to rtmp using avconv or ffmpeg

I have an IP webcam HiSilicon Hi3516C that I can successfully access from a raspberry pi. I can get still images by using a command like this: avconv -i "rtsp://192.168.1.10:554" myfile.jpg now ...
1
vote
2answers
61 views

mediainfo - different channels depending on source

What are the differences between "side" channels and "back" channels in multichannel audio? I'm converting .mlp files (from a DVD-A) to FLAC and I'm slightly confused by how the channels are ...
2
votes
3answers
7k views

How to install libav manually for Video Download Helper on Windows 7?

I'm trying to get the Firefox Extension "Video Download Helper" (VDH) to convert and record videos. The suggested way of doing this is to install a precompiled version of libav called "Convert Helper" ...
0
votes
1answer
661 views

Basic conversion of sequence of images to avi with avconv

I'm trying to convert sequnce of images to small avi. Each image should be shown 2 seconds. I'm using this basic command sudo avconv -r 0.5 -i test%05d.jpg out.avi I get the output, but it shows ...
0
votes
1answer
252 views

How to extract Blu-ray audio without any conversion?

As avconv (forked from ffmpeg) said, the format of Blu-ray audio stream is called pcm_bluray, but why most of the tutorials say using -acodec pcm_s**le flag (** depends on its sample rate)? Are they ...
0
votes
1answer
375 views

Combine audio and video with avconv not merging video

I am trying to combine a ripped stream from YouTube that seems to be in a weird format. Anyway, the video and audio seem to play on their own but when I tried to combine it, the file size is just a ...
2
votes
1answer
2k views

Hardcoding FFMPEG subtitles on MP4 / MKV

I am using FFMPEG to hard code subs into a video. Having read many posts on the best approach, and whether to use mkv or mp4, but am still none the wiser. The code below uses an mp4 file. The ...
2
votes
0answers
2k views

avconv stream video from USB webcam without delay

I need to stream video from USB webcam. I am using avconv, but it has delay min 5s. Is possible to stream in real time without delay? avconv -f video4linux2 -i /dev/video0 -vcodec libx264 -f mpegts ...
1
vote
0answers
1k views

How do I get avconv/ffmpeg to output video with specific tbn, tbc

My father can only use an old video editor (Pinnacle Studio 12) that is very picky on what video files it imports. Here is the output of avprobe one of the videos it manages to import: encoder: ...
-2
votes
3answers
5k views

Conversion from WebM to MP4 in Ubuntu is slow and bad quality

I have used the command ffmpeg -i input.webm -q:v 10 -c:a copy out.mp4 I also tried using avconv instead of ffmpeg. The conversion is successful but the quality is bad. Also it takes a lot of time....
2
votes
1answer
53 views

Delete .avi videos by length using Linux terminal

How can I delete videos, via terminal, by length of the video? I have a cutoff point of 30 seconds, and I want to delete anything under that. If I select by size (find . -type f -size +27818098c) it ...
1
vote
0answers
325 views

FFmpeg / libav / Avconv settings to add higher contrast to a video

I successfully convert videos to mp4 from images turning the video black and white, is there a way to add contrast and brightness to balance the higher contrast so that it looks sharper? Here is the ...
0
votes
0answers
25 views

What parameters for lightweight HTML5 video with avconv? [duplicate]

I have this: avconv version 0.8.16-6:0.8.16-1, Copyright (c) 2000-2014 the Libav developers built on Sep 16 2014 23:10:48 with gcc 4.7.2 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'film.mp4': ...
0
votes
2answers
3k views

How to install libav-tools in centos 6

I used tutorial to compile it from source but it never worked for me. I am facing error on following points Download x264 codec and compile it: git clone git://git.videolan.org/x264.git x264 cd ...
0
votes
0answers
384 views

avconv and ffmpeg: errors reading png files

I'm trying to use avconv to overlay data onto a video. I generate PNG files representing the overlay data at 4fps. The PNG files are the 120px wider and 60px taller than the original video, because ...
0
votes
0answers
187 views

Force avprobe format detection

I have a gif file without an extention called loop. the command avprobe loop returns: [mp3 @ 0x7faa59004a00] Format detected only with low score of 1, misdetection possible! avprobe subsequently ...
3
votes
1answer
6k views

How do I extract the timestamps associated with frames ffmpeg extracts from a video with the -r option?

ffmpeg -i myvid.mp4 -r 25 -t 100 image-%d.jpeg Is the command I'm using to extract frames and it's working just like I expected. However I'd also like to look at the timestamps of the frames. ...
1
vote
2answers
643 views

How to strip metadata from MP3 files?

I want to strip metadata from MP3 files. In a brief: How to simply get a stream of pure MP3 frames out of a MP3 file – by means of command line tools? Preferable using tools out of the box of a linux ...
0
votes
1answer
651 views

avconv gives empty output

I tried converting a video file to a desired format using FFmpeg through WinFF. I have specific demands about some aspects of the output file, while other aspects should be set in a way which will ...
1
vote
1answer
1k views

Piping output from ffmpeg/avconv over ssh to a file

I like to pipe the output from ffmpeg/avconv over ssh to a file. I would like to do something like this. ssh USER_NAME@SERVER_IP "avconv -i "http://svtplay20k-f.akamaihd.net/i/se/open/20141013/...
3
votes
0answers
1k views

Why does avconv change the fps when deinterlacing?

I have a .MTS 1080i of 25fps (mediainfo) that I deinterlaced with avconv -i input.MTS -vf yadif -c:a copy output.mp4. As the wiki says, the default value for yadif is 0 which "outputs one frame for ...