
Recherche avancée
Autres articles (30)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (5909)
-
100% of gif does not convert to mp4 with moviepy
25 mai 2018, par ThePeskyWabbitwhen I execute the following code :
import requests
import moviepy.editor as mp
url = "https://i.imgur.com/VaTidQA.gif"
with open('temp.gif', 'wb') as f:
f.write(requests.get(url).content)
clip = mp.VideoFileClip("temp.gif")
print(clip.duration)
clip.write_videofile("temp.mp4")I experience loss of frames on the mp4 file. the mp4 will always start from the beginning but will seemingly arbitrarily cut off at some point.
Here is an example :
GIF : https://i.imgur.com/VaTidQA.gif
MP4 : https://giphy.com/gifs/pesky-wabbit-5UqQOjkYLuWrvHzvsA
The gif is indeed downloaded in its entirety.
Upon testing, I found that if I change the last line to :
clip.set_duration(clip.duration + X).write_videofile("temp.mp4")
then it will indeed extend the MP4 and cut off less, but this needs to be a variable script as it will be used for many, many gifs. It is almost certainly due to the fact that moviepy is getting the wrong duration from the gif. Any suggestions on how I can remedy this ?
update : I have determined that moviepy is obtaining the incorrect duration from the gif. when that duration is passed to the
write_videofile()
call, it only writes that shorter interval. I am looking into how it determines the gif duration. -
Looking function in wrong DLL
23 avril 2021, par SamuelI link
avcodec.lib, .... avxxx.lib (ffmpeg library)
to my vs2008 project, but show the error message box "procedure entry point could not be located in the dynamic link library" while double click it.

I check my program with DLL dependencies tool, it shows the program try to find DXVA2CreateDirect3DDeviceManager9 in avcodec.dll. It is impossible to find that function definitely.


I also saw someone has the same problem with me.
The procedure entry point could not be located in the dynamic link library - looking in wrong DLL


This post solve me problem, but why ?


-
avformat_alloc_context returns null
4 mars 2017, par dk123I’m currently trying to play a video from a stream through FFMPEG. I’m currently stuck however on a particular section : regardless of what I do,
avformat_alloc_context();
seems to return null.Would anyone perhaps know what might be going on ?
I’ve been referencing the link below :
Reading a file located in memory with libavformat