Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (45)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (2821)

  • rtmp : Support reading interleaved chunks.

    17 septembre 2013, par Josh Allmann
    rtmp : Support reading interleaved chunks.
    

    A given packet won’t always come in contiguously ; sometimes
    they may be broken up on chunk boundaries by packets of another
    channel.

    This support primarily involves tracking information about the
    data that’s been read, so the reader can pick up where it left
    off for a given channel.

    As a side effect, we no longer over-report the bytes read if
    (toread = MIN(size, chunk_size)) == size

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/rtmppkt.c
    • [DH] libavformat/rtmppkt.h
    • [DH] libavformat/rtmpproto.c
  • OSError : MoviePy error : failed to read the duration of file

    3 août 2022, par ZackR

    I'm receiving the error below from a lambda deployment with a Python3.9 runtime environment and x86_64 architecture. I attempted using the both most recent ffmpeg binary snapshot snapshot and release from this link, [https://evermeet.cx/ffmpeg/][1].&#xA;I checked the file info for duration and the attribute exists with a value of 16 seconds.

    &#xA;

    What am I missing here ??

    &#xA;

    [ERROR] OSError: MoviePy error: failed to read the duration of file /tmp/lgnd-assets-public-drops---sample-video.mp4.&#xA;Here are the file infos returned by ffmpeg:&#xA;&#xA;-i: /var/task/ffmpeg: cannot execute binary file&#xA;&#xA;Traceback (most recent call last):&#xA;&#xA0;&#xA0;File "/var/task/CreateThumbnail.py", line 99, in handler&#xA;&#xA0;&#xA0;&#xA0;&#xA0;create_video_thumbnail(bucket, key, file_name, extension)&#xA;&#xA0;&#xA0;File "/var/task/CreateThumbnail.py", line 72, in create_video_thumbnail&#xA;&#xA0;&#xA0;&#xA0;&#xA0;resize_video(thumb_download_path, thumb_upload_path)&#xA;&#xA0;&#xA0;File "/var/task/CreateThumbnail.py", line 30, in resize_video&#xA;&#xA0;&#xA0;&#xA0;&#xA0;with VideoFileClip(video_path) as video:&#xA;&#xA0;&#xA0;File "/var/task/moviepy/video/io/VideoFileClip.py", line 88, in __init__&#xA;&#xA0;&#xA0;&#xA0;&#xA0;self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt,&#xA;&#xA0;&#xA0;File "/var/task/moviepy/video/io/ffmpeg_reader.py", line 35, in __init__&#xA;&#xA0;&#xA0;&#xA0;&#xA0;infos = ffmpeg_parse_infos(filename, print_infos, check_duration,&#xA;&#xA0;&#xA0;File "/var/task/moviepy/video/io/ffmpeg_reader.py", line 296, in ffmpeg_parse_infos&#xA;&#xA0;&#xA0;&#xA0;&#xA0;raise IOError(("MoviePy error: failed to read the duration of file %s.\n"&#xA;

    &#xA;

    Thanks,&#xA;Zack

    &#xA;

  • Simple mp3 audio extract from video (mp4/avi/webm etc) using Python script (moviepy)

    28 mai 2016, par Bam

    I’m trying to run this very simple python script to extract mp3 from a video.

    Here’s the code :

    import moviepy.editor as mp
    clip = mp.VideoFileClip("test.webm")
    clip.audio.write_audiofile("test.mp3")

    I’m running this on a Mac and moviepy/ffmpeg seem to be correctly installed. I get the following error :

    Traceback (most recent call last):
     File "/Users/XXXXXX/Code/python/000014 - convert mp4 to mp3.py", line 2, in <module>
       clip = mp.VideoFileClip("test.webm")
     File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/moviepy/video/io/VideoFileClip.py", line 55, in __init__
       reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt)
     File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_reader.py", line 32, in __init__
       infos = ffmpeg_parse_infos(filename, print_infos, check_duration)
     File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_reader.py", line 250, in ffmpeg_parse_infos
       if "No such file or directory" in lines[-1]:
    IndexError: list index out of range
    </module>

    The source file is in the same directory as the code is being run in.

    The same code ran fine on a Windows pc.

    Any ideas ? thanks