
Recherche avancée
Autres articles (51)
-
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 -
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 -
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 (8405)
-
encoding jpeg as h264 video
22 février 2017, par jefftimestenI am using the following command to encode an AVI to an H264 video for use in an HTML5 video tag :
ffmpeg -y -i "test.avi" -vcodec libx264 -vpre slow -vpre baseline -g 30 "out.mp4"
And this works just fine. But I also want to create a placeholder video (long story) from a single still image, so I do this :
ffmpeg -y -i "test.jpg" -vcodec libx264 -vpre slow -vpre baseline -g 30 "out.mp4"
And this doesn’t work. What gives ?
EDIT : After trying LordNeckbeards answer, here is my full output : http://pastebin.com/axhKpkLx
-
Use ffmpeg to watermark and scale an image on video
11 mai 2015, par Ae.I want to be able to watermark videos with a logo image, which contains a website url.
The videos can be of different formats and dimension.
I’m trying to figure out a generic ffmpeg command to achieve it, so that i don’t have to tweak the command depending on the video i have to process.
So far i got :ffmpeg -i sample.mov -sameq -acodec copy -vf 'movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]' sample2.mov
In this way though the logo will look too big or too small with video of different size.
I’ve seen there is a scale option for avfilter, but I haven’t figure out whether it’s possible to resize the image logo based on the dimension of the input video, so that I can say to scale the logo to 1/3 of the video length for example, and keep the image ratio.Any idea ? doesn’t need to be done in a single command, could even be a script.
thanks in advance. -
How to play video using FFMPEG library in Android ?
3 mai 2015, par MacchiatoI was able to build
ffmpeg
library by using rock player build script.Now I have this
.so
file, how do I play video ? And I want to display this video inside a smallLinearLayout
in myActivity
.Is it possible ?
Update :
I know that it’s easy to play video usingVideoView
orMediaPlayer
+SurfaceView
. I just wanted to understand more aboutffmpeg
library and how to display the frames inside an AndroidActivity
.