Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (31)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (7368)

  • Take Multiple Screenshots With ffmpeg

    20 mai 2022, par che10

    I am using the code below to take a screenshot from a video(s) at a certain time but I would like to know how to take multiple screenshots(4-5 or more) from a video(s) in 1 command. It can be either at a specific time or a random time/time interval.

    


    #!/bin/bash



for f in *.mkv

 do
    
    ffmpeg  -i "$f" -ss 00:02:05 -frames:v 1 -q:v 2 "done/${f%.*}.jpg"

done


    


    Tried the following command as user @kesh suggested but received an error

    


        #!/bin/bash

    for f in *.mkv

 do
    
    ffmpeg  -vsync vfr  -i "$f"  -vf select=\"'eq(n,2988)+eq(n,4302)'\" "done/${f%.*}.jpg"
done


    


    Error :

    


    Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[Parsed_select_0 @ 0x55e693319c80] [Eval @ 0x7ffcd4efd840] Missing ')' or too many args in '"eq(n'
[Parsed_select_0 @ 0x55e693319c80] Error while parsing expression '"eq(n'
[AVFilterGraph @ 0x55e693df0d00] Error initializing filter 'select' with args '"eq(n'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!


    


  • ffmpeg combine video streams into 1x4 collage

    24 décembre 2016, par vyazikov

    Can anyone please help understand how to make correct -filter_complex
    expression in ffmpeg to join 4 RTSP streams in a row collage 1x4 ?
    The complexity is that there is ONE input with 4 video streams inside.
    ffprobe output :

    Input #0, rtsp, from 'rtsp://MyStream':
     Metadata:
       title           : h264.sdp
     Duration: N/A, start: 0.024944, bitrate: N/A
    Stream #0:0: Video: h264 (Baseline), yuv420p, 640x480, 27.92 tbr, 90k tbn, 180k tbc
    Stream #0:1: Video: h264 (Baseline), yuv420p, 640x480, 27.92 tbr, 90k tbn, 180k tbc
    Stream #0:2: Video: h264 (Baseline), yuv420p, 640x480, 27.92 tbr, 90k tbn, 180k tbc
    Stream #0:3: Video: h264 (Baseline), yuv420p, 640x480, 27.92 tbr, 90k tbn, 180k tbc
  • Using squish(x) to fade in/out text

    15 mars 2023, par Alessandro U. Viretta

    I would like to use the squish() function to fade in/out text by using alpha=squish(t-3) to fade the text out and alpha=1-squish(t-3) to fade it in.

    


    Fading out works well :

    


    ffplay -f lavfi -i color=#dddddd:s=640x480 -vf "drawtext='text=TEST:x=(w-text_w)/2:y=(h-text_h)/2:fontsize=200:alpha=squish(t-3)'"


    


    but fading in does not work at all :

    


    ffplay -f lavfi -i color=#dddddd:s=640x480 -vf "drawtext='text=TEST:x=(w-text_w)/2:y=(h-text_h)/2:fontsize=200:alpha=1-squish(t-3)'"


    


    Am I missing anything or is it a bug ?