
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (63)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9507)
-
CEFSharp proprietary codecs support
8 mars 2015, par CitrusI got an issue with CEFSharp which is chromium embeddable framework wrapper for C#.NET. I need to make proprietary codecs available for a project (H.264/MP4 to be specific). After some google-fu I’ve found that I must set the use_proprietary_codecs to true in the cef.gyp(i) file, but the problem is, that I’ve got this stuff from NuGet and there aren’t any cef.gyp(i) files. I need this library badly to have the codec support, else we must rewrite 5 months of work completely, which isn’t clearly an option. Thanks for any help !
-
Problems when make ffmpeg with ios5.1
20 octobre 2012, par whyI am using https://github.com/lajos/iFrameExtractor and there is ffmpeg directory.
I can configure and make successful, but there some errors when run
./build_universal
libavformat/metadata_compat.c: In function ‘ff_metadata_mux_compat’:
libavformat/metadata_compat.c:129: warning: the address of ‘number’ will always evaluate as ‘true’
libavformat/metadata_compat.c:130: warning: the address of ‘number’ will always evaluate as ‘true’
/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavformat/options.d -MT libavformat/options.o -c -o libavformat/options.o libavformat/options.c
/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavformat/os_support.d -MT libavformat/os_support.o -c -o libavformat/os_support.o libavformat/os_support.c
libavformat/os_support.c: In function ‘resolve_host’:
libavformat/os_support.c:68: warning: implicit declaration of function ‘inet_aton’
/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavformat/sdp.d -MT libavformat/sdp.o -c -o libavformat/sdp.o libavformat/sdp.c
/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavformat/seek.d -MT libavformat/seek.o -c -o libavformat/seek.o libavformat/seek.c
/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavformat/utils.d -MT libavformat/utils.o -c -o libavformat/utils.o libavformat/utils.c
libavformat/utils.c: In function ‘parse_date’:
libavformat/utils.c:3100: warning: cast discards qualifiers from pointer target type
/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavformat/avio.d -MT libavformat/avio.o -c -o libavformat/avio.o libavformat/avio.c
/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/why/work/iFrameExtractor/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -fomit-frame-pointer -fPIC -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavformat/aviobuf.d -MT libavformat/aviobuf.o -c -o libavformat/aviobuf.o libavformat/aviobuf.c
libavformat/aviobuf.c: In function ‘url_fdopen’:
libavformat/aviobuf.c:560: warning: passing argument 6 of ‘init_put_byte’ from incompatible pointer type
libavformat/aviobuf.c:560: warning: passing argument 7 of ‘init_put_byte’ from incompatible pointer type
libavformat/aviobuf.c:560: warning: passing argument 8 of ‘init_put_byte’ from incompatible pointer type
/var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/T//cc7qLhBK.s:2662:no such instruction: `eor %ecx, %eax,%eax,ror'
/var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/T//cc7qLhBK.s:2663:no such instruction: `bic %ecx, %ecx,'
/var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/T//cc7qLhBK.s:2664:suffix or operands invalid for `mov'
/var/folders/59/7srh1dk537s3hr4b2_4k1nxr0000gn/T//cc7qLhBK.s:2665:no such instruction: `eor %eax, %eax,%ecx,lsr'
make: *** [libavformat/aviobuf.o] Error 1
mv: rename libavcodec/libavcodec.a to armv7/libavcodec.a: No such file or directory
mv: rename libavformat/libavformat.a to armv7/libavformat.a: No such file or directory
mv: rename libavutil/libavutil.a to armv7/libavutil.a: No such file or directory
mv: rename libswscale/libswscale.a to armv7/libswscale.a: No such file or directory
rm: No match.
rm: No match.
lipo: can't open input file: armv7/libavcodec.a (No such file or directory)
lipo: specifed architecture type (armv7) for file (armv7/libavdevice.a) does not match its cputype (16777223) and cpusubtype (3) (should be cputype (12) and cpusubtype (9))
lipo: can't open input file: armv7/libavformat.a (No such file or directory)
lipo: can't open input file: armv7/libavutil.a (No such file or directory)
lipo: can't open input file: armv7/libswscale.a (No such file or directory)
cp: No match. -
C++/OpenCV - VideoCapture doesn't work but it worked before with exactly the same code
5 mars 2015, par Damià ObradorI’m trying to write a shot boundary detection algorithm in C++ using OpenCV. After all, I have to say that I have no experience working with OpenCV.
I have been improving the following code (and I am still in it) during the last two weeks and everything seems the works correctly, not in terms of perfect shot detection, but every line of code did what was expected from it.
#include <cstdlib>
#include <opencv2></opencv2>opencv.hpp>
#include <opencv2></opencv2>core/core.hpp>
#include <opencv2></opencv2>video/background_segm.hpp>
#include <opencv2></opencv2>highgui/highgui.hpp>
#include <iostream>
#include <opencv2></opencv2>imgproc/imgproc.hpp>
#include
#include <istream>
#include <fstream>
using namespace cv;
int main(){
VideoCapture capture("vdevendetta.mp4");
if ( !capture.isOpened() )
{
std::cout << "Cannot open the video file";
return -1;
}
int numFrames=capture.get(CV_CAP_PROP_FRAME_COUNT);
bool SB_counter=false;
Mat currentFrame;
Mat frame;
Mat fore;
Mat back;
vector<mat> frames;
FileStorage file;
FileStorage file2;
Mat prev_Y;
Mat channels[3];
for(int i=0;i>currentFrame;
frame=currentFrame.clone();
cvtColor(frame,frame,CV_BGR2YUV);
split( frame, channels );
prev_Y=channels[0];
SB_counter=false;
}
else
{
capture>>currentFrame;
frame=currentFrame.clone();
Mat channels[3];
cvtColor(frame,frame,CV_BGR2YUV);
split( frame, channels );
Mat curr_Y=channels[0];
channels[0]=prev_Y;
prev_Y=curr_Y;
merge(channels,3,frame);
cvtColor(frame,frame,CV_Luv2BGR);
cvtColor(frame,frame,CV_BGR2GRAY);
frames.push_back(frame);
}
}
vector<double> MAFDs;
vector<double> MAFD;
vector<double> aux;
double min;
double min2;
for(int j=1;j14)
{
std::cout<<"De"<*
std::ofstream fout("MAFD.txt");
if(fout.is_open()==true)
{
//file opened successfully so we are here
std::cout << "File Opened successfully!!!. Writing data from array to file" << std::endl;
for(int i = 0; MAFD[i] != '\0'; i++)
{
fout << MAFD[i]; //writing ith character of array in the file
}
std::cout << "Array data successfully saved into the file test.txt" << std::endl;
}
else //file could not be opened
{
std::cout << "File could not be opened." << std::endl;
}*/
return 0;
}
</double></double></double></mat></fstream></istream></iostream></cstdlib>Three days ago I had an strange problem. The line :
VideoCapture capture("vdevendetta.mp4");
stopped working. I spent many hours looking for the solution but nothing seems to repair it. After reading everything related with OpenCV, VideoCapture and ffmpeg that I found on internet I decided to reinstall everything taking care of each detail, but it still didn’t work. Finally I solved it changing the line with this other one :
VideoCapture capture("/home/damia/Documentos/Universitat/ARA/PAEAV/workspace_cpp/SBD/src/vdevendetta.mp4");
I did not know why this solved it because the video is in the same directory than the program, but I continued working because everything seemed correct.
Today I had the same problem again on the new line.
The terminal doesn’t show any error comment (exceptuating "Cannot open the video file", obviously) but the code doesn’t work again.I’m using Ubuntu 14.04 LTS, OpenCV 2.4.9 and Eclipse.
I think if someone test the code it will run correctly, but I would like to know if there is something I have no taking into account.
Thank you very match.