Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (109)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (14946)

  • Révision 20115 : fusion des inc/distant de la branche 2.1 et de la branche 3 ; ca permet de reven...

    22 janvier 2013, par Fil Up

    au passage, ca reporte aussi [19231] (documents proteges, faussement distants) sur le trunk a noter : les modifications d’espaces et de tabulations, bien que effectivement ameliorant le source, produisent de nombreux diffs ’muets’ qu’il a fallu verifier un par un... au final une perte de temps (...)

  • Errno32 during MoviePy-FFMPEG write_videofile

    5 mars 2023, par Krest

    During write_videofile i get Errno32 inside Errno32

    


    def creating_video(files, title):
    fragments = []
    for file in files:
        print(file)
        clip = VideoFileClip(file).subclip()
        fragments.append(clip)
    video = moviepy.editor.concatenate_videoclips(fragments)
    video.write_videofile(f"{title}.mp4")
    return None


video_fragments = preparing_videos(title)
creating_video(video_fragments[0], video_fragments[1])


    


    files is list containing paths to mp4 files making up final video

    


    Current FFMPEG version - 5.1.2

    


    Current MoviePy version - 1.0.3

    


    I added FFMPEG to Path instead of using ImageIO-FFMPEG bundled with moviepy.
Checked different versions of FFMPEG
Checked app at linux system which generated .mp3 and mp.4 files but at the end after merging them the final file was broken.
Tried installing moviepy with pipx
On windows app doesnt even render chunks error :

    


    chunk:   0%|          | 0/11098 [00:00<?, ?it/s, now=None]Traceback (most recent call last):
    self.proc.stdin.write(frames_array.tobytes())
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

OSError: [Errno 32] Broken pipe

MoviePy error: FFMPEG encountered the following error while writing file titleTEMP_MPY_wvf_snd.mp3:
b'titleTEMP_MPY_wvf_snd.mp3: Invalid argument\r\n'


    


  • ffmpeg timelapse resets PTS on frame size change

    19 avril 2024, par Ral

    I have 601 sequential images, they change size and aspect ratio on frame 36 and 485, creating 3 distinct sizes of images in the set.

    


    I want to create a timelapse and shave off the first 200 frames and only show the remaining 401, but if I do a trim filter on the input, the filter treats each of the 3 sections of different sized frames as separate 'streams' with their own reset PTS, all of which start at the exact same time. This means the final output of the below commmand is only 249 frames long instead of 401.

    


    How can I fix this so I just get the final 401 frames ?

    


    ffmpeg \
-framerate 60 \
-i "./%07d.jpg" \
-filter_complex "
 [0]scale=1000:1000[in1];
 [in1]trim=start_frame=200[in2];
 [in2]setpts=PTS-STARTPTS
 " \
-r 60 -y trimmed.webm


    


    Filters like setpts=N/(60*TB) or setpts=PTS-SETPTS after the scale to try and fix the frame times also seem to change nothing.

    


    If I remove the trim and pts reset, the timelapse exports all 601 perfectly.
If I remove the pts reset and leave the trim, it exports 449 frames starting on frame 0.

    


    There's no errors or warning associated with the problem, other than the debug states the input reaches EOF on frame 449. (which is 485-36, the two section lengths, for some reason)

    


    I understand pre-processing the image sizes is a way to fix this, but I'd like to understand why this isn't possible in one command.

    


    version 6.0-6ubuntu1, but also happens on 6.1 and 5.1.

    


    Even if I whittle it down to the bare minimum, it still incorrectly exports 450 frames :

    


    ffmpeg -i "./%07d.jpg" -filter setpts=PTS-STARTPTS -y tpad.webm