
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (90)
-
À propos des documents
21 juin 2013, parQue faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
Document bloqué en file d’attente ?
Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (13594)
-
Capturing Clear Stills from H264 Stream
22 octobre 2013, par David FindlayI'm trying to capture still images from a H264 wireless IP camera using FFMPEG. I found a similar question here : How can I extract a good quality JPEG image from an H264 video file with ffmpeg ?
ffmpeg -y -i rtsp://10.2.69.201:554/ch0_0.h264 -r 10 -f image2 /var/www/camera.jpg
I've implemented it as shown in that example. You can see a sample of the image I'm getting here : http://storm.woodypointcomms.com.au/camera.jpg. Basically the issue is the bottom part of the image is always blocky. If the sky has more detail and clouds the whole bottom half of the image may be blocky or blurry.
My camera has limited stream options. One of which is I-Frame interval, you can vary it between 25-100 kbps.
Does anyone have some suggestions about how I can get a better image ?
-
Ffmpeg-Build : Error during build
13 mars 2014, par talhamalik22I am building ffmpeg and stuck in an unusual spot. Inside libavutil we have float_dsp.h and float_dsp.c files. Inside these file there is a declaration of a methond which is :
void (*butterflies_float)(float *av_restrict v1, float *av_restrict v2, int len);
float (*scalarproduct_float)(const float *v1, const float *v2, int len);when building and compiling this file i get this error and have no idea what to do. I think problem is somewhere else but again have no idea at all. Error is
jni/ffmpeg/libavcodec/../libavutil/float_dsp.h:150: error: expected ';', ',' or ')' before 'v1'
jni/ffmpeg/libavcodec/../libavutil/float_dsp.h:161: error: expected ';' before 'float'Anybody who wants to help please take a step forward because i have not really got any support on ffmpeg during couple of weeks now.
Regards
-
cant install ffpmeg- php on centos 5.7 [closed]
13 avril 2012, par Hosseini have already installed ffmpeg on my centos 5.7, but whenever i try to install ffmpeg-php i fail to do it . everytime i get to the make section i get these errors :
/bin/sh /usr/src/ffmphp/ffmpeg-php-0.6.0/libtool --mode=compile cc -I. -I/usr/src/ffmphp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/src/ffmphp/ffmpeg-php-0.6.0/include -I/usr/src/ffmphp/ffmpeg-php-0.6.0/main -I/usr/src/ffmphp/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c -o ffmpeg_frame.lo
cc -I. -I/usr/src/ffmphp/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/src/ffmphp/ffmpeg-php-0.6.0/include -I/usr/src/ffmphp/ffmpeg-php-0.6.0/main -I/usr/src/ffmphp/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c -fPIC -DPIC -o .libs/ffmpeg_frame.o
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:50:1: warning: "/*" within comment
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ffmpeg_frame_class_entry'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ffmpeg_frame_class_methods'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:145: error: expected ')' before '*' token
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:160: error: expected ')' before '*' token
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function 'register_ffmpeg_frame_class':
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:173: warning: implicit declaration of function 'TSRMLS_FETCH'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:175: warning: implicit declaration of function 'zend_register_list_destructors_ex'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:175: error: '_php_free_ffmpeg_frame' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:175: error: (Each undeclared identifier is reported only once
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:175: error: for each function it appears in.)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:176: error: 'NULL' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:178: warning: implicit declaration of function 'INIT_CLASS_ENTRY'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:178: error: 'ffmpeg_frame_class_entry' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:179: error: 'ffmpeg_frame_class_methods' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:182: error: 'ffmpeg_frame_class_entry_ptr' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:183: warning: implicit declaration of function 'zend_register_internal_class'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:183: error: expected ')' before 'TSRMLS_CC'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c: At top level:
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:190: error: expected ')' before '*' token
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:446: warning: return type defaults to 'int'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function 'FFMPEG_PHP_METHOD':
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:447: error: 'ff_frame_context' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:447: error: 'ff_frame' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:449: warning: implicit declaration of function 'GET_FRAME_RESOURCE'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:449: warning: implicit declaration of function 'getThis'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:451: warning: implicit declaration of function 'RETURN_DOUBLE'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:451: error: 'AV_TIME_BASE' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c: At top level:
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:459: warning: return type defaults to 'int'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:459: error: redefinition of 'FFMPEG_PHP_METHOD'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:446: error: previous definition of 'FFMPEG_PHP_METHOD' was here
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function 'FFMPEG_PHP_METHOD':
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:460: error: 'ff_frame_context' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:460: error: 'ff_frame' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:464: warning: implicit declaration of function 'RETURN_LONG'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c: At top level:
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:472: warning: return type defaults to 'int'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:472: error: redefinition of 'FFMPEG_PHP_METHOD'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:446: error: previous definition of 'FFMPEG_PHP_METHOD' was here
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function 'FFMPEG_PHP_METHOD':
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:473: error: 'ff_frame_context' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:473: error: 'ff_frame' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c: At top level:
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:485: warning: return type defaults to 'int'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:485: error: redefinition of 'FFMPEG_PHP_METHOD'
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:446: error: previous definition of 'FFMPEG_PHP_METHOD' was here
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function 'FFMPEG_PHP_METHOD':
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:486: error: 'ff_frame_context' undeclared (first use in this function)
/usr/src/ffmphp/ffmpeg-php-0.6.0/ffmpeg_frame.c:486: error: 'ff_frame' undeclared (first use in this function)
make: *** [ffmpeg_frame.lo] Error 1i read that if i get the
make: *** [ffmpeg_frame.lo] Error 1
error , i replace all *PIX_FMT_RGBA32* with *PIX_FMT_RGB32* inside *ffmpeg_frame.c*. but when i search the file , there is no *PIX_FMT_RGBA32* . there are all PIX_FMT_RGB32 ! .
so i have no idea what is wrong with it .
can anyone please help me get this going ?
Thanks in advance
Edited :
Thanks to God , i finally found the cause of the problem .
when i was trying to replace PIX_FMT_RGBA32 with PIX_FMT_RGB32 inside ffmpeg_frame.c* using VI i mistakenly messed the source code (the ffmpeg_frame.c) and removed a comment sign (*/ ) and that messed just everything :)
i re extracted all files and then replaced all PIX_FMT_RGBA32 with PIX_FMT_RGB32 and everything compiles just fine :)