
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (110)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (10352)
-
ffmpeg compare 2 images Mac
13 janvier, par MaryI am trying to compare two png/jpg images using ffmpeg commands in a Mac terminal from ffmpeg-image-diff location , but I have lots of errors .
I have tried
variant1 :


ffmpeg -i image1.jpg -I image2.jpg -filter_complex "[0:v]format=yuv420p[main];[1:v]format=yuv420p[ref]; [main][ref]psnr=stats_file=psnrs.txt:shortest=1" -f null -



variant2 :


ffmpeg -i image1.png -i image2.png -filter_complex [1:v]negate[inv],[0:v][inv]mix=inputs=2 outdiff.png



, but I'm getting every time


Error opening input file image1.jpg.
Error opening input files: No such file or directory



variant3 :


ffmpeg -i image1jpg -i image2.jpg -filter_complex "[0:v]pad=iw*2:ih[bg]; [bg][1:v:0]overlay=w" output.jpg,



but I have received with no output image created ...


Input #0, png_pipe, from 'image1.jpg':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: png, rgba(pc, gbr/bt709/iec61966-2-1), 888x640 [SAR 3779:3779 DAR 111:80], 25 fps, 25 tbr, 25 tbn



I just want to have the differences between the 2 images in the output image.


I have added the 2 images inside the ffmpeg-image-diff folder

Can someone please help me ? Is there any other ffmpeg commands for images comparison ?
do I need to install any other libraries from ffmpeg ?, I saw that I have also have this in the terminal


configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.1_4 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
 libavutil 59. 39.100 / 59. 39.100
 libavcodec 61. 19.100 / 61. 19.100
 libavformat 61. 7.100 / 61. 7.100
 libavdevice 61. 3.100 / 61. 3.100
 libavfilter 10. 4.100 / 10. 4.100
 libswscale 8. 3.100 / 8. 3.100
 libswresample 5. 3.100 / 5. 3.100
 libpostproc 58. 3.100 / 58. 3.100



Thanks in advance,
Mary


-
How to execute the ffmpeg thumbnail extraction command using sub-process in django ?
18 janvier 2017, par Nitish KumarThe following code we are using to extract the thumbnail images from video
ffmpeg -i low.mkv -vf thumbnail=10,setpts=N/TB -r 1 -vframes 10 inputframes%03d.png
This code is working absolutely fine on terminal, but it is giving an error when we are processing the same with subprocess in django.
Our aim is to generate 10 Thumbnails from any length of the video
Here is the code
vaild_fps = "'thumbnail=10,setpts=N/TB -r 1 -vframes 10'"
subprocess.call([settings.FFMPEG_PATH,
'-i',
input_file_path,
'-vf',
vaild_fps,
thumbnail_output_file_path,
]
)Error No such filter : ’thumbnail=10,setpts=N/TB -r 1 -vframes 10’
Error opening filters !
-
Get the list of I-Frames in a video using Python
1er mars 2021, par Tina JI'm trying to get the list of indexes for all I-frames in a video in Python (and later save a portion of them as
JPEG
). Right now, I can traverse all frames usingFFProbe
in terminal, and see which one is I-frame :


ffprobe -select_streams v -show_frames -show_entries frame=pict_type -of csv 18s.mp4




which gives me something like this :



frame,I
frame,B
frame,P
frame,B
frame,P
frame,B




But how can I do that in Python (I'm in Windows) and get a list of all their indexes ?