Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (33)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (5323)

  • How do I pass a file path with spaces as an argument in FFmpeg/cmd via python ?

    12 octobre 2022, par At Bay

    Basically the code below is taking wav files saved in a folder location ufolder, and trimming them to one minute clips and saving those clips in a new folder dfolder. I'm using python, cmd, and ffmpeg to do this.

    


    The problem is that the original folder location has spaces in it, so I get an error which reads : W:\ARCHIVESNAS1\INGEST\01: No such file or directory

    


    If I were to use cmd directly, I would circumvent this problem with quotes.

    


    ffmpeg -ss 0 -t 10 -i "W:\ARCHIVESNAS1\INGEST\01 PLEASE REVIEW\Levy\GeorgeBloodShipments\_6-Ready-for-Ingest\SREDReels20210805\26368\data" "C:\Users\myname\Downloads\practice"


    


    How do I include quotes with a command that's using variables. Adding quotes, as I do immediately below, doesn't work.

    


    os.system("ffmpeg -ss 0 -t 10 -i **"{0}" "{1}"**".format(filepathO, filepathN))


    


    import os
ufolder = r'W:\ARCHIVESNAS1\INGEST\01 PLEASE REVIEW\Levy\GeorgeBloodShipments\_6-Ready-for-Ingest\SREDReels20210805\26368\data'
dfolder = r'C:\Users\myname\Downloads\practice'
for filename in os.listdir(ufolder):
    if (filename.endswith(".wav")): #or .avi, .mpeg, whatever.
        filepathO = str(ufolder)+"\\"+str(filename)
        filepathN = str(dfolder)+"\\"+"CLIPPED"+str(filename)
        os.system("ffmpeg -ss 0 -t 10 -i {0} {1}".format(filepathO, filepathN))
    else:
        continue


    


  • write to file and use ffmpeg simultaneously to convert current file

    15 avril 2015, par Zakukashi

    Here’s my use-case :
    User uploads a video file.avi (2GB) to my server, the server slowly writes the bytes to a file. Can I use ffmpeg in a way that it will tail the file being written and convert it to a new file.mp4 ? I tried using the normal approach from file.avi to file.mp4 but after some time ffmpeg says read error. Im assuming that it runs out of bytes to convert thus beating the upload speed. Can I just have it tail the file ?

  • Is there is any Free/Open source libraries for compressing the video file /reducing file size of video file in android ?

    18 février 2015, par Manu

    My application deals video sharing. Here i need to reduce the size of videos/ compress the video, so that i can minimize the data upload/download. I went through many threads and most of the threads suggesting FFMPEG. I could integrate it with my application and it is working exactly how i want it to be. But now i came to know that it’s a commercial library, and i just have 15 days of trial period. :(

    Any other alternatives ? Free/open source libraries which satisfies my requirements ?