Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (62)

  • 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 ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10258)

  • Make video preview thumbnail with ffmpeg

    16 mars 2017, par Thomas

    I am trying to make a video preview of a movie using ffmpeg.

    I want the preview video to be :

    • a mp4 file
    • be resized to 320 in width with correct (and even) aspect ratio
    • last 5 seconds
    • have 3 frames per second, for a total of 15 frames

    So, with ffprobe, I calculate X so that :

    X = source duration * source fps / (3 frames * 5 seconds)

    then I do :

    ffmpeg -hide_banner -ss 5 -i d:\test.mp4 -y
    -vf "select='not(mod(n, {X defined above}))',setpts=N/3/TB,scale=320:-2"
    -an -vcodec libx264 -t 5 -r 3 output.mp4

    to speed things up, I’d also like to use -skip_frame nokey since I’m not really attached to frames being at an exact interval.

    I also tried to use -vf thumbnail=X,setpts=N/TB as a filter but, in both cases, I don’t get the expected result.

    A command line like :

    ffmpeg -hide_banner -ss 5 -i test.mp4 -y -vf thumbnail=1541,setpts=N/TB -r 1 -vcodec libx264 -vframes 15 -r 3 output.mp4

    creates a file with a single frame for 154 seconds (1541 being the value X defined above, for this test movie), so there is something I don’t understand right. Even if it worked, it wouldn’t let met use the closest keyframe either since the skip_frame nokey option doesn’t help anything here.
    ffplay will play 6 frames, vlc just show one...

    What am I doing wrong ?

  • How to change macroblock's size in H.264 ?

    12 juin 2021, par Euphoria Yang

    I am using ffmpeg api to implement this paper(Passthrough+ : Real-time Stereoscopic View Synthesis for Mobile Mixed Reality). In this paper, they use 8x8 macroblock to calculate motion vectors. However, most of macroblocks are encoded in 16x16 pixels by ffmpeg. How to force macroblock size to be 8x8 using ffmpeg api(or can be done by modifying libavcodec/libx264.c) ?

    


  • How to change macroblock's size in H.264 ?

    12 juin 2021, par Euphoria Yang

    I am using ffmpeg api to implement this paper(Passthrough+ : Real-time Stereoscopic View Synthesis for Mobile Mixed Reality). In this paper, they use 8x8 macroblock to calculate motion vectors. However, most of macroblocks are encoded in 16x16 pixels by ffmpeg. How to force macroblock size to be 8x8 using ffmpeg api(or can be done by modifying libavcodec/libx264.c) ?