
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 (58)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (8901)
-
it's hang when using av_interleaved_write_frame
19 avril 2018, par Eric NguyenI use the ffmpeg to stream the encoded video.
when it is streaming, it plug out the internet cable, it means connection to the serve is lost.
the video is hangs, i can not handle after that. i see the reason that it is hang at av_interleaved_write_frame(), the function doesn’t return result or any error, it hangs forever at there.Anyone see that issue, and Can you help me to fix that bug.
Thanks. -
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 ?
-
Does the "live=1" on ffmpeg rtmp urls mean that the stream is live and you cannot rewind or pause it ?
23 octobre 2014, par user306517Or does it have some other meaning ? I have searched all over the internet, and the documentation is very thin on it... If someone could point me to something that explains exactly what it is, I would appreciate it.
I am talking about this :
ffmpeg "rtmp ://...... live=1" .....
tia.