
Recherche avancée
Autres articles (80)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site
Sur d’autres sites (4993)
-
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! -
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. -
Getting ffprobe or avprobe not found while using youtube_dl module
26 décembre 2016, par Avinashimport youtube_dl
options = {
'format':'bestaudio/best',
'extractaudio':True,
'audioformat': 'mp3',
'outtmpl':'%(id)s.%(ext)s',
'noplaylist':True,
'nocheckcertificate':True,
'postprocessors': [{
'key': 'FFmpegExtractAudio',
'preferredcodec': 'mp3',
'preferredquality': '192',
}],
}
with youtube_dl.YoutubeDL(options) as ydl:
ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])I am Getting
"youtube_dl.utils.DownloadError : ERROR : ffprobe or avprobe not found.
Please install one."I downloaded ffmpeg and tried giving its bin folder location in path variable . I also tried copying that bin folder to my youtube_dl package folder. None of them worked.
Thanks in advance.