
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (37)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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 (...) -
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 (7768)
-
python ffmpeg subprocess not working on heroku
21 septembre 2018, par LiamI’ve made a bot that deals with gif files and I tried uploading it on heroku.
So I’ve installed this buildpack https://elements.heroku.com/buildpacks/jonathanong/heroku-buildpack-ffmpeg-latest
And I run this code as a subprocess :
id_name = "je4d" (is actually randomized bc it downloads different gifs)
path = "./media/%s.gif" % (id_name)
subprocess.run('ffmpeg -y -ignore_loop 0 -i %s -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -t 15 %s' % (path, path.replace(".gif", ".mp4")), shell=True)So if I run this on my computer, it will transform je4d.gif into an .mp4 and it works fine
If I try to test ffmpeg on heroku by doing
heroku run bash
and then inputing the commandffmpeg -y -ignore_loop 0 -i ./media/je4d.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -t 15 ./media/je4d.mp4
It also works fine and makes a .mp4However if I run the code on heroku from python it does this :
[Errno 2] No such file or directory: 'ffmpeg -y -i ./media/3s1m8cw09sl11.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" ./media/3s1m8cw09sl11.mp4': 'ffmpeg -y -i ./media/3s1m8cw09sl11.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" ./media/3s1m8cw09sl11.mp4'
So I thought maybe there’s an error with the download, so I change path to a static file on the server, and it still gives me the same error.
Any tips ? -
GStreamer : cannot link elements
9 septembre 2018, par Han Jingyuwhen rosruning my own project, I got an unexpected error as below
I was guessing it was caused by some problems encountered in the process of installing OpenCV.So I reinstalled and recompiled the opencv, but this error still exists.
then I noticed the message, GStreamer : cannot link elements. I was thinking it probably related to GStreamer. Unfortunately, I don’t know how to fix this problem. little clues would be appreciated.** (ros_exploration:14898): CRITICAL **: gst_missing_encoder_message_new: assertion 'gst_caps_is_fixed (encode_caps)' failed
(ros_exploration:14898): GStreamer-CRITICAL **: gst_element_post_message: assertion 'message != NULL' failed
OpenCV Error: Unspecified error (GStreamer: cannot link elements
) in CvVideoWriter_GStreamer::open, file /home/htf/Downloads/opencv-2.4.13.6/modules/highgui/src/cap_gstreamer.cpp, line 1464
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'cv::Exception'
what(): /home/htf/Downloads/opencv-2.4.13.6/modules/highgui/src/cap_gstreamer.cpp:1464: error: (-2) GStreamer: cannot link elements
in function CvVideoWriter_GStreamer::open
Aborted (core dumped) -
How to split multiple mp4 videos using ffmpeg ? current solution is too slow [duplicate]
16 août 2018, par MUHAMMAD Saad ZaheerThis question already has an answer here :
-
FFmpeg splitting large files
1 answer
I want to split multiple mp4 videos into smaller chunks of size 30-40 secs after many days I have found an answer which used ffmpeg i.e
ffmpeg -i /home/msz/Downloads/CartoonVideos/1.mp4 -ss 180 -t 30 /home/msz/Downloads/NewCartoonVideos/1-7.mp4
but this is single line command and it’s taking too much, I have to change it every time.Can anybody tell me other methods or change this code in script/loop ?
-
FFmpeg splitting large files