
Recherche avancée
Autres articles (50)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (9065)
-
Why Can't i view a few of my mp4 files in my .erb but can in html file ?
27 avril 2016, par Joseph McKenzieI have a site that I’m working on for a customer and the strangest thing is happening to me. I pull in a list of videos from a database table and it plays the video that I want it to, this all works fine.
For some reason some of the video files will not play in either chrome nor Firefox when viewing my page from an .erb file,but they will work in Microsoft edge. They will all work in an .html file though in all my browsers they are raw .264 files converted to mp4 via ffmpeg .
I would think if it was a file corruption it wouldn’t play fine in a .html file or Edge.
<% links[0,1].each do |links|%>-->
<% if links[1] == "Not_Watched"%>
<video width="320" height="240" controls="controls">
<source src="../videos/<%=links[0]%>" type="video/mp4">
</source></video>
<%end%>
<%end%>
get '/page1' do
thing1= database.execute("select * from thing1");
thing2= database.execute("select * from thing2")
links = database.execute("select * from links")
erb :page1, :locals => {:thing1=> thing1, :thing2=> thing2, :links => links}
endI had to change some of the code names up because i cant put up to much of this code online...... and there is a lot more I didn’t include because didn’t have anything to do with anything as far as I could imagine. If anyone thinks it could have a bearing ill post some of it but changed up so that I can
-
Révision 103728 : refs #3692 : Intégration de la library MediaElement en 4.0.2
2 avril 2017, par real3t@gmail.comTesté sous Windows 10 avec Edge, FireFox et Chrome en utilisant les .mp4, .ogg et .mp3 utilisés par http://www.mediaelementjs.com/
Pas testé les skins.
-
Using ffmpeg to split videos into frames doesn't work
28 décembre 2018, par אבנר יעקבIn my code i’m trying to split video to frames using ffmpeg.
for this I’m using this code
experiments = ['iguazu.mp4', 'boat.mp4']
for experiment in experiments:
exp_no_ext = experiment.split('.')[0]
os.system('mkdir dump')
os.system('mkdir dump\%s' % exp_no_ext)
os.system("ffmpeg -i videos\%s dump\%s\%s%%03d.jpg" % (experiment,
exp_no_ext, exp_no_ext))So in visual studio code it’s working perfect but in visual studio community the line "os.system("ffmpeg -i videos\%s dump\%s\%s%%03d.jpg" % (experiment,
exp_no_ext, exp_no_ext))" showing error "ffmpeg is not recognized as an internal or external command".