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.

143 questions
93
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,334
  • 3
  • 16
  • 25
84
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,241
  • 3
  • 16
  • 27
45
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,389
  • 4
  • 15
  • 21
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
  • 651
  • 3
  • 8
  • 20
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,…
Jonathan_W
  • 275
  • 1
  • 3
  • 7
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
  • 235
  • 1
  • 2
  • 9
11
votes
5 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:…
Terence Eden
  • 733
  • 2
  • 6
  • 22
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
  • 1
  • 2
  • 8
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…
Peter W.
  • 753
  • 2
  • 10
  • 23
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
  • 946
  • 2
  • 15
  • 22
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
  • 5
5
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
  • 168
  • 1
  • 1
  • 5
5
votes
2 answers

speed up video using avconv without quality loss

After having read this page, I'm using avconv (which in this case is apparently same as ffmpeg, and which I need to use instead since I'm on Ubuntu trusty) to speed up a .swf video. I don't want a quality loss (not interested in compression), just…
5
votes
2 answers

reduce size of mp4 using avconv

I'm looking at this question Reduce size of MP4 and I want to do it using avconv, however, I'd also like to shrink the frame size by about half. My problem is when I do avconv -i "$file" -s 640x480 -strict experimental "mp4/$file.mp4" The output is…
niken
  • 153
  • 1
  • 1
  • 7
5
votes
1 answer

avconv can't convert stream to MP4 file, fails with "Unable to set encoding parameters"

I'm trying to script some testing of Wowza Media Server. Basically, I'm attempting to just beat the living bejeepers out of the thing. I have 5 slightly older computers, originally XP boxes, which I have installed Mint 15 on. I have a script that…
mikecole79
  • 61
  • 1
  • 4
1
2 3
9 10