
Recherche avancée
Autres articles (60)
-
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. -
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 -
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 (5079)
-
How to get the width of video files stored in aws s3 using django ?
15 novembre 2020, par Anshul SinghI tried the python subprocess module to run FFmpeg commands but apart from two images stored in the s3 bucket, it is giving me an error : No such file or directory in spite of the fact that the video files are present in the same directory as the image.


import subprocess
from storages.backends.s3boto3 import S3Boto3Storage

s3 = S3Boto3Storage()
f = s3.open('path/to/file','r')
cmnd = ['ffprobe','-v','error','-of','flat=s=_ ','-select_streams','v:0','-show_entries','stream=width','-pretty', '-loglevel', 'quiet', file.name]
p = subprocess.Popen(cmnd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()
print(out)



Output :




b''




print(err)



Output :




b'ffmpeg version N-54874-ga1553b0cfb-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers\n built with gcc 8 (Debian 8.3.0-6)\n configuration : —enable-gpl —enable-version3 —enable-static —disable-debug —disable-ffplay —disable-indev=sndio —disable-outdev=sndio —cc=gcc —enable-fontconfig —enable-frei0r —enable-gnutls —enable-gmp —enable-libgme —enable-gray —enable-libfribidi —enable-libass —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-librubberband —enable-libsoxr —enable-libspeex —enable-libsrt —enable-libvorbis —enable-libopus —enable-libtheora —enable-libvidstab —enable-libvo-amrwbenc —enable-libvpx —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libxvid —enable-libzimg\n libavutil ......... "path/to/file" : No such file or directory\n'




I performed this by sshing into my ec2 instance and opening the python shell there. I don't understand what's wrong. I thought maybe size was an issue. So I uploaded a small size image to the s3 bucket but the same thing happened.


-
Your introduction to personally identifiable information : What is PII ?
-
CJEU rules US cloud servers don’t comply with GDPR and what this means for web analytics
17 juillet 2020, par Jake Thornton