
Recherche avancée
Autres articles (56)
-
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. -
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 -
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
Sur d’autres sites (10409)
-
ffmpeg not working in google colab
16 août 2018, par Nikhil WaghI’m trying to use Google Colab to do something. Particularly I want to use ffmpeg package to create a video from a image.
But ffmpeg doesn’t seems to be working fine. Here is the link to my notebook : https://colab.research.google.com/drive/1YP-DSRoZO-Afz03tjwPfoxA-Kttm-2vK
The output of this (in the last block) was supposed to be
400 400
instead of0 0
frame_width = int(cap.get(3))
frame_height = int(cap.get(4))
print frame_width, frame_heightThe same code is working fine with Azure notebooks and also on my local machine.
What can be the reason for it ? And how to rectify that ?
-
.h264 c# player with google map [closed]
11 octobre 2014, par pkvasanwant to create media player to play .h264 file in c# along with Google map.
My mobile hardware unit records cctv image in .h264 format the footage also contains GPS data like Location and speed for each frame
I want to design a media player in C# to play the cctv footage which is in .h264 format and also I want to read the GPS data from each frame and embed in Google map to show the location
I wanted following help
1) how to play .h264 file in C#
2) want to read metadata from .h264 file (GPS data)
3) want to embed google map in C# and display location as per the metadata from .h264 file -
ffmpeg : video from images - handling a zero length image file
29 septembre 2021, par BuadhaiI have a shell script which uses ffmpeg to crate a time-lapse video from webcam images. Normally, it works just fine :


/usr/bin/ffmpeg -loglevel info -framerate 4 \
 -pattern_type glob -i $ipath/'*.jpg' \
 -c:v libx264 -crf 30 -y -pix_fmt yuv420p $temp &>>$log



But this chokes if the image is a zero-length file :


-rw-r--r-- 1 pi pi 156636 Sep 29 04:35 image_022.jpg
-rw-r--r-- 1 pi pi 156533 Sep 29 04:35 image_023.jpg
-rw-r--r-- 1 pi pi 159302 Sep 29 04:35 image_024.jpg
-rw-r--r-- 1 pi pi 0 Sep 29 04:35 image_025.jpg
-rw-r--r-- 1 pi pi 157055 Sep 29 04:35 image_026.jpg
-rw-r--r-- 1 pi pi 156851 Sep 29 04:35 image_027.jpg
-rw-r--r-- 1 pi pi 155793 Sep 29 04:35 image_028.jpg
-rw-r--r-- 1 pi pi 160647 Sep 29 04:35 image_029.jpg



In this case the video only included frames up to the zero length JPEG.


I realize I can test the file length of every webcam image, but there must be an easier, more efficient way.


Is there ?