Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (69)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (12038)

  • How do I use ffmpeg to extract the total time of a video slice without actually producing the video slice ?

    18 juin 2022, par iChux
    


    I have a video named 'ev.mp4'. Slice the video into segments :

    


    


    # COMMAND 1
ffmpeg -i "ev.mp4" -c copy -map 0 -segment_time 15 -g 9 \
    -sc_threshold 0 -force_key_frames "expr:gte(t,n_forced*9)" \
    -reset_timestamps 1 -f segment ev-%04d.mp4

ev-0000.mp4
ev-0001.mp4
ev-0002.mp4


    


    


    Get each segment time

    


    


    # COMMAND 2
for f in ev-*.mp4;
do
    echo $f == $(ffprobe -v error -show_entries \
    format=duration -of default=noprint_wrappers=1:nokey=1 $f);
done;

ev-0000.mp4 == 17.251000
ev-0001.mp4 == 17.918000
ev-0002.mp4 == 10.444000


    


    


    I am only able to extract the duration of each sliced segment after the videos have existed in a sliced format on the hard drive e.g. ev-0000.mp4

    


    


    My question : is it possible to get the duration of each slice from COMMAND 1 such that instead of producing the sliced files, I will get the duration of each slice ?

    


  • avcodec/hevcdec : Pass HEVCLocalContext when slice-threading

    30 juin 2022, par Andreas Rheinhardt
    avcodec/hevcdec : Pass HEVCLocalContext when slice-threading
    

    The HEVC decoder has both HEVCContext and HEVCLocalContext
    structures. The latter is supposed to be the structure
    containing the per-slicethread state.

    Yet that is not how it is handled in practice : Each HEVCLocalContext
    has a unique HEVCContext allocated for it and each of these
    coincides except in exactly one field : The corresponding
    HEVCLocalContext. This makes it possible to pass the HEVCContext
    everywhere where logically a HEVCLocalContext should be used.

    This commit stops doing this for lavc/hevcdec.c itself.
    It also constifies what can be constified in order to make
    the nonconst stuff stand out more.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/hevcdec.c
  • avcodec/hevcpred : Pass HEVCLocalContext when slice-threading

    30 juin 2022, par Andreas Rheinhardt
    avcodec/hevcpred : Pass HEVCLocalContext when slice-threading
    

    The HEVC decoder has both HEVCContext and HEVCLocalContext
    structures. The latter is supposed to be the structure
    containing the per-slicethread state.

    Yet that is not how it is handled in practice : Each HEVCLocalContext
    has a unique HEVCContext allocated for it and each of these
    coincides except in exactly one field : The corresponding
    HEVCLocalContext. This makes it possible to pass the HEVCContext
    everywhere where logically a HEVCLocalContext should be used.

    This commit stops doing this for lavc/hevcpred as well as
    the corresponding mips code ; the latter is untested.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/hevcdec.c
    • [DH] libavcodec/hevcpred.h
    • [DH] libavcodec/hevcpred_template.c
    • [DH] libavcodec/mips/hevcpred_mips.h
    • [DH] libavcodec/mips/hevcpred_msa.c