
Recherche avancée
Autres articles (56)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (11699)
-
Applescript to batch convert videos with ffmpeg
13 mai 2022, par Thad_SuperspermI'm trying to add padding to a large amount of videos in their folders. I created an app with AppleScriptEditor so I can drag and drop files and they're automatically converted. I found a script on the web, I edited it with the ffmpeg command I need, but it won't work because it wants to overwrite the source file.


on open argv
 set paths to ""
 repeat with f in argv
 set paths to paths & quoted form of POSIX path of f & " "
 end repeat
 tell application "Terminal"
 do script "for f in " & paths & "; do ffmpeg -i \"$f\" -vf pad=\"9/8*iw:ih:(ow-iw)/2:0:color=black\" \"$f\"; done"
 activate
 end tell
end open



Note that I want to keep the filename, filetype and put the new file next to the old one but just add an underscore at the end of the new file, before the extension ; e.g. : file.ext. > file_.ext


-
How do I run ffmpeg with PHP on a Mac
8 avril 2017, par Please HelpThere is literally nothing on this anywhere, the little there is does not work and is too advanced for me. If you can answer this you would make my life. How do I run ffmpeg commands from php which is running on my localhost ? I prefer XAMPP, but MAMP will do just fine, at this stage I will use anything. Do I need to install ffmpeg on the XAMPP server itself, or does it just need to be installed on the mac ? I can run the ffmpeg commands fine from terminal, for example,
ffmpeg -i Tmpfile.mp4 -c:v libx264 -preset ultrafast video.mp4
works fine, but
echo shell_exec("ffmpeg -i Tmpfile.mp4 -c:v libx264 -preset ultrafast video.mp4");
does nothing when I load the webpage with the index.php that that code is in.
I will buy you a cookie if you can solve my problem :)
-
How to close all the threads and multiprocesses in a tkinter app when app closes ?
16 juillet 2021, par kupI am creating a tkinter app which start a multiprocess.process (daeman = True) and then that process further starts a couple threads and that thread further starts a ffmpeg process.


for i, val in enumerate(group):
 threads.append(Thread(target = self.ffmpeg, args=(val, )))
 threads[i].start()



But when i close the app the process does not stops, i can still see log in the terminal after i closes the app.


I just want them to close when app shuts down.


i also tried :


sys.exit()