Recherche avancée

Médias (91)

Sur d’autres sites (2029)

  • reverse Video : Moviepy Error, by using time.mirror

    22 août 2023, par stelidakis

    im desperately trying to reverse a movie with moviepy by using .time_mirror.

    


    from moviepy.editor import *
import moviepy.video.fx.all as vfx
# Load the video
video = VideoFileClip("/videos/uncut/videogames/other/001.mp4")


popreversed_video = video.fx(vfx.time_mirror)

# Save the reversed video
reversed_video.write_videofile("videos/cut/videogames/other/001_rev.mp4")

print("done")


    


    but im always getting this error :

    


    MoviePy error: failed to read the first frame of video file /videos/uncut/videogames/other/001.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;  File "/Shorts Project/codefiles/video_play_and_rewinde_test_001.py", line 11, in <module>&#xA;    popreversed_video = video.fx(vfx.time_mirror)&#xA;OSError: MoviePy error: failed to read the first frame of video file /videos/uncut/videogames/other/001.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;</module>

    &#xA;

    the funny thing is, moviepy is installed, uninstalled, reinstalled and updated.&#xA;further, ffmpeg is installed, uninstalled, reinstalled, updated.

    &#xA;

    but stimm its not working.

    &#xA;

    Please help

    &#xA;

    Thank you

    &#xA;

      &#xA;
    • pip install moviepy
    • &#xA;

    • pip uninstall moviepy
    • &#xA;

    • pip install ffmpeg
    • &#xA;

    • pip install ffmpeg-python
    • &#xA;

    • brew install ffmpeg
    • &#xA;

    • pip uninstall ffmpeg
    • &#xA;

    • pip install —upgrade moviepy
    • &#xA;

    &#xA;

    probably not in this order, but everything is on the currently newest version.&#xA;Operator : MacOs

    &#xA;

  • reverse Video : Moviepy Error, by using time.mirror (ffmpeg)

    26 mars 2023, par stelidakis

    im desperately trying to reverse a movie with moviepy by using .time_mirror.

    &#xA;

    from moviepy.editor import *&#xA;import moviepy.video.fx.all as vfx&#xA;# Load the video&#xA;video = VideoFileClip("/videos/uncut/videogames/other/001.mp4")&#xA;&#xA;&#xA;popreversed_video = video.fx(vfx.time_mirror)&#xA;&#xA;# Save the reversed video&#xA;reversed_video.write_videofile("videos/cut/videogames/other/001_rev.mp4")&#xA;&#xA;print("done")&#xA;

    &#xA;

    but im always getting this error :

    &#xA;

    MoviePy error: failed to read the first frame of video file /videos/uncut/videogames/other/001.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;  File "/Shorts Project/codefiles/video_play_and_rewinde_test_001.py", line 11, in <module>&#xA;    popreversed_video = video.fx(vfx.time_mirror)&#xA;OSError: MoviePy error: failed to read the first frame of video file /videos/uncut/videogames/other/001.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;</module>

    &#xA;

    the funny thing is, moviepy is installed, uninstalled, reinstalled and updated.&#xA;further, ffmpeg is installed, uninstalled, reinstalled, updated.

    &#xA;

    but stimm its not working.

    &#xA;

    Please help

    &#xA;

    Thank you

    &#xA;

      &#xA;
    • pip install moviepy
    • &#xA;

    • pip uninstall moviepy
    • &#xA;

    • pip install ffmpeg
    • &#xA;

    • pip install ffmpeg-python
    • &#xA;

    • brew install ffmpeg
    • &#xA;

    • pip uninstall ffmpeg
    • &#xA;

    • pip install —upgrade moviepy
    • &#xA;

    &#xA;

    probably not in this order, but everything is on the currently newest version.&#xA;Operator : MacOs

    &#xA;

  • Anomalie #3588 (Nouveau) : log remplis par @apc_delete_file()

    10 novembre 2015, par nico d

    Hello,

    sur un site au traffic assez important, je viens de voir que j’ai un error.log qui se remplit extrêmement vite de warnings :

    [apc-warning] Could not stat file /var/www/..., unable to delete from cache. in /var/www/touleco3/ecrire/inc/flock.php on line 329.

    A tel point que je suis obligé de commenter ligne 329 @apc_delete_file()

    https://core.spip.net/projects/spip/repository/entry/branches/spip-3.0/ecrire/inc/flock.php#L329

    J’ai découvert ça récemment par hasard, le site était en 3.0.20, je viens de mettre à jour en 3.0.21, toujours pareil.

    Il y a une rotation des logs sur le serveur (rotation sur une semaine avec 52 archives), et visiblement error.log grossit énormément à partir de la semaine du 5 au 12 juillet, soit juste après une mise à jour en 3.0.20