Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Apply different effects to Video
10 octobre 2013, par ishan jainI am creating an application, in which I have to give the option to apply different effects (normal, sepia, black & white, vintage, HD) to the VIDEO. I am creating this application this application for min android 2.3 version. I am thinking of following the flow video -> convert to image frames -> apply effect to frames using some library -> convert frames to video.
Can anyone help me that if above flow is correct or not? And which library I can use for applying effects to the frames or is there any other way to apply the effects?
Thanks
-
FFMPEG installation & configuration with xampp on fedora
10 octobre 2013, par UMII have running Fedora 8, where I have installed XAMPP-Linux. First I installed latest version with Xampp-Linux-1.8.3 including PHP 5.5 from "http://www.apachefriends.org/en/xampp-linux.html".
After setting up everything, tried to install "FFMPEG" from "http://www.nixgurus.com/fedora/installing-ffmpeg-using-yum-on-centos-redhat-fedora/". This is the only guide which gets completed with successful installation and configuration, otherwise all other tried tutorials got leave me middle of nowhere.
Note: While installing FFMPEG following above provided URL, "phpize" did not work to me so I had to install php-devel by running "yum install php-devel" command. I always got different "Zend Module" and "Zend Extension API" versions.
When I installed ffmpeg and put extension in "php.ini" with correct path, it never appeared in phpinfo().
Then after searching, I got a hint that installed "FFMPEG" will not be compatible to the installed PHP version. So I removed complete pack of XAMMP-LINUX and installed old one with Xampp-Linux-1.8.2 including PHP 5.4. But it result were same.
Then, I decided to use more older version and it was Xampp-Linux-1.8.1 including PHP 5.4. Now currently I have this version but having version results are totally changed that after installation of FFMPEG when I put ffmpeg.so with its correct path in PHP.INI (definitely restart the server on every change) server behaves strange way that PHP files get downloaded by browsers and when I comment same line and restart web server everything works well.
Just to let you know that, even I have given path "extension=/usr/lib/php/modules/ffmpeg.so" which did not work and even moved files to default extension path "/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525" as well but in vain.
Looking forward to your help please.
-
how to solve issue for playing mp4 file using ffmpeg ?
10 octobre 2013, par user2841186I get the following error while running the command:
ffprobe.exe -f h264 AndrewFlintoff_Cricket.mp4
error: "Diverting av_*_packet function calls to libavcodec. Recompile to improve performance"
-
Adding picture to video using FFmpeg through android ndk
10 octobre 2013, par Papajohn000I was wondering how you would go about adding a picture to the video at a certain location in the video using ffmpeg and android ndk. I want to the picture to be visable for a couple of seconds so it will need to be added in a loop.
-
avcodec_decode_video2 always sets got_picture_ptr to 0 while using with live555
10 octobre 2013, par Richard MacwanI am trying to decode frames using libavcodec. My applications retrieves rtp packets from on rtsp stream using live555. I have searched quite a lot for reasons of avcodec_decode_video setting got_picture_ptr to 0 but haven't been able to find it.
Can anyone tell me how avcodec_decode_video2 works internally? What reasons might lead the got_picture_ptr pointer to be set to zero? PS: The function does read bytes i.e the return value is always a positive number, not -1. I'm stumped here, any help would be appreciated. I haven't quoted any code since the code to decode using avcodec_decode_video2 is fairly generic and there is nothing special in my code.(I have decoded rtsp streams earlier using libavcodec, just not along with live555)