
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (111)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (13343)
-
How to use find to match substring of files to be concatted ?
23 mars 2023, par Russell Battcomplete beginner here, so sorry if this is painfully obvious. I'm trying to write a shell script to ffmpeg concat protocol a bunch of split video files together by looping over the files and dynamically adding the correct parts to be joined together. For example, turning this :


titlea-00001234-01.ts

titlea-00001234-02.ts

titlea-00001234-03.ts

titleb-00001234-01.ts

titleb-00004321-02.ts

titleb-00004321-03.ts

into this :


titlea-00001234.mp4

titleb-00004321.mp4

by doing this


ffmpeg -i "concat:titlea-00001234-01.ts|titlea-00001234-02.ts|titlea-00001234-03.ts" -c copy titlea-00001234.mp4
ffmpeg -i "concat:titleb-00001234-01.ts|titleb-00001234-03.ts|titleb-00001234-03.ts" -c copy titleb-00001234.mp4



But what I'm having trouble with is using find to add the correct parts after
"concat:"
.

Here's my best attempt :


#!/bin/bash
for i in /path/to/files/*.ts
 do
 if [[ "$i" =~ (-01) ]]
 then
 j="${i##*/}"
 k="${j%-0*}"
 ffmpeg -i `concat:( find /path/to/files/ -type f -name "{$k}*" -exec printf "%s\0" {} + )` -c copy /path/to/output/"{$k%.ts}.mp4"
 else
 echo "no files to process"
 exit 0
 fi
 done



But this gives an error of "No such file or directory".


Edit This solution worked perfectly for my needs https://stackoverflow.com/a/75807616/21403800 Thanks @pjh and everyone else for taking the time to help

-
How to find out the file extension for extracting audio tracks with ffmpeg and python ?
6 juin 2018, par seenorthI want my python program to extract the audio tracks from various video files without changing the audio codec. For this I call the following command :
ffmpeg -i "input" -vn -acodec copy "output.???"
However this only works, if the file extension of the output file is known. Is there a way to find out the corresponding file extension ?
-
Unable to find a suitable output format for 'ΓÇôi'
7 juillet 2019, par Kaustubh BhorI am trying to add watermark png to multiple videos using subprocess.Popen() but the code results in error
import os
def runBash(command):
os.system(command)
inpu="1.mp4"
png="crop.png"
str="ffmpeg –i "+inpu+" -vf "+ "\"movie="+png+" [watermark]; [in][watermark] overlay=10:10 [out]\" "+"eargaergaerg"+inpu
runBash(str)
print(str)Error
error: [NULL @ 000002210b65af40] Unable to find a suitable output format for 'ΓÇôi'
ΓÇôi: Invalid argument