
Recherche avancée
Autres articles (109)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.
Sur d’autres sites (13986)
-
Mingw-w64 - printf does not work
27 décembre 2013, par Gosha U.First I wanted to modificate ffplay according to my requirments. Then I noticed that original ffplay from my build can't play some video files, but it didn't write any message to console. Then I noticed that ffmpeg also don't write any usage message when I run it without params. But it works. If I run it from terminal it's like running asynchronously ! The terminal just shows next row. I mean it asks for a next command. But the
ffmpeg
process is visible in task manager and it writes the output video file what I had requested !I created following souce file. I have modified the Makefile. So it have built the exe-file works just the same way. I have no idea how it can be.
#include
#include "cmdutils.h"
const char program_name[] = "hello";
const int program_birth_year = 2013;
void show_help_default(const char *opt, const char *arg)
{
printf("zxcvbnm\n");
}
int main(int argc, char **argv)
{
printf("1234567890\n");
return 0;
}And after that I created real hello world app with MinGW-w64 and qmake without eny extra libs. And its printf does not work.
I want to prevent this behavior.
I want to make printf working in traditional manner.
How I build FFmpeg :
PKG_CONFIG_PATH=/home/developer/workspace/MinGW32fs/lib/pkgconfig/ \
SDL_CONFIG=/home/developer/workspace/MinGW32fs/bin/sdl-config \
./configure \
--prefix=/home/developer/workspace/MinGW32fs \
--extra-ldflags="-L/home/developer/workspace/MinGW32fs/lib" \
--extra-cflags="-I/home/developer/workspace/MinGW32fs/include" \
--arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- \
--pkg-config=pkg-config --enable-libtheora --enable-libvorbis --enable-libvpx \
--enable-outdev=sdl --enable-shared --disable-static \
--disable-doc --disable-manpages --disable-podpages
make -
vp8 : fix PPC assembly and bilinear C code to work if src_stride != dst_stride.
23 septembre 2013, par Ronald S. Bultje -
Cannot get ffmpeg2.3.3 to work with Opencv2.4.9
6 septembre 2014, par Siddharthan P RI need to open a video file in opencv2.4.9. I used the following code and I got the output :
!!! Sorry cant find the video file !!!.So I figured I need to install ffmpeg first then install opencv.
So I Uninstalled opencv and ffmpeg then tried to install ffmpeg 2.3.3 properly.
Here are the methods i tried to install ffmpeg.Method 1 :
sudo apt-get install ffmpeg.Method 2 :
Download (HTTP) : http://ffmpeg.org/releases/ffmpeg-2.3.3.tar.bz2Then i typed the following in the terminal after cd to the extracted folder.
sed -i 's/-lflite"/-lflite -lasound"/' configure &&
./configure --prefix=/usr \
--enable-gpl \
--enable-version3 \
--enable-nonfree \
--disable-static \
--enable-shared \
--disable-debug \
--enable-libass \
--enable-libfdk-aac \
--enable-libmp3lame \
--enable-libtheora \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-x11grab &&
make &&
gcc tools/qt-faststart.c -o tools/qt-faststartThough Method 1 works fine (in just installing ffmpeg), the problem with Method 1 is that i cannot use "./configure —enable-shared" anywhere because i cannot locate the file "configure".
The problem with method 2 is that it says
-ERROR: libass not found, after installing libass it says
-ERROR: libfdk-aac-0.1.3 not found, then
-ERROR: lame-3.8 not found, then
-ERROR: libtheora not found, here i really got tired of installing all these packages. I stopped.I am really confused how to pull this off : with Method 1 or Method 2 (both seem not to work ). Can i change the ./ configure using method 1 ?
Any help would be greatly appreciated.
#include
#include
int main(int argc, char** argv)
{
cvNamedWindow("xample2", CV_WINDOW_AUTOSIZE);
CvCapture* capture = cvCreateFileCapture( "1.mp4" );
if (!capture)
{
std::cout << "!!! Sorry cant find the video file !!!\n";
return -1;
}
IplImage* frame;
while (1)
{
frame = cvQueryFrame(capture);
if(!frame)
break;
cvShowImage("xample2", frame);
char c = cvWaitKey(33);
if (c == 27)
break;
}
cvReleaseCapture(&capture);
cvDestroyWindow("xample2");
}