Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
ffmpeg converting multiple audio formats to mp3
16 janvier 2012, par AndrewI was wondering how can I convert multiple audio formats, i.e. wav, aac, m4a to mp3 at once with ffmpeg and php (not ffmpeg-php)?
So if this:
ffmpeg -i son_origine.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 son_final.mp3
Converts wav to mp3, how can I add multiple extensions in there?
-
ff-mpeg on GoDaddy
14 janvier 2012, par Mykhas' KobernykI want ff-mpeg module for creating screenshot from users video-files.Do GoDaddy give this php module to their users? How can I get it there? Maybe, I can use something another with better support (I'm talking about module, not about hosting yet)?
-
FFMPEG API (compiling with specific formats)
14 janvier 2012, par JS.I am trying to compile FFMPEG to support a single video type (*.mp4).
I have everything working when I compile for all, but I do not want the extra over-head when I will only use a single format.
Here's my compile FLAGS now (non-working for MP4). I am sure there are other codecs/decoders I need to specifically enable, but am just having a hard time finding them.
Compiler directives showing the build flags below:
FLAGS="$FLAGS --disable-everything" FLAGS="$FLAGS --enable-encoder=mpeg4video" ## This is the question, what all needs enabling?
I just do not know video standards well enough to know exactly which codecs / encoders / etc. to turn on.
av_register_all(); avdevice_register_all(); byteCtx = av_alloc_put_byte(buffer, BUFFER_SIZE, 0, f, ReadFunc, NULL, SeekFunc); if (!byteCtx) { return; } // Open video file (here's the failure, doesn't happen when compiled for all) inputFormat = av_find_input_format("MP4"); if (!inputFormat) { LOGE(ANDROID_LOG_ERROR, "NDK:", "Null inputformat!"); return; }
-
ffmpeg c api for cutting video
13 janvier 2012, par user1148080first thing sorry for my bad english, i'm making an android app that need to get part of a video, the idea is i need a method that get input a video file, start-time, end-time then cutting video from star-time to end-time and output to a new file, i get ffmpeg for android from http://bambuser.com/opensource and able to compile it, integrate with JNI, but now i dont know which ffmpeg's api to use for do the thing a need, any help, example are much appreciated.
-
a simple example of ffmpeg compiled by ndk
13 janvier 2012, par user1074474I am trying to build bampuser taken from http://bambuser.com/opensource by android ndk but its always giving an exception. I am using android sdk on eclipse and running it on Windows OS. I also tried to compile ffmpeg this way but no success yet . my target is to get the ffmpeg compile and use it in my adroid project. I followed all the instruction here http://www.roman10.net/how-to-build-ffmpeg-for-android/ but it seems it needs unix to build it, can I use any special ndk command to run build from a particular file ?because from ffmpeg source code I need to run a specific command other then its usual makefile