Questions tagged [libav]

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.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
166 views

New to Linux, trying to install FFmpeg but missing dependencies from LibaV

Currently using ElementaryOS distro, just got into development on linux and still confused on many things. I'm trying to install FFmpeg for a project I'm working on, when installing the .deb I get ...
user avatar
  • 21
0 votes
1 answer
130 views

Avconv unrecognized option sseof

I try to extract the last frames of some videos with Avconv(FFmpeg): avconv -sseof -10 -i "inputfile.mp4" -vf "select='eq(n,0)'" -vframes 1 output.PNG But I get this error: unrecognized option ...
user avatar
  • 103
0 votes
0 answers
169 views

Why is the libvo-aacenc / libvo_aacenc not found?

When using this https://libav.org/releases/libav-12.3.tar.gz library and running in the folder: "./configure --enable-static --enable-version3 --enable-libvo-aacenc" the error "ERROR libvo_aacenc not ...
user avatar
  • 1
0 votes
1 answer
843 views

Streaming .jpg stream over RTP with gstreamer or avconv

I have image folder where is continuosly updating Photo.jpg (1 FPS). I need to be able to stream this photo as a continuous video stream via RTsP so it's viewable with VLC. What would be working ...
user avatar
  • 31
0 votes
1 answer
44 views

avconv: create a video from a set of static gifs in a directory

I have a set of non-sequential gif images in a directory and I am trying to combine them into a video using avconv. There are approximately 150 frames of identical size (3400x1600). I would like to ...
user avatar
  • 1
0 votes
1 answer
38 views

Conversion of non numbered images to video with avconv

I have many pictures which I want to make a movie from. The problem is that they don't follow a regular numeric order. They came from my smartphone camera, but some were captured in the same second, ...
user avatar
  • 161
0 votes
1 answer
575 views

How to stop FFMPEG processing when first of two inputs end?

I want to do an SSIM comparison of an encoded clip VS a reference file I have clips of unknown duration that share the same content as a known good source. These clips always start from the ...
user avatar
5 votes
1 answer
16k views

Non-monotonous DTS in output stream

Summary of the bug: Hello, I've created a network with the mininet simulator on ubuntu 14.04lts. In this network, I want to transfer video between two hosts. I used vlc in Sender host and I used ...
user avatar
  • 151
0 votes
1 answer
243 views

hot reload overlay with avconv

I use avconv to encode a rtmp stream. I have a PNG overlay over the video. I would like to, each time the png picture is updated, the overlay is updated to. Si I try to add: -f image2 -loop 1 -i /...
user avatar
  • 101
1 vote
1 answer
2k views

How to extract images from video files using FFmpeg without blur?

I have an X.MTS video file and I want to extract images from. I tried to extract with FFmpeg but quality of extracted images is not good. ffmpeg -i X.MTS images/%05d.png Then I tried to extract ...
user avatar
  • 113
0 votes
2 answers
2k views

How to draw a reticle over live video with ffmpeg?

I'm trying to add a reticle to a live video feed, and need the reticle to be able to move based on some external data. I can draw a box on the video with ffmpeg: ffmpeg -i input.mpg -vf drawbox=x=...
user avatar
1 vote
2 answers
1k views

How to rotate a video and have it playable on a TV set?

I have a video which originates from a phone, and which itself plays without problems on a Thomson TV set (via USB). The details of the video is the following: > avprobe 20170904_065655.mp4 ...
user avatar
  • 463
0 votes
1 answer
2k views

Ffmpeg - save bmp file as different extension

I want to save a bmp file as 1.mp4 using Ffmpeg, how to achieve it? The question is very simple. I have some source file, lets call it source.png and I want to encode it as bmp, but to save it as a ...
user avatar
1 vote
1 answer
851 views

libav - Output segmented stream recording with the current timestamp

I'm making a DIY DVR (using Linux Mint) for my D-LINK IPCAM, and after some searches on internet i found a solution which better suit my needs: avconv. I learn of this command to record a stream in ...
user avatar
  • 266
1 vote
0 answers
257 views

Why do I run out of memory when streaming video from a webcam to YouTube on a Raspberry Pi?

I am trying to stream video for a YouTube livestream, which I want to stream 24/7 if possible. I have a Raspberry Pi Model 3 Model B with a USB Webcam (Logitech G922). I'm using this command for ...
user avatar
0 votes
1 answer
49 views

