Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Android concatenating images to video using FFMPEG. Using vanevery/Android-MJPEG-Video-Capture-FFMPEG
4 mai 2014, par MarcinZiolekI'm using vanevery's code from github to join images into movie (JPEG to mp4). I've changed sample code and it is working. But now I want to move this feature to my app and I'm getting this error starting conversion:
V/MJPEG_FFMPEG(27166): ***soinfo_link_image(linker.cpp:1607): missing essential tablesCANNOT LINK EXECUTABLE***
I've copied all the files from assets:
-assets --ffmpeg --libavcodec.so --libavcodec.so.52 --libavcodec.so.52.99.1 --libavcore.so --libavcore.so.0 --libavcore.so.0.16.0 --AND SO ON...
Do I have to compile these files by my self, specific for my project? If yes, I know that there are lots of tutorials to make ffmpeg get working on Android but it is really complicated.
Is there a simple method to get it work?
I'm working in Eclipse.
-
ffmpeg batch image generation with multiple images [on hold]
4 mai 2014, par user3597867I'm currently generating images of a video every X seconds (in this case, 1 image every minute). I have a command line that works perfectly, but I would like to make it work on batches of videos as opposed to each video individually. Is this possible? I've used PHP scripts on a batch of videos to generate one image at X seconds, but I'd like more than one image per video.
This is the command line that I use on individual videos:
ffmpeg -i INPUT.mp4 -f image2 -vf fps=fps=1/60 -b:v 64k OUTPUT-%05d.jpg
-
ffmpeg installation on windows 8 xampp v3.2.1 php 5.5.3
4 mai 2014, par user3454835I am trying to install ffmpeg extension on windows 8 xampp v3.2.1 for php 5.5.3.
I have files of ffmpeg and i am doing following steps
- Placing file php_ffmpeg.dll in xampp/php/ext/
- Rest files i am keeping in windows/system32
- I have added extension=php_ffmpeg.dll in php.ini
- Restarted xampp
but when i see php_info then my extension ffmpeg still not enabled.
I think ffmpeg files are not compatible to php 5.5.3. May be i have old files so will you please provide me new and correct ffmpeg files for php 5.5.3
or do you know why i am facing this problem? any solution for this
-
Creating video with multiple audios and one still image with ffmpeg [on hold]
4 mai 2014, par user3601509Hi i want to create many videos with multiples audios and one single picture.
For example i have song1.mp3, song2.mp3, song3.mp3 and one single picture. What i need to do is to create many videos and name that videos as: song1.mp4, song2.mp4, song3.mp4
I want to create many videos at once. Because i have a huge amount of songs and i need a lot of videos with that songs, sorry for my english.
I have this script for only one picture and one mp3, but i need to create bulk videos can you help me? ffmpeg -loop 1 -shortest -r 0.1 -i online.mp3 -i imagen.png -ab 128k output.avi
Many thanks
-
Pipe between two child processes in Node.js ?
4 mai 2014, par Joey MoraniI'm trying to capture video using FFmpeg with Node.js, and send it to a browser via websockets for playing using the MediaSource API. What I have so far works in Firefox but doesn't decode properly in Chrome. Apparently, from reading this question I need to use the sample_muxer program to ensure each 'cluster' starts with a keyframe.
Here's the code I'm using:
var ffmpeg = child_process.spawn("ffmpeg",[ "-y", "-r", "30", "-f","dshow", "-i","video=FFsource:audio=Stereo Mix (Realtek High Definition Audio)", "-vcodec", "libvpx", "-acodec", "libvorbis", "-threads", "0", "-b:v", "3300k", "-keyint_min", "150", "-g", "150", "-f", "webm", "-" // Output to STDOUT ]); ffmpeg.stdout.on('data', function(data) { //socket.send(data); // Just sending the FFmpeg clusters works with Firefox's // implementation of the MediaSource API. No joy with Chrome. // - - - This is the part that doesn't work - - - var muxer = child_process.spawn("sample_muxer",[ "-i", data, // This isn't correct... "-o", "-" // Output to STDOUT ]); muxer.stdout.on('data', function(muxdata) { socket.send(muxdata); // Send the cluster }); }); ffmpeg.stderr.on('data', function (data) { console.log("" + data); // Output to console });
Obviously I'm not piping it correctly and I'm unsure how I would while also including the arguments. Appreciate any help getting this working. Thanks!