
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (45)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette 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 2011MediaSPIP 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, parMediaSPIP 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 Allmannrtmp : 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)) == sizeSigned-off-by : Martin Storsjö <martin@martin.st>
-
OSError : MoviePy error : failed to read the duration of file
3 août 2022, par ZackRI'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].
I checked the file info for duration and the attribute exists with a value of 16 seconds.


What am I missing here ??


[ERROR] OSError: MoviePy error: failed to read the duration of file /tmp/lgnd-assets-public-drops---sample-video.mp4.
Here are the file infos returned by ffmpeg:

-i: /var/task/ffmpeg: cannot execute binary file

Traceback (most recent call last):
  File "/var/task/CreateThumbnail.py", line 99, in handler
    create_video_thumbnail(bucket, key, file_name, extension)
  File "/var/task/CreateThumbnail.py", line 72, in create_video_thumbnail
    resize_video(thumb_download_path, thumb_upload_path)
  File "/var/task/CreateThumbnail.py", line 30, in resize_video
    with VideoFileClip(video_path) as video:
  File "/var/task/moviepy/video/io/VideoFileClip.py", line 88, in __init__
    self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt,
  File "/var/task/moviepy/video/io/ffmpeg_reader.py", line 35, in __init__
    infos = ffmpeg_parse_infos(filename, print_infos, check_duration,
  File "/var/task/moviepy/video/io/ffmpeg_reader.py", line 296, in ffmpeg_parse_infos
    raise IOError(("MoviePy error: failed to read the duration of file %s.\n"



Thanks,
Zack


-
Simple mp3 audio extract from video (mp4/avi/webm etc) using Python script (moviepy)
28 mai 2016, par BamI’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