Recherche avancée

Médias (91)

Autres articles (33)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5564)

  • How to accurately match an image to a video frame and exit with ffmpeg

    10 avril 2020, par Hans J

    In Bash,
I am trying to match an image to a frame in ffmpeg. I also want to exit the ffmpeg process when the match is found. Here is a (simplified version) of the code currently :

    



    ffmpeg --hide_banner -ss 0 -to 60 \
-i "video.mp4" -i "image.jpg" -filter_complex \
"blend=difference, blackframe" -f null - null 2>log.txt &
pid=$!
trap "kill $pid 2>/dev/null" EXIT
while kill -0 $pid 2>/dev/null; do
     # (grep command to monitor log file)
     # if grep finds blackframe match, return blackframe time
done


    



    To my understanding, if the video actually contains a blackframe I will get a false-positive. How can I effectively mitigate this ?

    



    While this is unnecessary to answer the question, I would like to exit the ffmpeg process without having to use grep to constantly monitor the log file, instead using pure ffmpeg

    



    Edit : I say this because while I understand the blend filter is computing the difference, I am getting a false positive on a blackframe in my video and I don't know why.

    



    Edit : A possible solution to this issue is to not use blackframe at all, but psnr (Peak Signal to Noise Ratio) but normal usage is by comparing two videos frame by frame, and I don't know how to effectively use it with an image as input.

    


  • Revision 1521eb8ba9 : ads2armasm_ms : Match the indentation of the previous line Instead of hardcoding

    20 mars 2014, par Martin Storsjo

    Changed Paths :
     Modify /build/make/ads2armasm_ms.pl



    ads2armasm_ms : Match the indentation of the previous line

    Instead of hardcoding a certain indentation, use the regexp to
    provide similar indentation for the new line as well.

    Change-Id : Iacb2621b35ce7e1aa3980c1603b8e3ab02d98a35

  • avformat : fix orig_pos type to match pkt->pos

    23 avril 2013, par Paul B Mahol

    avformat : fix orig_pos type to match pkt->pos