
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (55)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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
Sur d’autres sites (10302)
-
Converting Video files in a Azure Webjob with ffMpeg
13 décembre 2016, par Kevin PhiferI’m having trouble using ffMpeg in an Azure webjob.
I found the following article (How to call ffmpeg.exe to convert audio files on Windows Azure ?) and it is exactly what I want to do, however, I cannot get ffMpeg to execute and it gives no error message.
To diagnose the problem, I have boiled it down to its essentials by uploading ffMpeg, a video file to convert, and batch file to run it :
The script in
run.cmd
is simply :del output.mp4
ffmpeg -i screencast.wmv -c:v libx264 -r 15 output.mp4This works on my personal machine, but ran as a webjob I get results below.
[12/08/2015 15:42:39 > bf9dd6: SYS INFO] Status changed to Initializing
[12/08/2015 15:42:39 > bf9dd6: SYS INFO] Job directory change detected: Job file 'ffmpegtest\output.mp4' exists in source directory but not in working directory.
[12/08/2015 15:42:47 > bf9dd6: SYS INFO] Run script 'run.cmd' with script host - 'WindowsScriptHost'
[12/08/2015 15:42:48 > bf9dd6: SYS INFO] Status changed to Running<br />
[12/08/2015 15:42:48 > bf9dd6: INFO]
[12/08/2015 15:42:48 > bf9dd6: INFO] D:\local\Temp\jobs\triggered\ffMpeg\y1bdnb1e.03k\ffmpegtest>del output.mp4
[12/08/2015 15:42:48 > bf9dd6: INFO]
[12/08/2015 15:42:48 > bf9dd6: INFO] D:\local\Temp\jobs\triggered\ffMpeg\y1bdnb1e.03k\ffmpegtest>ffmpeg -i screencast.wmv -c:v libx264 -r 15 output.mp4
[12/08/2015 15:42:49 > bf9dd6: SYS INFO] Status changed to Failed
[12/08/2015 15:42:49 > bf9dd6: SYS ERR ] Job failed due to exit code -1073741515Edit :
Additionally, it was suggested that I run using Kudu console. Still no luck :
Solution :
I ended up needing to run the 32 version of ffMpeg and not the 64 bit. Thanks so much @mathewc ! -
Adobe Air , NativeProcess and ffmpeg
18 août 2013, par Tom LecozFirst of all, please excuse me if my english is not perfect, I hope you could understand me...
I discover yesterday this video tutorial about Air Native Process and FFMPEG, it shows how to create an Air app that can read every video format (avi, mkv, ...).
http://www.youtube.com/watch?v=6N7eN9wvAGQ
I tryed to reproduce it but obviously it didn't work...
Then I looked for an example of it, with working source code, on the internet. I found this
http://suzhiyam.wordpress.com/2011/05/05/as3ffmpeg-play-multi-video-formats-in-air/
The author said it's a document class for a Flash project, it just need a button component, a text area and a video Object.
I tryed it inside a Flash project, it didn't work...
So, I made some adjusment to run it outside Flash (I just replaced the DisplayObject on the stage by ActionScript code), just because it easier if you want to test it.When I say "it didn't work", I mean my video is not read at all. The nativeProcess is working, my executable is recognize but I always get some ProgressEvent.STANDARD_ERROR_DATA and then the process stop...
I'm working on Windows 7 64 bit.
I tryed with FFMPEG 32 & 64 bit and get the exact same (no) result.You can find my code here
pastebin.com/U3xRUKWeCan someone help me ?
Please ! :)
Thanks by advance !
Tom
-
Command is running different from expected when i use it trought Python
17 septembre 2021, par Gustavo MarinhoI have a code where i download a youtube video as 3gpp and convert it to a mp3, i need to use FFmpeg to do this, and it work well when using both cmd and powershell, but, when i tried to run the same command in Python, it didin't work at all.


This is my command :


ffmpeg -i C:\YTDownloads\CurrentAudio.3gpp C:\YTDownloads\CurrentAudio.mp3


I tried :


subprocess.call(r'%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe ffmpeg -i C:\YTDownloads\CurrentAudio.3gpp C:\YTDownloads\CurrentAudio.mp3', shell=True)


subprocess.run(["ffmpeg","-i","C:\YTDownloads\CurrentAudio.3gpp","C:\YTDownloads\CurrentAudio.mp3]")



os.system('powershell ffmpeg -i C:\YTDownloads\CurrentAudio.3gpp C:\YTDownloads\CurrentAudio.mp3')



subprocess.run([
 'ffmpeg',
 '-i', os.path.join(parent_dir, f"{newname}.3gpp"),
 os.path.join(parent_dir, f"{newname}.mp3")
]) 



subprocess.call('C:\Windows\System32\powershell.exe ffmpeg -i C:\YTDownloads\CurrentAudio.3gpp C:\YTDownloads\CurrentAudio.mp3', shell=True)



all of them return some type of error, in some of them it returns that ffmpeg isn't a recognized as a internal command, in others it says that the system can't find the specified path, but none of them works, even thought it works perfectly when i use the exactly same command on cmd/powershell.


sorry for my bad english :3