
Recherche avancée
Autres articles (57)
-
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 -
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 (10782)
-
Evolution #4565 (Nouveau) : Traduction des mois ave affdate
2 octobre 2020, par Laurent LefebvreUne petite idée d’évolution :
Traduire le mois dans la langue du site lorsque l’on utilise un formatage de type php date (ex : pour le 2/10/2020, [(#DATE|affdated F Y)] donnerait "2 octobre 2020" sur un site francophone.
-
opencv_ffmpeg module crash (IP Camera)
25 novembre 2016, par Suraksha AjithI’m using IP webcam android app(It converts mobile camera into IP web camera).
I’m running below code in Visual Studio 2015 with OpenCV 3.1.VideoCapture cap; Mat img;
cap.open("http://192.168.0.101:8080/video?x.mjpeg");
while(waitKey(33)!=27)
{
try{
cap>>img; //code crashes here
if(img.empty())
{
cout<<"camera Closed"<code>Getting below error.cIf the internet connection is slow or if the Wi-Fi is disconnected in my android device the program crashes
Error :Exception thrown at 0x0BF2F6F0 (opencv_ffmpeg310.dll) in test.exe :
0xC0000005 : Access violation reading location 0x00000020.If there is a handler for this exception, the program may be safely
continued.even if the code is wrapped within try catch block, it crashes !
Should I use try {} catch (...) block in source file, if yes, then where should I use this ?
I referred this link but did not find the right answer. -
python module ffpyplayer showing or displaying video frames to screen
19 octobre 2016, par user2305443Using python module ffpyplayer, How can I see the frames or get the img object to display or show the video image/frames to the screen ?, in the tutorial that I followed, it seems very simple, it reads the frames and plays oudio but (does not display) any video image or frame to the screen, only if I add the (print img, t) will print the frame info to the screen but not video image is displayed on the screen.
I being following tutorials from : https://pypi.python.org/pypi/ffpyplayer, and here : http://matham.github.io/ffpyplayer/player.html, and searched google but the only relevant results point to the same info, I am somewhat new to programming and python, and so maybe I am missing something that seems to be very simple but I can’t figure it out myself.
I am using : windows 7 64bit, python 2.7.11 32bit.
Any Help will be appreciated thank you very much.
from ffpyplayer.player import MediaPlayer
vid = 'test_video.flv'
player = MediaPlayer(vid)
val = ''
while val != 'eof':
frame, val = player.get_frame()
if val != 'eof' and frame is not None:
img, t = frame
print img, t #This prints the image object
# display img #This does nothing!