
Recherche avancée
Autres articles (43)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne 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, parDans 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, parCertains 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 Rheinhardtavcodec/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> -
include a string variable that contains spaces into the 'subprocess.run()' [duplicate]
9 juillet 2022, par zaynI'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.


name = 'spider man.mp4'

subprocess.run("ffmpeg -i " + 'temp\\vid.mp4' + " -i "+ 'temp\\aud.mp4' + " -c copy " + path+'\\'+name)




"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


Unable to find a suitable output format for 'C:\Users\Zain\Downloads\spider'
C:\Users\Zain\Downloads\spider: Invalid argument




-
given a line number. which command sets the string at this line number as a parameter [duplicate]
1er juillet 2022, par pitterpatteri have two lists.


urls.txt contains urls line by line to files.


they are named gibberish like 2345.mp4


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


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


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


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


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


how do i get the new filenames ?


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


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