Recherche avancée

Médias (91)

Autres articles (59)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La 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, par

    Le 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_Wheel

    I'm using a bash script to extract frames from a bunch of videos in a folder.

    


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

    &#xA;

    Using the ffmpeg command :

    &#xA;

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

    &#xA;

    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.

    &#xA;

    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 ?

    &#xA;

    Thanks

    &#xA;

  • Python OpenCV FFMPEG RTSP Stream timeout triggered after 30015.187000 ms

    24 février 2024, par BatCoder

    I 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.

    &#xA;

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

    &#xA;

    I tried setting up the timeout flag.

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

    OpenCV version : 4.4.0.x&#xA;Python version : 3.9.x

    &#xA;

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

    &#xA;

  • avfilter/vpp_qsv : fix regression on older api versions (e.g. 1.11)

    7 janvier 2022, par softworkz
    avfilter/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>

    • [DH] libavfilter/vf_vpp_qsv.c