Setting/Installing up OpenCV 2.4.6.1+ on Ubuntu 12.04.02

I had previously used OpenCV 2.4.5 with some certain configs and packages on Ubuntu 12.04.1 but had issues upgrading to OpenCV 2.4.6.1 on Ubuntu 12.04.2 I would like to share some ideas (a...

Compile FFmpeg with libfdk_aac

I been reading on how to convert mp3 to m4a, and found that I must compile FFmpeg if I'll use the AAC encoder, libfdk_aac. But reading FFmpeg guide on how to compile FFmpeg with libfdk_aac makes...

How to start live streaming on Mac using FFMPEG?

I am working on a MAC OS X Lion 10.7.5. How to properly install FFMPEG? What I did: ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" brew install ffmpeg --with-fdk-aac --with-ffplay...

How to Compile FFmpeg with x264 and libfdk-aac for Android

Everyone. Please understand that i use the wrong english. I want to make encoding application using FFmpeg. I was successfully building NDK with FFmpeg. However, to encode H.264 video made had...

Compile FFMPEG in iOS with bitcode mode

I compiled FFMPEG libs which supports for iOS 7 and 8 but since recent release with iOS 9 there is a new feature has issued which called bitcode mode , as a default setting , this setting has...

How to install libx265 for ffmpeg on Mac OSX

I have tried multiple guides here (search for "Building libx265") and here with no success. Both times I made sure I uninstalled ffmpeg first, went through the guides, then ran brew install...

Javacpp: Can't manage to add libfdk_aac to ffmpeg presets

We're trying to recompile ffmpeg project using javacpp and with the --enable-libfdk-aac enabled, the build works, but we can't use libfdk_aac to decode an audio_stream. We are calling :...

Use ffmpeg on OSX Xcode Project for Mac

I am planning to create a new app for personal use on my Mac that uses FFMPEG library, to store a feed from a RTSP IP camera. Following this official installation procedure from FFMPEG I have...

I Need Makefile for FDK-AAC

I want to compile AAC library (fdk-aac) on Ubuntu, but there is no makefile for it. I compiled the source code of fdk-aac in Visual Studio before, but now I want to use it on Ubuntu. How I can...

How to get the right channel while encoding AAC-HE-V1 by fdk on iOS?

I use the fdk v2.0.101 to encode the AAC-HE-V1 on iOS by xcode Version 8.0 (8A218a), but i always got the stereo channel aac data even if i set mono as the channel. How to get the right channel...

FFMPEG Unable to Decode Quicktime QDMC Stream (No decoder for stream)

We are using FFMPEG to convert iPhone video to MP4. This requires an AAC decoder which is not included in any binary distributions of FFMPEG (due to licensing issues). The solution is to...

cross compile: error adding symbols: File in wrong format

I'm trying to cross compile fdk-aac for arm-v8. here is my build...

Makefile for c++ program cannot be compiled properly

I am quite new to c++ Makefile. Recently, I am trying to re-implement the dense trajectory algorithm introduced by this paper: https://lear.inrialpes.fr/people/wang/dense_trajectories However, I...

ios fdk-aac pcm to aac sample

Here is the encoding part sample code. I don't understand the endcode function's working mode. I don't know how to split the pcm raw data frame by frame or just encode the data once for all. I...

How to write mp4 video file with H264 codec?

On OSX I can record from my webcam and write a video file with the following simple script: import cv2 camera = cv2.VideoCapture(0) # Define the codec and create VideoWriter object to save the...

How statically compile ffmpeg in Alpine with libass / l-smash / x264 / fdk-aac

I'm trying to build a static binary with dependencies. It faile with: ERROR: libass not found using pkg-config I'm following https://github.com/zimbatm/ffmpeg-static/blob/master/build.sh as...

FFMPEG Install/enable 'libfdk_aac' after installed FFMPEG via PPA

I have linux MINT 17.3 Kernel 4.4.0-81 all update available. (For different reasons I can't move to newer version of ubuntu/mint) I have installed FFMPEG via PPA (NOT from compiling the...

16 byte align AAC encoded data

I need to encode ACM stream on the fly to AAC ELD using the FDK lib. My issue is that in my case, the AAC encoded data need to be 16 bytes aligned. I.E that the length of it will be divided by...

Compile ffmpeg with x265 and fdk-aac on Minibian - dependencies not found

I am trying to get a live streaming device to work on a raspberry pi. I am running minibian. I roughly follow this guide without the cross compiling. My problem is probably with the compilation of...

export PATH inside a bash script

I am install ffmpeg from source in my bash script.However although i have source /etc/environment after i install ffmpeg dependancies, ffmpeg compilation isn't able to see the dependencies ...

Understanding "corrupted size vs. prev_size" glibc error

I have implemented a JNA bridge to FDK-AAC. Source code can be found in here When bench-marking my code, I can get hundreds of successful runs on the same input, and then occasionally a C-level...

FFmpeg macos install Reason: image not found

I'm trying to install FFmpeg on my mac. When I do brew install ffmpeg --with-chromaprint --with-fdk-aac --with-fontconfig --with-freetype --with-frei0r --with-game-music-emu --with-libass...

Can't compile LiquidSoap 1.3 from Source

I'm trying to install LiquidSoap from source because I need AAC+ support (fdk-aac). I did tests with Ubuntu 18.04, Debian 9 and CentOS 7.5, all giving the same error. After ./configure (that runs...

Python C Extension: Fatal Python error: PyThreadState_Get: no current thread

I am trying to build a C based Python extension that uses a ffmpeg libraries. Since there are a bunch of libraries I have to import. I used CMake. I followed the instructions from python doc The...

libavcodec.a(vc1dsp_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pw_9'

I am building an shared object file in ubuntu(vagrant) that uses ffmpeg libraries(libavcodec.a, libavformat.a, libavutil.a). I first used the standard configure options to build ffmpeg and...

Android 9 AAC decoder outputs zero samples with ffmpeg-encoded files

I have some automated tests that try to decode a few m4a files to PCM data using Android's MediaDecoder and MediaExtractor. The files are generated with various encoders: fdk-aac, ffmpeg (with fdk...

Enabling libfdk_aac in ffmpeg installed with Homebrew

On macOs I always used to install or update ffmpeg through Homebrew. I use the libfdk_aac audio codec a lot so I always did this: brew reinstall ffmpeg --with-fdk-aac For some reason, since one or...

Compiling FFMPEG with x265 has ERROR: x265 not found using pkg-config

At first, I have a project with ffmpeg build support x264 for android in Mac OS. Now, I want to add x265 support. I have compiled the x265 with make & make install like this: [ 81%] Built target...

cmake installation of x265 for ffmpeg on Cygwin - executable location different from other codecs

TL;DR (with expected vs. real) For a Cygwin build of ffmpeg, I'm installing x265, and it seems to me that the executable ends up in the wrong place. I'll show some basic directory structure, then...

Raspberry Pi 4 OBS Virtual camera

I wrote this bash file, but not working. I think RPI just 32bit and the package what I found 64bit. Do you have any idea, how to find 32bit version of the package or how can I solve the problem? I...

Relevant tags