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 [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.

0
votes
0answers
5 views

libav settings - volume level after merge files

We are using avconv (libav) to merge two .wav files into one audio. Command: avconv -i audio1.wav -i audio2.wav -filter_complex “[0]volume=1.0[a];[1]volume=1[b];[a][b]amix=duration=longest” result....
0
votes
1answer
17 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 ...
0
votes
1answer
24 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, ...
0
votes
1answer
43 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 ...
2
votes
1answer
4k 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 ...
1
vote
0answers
83 views

How do i put a scale and unit to ffmpeg showfreqs filter

I can make a volume/frequency plot by using: ffmpeg -i <input_audio_file> -filter_complex "[0:a]showfreqs=mode=bar:fscale=lin:averaging=10,format=yuv420p[v]" -map "[v]" -map 0:a <output.mp4&...
0
votes
1answer
80 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 /...
1
vote
1answer
518 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 ...
0
votes
2answers
505 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=...
1
vote
2answers
597 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 ...
0
votes
1answer
374 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 ...
1
vote
1answer
491 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 ...
0
votes
0answers
204 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 ...
0
votes
1answer
41 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 ...
0
votes
1answer
7k 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 -...
0
votes
1answer
584 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. ...
1
vote
1answer
2k 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 ...
0
votes
1answer
615 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 ...
1
vote
1answer
81 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 ...
39
votes
5answers
59k 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 ...
0
votes
1answer
133 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 ...
0
votes
1answer
860 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 ...
6
votes
2answers
10k 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
150 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
184 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
622 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
491 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 ...
7
votes
5answers
30k 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 ...
1
vote
1answer
384 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 ...
1
vote
0answers
40 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
1answer
475 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
92 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 ...
1
vote
0answers
23 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
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. ...
1
vote
0answers
263 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
542 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
2answers
234 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....
4
votes
1answer
4k 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 ...
3
votes
1answer
359 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
178 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
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'...
0
votes
1answer
571 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 ...
3
votes
1answer
871 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:...
2
votes
2answers
6k 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/...
2
votes
0answers
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 ...
1
vote
2answers
193 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 ...
5
votes
3answers
21k 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
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 ...
0
votes
1answer
818 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
779 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 ...