linux avconv: how to extract a parameter sceme to create new video?

I have different video files, clips. Some are mp4, m4v, flv... withdifferent rates orI don't know which differences more. The point is, I want to merge files, which I created from input files with ...
user avatar
3 votes
2 answers
14k views

How to set FPS using ffmpeg

I'm trying to save my CCTV stream into segments of 300 seconds with a FPS of 7. Here's my command: ffmpeg -r 7 -i rtsp://192.168.1.100/...stream=0.sdp -acodec aac -strict -2 -vcodec copy -f segment -...
user avatar
  • 209
0 votes
1 answer
753 views

How do I use ffmpeg to increase the framerate of a video without affecting audio quality?

I have a ~30k frame video at 25 fps that I'd like to make 50 fps and keep the same running time. This would probably involve duplicating every frame. However, I'd like the audio track to be unchanged. ...
user avatar
4 votes
2 answers
5k views

Make MKV file suitable for streaming with ffmpeg (or avconv) - how to move all metadata to beginning of file?

My question, I think, is pretty simple... Sometimes I like to download large MKV files from a webserver of mine, and play them back while they are downloading. However, if I do this on MKV files I've ...
user avatar
0 votes
1 answer
808 views

Looping in avconv with -codec copy

This is the command I'm using: avconv -loop -1 -re -i "$SOURCE" -codec copy -f flv "$FACEBOOK_URL/$KEY" I'm struggling with some performance issues when I run avconv on my server to stream a video ...
user avatar
1 vote
1 answer
101 views

How do I make the loud parts of my audio file come down a little?

I have a recording of a lecture where the speaker gets really enthusiastic at certain points and starts yelling pretty loudly for emphasis. I like emphasis, but not when my ears start to hurt. When ...
user avatar
38 votes
5 answers
63k views

"libavcodec may be vulnerable..." message in Firefox

Since last week, I'm receiving the following message for almost every page that I open in Firefox: libavcodev may be vulnerable or is not supported, and should be updated for play video ...
user avatar
  • 661
0 votes
1 answer
214 views

avconv equivalent to Ffmpeg's scale2ref?

Using a filter_complex in ffmpeg with '[1][0]scale2ref[i][m];[m][i]overlay[v]', where I'm overlaying a png on top of a video and scaling down to the size of the video. Is there an avconv equivalent to ...
user avatar
1 vote
1 answer
3k views

How can I convert .xm, .mod, and others to .mp3 using avconv?

I recently downloaded a pack of keygen chiptunes (via http://keygenmusic.net/), and most of them are in file formats such as .xm, .mod, etc. I'd like to convert them all to mp3, hopefully using a tool ...
user avatar
8 votes
2 answers
12k 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 ...
user avatar
  • 251
0 votes
0 answers
198 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 \ -...
user avatar
  • 2,599
0 votes
1 answer
284 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 ...
user avatar
0 votes
1 answer
996 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 ...
user avatar
  • 134
0 votes
1 answer
679 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 ...
user avatar
8 votes
5 answers
36k 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 ...
user avatar
  • 753
2 votes
1 answer
776 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 ...
user avatar
  • 123
1 vote
0 answers
44 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'; ...
user avatar
  • 441
0 votes
1 answer
607 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 ...
user avatar
0 votes
1 answer
112 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 ...
user avatar
  • 101
1 vote
0 answers
30 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 ...
user avatar
  • 11
1 vote
2 answers
2k 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. ...
user avatar
1 vote
0 answers
294 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 ...
user avatar
  • 111
0 votes
0 answers
786 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....
user avatar
0 votes
2 answers
541 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....
user avatar
4 votes
1 answer
7k 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 ...
user avatar
  • 1,703
3 votes
1 answer
436 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 -...
user avatar
  • 131
1 vote
0 answers
222 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 ...
user avatar
1 vote
1 answer
1k 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'...
user avatar
  • 11
0 votes
1 answer
753 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 ...
user avatar
  • 103
4 votes
1 answer
2k 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:...
user avatar
  • 2,026
2 votes
2 answers
7k 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/...
user avatar
2 votes
0 answers
2k 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 ...
user avatar
  • 121
1 vote
2 answers
415 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 ...
user avatar
5 votes
3 answers
23k 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" ...
user avatar
  • 168
0 votes
1 answer
2k 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 ...
user avatar