Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (52)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (10428)

  • FFMPEG snapshot of nearest frame

    6 février 2024, par Gman

    Given a video and a timestamp, I want to get a snapshot of the nearest frame.

    


    The video has a frame at time 0.000 and 0.033. I run the following command :

    


    ffmpeg -ss 0.001 -i video.mp4 -frames:v 1 -q:v 1 output.jpg

    


    This returns the second frame. If I put the -ss 0.001 flag after the input flag :

    


    ffmpeg -i video.mp4 -ss 0.001 -frames:v 1 -q:v 1 output.jpg

    


    I still get the second frame. How can I get the frame closest to the timestamp ?

    


  • avcodec/asvdec : Use rounded up dimenensions in input size check

    1er juin 2017, par Michael Niedermayer
    avcodec/asvdec : Use rounded up dimenensions in input size check
    

    Fixes : Timeout
    Fixes : 2001/clusterfuzz-testcase-minimized-6187599389523968

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/asvdec.c
  • ffmpeg - how can I capture the timestamp of a screenshot using a seek and finding the nearest iframe ?

    26 août 2018, par Charles Kirk

    I’ve tried various different methods. ffprobe has always shown sensical results, with the pts_time increasing as the frames go on, using this command :

    ffprobe -show_frames video.mp4 > probestats.txt

    I thought about using that data to find the video frame nearest to the seconds I’m seeking to in ffmpeg, but I am trying to keep this performant, as I’m generating thumbnails on uploads that could exceed 5GB, which means I would end up with 50MB+ probe files to parse.

    So, currently, I’m looping over this ffmpeg command, so as to end up with 10 thumbnails total per file, regardless of length :

    ffmpeg -i video.mp4 -ss 00:00:05 -vf select="eq(pict_type\\,I)[s1];[s1]showinfo[out]" -vframes 1 -q:v 1 thumbs/thumb-1.jpg 2>&amp;1

    The aim is to get the nearest iframe of the seconds I’m seeking to, e.g. find the nearest iframe near the 5 second mark and take a thumbnail — which gives some increased performance.

    The issue is, ffmpeg is outputting seemingly random pts_time’s, definitely not correct compared to the pkt_pts_time shown in ffprobe.

    So as the title states, I’m looking for an ffmpeg command to generate a thumbnail at the nearest iframe to a specified seek, and get the timestamp.