Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (75)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (8739)

  • Using ffmpeg, extract small part of .m4a audio file and set extract file duration correctly

    30 août 2015, par Kes

    I have Linux mint 17.1.

    When I use ffmpeg to cut out a section of a 4 hour long .m4a audio file as follows :

    ffmpeg -ss 0:10:00 -i in_file.m4a -vn -c copy -t 0:40:00 out_file.m4a

    the correct position and duration of extract is extracted and the file plays just fine, but the audio duration meta-tag in the playback player is incorrectly shown as 4 hours.

    How can I set the actual extract duration so it is correct, in this case 30mins, or even better get ffmpeg to calculate it and set it properly ?

    Thank you

  • How can I save an animation from matplotlib as a mp4 video file ? [duplicate]

    19 décembre 2018, par Manza

    This question already has an answer here :

    I’m trying to render a animation.ArtistAnimation object into a 24 fps video file in format mp4.

    I have search about and I reached this. However, even after compiling ffmpeg I get this error message :

    C:\Users\trite\OneDrive\Documentos\MusiTex\Python\venv\Scripts\python.exe
    "C:/Users/trite/OneDrive/Documentos/MusiTex/Python/venv/Saving Animation.py"
    Traceback (most recent call last):
     File "C:\Users\trite\OneDrive\Documentos\MusiTex\Python\venv\lib\site-
    packages\matplotlib\animation.py", line 161, in __getitem__
       return self.avail[name]
    KeyError: 'ffmpeg'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
     File "C:/Users/trite/OneDrive/Documentos/MusiTex/Python/venv/Saving
    Animation.py", line 20, in <module>
       FFMpegWriter = manimation.writers['ffmpeg']
     File "C:\Users\trite\OneDrive\Documentos\MusiTex\Python\venv\lib\site-
    packages\matplotlib\animation.py", line 164, in __getitem__
       'Requested MovieWriter ({}) not available'.format(name))
    RuntimeError: Requested MovieWriter (ffmpeg) not available

    Process finished with exit code 1
    </module>

    What is the problem with ?

    I would really appreciate if you can help me. Actually, if there is other ways to saving/render this kind of object into a video file (preferably mp4) I will be delighted to hear them.

    Thank you very much

  • MoviePy Error : The system cannot find the file specified

    4 juillet 2017, par JohnSmithy1266

    I’m getting the error in the title when trying to run the example code below on Windows 10/Python 3.6.1/Sublime Text Editor 3. I made sure to set my MAGICK_HOME environment variable to point to where I manually installed ImageMagick. I made sure to only have 1 version of ImageMagick installed. I made sure FFMPEG, Numpy, imageio, Decorator, and tqdm were all installed.

    Yes, the file "vidclip.mp4" exists. The desired behavior here is to simply clip the video and add text to the center as per the example on the github page, i.e. to simply run the code successfully.

    Does anyone know what might be wrong ?

    Example code from github :

    from moviepy.editor import *

    video = VideoFileClip("vidclip.mp4").subclip(7,64)

    # Make the text. Many more options are available.
    txt_clip = ( TextClip("Ken Block who?",fontsize=70,color='white')
                .set_position('center')
                .set_duration(10) )

    result = CompositeVideoClip([video, txt_clip]) # Overlay text on video
    result.write_videofile("vidclip_edited.webm",fps=25) # Many options...

    The full error trace :

    Traceback (most recent call last):
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1220, in __init__
       subprocess_call(cmd, verbose=False )
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\tools.py", line 42, in subprocess_call
       proc = sp.Popen(cmd, **popen_params)
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 707, in __init__
       restore_signals, start_new_session)
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 990, in _execute_child
       startupinfo)
    FileNotFoundError: [WinError 2] The system cannot find the file specified

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
     File "C:\Users\av\Desktop\Desktop\Projects\Youtube\blender\test\testMoviePy.py", line 6, in <module>
       txt_clip = ( TextClip("Ken Block who?",fontsize=70,color='white')
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1229, in __init__
       raise IOError(error)
    OSError: MoviePy Error: creation of None failed because of the following error:

    [WinError 2] The system cannot find the file specified.

    .This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or.that the path you specified is incorrect
    </module>