Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (58)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7325)

  • Mix more then 1000 mp3's sounds bad / Can I use FFmpeg to merge 1000 mp3s ?

    7 avril 2022, par maesbn

    I am working on a project where everybody has to activate a part of a song. I have about 7000 mp3's, each with the same length of the final mix but with only a small part of audio. So for example you can hear a drum hit at the 15th second and the rest of the mp3 (about 4 min.) is silence.

    



    I use the mix filter to add all the mp3's. I add them 32 mp3s at a time. 
The first test I've run results in the first mixed mp3s to be silenced ? (I set the Volume on the mix to the number of tracks) Also the sound is of poor quality after the mix. Can I fix this ?

    



    Or do you think this can not be done by ffmpeg ? Do you know an alternative program to do this ?

    



    Thanks !
B.

    


  • Calling audio_loop in moviepy errors unless duration is shorter than video duration

    9 juin 2020, par Noster

    I am using the following code to have music play in the background of a video that has its own audio, and loop until the end of the video. However audio_loop is causing an error after the video is done writing. The song is 67 seconds long, and if I set duration = 66 or below I get no error but any time over causes an error.

    



    final_clip = concatenate_videoclips([*vidclip], method='compose')

count=0
for file in os.listdir(TO):
    if file.endswith('.mp4'):
        count+=1

finalClipName = "{}Final.mp4".format(count)
music = AudioFileClip('song.mp3')
audio_background = afx.audio_loop(music, duration = final_clip.duration)#ERROR
final_audio = CompositeAudioClip([final_clip.audio, audio_background])
final_clip = final_clip.set_audio(final_audio)
final_clip.write_videofile(finalClipName, fps=10)


    



    The error in question :

    



    Exception ignored in: <function at="at" 0x0000026346d3baf8="0x0000026346d3baf8">&#xA;Traceback (most recent call last):&#xA;  File "C:\Users\Eric\Projects\Videdit\venv\lib\site-packages\moviepy\audio\io\readers.py", line 254, in __del__&#xA;    self.close_proc()&#xA;  File "C:\Users\Eric\Projects\Videdit\venv\lib\site-packages\moviepy\audio\io\readers.py", line 150, in close_proc&#xA;    self.proc.terminate()&#xA;  File "C:\Users\Eric\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1314, in terminate&#xA;    _winapi.TerminateProcess(self._handle, 1)&#xA;OSError: [WinError 6] The handle is invalid&#xA;</function>

    &#xA;

  • lavf : make overlay_qsv work based on framesync

    3 avril 2018, par Ruiling Song
    lavf : make overlay_qsv work based on framesync
    

    The existing version which was cherry-picked from Libav does not work
    with FFmpeg framework, because ff_request_frame() was totally
    different between Libav (recursive) and FFmpeg (non-recursive).
    The existing overlay_qsv implementation depends on the recursive version
    of ff_request_frame to trigger immediate call to request_frame() on input pad.
    But this has been removed in FFmpeg since "lavfi : make request_frame() non-recursive."
    Now that we have handy framesync support in FFmpeg, so I make it work
    based on framesync. Some other fixing which is also needed to make
    overlay_qsv work are put in a separate patch.

    Signed-off-by : Ruiling Song <ruiling.song@intel.com>

    • [DH] libavfilter/Makefile
    • [DH] libavfilter/vf_overlay_qsv.c