Recherche avancée

Médias (91)

Autres articles (84)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (12270)

  • Setup FFMpegCore in Visual Studio 2019

    27 juillet 2022, par DsiakMondala

    I am confused on the basics of using a library. I understand that there is a library called FFMpeg and a wrapper called FFMpegCore so we can use FFMpeg with C#, correct ? I downloaded both FFMpeg and FFMpegCore and I have them in my project's folder. Although I didn't perceive any class named FFMpegOptions in either of the file's folders.
I am stuck on how to actually set it up so I can use it in my little project, I never downloaded someone's library before. Can somebody please walk me though the motions of connecting the three of them together ?

    


    So far I experimented with :

    


      

    • Add a reference to my project, but there doesn't seem to be any .dll, .tlb, .olb, .ocx or .exe files to add
    • 


    • Add an existing project to my solution. There is a project called FFMpegCore.csproj but adding it raises a missing SDK error. Weirdly enough, opening the same project as a standalone doesn't raise any issues which makes me thing the operation I am trying is inadequate.
    • 


    


    I am sure this is a silly and easy setup to perform but I just don't know enough to find a solution.

    


  • How can I write a ffmpeg log file with Python on macOS ?

    1er septembre 2022, par Tobias

    I want to write ffmpeg log files for several video input files with a Python script on macOS.
Here is my try :

    


    def create_error_logfile(videoinput):
    cmds = [
        "/applications/ffmpeg",
        "-v", 
        "error",
        "-i",
        videoinput, 
        "-f", 
        "null", 
        "-",
        "2>",
        videoinput + ".log"
    ]
    subprocess.Popen(cmds).wait()

for root, directories, files in os.walk(input_path):
    for video in files:
        videoinput = os.path.join(root, video)
        create_error_logfile(videoinput)


    


    But I get the following ffmpeg error :

    


    Unable to find a suitable output format for '2>'
2>: Invalid argument


    


    What am I doing wrong ?
Thanks in advance !

    


  • Is there a way to stop ffmpeg from combining mp4s at max mp4 size ?

    3 janvier 2023, par Dray

    I am merging 64 gigs of mp4s together, though ffmpeg will go past the file size limit and corrupt it. Is there a way to stop ffmpeg at a 100 hour mark and create another file, resume, then repeat until finished ?

    


    This is my python code, with the ffmpeg code I used to generate the mp4. It works fine with less files/

    


    
from moviepy.editor import *
import os
from natsort import natsorted

L = []
total = 0
for root, dirs, files in os.walk("F:\door"):
    #files.sort()
    files = natsorted(files)
    with open("list.txt", "a") as filer:
            for file in files:
                if os.path.splitext(file)[1] == '.mp4':
                    filePath = os.path.join(root, file)
                    head, tail = os.path.split(filePath)
                    filePath = "file '" + str(tail)+"'\n"
                    print(filePath)
                    filer.write(filePath)
                    
                    #run in cmd: ffmpeg -f concat -i list.txt -c copy output.mp4