
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (35)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (6511)
-
Error in code .. need correction
3 avril 2014, par AshalI'm suffering to install space time interest point in human action detection.
I downloaded stip for Linux.but cannot install that.please give me step by step procedure for run stip.
-
Why is recording webcam with FFmpeg much faster with an input format ?
29 juin 2021, par AlterQuestion is the title


It's a basic question, but one that I can't find clearly answered in google or the documentation, which says :




If you specify the input format and device then ffmpeg can grab video and audio directly.




This isn't explicit enough for a beginner like me and raises other questions. What does ffmpeg do when the input format isn't specified and why is it so slow ? If ffmpeg can figure out the encoding, doesn't it just do so once ?


Examples


For completeness... I'm using an Rasperry Pi 4 with a Picamera2 to record 1080p


With input format, I get the full 30fps :
ffmpeg -input_format h264 -i /dev/video0 -codec h264_v4l2m2m test.h264


Without the input format, I get about 5fps :
ffmpeg -i /dev/video0 -codec h264_v4l2m2m test.h264


Note : it will run without the hardware acceleration option
-codec h264_v4l2m2m
but doesn't reach the full 30fps

Formats


In response to @llogan's comment, the output of
v4l2-ctl --list-formats-ext
is :

ioctl: VIDIOC_ENUM_FMT
 Type: Video Capture

 [0]: 'YU12' (Planar YUV 4:2:0)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [1]: 'YUYV' (YUYV 4:2:2)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [2]: 'RGB3' (24-bit RGB 8-8-8)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [3]: 'JPEG' (JFIF JPEG, compressed)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [4]: 'H264' (H.264, compressed)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [5]: 'MJPG' (Motion-JPEG, compressed)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [6]: 'YVYU' (YVYU 4:2:2)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [7]: 'VYUY' (VYUY 4:2:2)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [8]: 'UYVY' (UYVY 4:2:2)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [9]: 'NV12' (Y/CbCr 4:2:0)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [10]: 'BGR3' (24-bit BGR 8-8-8)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [11]: 'YV12' (Planar YVU 4:2:0)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [12]: 'NV21' (Y/CrCb 4:2:0)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2
 [13]: 'RX24' (32-bit XBGR 8-8-8-8)
 Size: Stepwise 32x32 - 2592x1944 with step 2/2



-
pip installation failure of pyAV with exit status 1181
11 février 2020, par Kesar MurthyI am having trouble installing PyAV through pip. First it required me to download Microsoft Visual C++ Build Tools
building 'av.buffer' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/and when I did install this, I get the following error
LINK : fatal error LNK1181: cannot open input file 'avcodec.lib'
error: command 'C:\\Users\\Kesar\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\link.exe' failed with exit status 1181I even tried to build PyAV from source, but the same problem persists. How do I solve this ?