Recherche avancée

Médias (91)

Autres articles (33)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (4487)

  • How can I get around ffmpeg with python Permission Denied ?

    18 novembre 2022, par evettsam

    I am trying to get raw data from an mp3 file with python. I know there are easy ways to do this with a wave file, but I don't want to convert it. This is the relevant part of my code :

    


    from pydub import AudioSegment


    


    AudioSegment.converter = "C:/Program Files/Ffmpeg"
AudioSegment.ffmpeg = "C:/Program Files/Ffmpeg/ffmpeg.exe"


    


    sound = AudioSegment.from_mp3("audio/" + song_box.get(ANCHOR))


    


    When it gets to that last line, it returns an error "PermissionError : [WinError 5] Access is denied."

    


    I had previous errors, so I figured out I needed to install ffmpeg, and I got that set up in it's own folder (see in the code) and I also put it on both the user path and the system path (system ? whatever the main one is). I also bypassed the folder C :/Program Files/Ffmpeg in windows defender, but that did not help. Is there anything else I can try ?

    


  • python subprocess wait() causes ffmpeg to fail

    7 avril 2022, par mashuptwice

    I have a python script which at some point uses ffmpeg to concatenate video files. I run ffmpeg via subprocess.Popen() :

    


    subprocess.Popen(['ffmpeg', '-f', 'concat', '-safe', '0', '-i', 'list.txt', '-c', 'copy', 'out.mp4']).wait()


    


    As there is some processing happening after the concatenation, I need the script to wait for ffmpeg to finish the operation before proceeding. Strangely ffmpeg fails with list.txt: Invalid data found when processing input if I use wait() but runs as expected when invoked without.

    


    Has someone an idea why this is happening and how to mitigate that problem ?

    


  • Bash process substitution in Python with Popen

    7 septembre 2022, par moorej

    I'm attempting to create a looped video file by calling ffmpeg from the python subprocess library. Here's the part that's giving me problems :

    


    import subprocess as sp
sp.Popen(['ffmpeg', '-f', 'concat', '-i', "<(for f in ~/Desktop/*.mp4; do echo \"file \'$f\'\"; done)", "-c", "copy", "~/Desktop/sample3.mp4"])


    


    With the above code I'm getting the following error :

    


    <(for f in /home/delta/Desktop/*.mp4; do echo "file '$f'"; done): No such file or directory


    


    I did find a similarly phrased question here. But I'm not sure how the solution might apply to solving my issue.