
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (59)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (10400)
-
Stop FFMPEG changing extracted frame resolution
22 septembre 2020, par S_WheelI'm using a bash script to extract frames from a bunch of videos in a folder.


#!/bin/bash
if [ "$1" == '' ] || [ "$2" == '' ] || [ "$3" == '' ]; then
 echo "Usage: $0 <input folder="folder" /> <output folder="folder"> <file extension="extension">";
 exit;
fi
for file in "$1"/*."$3"; do
 destination="$2${file:${#1}:${#file}-${#1}-${#3}-1}";
 mkdir -p "$destination";
 ffmpeg -i "$file" -vsync 0 -frame_pts true -r 1000 "$destination/frame_%d.png";
done
</file></output>


Using the ffmpeg command :


ffmpeg -i "$file" -vsync 0 -frame_pts true -r 1000 -s "$destination/frame_%d.png";



My problem is the extracted frames have a lower resolution (and also a different resolution). The first video goes from 1024x576 to 768x576 in the extracted frames.


I can't force the WxH in the command because the videos all have different resolutions. Does anyone know why ffmpeg is changing the resolution and how to stop it ?


Thanks


-
Python OpenCV FFMPEG RTSP Stream timeout triggered after 30015.187000 ms
24 février 2024, par BatCoderI am trying to read several RTSP streams using opencv cv2.VideoCapture(URL). It has FFMPEG backend. Sometimes for few streams it is throwing timeout warning after 30 seconds.


[ WARN:0@123.394] global cap_ffmpeg_impl.hpp:453 _opencv_ffmpeg_interrupt_callback Stream timeout triggered after 30015.187000 ms



I tried setting up the timeout flag.


import os
os.environ["OPENCV_FFMPEG_CAPTURE_OPTIONS"] = "timeout;5000" # 5 seconds 
cv2.VideoCapture("rtsp://URL", cv2.CAP_FFMPEG)



Ref : How to terminate cv2.VideoCapture(rtsp_url) call if execution stalls due to RTSP camera issues ?


But still, it is waiting for 30 seconds before raising the warning.


OpenCV version : 4.4.0.x
Python version : 3.9.x


Can we decrease the wait time from 30 seconds to a lower number ?


-
avfilter/vpp_qsv : fix regression on older api versions (e.g. 1.11)
7 janvier 2022, par softworkzavfilter/vpp_qsv : fix regression on older api versions (e.g. 1.11)
Commit 8b83dad82512a6948b63408f964463b063ad24c9 introduced a
regression in a way that scaling via vpp_qsv doesn't work any longer
for devices with an MSDK runtime version lower than 1.19. This is true
for older CPUs which are stuck at 1.11.
The commit added checks for the compile-sdk version but it didn't test
for the runtime version.Signed-off-by : softworkz <softworkz@hotmail.com>
Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>