libav (or libav*) is the collective name of the FFmpeg libraries: libavcodec, libavformat, libavfilter, libavutil, etc. The name has also been appropriated by the Libav project–a fork of FFmpeg.
Questions tagged [libav]
591 questions
0
votes
1 answer
libav - Codec not found
I am following this Audio Encode example from the ffmpeg docu: https://www.ffmpeg.org/doxygen/0.6/api-example_8c-source.html
But instead of a .mp2 file i want to decode a .wav file
So I changed this lines in my program:
codec =…

IIIIIIIIIIIIIIIIIIIIII
- 3,958
- 5
- 45
- 70
0
votes
0 answers
Strict Experimental Flag for Converting ts files to mp4 files in node using ffmpeg
I'm trying to convert a series of .ts files into one mp4 file in using ffmpeg via a node execute:
var combineVideo = function (videoFiles, fileName, callback) {
var videoDone = _.after(videoFiles.length, function () {
var ffmpegcommand =…

Recurrence
- 1
- 1
0
votes
1 answer
Random segmentation fault with avcodec_encode_video2()
this is my first question so i hope i did it correctly. If not, please let me know to fix it.
I'm trying to convert a short (10 secs) mp4 video file into a gif using ffmpeg libraries (I'm pretty new using ffmpeg). The program works pretty well…

Seba Arriagada
- 381
- 1
- 12
0
votes
2 answers
Collect decoded audio from libav as doubles
I'm currently trying to gather decoded audio data (from multiple formats) to perform certain audio manipulations (using a *.wav file for testing).
I have a class that handles all the decoding via FFmpeg libav. If I extract the data as unit8_t into a…

gapc
- 13
- 6
0
votes
0 answers
libav converted audio file distorted
I am trying to implement a file converter using libav. Currently I am testing just the audio convertion (for example aac input and mp3 output). I am using the code from this question Conversion from mp3 to aac/mp4 container (FFmpeg/c++) but the…

C0dR
- 320
- 1
- 6
- 23
0
votes
1 answer
Webm (VP8 / Opus) file read and write back
I am trying to develop a webrtc simulator in C/C++. For media handling, I plan to use libav. I am thinking of below steps to realize media exchange between two webrtc simulator. Say I have two webrtc simulators A and B.
Read media at A from a input…

Austin
- 1,709
- 20
- 40
0
votes
1 answer
Using libav-tools versus libav built from source - video quality much worse
We are trying to create a video from still images, running on Ubuntu 14.04.
If we have installed libav-tools then the output video is much higher quality than if we have installed libav manually. Unfortunately, we need to run a solution where libav…

kislo
- 21
- 4
0
votes
2 answers
How to extract audio form video using ffmpeg in C++?
I'm developing a C++ app that uses FFmpeg to play audio/video. Now I want to enhance the application to allow the users to extract audio from video. How can FFmpeg can be used for this? I searched a lot about this but I was not able to find a…

patrick
- 357
- 6
- 20
0
votes
0 answers
av_read_frame reads frames from cache
I want to detect an object with my camera. For performance reason, i like to keep the connection to my camera alive and read new images on demand.
The function to read images calls av_read_frame till the frame is complete and then does some…

mineichen
- 470
- 2
- 11
0
votes
1 answer
"undefined reference" error messages when trying to compile spdif-loop
I'm trying to compile spdif-loop on my machine running Ubuntu 14.04. It says on the GitHub page that the requirements are ffmpeg or libav and libao. I have only very little experience with this, but I thought I'd look at the make file for more…

Benjamin
- 229
- 1
- 6
- 15
0
votes
1 answer
libav ffmpeg multiple streams performance issue
I have a program capable of generating 5 mpeg transport streams simultaneously. each stream has its own context and is done in an independent thread. when only one stream is active everything works great. as soon as i activate another stream my…

hillsm
- 1
0
votes
1 answer
How to encode 24-bit audio with libav/ffmpeg?
Here's a code snippet from libavutil/samplefmt.h:
/**
* Audio Sample Formats
*
* @par
* The data described by the sample format is always in native-endian order.
* Sample values can be expressed by native C types, hence the lack of a signed
*…

andrewrk
- 30,272
- 27
- 92
- 113
0
votes
1 answer
undefined reference to "av_new_packet" (using Qt)
I've compiled libav following the instructions in their README and INSTALL instructions.
Now I'm trying to follow this example from within Qt creator.
I've figured out how to include the libraries I need in the project file:
LIBS +=…

HorusKol
- 8,375
- 10
- 51
- 92
0
votes
1 answer
What to do when last_pts > current_pts using ffmpeg libs (C++)
Im having some hard time figuring out where to find about this..
Im building a simple recorder to learn about this video compression universe and Im facing some weird behaviors..
Before all I need to explain the scenario...
Its very simple...…

Rafael Fontes
- 1,195
- 11
- 19
0
votes
3 answers
Libav - how to correctly free memory leaking with av_write_frame
I am using LIBAV on Ubuntu to save user's video stream(RTP VP8) on server in WebM format.
The problem is, memory is leaking when using av_write_frame. Memory usage is constantly growing (equally with the webm file size) and is never freed after…

golstar
- 56
- 1
- 7