Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (47)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (7804)

  • MoviePy error : failed to read the first frame of video file ****. That might mean that the file is corrupted

    14 juillet 2022, par Udit Hari Vashisht

    I am trying to reverse a video using MoviePy. My code is as under : -

    


    from moviepy.editor import VideoFileClip
from moviepy.video.fx.all import time_mirror

clip = VideoFileClip("udit.mp4")

clip = clip.fx(time_mirror)

clip.write_videofile("reversed.mp4")


    


    But, when I run it I get the following error :-

    


    Traceback (most recent call last):&#xA;  File "/Users/uditvashisht/projects/experiments/script.py", line 6, in <module>&#xA;    clip = clip.fx(time_mirror)&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/Clip.py", line 212, in fx&#xA;    return func(self, *args, **kwargs)&#xA;  File "", line 2, in time_mirror&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/decorators.py", line 54, in requires_duration&#xA;    return f(clip, *a, **k)&#xA;  File "", line 2, in time_mirror&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/decorators.py", line 29, in apply_to_mask&#xA;    newclip = f(clip, *a, **k)&#xA;  File "", line 2, in time_mirror&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/decorators.py", line 41, in apply_to_audio&#xA;    newclip = f(clip, *a, **k)&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/video/fx/time_mirror.py", line 13, in time_mirror&#xA;    return self.fl_time(lambda t: self.duration - t, keep_duration=True)&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/Clip.py", line 187, in fl_time&#xA;    return self.fl(lambda gf, t: gf(t_func(t)), apply_to,&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/Clip.py", line 136, in fl&#xA;    newclip = self.set_make_frame(lambda t: fun(self.get_frame, t))&#xA;  File "", line 2, in set_make_frame&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/decorators.py", line 14, in outplace&#xA;    f(newclip, *a, **k)&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/video/VideoClip.py", line 644, in set_make_frame&#xA;    self.size = self.get_frame(0).shape[:2][::-1]&#xA;  File "", line 2, in get_frame&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/decorators.py", line 89, in wrapper&#xA;    return f(*new_a, **new_kw)&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/Clip.py", line 93, in get_frame&#xA;    return self.make_frame(t)&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/Clip.py", line 136, in <lambda>&#xA;    newclip = self.set_make_frame(lambda t: fun(self.get_frame, t))&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/Clip.py", line 187, in <lambda>&#xA;    return self.fl(lambda gf, t: gf(t_func(t)), apply_to,&#xA;  File "", line 2, in get_frame&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/decorators.py", line 89, in wrapper&#xA;    return f(*new_a, **new_kw)&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/Clip.py", line 93, in get_frame&#xA;    return self.make_frame(t)&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/video/io/VideoFileClip.py", line 113, in <lambda>&#xA;    self.make_frame = lambda t: self.reader.get_frame(t)&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/video/io/ffmpeg_reader.py", line 184, in get_frame&#xA;    result = self.read_frame()&#xA;  File "/opt/homebrew/lib/python3.9/site-packages/moviepy/video/io/ffmpeg_reader.py", line 133, in read_frame&#xA;    raise IOError(("MoviePy error: failed to read the first frame of "&#xA;OSError: MoviePy error: failed to read the first frame of video file udit.mp4. That might mean that the file is corrupted. That may also mean that you are using a deprecated version of FFMPEG. On Ubuntu/Debian for instance the version in the repos is deprecated. Please update to a recent version from the website&#xA;</lambda></lambda></lambda></module>

    &#xA;

    I have tried the code on both Mac and Windows PC. The other functionality of MoviePy works fine, but I am not able to reverse the video. Both of my systems have ImageMagick and FFMPEG installed.

    &#xA;

  • lavfi/vf_vpp_qsv : add "a", "dar" and "sar" variables

    9 janvier 2023, par Haihao Xiang
    lavfi/vf_vpp_qsv : add "a", "dar" and "sar" variables
    

    Also fix the naming style in enum var_name.

    This is in preparation for reusing the code for other QSV filters.

    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavfilter/vf_vpp_qsv.c
  • Revision d2bb0c51d3 : Revert "Revert "Revert "SSSE3 convolution optimization""" This reverts commit f

    17 janvier 2014, par Yunqing Wang

    Changed Paths :
     Modify /vp9/common/x86/vp9_asm_stubs.c


     Delete /vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c


     Modify /vp9/vp9_common.mk



    Revert "Revert "Revert "SSSE3 convolution optimization"""

    This reverts commit f9404f240642222775a371acde8fc0721b3812df.

    This patch caused some ASAN error.

    Change-Id : If15b7e581310e19061d111c69f2931809662ed19