Recherche avancée

Médias (0)

Mot : - Tags -/logo

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

Autres articles (65)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (3530)

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

    


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

    


  • Converting mkv file to mp4 gives me `filenotfounderror`

    8 juillet 2022, par Justin

    Here is the script being used :

    


    import os
import ffmpeg

start_dir =r'C:\Users\Videos_2'

def convert_to_mp4(mkv_file):
    name, ext = os.path.splitext(mkv_file)
    out_name = name + ".mp4"
    #ffmpeg.input(mkv_file).output(out_name, format = 'mp4', acodec ='aac', ar=16000, audio_bitrate=96000 ).run()
    ffmpeg.input(mkv_file).output(out_name, format = 'mp4', acodec ='aac', ar=16000, audio_bitrate=96000 ).run()
    print("Finished converting {}".format(mkv_file))

for path, folder, files in os.walk(start_dir):
    for file in files:
        if file.endswith('.mkv'):
            print("Found file: %s" % file)
            convert_to_mp4(os.path.join(start_dir, file))
        else:
            pass


    


    It is similar to the following : Converting mkv files to mp4 with ffmpeg-python

    


    It gives me the error FileNotFoundError: [WinError 2] The system cannot find the file specified on the line convert_to_mp4(os.path.join(start_dir, file)). From the link provided it says to fix the problem "Make sure ffmpeg.exe is in the same directory as the script." However I do not understand exactly what that means. I downloaded ffmpeg through the terminal window in the environment that I am using.