
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (44)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone. -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (7741)
-
Evolution #4427 : Permettre (via une constante) de passer de 65 536 à 4096 le nombre max de fichie...
24 janvier 2020, par - Equipement- <span class="CodeRay"><span class="exception">@</span><span class="exception">@</span> -<span class="integer">40</span>,<span class="integer">8</span> +<span class="integer">40</span>,<span class="integer">12</span> <span class="exception">@</span><span class="exception">@</span>
- * <span class="exception">@</span><span class="keyword">return</span> <span class="predefined-type">bool</span>
- */
- <span class="keyword">function</span> <span class="function">ecrire_cache</span>(<span class="local-variable">$nom_cache</span>, <span class="local-variable">$valeur</span>) {
- - <span class="local-variable">$d</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">0</span>, <span class="integer">2</span>);
- - <span class="local-variable">$u</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">2</span>, <span class="integer">2</span>);
- + <span class="local-variable">$longueur_d</span> = <span class="integer">2</span>;
- + <span class="keyword">if</span> (<span class="predefined">defined</span>(<span class="string"><span class="delimiter">'</span><span class="content">_CACHE_MAX_4096_FILES</span><span class="delimiter">'</span></span>) <span class="keyword">AND</span> _CACHE_MAX_4096_FILES){
- + <span class="local-variable">$longueur_d</span> = <span class="integer">1</span>;
- + }
- + <span class="local-variable">$d</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">0</span>, <span class="local-variable">$longueur_d</span>);
- + <span class="local-variable">$u</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="local-variable">$longueur_d</span>, <span class="integer">2</span>);
- <span class="local-variable">$rep</span> = _DIR_CACHE;
- <span class="local-variable">$rep</span> = sous_repertoire(<span class="local-variable">$rep</span>, <span class="string"><span class="delimiter">'</span><span class="delimiter">'</span></span>, <span class="predefined-constant">false</span>, <span class="predefined-constant">true</span>);
- <span class="local-variable">$rep</span> = sous_repertoire(<span class="local-variable">$rep</span>, <span class="local-variable">$d</span>, <span class="predefined-constant">false</span>, <span class="predefined-constant">true</span>);
- <span class="exception">@</span><span class="exception">@</span> -<span class="integer">56</span>,<span class="integer">8</span> +<span class="integer">60</span>,<span class="integer">12</span> <span class="exception">@</span><span class="exception">@</span>
- * <span class="exception">@</span><span class="keyword">return</span> mixed
- */
- <span class="keyword">function</span> <span class="function">lire_cache</span>(<span class="local-variable">$nom_cache</span>) {
- - <span class="local-variable">$d</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">0</span>, <span class="integer">2</span>);
- - <span class="local-variable">$u</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">2</span>, <span class="integer">2</span>);
- + <span class="local-variable">$longueur_d</span> = <span class="integer">2</span>;
- + <span class="keyword">if</span> (<span class="predefined">defined</span>(<span class="string"><span class="delimiter">'</span><span class="content">_CACHE_MAX_4096_FILES</span><span class="delimiter">'</span></span>) <span class="keyword">AND</span> _CACHE_MAX_4096_FILES){
- + <span class="local-variable">$longueur_d</span> = <span class="integer">1</span>;
- + }
- + <span class="local-variable">$d</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="integer">0</span>, <span class="local-variable">$longueur_d</span>);
- + <span class="local-variable">$u</span> = <span class="predefined">substr</span>(<span class="local-variable">$nom_cache</span>, <span class="local-variable">$longueur_d</span>, <span class="integer">2</span>);
- </span>
-
reverse Video : Moviepy Error, by using time.mirror (ffmpeg)
26 mars 2023, par stelidakisim 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.
 File "/Shorts Project/codefiles/video_play_and_rewinde_test_001.py", line 11, in <module>
 popreversed_video = video.fx(vfx.time_mirror)
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.
</module>


the funny thing is, moviepy is installed, uninstalled, reinstalled and updated.
further, ffmpeg is installed, uninstalled, reinstalled, updated.


but stimm its not working.


Please help


Thank you


- 

- pip install moviepy
- pip uninstall moviepy
- pip install ffmpeg
- pip install ffmpeg-python
- brew install ffmpeg
- pip uninstall ffmpeg
- pip install —upgrade moviepy
















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


-
Add unit tests for word-wise CRC16 functions
20 mai 2018, par Robert Kausch