Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (43)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

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

Sur d’autres sites (7006)

  • avcodec/ttmlenc : Deduplicate ttml_default_namespacing string

    29 juillet 2022, par Andreas Rheinhardt
    avcodec/ttmlenc : Deduplicate ttml_default_namespacing string
    

    String literals are allowed to be deduplicated (and toolchains
    are already capable of doing so), yet the same is not allowed
    for named arrays (even when they contain strings). Therefore
    use a const char *const pointing to an unnamed string literal
    for ttml_default_namespacing.

    Reviewed-by : Jan Ekström <jeebjp@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/ttmlenc.h
  • include a string variable that contains spaces into the 'subprocess.run()' [duplicate]

    9 juillet 2022, par zayn

    I'm trying to combine a video and it's audio into one file using ffmpeg using subprocess in python and I want to do something like this.

    &#xA;

    name = &#x27;spider man.mp4&#x27;&#xA;&#xA;subprocess.run("ffmpeg -i " &#x2B; &#x27;temp\\vid.mp4&#x27; &#x2B; " -i "&#x2B; &#x27;temp\\aud.mp4&#x27; &#x2B; " -c copy " &#x2B; path&#x2B;&#x27;\\&#x27;&#x2B;name)&#xA;&#xA;

    &#xA;

    "name" is the name concatenated with the extension of the resulting file but as you see, "name" contains spaces so when I pass it to the subprocess it takes the first word only which is (spider), so he don't find the extension of the resulting file and it give this error

    &#xA;

    Unable to find a suitable output format for &#x27;C:\Users\Zain\Downloads\spider&#x27;&#xA;C:\Users\Zain\Downloads\spider: Invalid argument&#xA;&#xA;

    &#xA;

  • given a line number. which command sets the string at this line number as a parameter [duplicate]

    1er juillet 2022, par pitterpatter

    i have two lists.

    &#xA;

    urls.txt contains urls line by line to files.

    &#xA;

    they are named gibberish like 2345.mp4

    &#xA;

    filenames.txt contains new filenames i want for those files.

    &#xA;

    also line by line. both lists are in the correct order.

    &#xA;

    i want to download those files in urls.txt with ffmpeg and rename them.

    &#xA;

    i dont know how to work it out for the filenames.txt

    &#xA;

    so far i have a for loop functioning with the gibberish filenames.

    &#xA;

    how do i get the new filenames ?

    &#xA;

    assume the for loop increments line numbers i++, which command sets the string at this line number as a parameter ?

    &#xA;

    for /f %%a in (urls.txt) do ( &#xA;ffmpeg -i "%%a" -c copy "%%~na.mp4" )&#xA;&#xA; &#xA;

    &#xA;