
Recherche avancée
Autres articles (75)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (9331)
-
avfilter/vf_idet : Fixes issue with idet not flushing last frame.
22 octobre 2014, par Neil Birkbeckavfilter/vf_idet : Fixes issue with idet not flushing last frame.
Uses a similar approach as vf_yadif to flush the last frame in idet.
Quick test with 50 frames from vsynth1 :
./ffmpeg.old -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1 | grep Multi
(gives) [Parsed_idet_0 @ 0x261ebb0] Multi frame detection : TFF:0 BFF:0 Progressive:48 Undetermined:1./ffmpeg -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1 | grep Multi
(gives) [Parsed_idet_0 @ 0x35a0bb0] Multi frame detection : TFF:0 BFF:0 Progressive:49 Undetermined:1Fate tests have been updated.
(In testing, it seems this filter will also need a subsequent patch for single frame input)
Signed-off-by : Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
Revision 00a203b7bc : vp10 : move coding of tx_mode element to the non-arithcoded header. See issue 10
8 septembre 2015, par Ronald S. BultjeChanged Paths :
Modify /vp10/decoder/decodeframe.c
Modify /vp10/encoder/bitstream.c
vp10 : move coding of tx_mode element to the non-arithcoded header.See issue 1040 point 3.
Change-Id : If051b92c24a34d6a39861fb7d7180c5ca32f3d82
-
Issue installing OpenCV 3.0.0 on Ubuntu 14.04
26 septembre 2015, par marcmanI’ve been trying to install OpenCV on a Linux machine running Ubuntu 14.04. I’ve installed all of the dependencies that I have come across in tutorials as well as those listed on the OpenCV site. However, I’m pretty new to Linux and the Linux file system, so I wouldn’t be terribly surprised if these issues are related to the installation location or something.
It appears that I am getting an issue with FFMPEG stuff, but I definitely have it installed
dpkg -s libgtk2.0-0 | grep '^Version'
returns
Version: 2.24.23-0ubuntu1.3
I’m not quite sure what the issue is here. Below is the error printout. Most of the lines are pretty much identical (I’m assuming the same issue is causing each of these errors). Although I posted the whole thing below for completeness, you can probably get at the issue from one or two of the errors as well as the last line. For brevity’s sake, here are a sample of the errors :
...
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:738:67: error: 'PIX_FMT_RGB24' was not declared in this scope
avpicture_fill((AVPicture*)&rgb_picture, rgb_picture.data[0], PIX_FMT_RGB24,
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:756:17: error: 'PIX_FMT_BGR24' was not declared in this scope
PIX_FMT_BGR24,
^
...
[ 35%] Built target opencv_photo
make: *** [all] Error 2
$The commands immediately preceding the errors were
$ cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=ON ..
$ make -j4as taken from the tutorial I linked to above.
Entire error printout :
In file included from /usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg.cpp:45:0:
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'void CvCapture_FFMPEG::close()':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:317:36: error: 'avcodec_free_frame' was not declared in this scope
avcodec_free_frame(&picture);
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'bool CvCapture_FFMPEG::open(const char*)':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:632:43: error: 'avcodec_alloc_frame' was not declared in this scope
picture = avcodec_alloc_frame();
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:635:41: error: 'PIX_FMT_BGR24' was not declared in this scope
avpicture_get_size( PIX_FMT_BGR24,
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char**, int*, int*, int*, int*)':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:738:67: error: 'PIX_FMT_RGB24' was not declared in this scope
avpicture_fill((AVPicture*)&rgb_picture, rgb_picture.data[0], PIX_FMT_RGB24,
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:756:17: error: 'PIX_FMT_BGR24' was not declared in this scope
PIX_FMT_BGR24,
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In function 'AVFrame* icv_alloc_picture_FFMPEG(int, int, int, bool)':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1110:35: error: 'avcodec_alloc_frame' was not declared in this scope
picture = avcodec_alloc_frame();
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1113:33: error: 'PixelFormat' was not declared in this scope
size = avpicture_get_size( (PixelFormat) pix_fmt, width, height);
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1122:38: error: expected ')' before 'pix_fmt'
(PixelFormat) pix_fmt, width, height);
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: At global scope:
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1104:18: warning: unused parameter 'pix_fmt' [-Wunused-parameter]
static AVFrame * icv_alloc_picture_FFMPEG(int pix_fmt, int width, int height, bool alloc)
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In function 'AVStream* icv_add_video_stream_FFMPEG(AVFormatContext*, AVCodecID, int, int, int, double, int)':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1230:19: error: 'PixelFormat' was not declared in this scope
c->pix_fmt = (PixelFormat) pixel_format;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1230:32: error: expected ';' before 'pixel_format'
c->pix_fmt = (PixelFormat) pixel_format;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: At global scope:
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1130:18: warning: unused parameter 'pixel_format' [-Wunused-parameter]
static AVStream *icv_add_video_stream_FFMPEG(AVFormatContext *oc,
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'bool CvVideoWriter_FFMPEG::writeFrame(const unsigned char*, int, int, int, int, int)':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1405:26: error: 'PIX_FMT_BGR24' was not declared in this scope
if (input_pix_fmt == PIX_FMT_BGR24) {
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1410:31: error: 'PIX_FMT_GRAY8' was not declared in this scope
else if (input_pix_fmt == PIX_FMT_GRAY8) {
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1423:25: error: 'PixelFormat' was not declared in this scope
(PixelFormat)input_pix_fmt, width, height);
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1429:59: error: expected ')' before 'input_pix_fmt'
(PixelFormat)input_pix_fmt,
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1447:25: error: 'PixelFormat' was not declared in this scope
(PixelFormat)input_pix_fmt, width, height);
^
In file included from /usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg.cpp:45:0:
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, bool)':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1604:25: error: 'PIX_FMT_BGR24' was not declared in this scope
input_pix_fmt = PIX_FMT_BGR24;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1607:25: error: 'PIX_FMT_GRAY8' was not declared in this scope
input_pix_fmt = PIX_FMT_GRAY8;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1683:25: error: 'PIX_FMT_YUV422P' was not declared in this scope
codec_pix_fmt = PIX_FMT_YUV422P;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1687:25: error: 'PIX_FMT_YUVJ420P' was not declared in this scope
codec_pix_fmt = PIX_FMT_YUVJ420P;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1691:42: error: 'PIX_FMT_GRAY8' was not declared in this scope
codec_pix_fmt = input_pix_fmt == PIX_FMT_GRAY8 ||
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1692:42: error: 'PIX_FMT_GRAY16LE' was not declared in this scope
input_pix_fmt == PIX_FMT_GRAY16LE ||
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1693:42: error: 'PIX_FMT_GRAY16BE' was not declared in this scope
input_pix_fmt == PIX_FMT_GRAY16BE ? input_pix_fmt : PIX_FMT_YUV420P;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1693:77: error: 'PIX_FMT_YUV420P' was not declared in this scope
input_pix_fmt == PIX_FMT_GRAY16BE ? input_pix_fmt : PIX_FMT_YUV420P;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: At global scope:
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1922:119: error: 'PixelFormat' has not been declared
static AVStream* addVideoStream(AVFormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, PixelFormat pixel_format);
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1969:134: error: 'PixelFormat' has not been declared
AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, PixelFormat pixel_format)
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In static member function 'static AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext*, AVCodecID, int, int, int, double, int)':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2047:16: error: invalid conversion from 'int' to 'AVPixelFormat' [-fpermissive]
c->pix_fmt = pixel_format;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'bool OutputMediaStream_FFMPEG::open(const char*, int, int, double)':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2107:5: error: 'PixelFormat' was not declared in this scope
PixelFormat codec_pix_fmt = PIX_FMT_YUV420P;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2107:17: error: expected ';' before 'codec_pix_fmt'
PixelFormat codec_pix_fmt = PIX_FMT_YUV420P;
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2111:99: error: 'codec_pix_fmt' was not declared in this scope
video_st_ = addVideoStream(oc_, codec_id, width, height, width * height * bitrate_scale, fps, codec_pix_fmt);
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'bool InputMediaStream_FFMPEG::open(const char*, int*, int*, int*, int*)':
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2316:18: error: 'PIX_FMT_YUV420P' was not declared in this scope
case PIX_FMT_YUV420P:
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2320:18: error: 'PIX_FMT_YUV422P' was not declared in this scope
case PIX_FMT_YUV422P:
^
/usr/opencv-3.0.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2324:18: error: 'PIX_FMT_YUV444P' was not declared in this scope
case PIX_FMT_YUV444P:
^
make[2]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 35%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/align.cpp.o
make[1]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 35%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning_impl.cpp.o
[ 35%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/hdr_common.cpp.o
[ 35%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/opencl_kernels_photo.cpp.o
Linking CXX shared library ../../lib/libopencv_photo.so
[ 35%] Built target opencv_photo
make: *** [all] Error 2Any insight is greatly appreciated !