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.
145
questions
0
votes
0
answers
26
views
Is there a way to increase the visible dimesions of a mp4 video?
I recorded a video on the Kindle and transferred it to the Ubuntu laptop. The mp4 video claims to be 1080x1920 but it is small when run in VLC.
Running it in VLC with a crop of 2:21:1 is effective. ...
2
votes
2
answers
2k
views
How to extrack motion vector data without decoding the whole video
I want to extract the motion vector from the encoded h264 stream without performing a full decode of the frame.
I'm using the FFmpeg library and am aware of extracting the information using the ...
-1
votes
1
answer
500
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 ...
0
votes
1
answer
223
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 ...
0
votes
0
answers
231
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
65
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
1
answer
49
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
1
answer
753
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 ...
6
votes
1
answer
19k
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 ...
0
votes
1
answer
280
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
1
answer
3k
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
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=...
1
vote
2
answers
2k
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
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 ...
1
vote
1
answer
968
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 ...
1
vote
0
answers
277
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
1
answer
53
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 ...
3
votes
2
answers
16k
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
1
answer
874
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. ...
6
votes
2
answers
7k
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
1
answer
827
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 ...
2
votes
1
answer
132
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 ...
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
...
0
votes
1
answer
227
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 ...
2
votes
1
answer
4k
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 ...
8
votes
2
answers
13k
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
0
answers
219
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
1
answer
365
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
1
answer
1k
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
1
answer
776
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 ...
8
votes
5
answers
37k
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 ...
2
votes
1
answer
1k
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
0
answers
53
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
1
answer
651
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
1
answer
129
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
0
answers
31
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
2
answers
3k
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
0
answers
299
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
0
answers
841
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
2
answers
808
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....
3
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 ...
3
votes
1
answer
475
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
0
answers
225
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
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'...
0
votes
1
answer
856
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 ...
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:...
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/...
2
votes
0
answers
3k
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
2
answers
533
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 ...