
Recherche avancée
Autres articles (47)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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. -
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) (...)
Sur d’autres sites (7286)
-
Merge commit ’4d2d0595cf9dd199c35aefef450952d209a56573’
21 juillet 2014, par Michael Niedermayer -
Visualizing ffmpeg benchmarks
2 avril 2020, par Saurabh P BhandariI have generated benchmarks for comparing two approaches taken for scaling down video files (mp4) using ffmpeg tool.



The benchmarks are logged in this format :



x.mp4 Output_Resolution : 360p

Method : A 

real 0m26.817s
user 1m38.058s
sys 0m0.504s

Method : B, some-parameter-for-B : b1

real 0m26.465s
user 1m42.824s
sys 0m1.111s

Method : B, some-parameter-for-B : b2

real 0m26.236s
user 1m42.194s
sys 0m0.862s

Method : B, some-parameter-for-B : b3

real 0m25.050s
user 1m36.492s
sys 0m0.680s


y.mp4 Output_Resolution : 144p

Method : A 

real 1m9.426s
user 3m38.823s
sys 0m1.353s

Method : B, some-parameter-for-B : b1

real 1m4.956s
user 4m13.764s
sys 0m2.875s

Method : B, some-parameter-for-B : b2

real 1m5.033s
user 4m13.455s
sys 0m2.183s

Method : B, some-parameter-for-B : b3

real 0m25.050s
user 1m36.492s
sys 0m0.680s






I am doing this for multiple video files and multiple resolutions. Lets say I need to visualize the comparison of benchmarks(real time) of method A and method B for given a resolution using bar chart below :






How do I efficiently get the necessary values from the the log and plot them using matplotlib in python ?



(I am more interested in the approach you would take to solve this problem)


-
Running frei0r filters with ffmpeg - "Could not find module 'pixeliz0r'."
4 avril 2016, par ksloanI installed frei0r using homebrew
MacK:tmp kevin$ brew list frei0r
/usr/local/Cellar/frei0r/1.4/include/frei0r.h
/usr/local/Cellar/frei0r/1.4/lib/frei0r-1/ (119 files)
/usr/local/Cellar/frei0r/1.4/lib/pkgconfig/frei0r.pc
/usr/local/Cellar/frei0r/1.4/share/doc/ (4 files)Then I installed ffmpeg with the
--with-frei0r
flag, and everything compiled finebrew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265 --with-frei0r
I tried telling ffmpeg where my frie0r filters were installed with
export FREI0R_PATH=/usr/local/Cellar/frei0r/1.4/lib/frei0r-1/
I even created symlinks from the default locations ffmpeg checks...
MacK:tmp kevin$ ls -l /usr/local/lib/frei0r-1
lrwxr-xr-x 1 kevin admin 33 4 Apr 04:43 /usr/local/lib/frei0r-1 -> ../Cellar/frei0r/1.4/lib/frei0r-1But I’m still seeing this error :
[Parsed_frei0r_0 @ 0x7f8938f003c0] Could not find module 'perspective'.
[AVFilterGraph @ 0x7f8938f00160] Error initializing filter 'frei0r' with args 'perspective'
Error initializing complex filters.
Invalid argumentFull output :
MacK:tmp kevin$ ffmpeg -i 1.mp4 -filter_complex "frei0r=perspective" out.mp4
ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 7.0.2 (clang-700.1.81)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.0.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libx265 --enable-nonfree --enable-vda
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.25.100
Duration: 00:00:08.34, start: 0.023220, bitrate: 4293 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 4161 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)
Metadata:
handler_name : SoundHandler
[Parsed_frei0r_0 @ 0x7f8938f003c0] Could not find module 'perspective'.
[AVFilterGraph @ 0x7f8938f00160] Error initializing filter 'frei0r' with args 'perspective'
Error initializing complex filters.
Invalid argumentI’ve run out of ideas to try next, what am I missing ? Any help would be greatly appreciated.