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
100
votes
3 answers

Why would I choose Libav over FFmpeg, or is there even a difference?

From what I've seen it looks to me like Libav's avconv is thought to become a successor of ffmpeg — is that correct? If that's true, why is that so? What exactly is libav doing better and why would I want to choose it over ffmpeg? I came to this…
floriank
  • 1,464
99
votes
3 answers

Resizing videos with ffmpeg/avconv to fit into static sized player

I have a html 5 video player which is 700px wide, 400px high. I'm trying to use avconv to use ffmpeg to resize (while retaining the aspect ratio) and making sure it fits into my player. Input can be a file of any size, so I need to resize the larger…
Jamie Taylor
  • 1,501
50
votes
4 answers

How to install libav/avconv on Mac OS X or macOS 11?

OSX comes with a command line video conversion utility avconvert but this tool provides limited functionality compared to the avconv provided by libav. How can I install avconv on OS X (or macOS 11)?
Olivier
  • 1,549
38
votes
5 answers

"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 Apparently, this is just a warning, 'cause I can play…
James
  • 681
14
votes
7 answers

Split MKV based on Chapters

I have a long MKV file which I want to split into its individual chapters. Running ffmpeg -i long.mkv gives me all the information about the chapters embedded in the file: Duration: 01:23:45.80, start: 0.000000, bitrate: 8116 kb/s Chapter #0.0:…
13
votes
2 answers

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 subtitles appear to be processed, judging by the output,…
13
votes
1 answer

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. At whatever precision. 100 miliseconds is good…
Srini
  • 245
8
votes
2 answers

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 in the output, making the 60 FPS output…
Pilot_51
  • 251
8
votes
5 answers

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 http://www.deb-multimedia.org stable main non-free…
emmalyx
  • 791
6
votes
3 answers

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" from the VDH Homepage. I'm not willing to do…
Piwi
  • 178
6
votes
2 answers

How do I merge a folder of PNG images to a mp4 movie using avconv?

I have a folder containing many time stamped PNG images which I'd like to merge to a short movie. The contents of that directory looks like this: └── images ├── img_20130421_115547.png ├── img_20130421_115617.png ├──…
sa125
  • 1,036
6
votes
0 answers

Non monotonically increasing dts to muxer in stream 1

I have an error with 1gb videofile and avconv Application provided invalid, non monotonically increasing dts to muxer in stream 1: 177873 >= 177849 av_interleaved_write_frame(): Invalid argument I use avconv -i /root/video/112-1.wmv -y -strict…
Alex
  • 173
6
votes
1 answer

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 ffmpeg in Receiver host. When I run the ffmpeg, I get…
sana
  • 161
6
votes
2 answers

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 transcoded, often the file will show that it is…
5
votes
1 answer

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:00:30 -threads 4 out.webm To my surprise it…
Alex
  • 2,106
1
2 3
9 10