Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (55)

  • 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 ;

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (10874)

  • avfilter/af_channelmap : fix mapping if in_channel was a string but out_channel was...

    18 mars 2024, par Marton Balint
    avfilter/af_channelmap : fix mapping if in_channel was a string but out_channel was not specified
    

    In this case in_channel_idx was never set and the default 0 was used.
    Suprisingly no one noticed that the respective fate test output was wrong.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavfilter/af_channelmap.c
    • [DH] tests/fate/filter-audio.mak
  • lavc/qsvenc : add support for oneVPL string API

    29 février 2024, par Mandava, Mounika
    lavc/qsvenc : add support for oneVPL string API
    

    A new option -qsv_params <str> is added, where <str> is a :-separated
    list of key=value parameters.

    Example :
    $ ffmpeg -y -f lavfi -i testsrc -vf "format=nv12" -c:v h264_qsv -qsv_params
    "TargetUsage=1:GopPicSize=30:GopRefDist=2:TargetKbps=5000" -f null -

    Signed-off-by : Mounika Mandava <mounika.mandava@intel.com>
    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] Changelog
    • [DH] configure
    • [DH] doc/encoders.texi
    • [DH] libavcodec/qsvenc.c
    • [DH] libavcodec/qsvenc.h
  • Zsh script using formatted date string in FFMPEG command [closed]

    1er juillet 2024, par coco

    In my zsh script, I am receiving a string that represents a Unix epoch, like :

    &#xA;

    myTimestamp="1719742786"&#xA;

    &#xA;

    I want to change that date into a formatted string, and then store it in a variable so it can be used in an upcoming ffmpeg script. I'm doing it this way :

    &#xA;

    theDate=$(date -u -r "$myTimestamp" "&#x2B;%b %d, %H:%M:%S")&#xA;echo "$theDate"&#xA;

    &#xA;

    which prints to my screen what I want :

    &#xA;

    Jun 30, 06:19:48&#xA;

    &#xA;

    but when I try to use this variable in my ffmpeg script, I get errors :

    &#xA;

    ffmpeg -y -i "$file" -vf \&#xA;        "drawtext=text=&#x27;$theDate&#x27;:fontcolor=gray:fontsize=$fontSize:x=$width:y=$height:" \&#xA;        "$output"&#xA;

    &#xA;

    Note that if I change out &#x27;$theDate&#x27; in the script (to something like &#x27;$myTimestamp&#x27;), I do not get errors.

    &#xA;

    What I do get, along with Error initializing filters, is this (possibly important ?) error :

    &#xA;

    &#xA;

    Both text and text file provided. Please provide only one

    &#xA;

    &#xA;

    Note I am on MacOS v14.5. The man date mentions The date utility is expected to be compatible with IEEE Std 1003.2 (“POSIX.2”).  With the exception of the -u option, all options are extensions to the standard.

    &#xA;

    My full script :

    &#xA;

    #!/bin/zsh&#xA;outDir="printed"&#xA;width=200&#xA;height=650&#xA;fontSize=95&#xA;&#xA;for file in initial/*.png; do&#xA;    filename=$(basename "$file")&#xA;    prefix="${filename%.*}"&#xA;    theDate=$(date -u -r "$prefix" "&#x2B;%b %d, %H:%M:%S")&#xA;    output="$outDir/$filename"&#xA;&#xA;    echo "$theDate"&#xA;&#xA;    ffmpeg -y -i "$file" -vf \&#xA;    "drawtext=text=&#x27;$theDate&#x27;:fontcolor=gray:fontsize=$fontSize:x=$width:y=$height:" \&#xA;       "$output"&#xA;&#xA;done&#xA;exit&#xA;

    &#xA;