Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (57)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • how to resolve error FileNotFoundError : [WinError 2] The system cannot find the file specified when using ffmpeg-python ?

    24 juillet 2021, par Geo

    I'm trying to merge video and audio files together using ffmprg but I keep on receiving this error

    


    ERROR :

    


    Traceback (most recent call last):&#xA;  File "C:\Users\Geo\youtubedownloader\test.py", line 9, in <module>&#xA;    ffmpeg.concat(video,audio, v=1 , a=1).output("C:/Users/Geo/output_video/mergedretweett.mp4/").run()&#xA;  File "C:\Users\Geo\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 313, in run&#xA;    process = run_async(&#xA;  File "C:\Users\Geo\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 284, in run_async&#xA;    return subprocess.Popen(&#xA;  File "C:\Users\Geo\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "C:\Users\Geo\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child&#xA;    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;</module>

    &#xA;

    Code :

    &#xA;

    &#xA;&#xA;video = ffmpeg.input("C:/Users/Geo/File.mp4")&#xA;&#xA;audio = ffmpeg.input("C:/Users/Geo/File_audio.mp4")&#xA;&#xA;&#xA;ffmpeg.concat(video,audio, v=1 , a=1).output("C:/Users/Geo/output_video/outputvideo.mp4").run()```&#xA;&#xA;&#xA;

    &#xA;

  • How To Convert Bit Rate (VBR) Of MP3 File Using PHP ?

    29 avril 2014, par Dave

    Using php, I am trying to convert and overwrite an mp3 file using the following command....doesn’t work.

    ffmpeg -i /Users/MacBookPro/Desktop/dragons.mp3 -ar 44100 -ab 128k -f mp3 /Users/MacBookPro/Desktop/dragons.mp3

    So even when I try the command from the terminal, the new mp3 file is only about 5 seconds (originally 3 minutes). What am I doing wrong & any ideas on how to get the command working ?

    Thanks in advance !

  • How to run a ffmpeg command in python with file paths containing spaces ?

    21 juillet 2023, par tomatochan

    I'm developing a program in Python that requires the use of FFMPEG. In one step, I need to create a video from a text file containing the list of images (path and duration) that need to be assembled to make a video. To do this, I use the following code :

    &#xA;

    cmd = [ffmpeg, "-y", "-f", "concat", "-safe", "0", "-i", tmp, "-c:v", "libx264", "-r", "25", "-pix_fmt", "yuv420p", out]&#xA;subprocess.run(cmd)&#xA;# os.system(" ".join(cmd)) # returns same error&#xA;

    &#xA;

    What returns the error : The syntax of the file, directory or volume name is incorrect.

    &#xA;

    I know that paths can be problematic when they contain spaces, and as my username has one, I've taken care to quote the paths in such a way that :

    &#xA;

    ffmpeg = "C:\Users\John Doe\Documents\ffmpeg\bin\ffmpeg.exe"&#xA;tmp = "C:\Users\John Doe\Desktop\path\to\file.txt"&#xA;out = "C:\Users\John Doe\Desktop\path\to\video.mp4"&#xA;

    &#xA;

    When I print(" ".join(cmd)), this is what I get in my terminal :

    &#xA;

    "C:\Users\John Doe\Documentsffmpeg\binffmpeg.exe" -y -f concat -safe 0 -i "C:\Users\John Doe\Desktop\path\to\file.txt" -c:v libx264 -r 25 -pix_fmt yuv420p "C:\Users\John Doe\Desktop\path\to\video.mp4"&#xA;

    &#xA;

    However, the problem persists.&#xA;Has anyone ever had this problem and managed to solve it ?

    &#xA;

    I've also tried the method where you have to escape the spaces (taking care to replace the \ with / and then the with \ ) but nothing works... The error persists.

    &#xA;

    For your information, here are the contents of one of my .txt files

    &#xA;

    file C:\Users\John Doe\Desktop\path\to\image_1.png&#xA;duration 0.04&#xA;file C:\Users\John Doe\Desktop\path\to\image_2.png&#xA;duration 0.04&#xA;file C:\Users\John Doe\Desktop\path\toimage_3.png&#xA;duration 0.04&#xA;

    &#xA;

    When I quote the paths in the .txt files

    &#xA;

      &#xA;
    • subprocess gives me the error :&#xA;PermissionError: [WinError 5] Access denied
    • &#xA;

    • os.system gives me the error :
    • &#xA;

    &#xA;

    C:\Users\John&#x27; is not recognized as an internal or external command, an executable program or a command file.&#xA;The syntax of the file, directory or volume name is incorrect.&#xA;

    &#xA;