
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (52)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
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 (15231)
-
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 ?