Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (72)

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

  • I B P frames order and relative time - ffmpeg recorded video not smooth (stuttering)

    8 septembre 2022, par Francesco

    I'm trying to understand why my recorded video is not smooth. I'm using a USB capture device and OBS/ffmpeg software. OBS Stats doesn't show any skipped/missed frames during recording.

    


    Using this command on the resulting file (H264, mkv)

    


    ffprobe -v quiet -pretty -print_format csv -show_entries "frame=coded_picture_number,pkt_pts,pkt_duration,pict_type," -select_streams v:0 test.mkv > output.csv


    


    I see an output like this one :

    


    frame,33,33,I,0
frame,67,33,P,1
frame,100,33,I,2
frame,133,33,I,3
frame,167,33,P,4
frame,200,33,I,5
frame,233,33,P,6
frame,267,33,I,7
frame,300,33,B,9
frame,333,33,P,8
frame,367,33,I,10
frame,400,33,P,11
frame,433,33,I,12
frame,467,33,B,14
frame,500,33,P,13
frame,533,33,I,15
frame,567,33,P,16
frame,600,33,I,17
frame,633,33,B,19
frame,667,33,P,18
frame,700,33,I,20
frame,733,33,B,22
frame,767,33,P,21
frame,800,33,I,23
frame,833,33,B,25
frame,867,33,P,24
frame,900,33,I,26
frame,933,33,B,28
frame,967,33,P,27
frame,1000,33,I,29
...


    


    If I understood correclty the last number refers to presentation order and the second number is the video relative time. Frame number 9 (type B) is shown at 300 ms while frame number 8 (type P) is shown at 333 ms.

    


    Is it correct ? If not, is this the stuttering source and is there a way for fixing the order ?

    


  • I B P frames order and relative time - ffmpeg recorded video not smooth (stuttering)

    8 septembre 2022, par Francesco

    I'm trying to understand why my recorded video is not smooth. I'm using a USB capture device and OBS/ffmpeg software. OBS Stats doesn't show any skipped/missed frames during recording.

    


    Using this command on the resulting file (H264, mkv)

    


    ffprobe -v quiet -pretty -print_format csv -show_entries "frame=coded_picture_number,pkt_pts,pkt_duration,pict_type," -select_streams v:0 test.mkv > output.csv


    


    I see an output like this one :

    


    frame,33,33,I,0
frame,67,33,P,1
frame,100,33,I,2
frame,133,33,I,3
frame,167,33,P,4
frame,200,33,I,5
frame,233,33,P,6
frame,267,33,I,7
frame,300,33,B,9
frame,333,33,P,8
frame,367,33,I,10
frame,400,33,P,11
frame,433,33,I,12
frame,467,33,B,14
frame,500,33,P,13
frame,533,33,I,15
frame,567,33,P,16
frame,600,33,I,17
frame,633,33,B,19
frame,667,33,P,18
frame,700,33,I,20
frame,733,33,B,22
frame,767,33,P,21
frame,800,33,I,23
frame,833,33,B,25
frame,867,33,P,24
frame,900,33,I,26
frame,933,33,B,28
frame,967,33,P,27
frame,1000,33,I,29
...


    


    If I understood correclty the last number refers to presentation order and the second number is the video relative time. Frame number 9 (type B) is shown at 300 ms while frame number 8 (type P) is shown at 333 ms.

    


    Is it correct ? If not, is this the stuttering source and is there a way for fixing the order ?

    


  • Create a glitch effect at arbitrary points in time using ffmpeg

    21 décembre 2020, par Soren Wray

    I know how to blend two videos into a single video of cross-fading clips with a glitch effect, e.g. every 2.7 seconds, with this command string :

    


    ffmpeg -i input1.mkv -i input2.mkv -filter_complex "[0][1]blend=all_expr='if(mod(trunc(T/2.7),2),min(1,2*(T-2.7*trunc(T/2.7))),max(0,4-8*(T-2.7*trunc(T/2.7))))*A+if(mod(trunc(T/2.7),2),max(0,4-8*(T-2.7*trunc(T/2.7))),min(1,2*(T-2.7*trunc(T/2.7))))*B';[0]volume='if(mod(trunc(t/2.7),2),min(1,2*(t-2.7*trunc(t/2.7))),max(0,4-8*(t-2.7*trunc(t/2.7))))':eval=frame[a]; [1]volume='if(mod(trunc(t/2.7),2),max(0,4-8*(t-2.7*trunc(t/2.7))),min(1,2*(t-2.7*trunc(t/2.7))))':eval=frame[b];[a][b]amix" output.mkv


    


    I would like a similar method, but for a set of arbitrary points in time. I believe a bash script, based on the above command, perhaps with an array of pre-selected cuts, could do the trick, but I lack the expertise.