Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (99)

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

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (11172)

  • Can I use a text file's content to create a filtered list for ffmpeg ?

    20 octobre 2022, par Angel Lopez Jr

    I am attempting to make a CMD script that will

    


      

    1. Create a text file that lists file names followed by video codec (using ffprobe)
    2. 


    3. Create a new text from the list so that any file with x265 codec is removed from the list (and formated as
file "*filepath*"
    4. 


    5. Run ffmpeg on the edited list to transcode remaining files to x265.
    6. 


    


    I have a script that does #1

    


    for /R %%f IN (*.mkv,*.avi,*.mp4,*.m2ts,*.mts,*.rm,*.m4v) do echo "%%f" >>Probe.txt & ffprobe -v error -hide_banner -of default=noprint_wrappers=0 -print_format flat  -select_streams v:0 -show_entries stream=codec_name "%%f" >>Probe.txt & echo.  >>Probe.txt


    


    which outputs

    


    


    "filepath"
    
streams.stream.0.codec_name="codec"

    


    "filepath"
    
streams.stream.0.codec_name="codec"

    


    


    and I have a script that will do #3

    


    for /R %%f IN (*.mkv,*.avi,*.mp4,*.m2ts,*.mts,*.rm,*.m4v) do ffmpeg -hide_banner -hwaccel_output_format qsv -i "%%f" -c:v libx265 -c:a ac3 -x265-params crf=25 "%%f.mkv"


    


    I am not sure if #2 is even possible though.

    


    End result of task 2 should be that in probe.txt, any line that has a
streams.stream.0.codec_name value of anything besides hevc will have the line immediately above it written to a new txt file with the word file in front.

    


    final goal is getting all three tasks to run under one batch file (each task running sequentially)

    


    Is there any help on what I am missing to be able to unify these and get #2 to happen

    


  • dxva2_hevc : properly signal the num_delta_pocs from the SPS RPS

    2 mars 2015, par Hendrik Leppkes
    dxva2_hevc : properly signal the num_delta_pocs from the SPS RPS
    

    ucNumDeltaPocsOfRefRpsIdx needs to contain the flat value from the SPS RPS,
    and not the final computed value from the slice header RPS, as this calculation
    is done internally by the driver again.

    Sample-Id : http://trailers.divx.com/hevc/Sintel_4k_27qp_24fps_1aud_9subs.mkvi

    • [DH] libavcodec/dxva2_hevc.c
    • [DH] libavcodec/hevc.h
    • [DH] libavcodec/hevc_ps.c
  • configure : Include quotes around pkg_version

    16 décembre 2024, par Joe Schiffler
    configure : Include quotes around pkg_version
    

    In some MSYS environments it can happen that the 3 argument syntax
    for pkg-config library specifications fails because somehow the
    expansion of pkg_version ends up with a redirection we guess.

    To avoid failures like in the referenced build[2], we quote it
    so the whole module including operators will be expanded into
    a single shell word and the single argument syntax for specifying
    the library for pkg-config will be used.

    The single argument syntax seems to be supported by the original
    pkg-config from the beginning more than 20 years[3].

    In the pkgconf implementation single argument syntax was supported
    pretty much from the beginning as well. The multiple argument syntax
    we used until this change, was not supported until a change[4] more
    than 10 years ago.

    References


    1. Build passing with quotes :
    https://github.com/JoeSchiff/pyav-ffmpeg/actions/runs/12358403929
    2. Build failing without quotes :
    https://github.com/JoeSchiff/pyav-ffmpeg/actions/runs/12360472377
    3. Earliest commit of the current pkg-config Git repo already mentions the single argument syntax :
    https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/2ac96cbcc708d8945329fd1b2001386e1c895c64#124c0becfe68b1ef671f49ed2b9d24779ace126f_0_162
    4. pkgconf gets support for 3 argument syntax (pkgconf —exists liba = 1.2.3) :
    https://github.com/pkgconf/pkgconf/commit/793de6a06ca52fbfe906a269b5f2b2ba41739517

    Commit-message-by : Alexander Strasser <eclipse7@gmx.net>
    Signed-off-by : Joe Schiffler <joeschiffler3@gmail.com>
    Signed-off-by : Alexander Strasser <eclipse7@gmx.net>

    • [DH] configure