
Recherche avancée
Autres articles (98)
-
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 -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)
Sur d’autres sites (4741)
-
From URL of Video GetThumbnail Using Nreco
8 février 2016, par Muhammad Abid FahadI working on a sharepoint project in which i have to upload the videos in the document library as videoset. after creating a video set i have have to upload the video and fetch the thumbnail from the video and upload it. video is uploaded succesfully using
spfile = item.Folder.Files.Add(fuUpload.FileName, fuUpload.PostedFile.InputStream, true);
I am using using Nreco to get thumbnail from the video. However my code works fine on local machine but its giving error "http://mysite/Download/abc/abc.mp4 : Server returned 401 Unauthorized (authorization failed) (exit code : 1)" when i am using my application from other pc browsers.
ffMpeg.GetVideoThumbnail(videoPath, ms, 10) ; the error line.
here is the code i am using
private MemoryStream SaveThumbnail(string videoPath)
{
MemoryStream ms;
try
{
videoPath = "http://mysitehttp/Download/abc/abc.mp4"
ms = new MemoryStream();
SPSecurity.RunWithElevatedPrivileges(delegate() {
var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
ffMpeg.GetVideoThumbnail(videoPath, ms, 10);
});
}
catch(Exception ex)
{
throw ex;
}
return ms;
} -
PHP - Get MP4 location from video URL or Video Embeded [on hold]
28 décembre 2016, par toufik hidayat-2
down vote
favoriteI am trying to fetch FREE video anime from acefile
I have this link for example : http://acefile.net/embed-r9e9vomk8oc8-650x360.html
What I want to do is to fetch where the mp4 is located and embed it in one of my website pages.
I have a Chrome plugin that is able to download MP4 videos just by looking at the source page.
Is there a way to achieve the same with PHP or Python ? Remember I only need the video location not to download it.
Thanks all
-
I'm having difficulties installing ffmpeg on Mac OS so I can use MoviePy. I've done research, but nothing has worked. Any suggestions ?
31 mars 2018, par shmibleI’m trying to write a Python program that uses MoviePy on Mac OS 10.11.16 to convert an MP4 file to GIF. I use :
import moviepy.editor as mp
and I get an error saying I need to call
imageio.plugins.ffmpeg.download()
so I can download ffmpeg. I use :import imageio
imageio.plugins.ffmpeg.download()which gives me the following error :
Imageio: 'ffmpeg.osx' was not found on your computer; downloading it now.
Error while fetching file: <urlopen error="error" certificate="certificate" verify="verify" failed="failed">.
Error while fetching file: <urlopen error="error" certificate="certificate" verify="verify" failed="failed">.
Error while fetching file: <urlopen error="error" certificate="certificate" verify="verify" failed="failed">.
Error while fetching file: <urlopen error="error" certificate="certificate" verify="verify" failed="failed">.
Traceback (most recent call last):
File "", line 1, in <module>
imageio.plugins.ffmpeg.download()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 55, in download
get_remote_file('ffmpeg/' + FNAME_PER_PLATFORM[plat])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/core/fetching.py", line 121, in get_remote_file
_fetch_file(url, filename)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/core/fetching.py", line 177, in _fetch_file
os.path.basename(file_name))
OSError: Unable to download 'ffmpeg.osx'. Perhaps there is a no internet connection? If there is, please report this problem.
</module></urlopen></urlopen></urlopen></urlopen>I definitely have an internet connection. I found this link, and tried installing with Homebrew and Static builds, but neither have worked. It seems like compiling it myself would be a little too advanced for me (I’ve only briefly looked into it). I used
imageio.plugins.ffmpeg.download()
on IDLE. I read something about using PyCharm to run the MoviePy code, but I get the same initial error. ffmpeg is currently in my/usr/local/bin
folder. Any suggestions are welcome. Thank for your help.Edit : I’m using Python 3.6.1