Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (111)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque 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, par

    Accé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, par

    Dixit 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 (12268)

  • How to find out the file extension for extracting audio tracks with ffmpeg and python ?

    6 juin 2018, par seenorth

    I 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 Bhor

    I 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
  • (Shell) Strange issue with find loop, skips characters if ffmpeg is introduced. Work around ?

    5 janvier 2023, par Nebarik

    My goal here is to write a simple shell script that finds .ogg files in a folder and then does a little ffmpeg check on them one by one. Seems simple, but I'm running into the weirdest bug where it's randomly dropping 0-5 characters from the begining of the filename causing errors.

    


    I stripped my script down and did some testing with some test files and this is what happens if it's not doing ffmpeg.

    


    find . -type f -name '*.ogg' | while read filename
do
echo "${filename}"
done


    


    ./folder/222.ogg
./folder/111.ogg
./folder/333.ogg


    


    Great, perfect, exactly what I want.

    


    Now if I add ffmpeg as a line AFTER the echo I get this :

    


    find . -type f -name '*.ogg' | while read filename
do
echo "${filename}"
ffmpeg -v error -i "${filename}" -f null - 2>${location}/fferror.log
done


    


    ./folder/222.ogg
older/111.ogg
folder/333.ogg


    


    Some extra testing shows the ffmpeg is getting the messed up filename variables. So it must be the find that's acting different after running ffmpeg. With only 3 files it doesnt seem serious, but I intend to run this on many many files. It's chaos.

    


    Has anyone encountered something like this before ? I've tried adding sleep lines everywhere to troubleshoot, no change (also unsustainable for how many files i have). Any ideas to counter act this strange behaviour and get a clean filename everytime ?