
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (75)
-
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 -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (7297)
-
ffmpeg prevents access to page while processing
30 juin 2013, par KalI am having trouble accessing my page after calling ffmpeg. I can't access the page until the ffmpeg finishes processing the files.
I have a php create.php that calls videoHandler.php via ajax to create video files.
create.php
function createReady(){
$.ajax({
url: '/videoHandler', //server script to process data
type: 'POST',
async: true,
success: function(result) {
}
});
window.location.href = "/create";
}videoHandler.php
$ffmpegpath = "c:/ffmpeg"; $input = "hd_file.mp4"; $ouput = "out_480.mp4";
$exec_string = "$ffmpegpath -i $input -vcodec libx264 -b 250k -c:a libvo_aacenc -b:a 128k $output";
$output = "out_680.mp4";
$exec_string = "$ffmpegpath -i $input -vcodec libx264 -b 500k -c:a libvo_aacenc -b:a 128k $output";hd_file.mp4 size is about 500Mb
Is there a command that forces ffmpeg to work async. or any solution to my issue ?
-
Debugging in Visual Studio without Pdb files (C++ Access Voilation)
2 décembre 2016, par Prakash MI built OpenCV binaries(.dll) using Cmake & visual studio which generated .pdb file which helped me to find the issue in code (Partially !)
How this Crash is being caused. .
I’m using a software with which we can set internet download speed limit (transfer rate) for any particular program.Now if i connect IP camera to the code below, i noticed that my app needs around 100Kb/s of internet usage (transfer rate) - only then i can watch live stream seamlessly.
Lets say i cut down (set) my application internet usage to 10Kb/s [This is the reason behind crash]
in this case, i should be able to see a new frame once in 4+ seconds.I’m getting access violation error probably because (
cap>>img;
) cap is trying to reach a location in ram & get the frame but there is no frame YET because its still being downloaded due to low internet speed.
Clearly the pointer is reaching some location in ram to grab a frame which is not yet present.Some interesting behaviour . . .
Void OpenCamera()
{
VideoCapture cap("http://192.168.1.3:8080/video?x.xmjpeg");
Mat img;
while(true)
{
try
{
if(cap.isOpened()) //also tried grab + retrieve, crashes at grab
cap>>img; //code crashes here
}
catch(...)
{
cout<<"Camera Disconnected"<code>If i use the entire code in same class (within same header file), there is no problem at all(new frame is displayed after 4+ seconds without crashing the program) but if i put the code into a separate class(different header file), then call the function to open camera from a class object, then it crashes if internet speed is cut down.
weird behavior - if i debug step by step, it never crashes !when i build opencv library with ffmpeg , i get .pdb file only for opencv (opencv_world310.pdb)- so no issue debugging using call stack
but i do not get pdb for ffmpeg (because Opencv_ffmpeg.dll is precompiled and that is where its crashing)hence its getting hard to debug, building ffmpeg doesn’t produce pdb file cause its built using MSYS
so is it possible to debug with what we have ?I’m including snapshot from visual studio debugging,
some of the variables that will help in understanding :typedef int (*CvGrabFrame_Plugin)( void* capture_handle ); [cap_ffmpeg_api.cpp]
protected: void* ffmpegCapture; [cap_ffmpeg.cpp]
static CvGrabFrame_Plugin icvGrabFrame_FFMPEG_p = 0; [cap_ffmpeg.cpp]Exception thrown at 0x0A0AF6F0 (opencv_ffmpeg310.dll) in Sample.exe :
0xC0000005 : Access violation reading location 0x00000020. If there is
a handler for this exception, the program may be safely continued.in source code i included below line & compiled & used it in project - didn’t work, crashed again !
if(ffmpegCapture)
- null pointer checkcan we make some changes at line 214 in [cap_ffmpeg.cpp] to avoid crash ?
other header files are just one folder up.Update : I noticed that program crashes immediately when i limit internet consumption speed. I’m using C++/Cli(winforms, target dot net Framework = 4.6), i have CameraClass (in separate header file) & main function in (separate header file)
Main function has below codeCameraClass ^CC = gcnew CameraClass();
CC->OpenCamera();Some clash between .net memory handling & C++ memory handling ?
-
Revision 148c57d231 : Merge "Fix invalid memory access on 2x downscale."
24 septembre 2014, par Yaowu XuChanged Paths :
Modify /vp9/common/vp9_reconinter.c
Merge "Fix invalid memory access on 2x downscale."