
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (51)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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
Sur d’autres sites (4457)
-
Simple mp3 audio extract from video (mp4/avi/webm etc) using Python script (moviepy)
28 mai 2016, par BamI’m trying to run this very simple python script to extract mp3 from a video.
Here’s the code :
import moviepy.editor as mp
clip = mp.VideoFileClip("test.webm")
clip.audio.write_audiofile("test.mp3")I’m running this on a Mac and moviepy/ffmpeg seem to be correctly installed. I get the following error :
Traceback (most recent call last):
File "/Users/XXXXXX/Code/python/000014 - convert mp4 to mp3.py", line 2, in <module>
clip = mp.VideoFileClip("test.webm")
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/moviepy/video/io/VideoFileClip.py", line 55, in __init__
reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_reader.py", line 32, in __init__
infos = ffmpeg_parse_infos(filename, print_infos, check_duration)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_reader.py", line 250, in ffmpeg_parse_infos
if "No such file or directory" in lines[-1]:
IndexError: list index out of range
</module>The source file is in the same directory as the code is being run in.
The same code ran fine on a Windows pc.
Any ideas ? thanks
-
iFrameExtractor no ffmpeg with build_universal script
15 août 2016, par AlecGambleI’m trying to follow this tutorial on how to extract the frames from an iphone video :
http://www.codza.com/extracting-frames-from-movies-on-iphone#more-343
It says to do the following :
- open Terminal
- clone the repository :
git clone git://github.com/lajos/iFrameExtractor.git
- go to the ffmpeg folder in the project :
cd iFrameExtractor/ffmpeg
- build the ffmpeg libraries :
./build_universal
So there’s no ffmpeg folder in iFrameExtractor after cloning the repository so I went to the github page and it says to download the latest version of ffmpeg and move to to the ffmpeg folder (I presume it just means within iFrameExtractor) :
- Download the latest ffmpeg (0.11.1 tested) :
git clone git://source.ffmpeg.org/ffmpeg.git
So I’ve done that but there’s no file or directory when I try to run
./build_universal
and I can see that there isn’t.Any ideas what I’m doing wrong ?
Alternatively I was also looking at just installing ffmpeg-ios and trying to extract the frames myself :
https://github.com/kewlbear/FFmpeg-iOS-build-script
and I’ve run the script so I’ve got that folder in my xcode project as well but I’m unsure on how to link it properly ?
-
Powershell : Start-Job a script, cannot connect to youtube
16 mai 2016, par Kostas GeorgokitsosI am a bit new to PS, so please bear with me. I have written a script that starts an
ffmpeg
proccess, and in an endless loop waits for the process, and restarts it asffmpeg
is a bit shaky.ffmpeg
is taking an rtsp stream from a camera and forwards it to youtube.# initialization
$buffer_size = "30720k" # 60 sec * 512kbps
$ffm = "C:\Users\kostas\Downloads\_software\ffmpeg-20160308-git-5061579-win32-static\bin\ffmpeg.exe"
$params = "-f lavfi -i aevalsrc=0 -thread_queue_size 512 -i rtsp://$($usr):$($pw)@$($cam_ip):554/mpeg-4/ch1/main//av_stream/ -f flv -vcodec copy -acodec aac -bufsize $($buffer_size) rtmp://a.rtmp.youtube.com/live2/$($youtube_key)"
$params_bak = $params.Replace('/live2/','/live2/?backup=1/')
# start stream(s)
while (1 -eq 1) {
$err_log = "C:\Users\kostas\Documents\logs\Stream_Error-$(Get-Date -Format dd-MM-yyyy_HH-mm-ss).log"
$out_log = "C:\Users\kostas\Documents\logs\Stream-$(Get-Date -Format dd-MM-yyyy_HH-mm-ss).log"
$strm_app = Start-Process $ffm $params -PassThru -WindowStyle Minimized -RedirectStandardError $err_log -RedirectStandardOutput $out_log
Wait-Process $strm_app.Id
}When I call the script from the powershell prompt directly like
.\youtube_cam_1.ps1
all is well, but the powershell prompt locks, obviously.When I start like
Start-Job -FilePath C:\Users\kostas\Documents\youtube_cam_1.ps1
the job starts allright and I also see the ffmpeg process starting and running, but the youtube channel stays offline. Now to the funny bit : doingStop-Job
does not kill theffmpeg
process, and suddenlyffmpeg
can connect to youtube.I want to start and run several camera streams (i.e.
ffmpeg
instances) in the end and need the looping script to somehow go into the background. IsStart-Job
the wrong way to do it ?What is happening ?