
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (55)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
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. -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (7179)
-
VideoCapture always returns False in Python OPENCV [Linux]
7 avril 2017, par Daniyal ShahrokhianEvery time that I use VideoCapture trying to access the frames from a video file, the return value (
ret
) is false. See the sample code below :cap = cv2.VideoCapture('asd.mkv')
vid = []
while True:
ret, img = cap.read()
if not ret: # Always happens
break
vid.append(cv2.resize(img, (171, 128)))I have already tried absolutely everything I could find today by googling, including the OpenCV guide and this long issue on Github. Also, I read some solutions involving moving ffmpeg dll files, but that only was in the case of Windows.
Any ideas ? Because I defenitely ran out of them.
-
VideoCapture always returns False in Python OPENCV [Linux]
26 octobre 2017, par Daniyal ShahrokhianEvery time that I use VideoCapture trying to access the frames from a video file, the return value (
ret
) is false. See the sample code below :cap = cv2.VideoCapture('asd.mkv')
vid = []
while True:
ret, img = cap.read()
if not ret: # Always happens
break
vid.append(cv2.resize(img, (171, 128)))I have already tried absolutely everything I could find today by googling, including the OpenCV guide and this long issue on Github. Also, I read some solutions involving moving ffmpeg dll files, but that only was in the case of Windows.
Any ideas ? Because I defenitely ran out of them.
-
FFmpeg av_read_frame returns a size but no data ?
11 décembre 2013, par tommedI have written some C code to access ffmpeg and wrapped it in a C++/CLI (.NET managed) class. The program fetches a live video stream and extracts frames and converts them to PNG files.
Unfortunately the images that are saved to disk are always black (opening them in Notepad++ shows that they are full of nulls).
I am using the assemblies aformat/codec-55.dll and the development headers and libs for compilation from ffmpeg-20131120-git-e502783-win64-dev. The whole project is compiled using Managed C++ (Cpp/cli) .NET 4.0 for 64-bit.
After some investigation the problem appears to be that av_read_frame fills the AVPacket->size value correctly, but the AVPAcket->data is always null. When the frame is finished (got==1) then the data for the AVFrame is just a matrix of nulls. :(
Here is the code :
Example code (sorry, but it didnt paste well into SO)I think the problem is at line 34 when the packet is returned like so :
Please, how can I get this to work ? What have I done wrong ?