Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Android NDK : How to link FFMPEG libraries with CPP files ?
2 décembre 2011, par AlexI'm building with Android NDK as follows:
I have a CPP file in which I have something like
extern "C" { #include }
CMyClass::MyFunc() { av_register_all(); }
I link it with static FFMPEG libraries which I've built separately using the procedure described elsewhere.
It gives me
undefined reference av_register_all()
error.When in the same file I have, instead, something like
extern "C" void func() { av_register_all(); }
everything links and works fine.
So, how do I link FFMPEG libs with cpp files in Android?
-
Which FFmpeg codec should be used for video streams with single byte pixel format ?
2 décembre 2011, par Gearoid MurphyI've got a black and white video stream coming off a Firewire astronomy camera, I'd like to use FFmpeg to compress the video stream but it will not accept single byte pixel formats for the MPEG1VIDEO codecs. I've been trying random codecs for the last hour without much success, could anyone give me some sage advise on how to achieve my goal? :) thx
-
Starting multiple ffmpeg instances
2 décembre 2011, par Julian GardnerNew to linux and having problems.
I am trying to setup a system that will allow me to start multiple ffmpegs to convert live TV so I can archive certain programs. The source is a few TV cards which means I can encode multiple streams at the same time. The PC is an i7 8 core.
I have tried to write a program that uses threads to start multiple ffmpegs and capture all the ffmpeg messages so I can watch the time elapsed, and when this hits a predetermined time stops the task and ffmpeg and then waits for the next scheduled recording, but I'm stuck on the capture of the ffmpeg output.
-
ffmpeg multiple instances
2 décembre 2011, par Julian GardnerNew to linux and having problems.
I am trying to setup a system that will allow me to start multiple ffmpegs to convert live tv so I can archive certain programs. The source is a few tv cards which means I can encode multiple streams at the same time, pc is an i7 8 core.
I have tried to write a program that uses threads to start multiple ffmpegs and capture all the ffmpeg messages so I can watch the time elapsed, and when this hits a predetermined time stops the task and ffmpeg and then waits for the next scheduled recording, but I'm stuck on the capture of the ffmpeg output.
-
ffmpeg read filesize
2 décembre 2011, par assafI use ffmpeg to convert a video file uploaded via an ASPX web page.
ffmpeg
conversion works fine.I want to provide the end-user a progress bar. So I placed an updatPanel on my web page and tried to read the file size ...
- using fileinfo : ffmpeg freeze
- using [process.start()] cmd.exe /c dir : ffmpeg freeze
- using filestream : error ->> file is used by another process
- using ffmpeg -i X Y 2> log.txt : log is created only when conversion completed
Whats the proper/working way to do this?