
Recherche avancée
Autres articles (29)
-
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (5989)
-
How to convert my 16:9 size MKV video to 4:3 size AVI video file [on hold]
16 août 2019, par Bimal RekhadiyaI have a video in MKV format and it’s size is 720x304 (16:9 ratio) size video.
I want to convert it to AVI format (using xvid video codec). The output file size should be 480x360 (4:3 ratio) and also want to keep the original (16:9) ratio so it should be cinemascope (black areas at top and bottom).
I am on Ubuntu Linux so I can use
mencoder
,avconv(ffmpeg)
or any tool that work on Linux.I tried this command :
avconv -i sample.mkv -vcodec libxvid -r 25 -b 1200 -aspect 4:3 -q 1 t.avi
But the problem is that the video is stretched to 4:3 and I want to keep original video’s ratio and want to add black boxes at top and bottom so it will look like a "CinemaScope".
What is the best way to do this ?
-
Rescalling and Reposition images in FFMPEG in a video #2
9 février 2021, par najam ulhassanI am trying to achieve this result using Mobile-FFMPEG :



using following command :


E/COMMAND :


ffmpeg -y -loop 1 -t 10 -i /storage/emulated/0/InvitationTemp/image.png -s 991x903
-loop 1 -i /storage/emulated/0/InvitationTemp/image_0.png 
-loop 1 -i /storage/emulated/0/InvitationTemp/image_1.png 
-loop 1 -i /storage/emulated/0/InvitationTemp/image_2.png 
-loop 1 -i /storage/emulated/0/InvitationTemp/image_3.png 
-loop 1 -i /storage/emulated/0/InvitationTemp/image_4.png 
-filter_complex 
 
[1]scale=eval=frame:w='min(292/2,298/2)':h='min(292/2,298/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=0:d=1:alpha=1[img1]; [2]scale=eval=frame:w='min(258/2,322/2)':h='min(258/2,322/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=1:d=2:alpha=1[img2];
[3]scale=eval=frame:w='min(240/2,218/2)':h='min(240/2,218/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=2:d=3:alpha=1[img3]; [4]scale=eval=frame:w='min(290/2,320/2)':h='min(290/2,320/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=3:d=4:alpha=1[img4]; [5]scale=eval=frame:w='min(425/2,91/2)':h='min(425/2,91/2)',rotate=a=0*PI/180:c=black@0:oh='roth(0*PI/180)':ow='rotw(0*PI/180)':bilinear=1,fade=in:st=4:d=5:alpha=1[img5];
[0][img1]overlay=137:341:shortest=1:format=auto[bg1];
[bg1][img2]overlay=609:74:shortest=1:format=auto[bg2];
[bg2][img3]overlay=432:325:shortest=1:format=auto[bg3];
[bg3][img4]overlay=700:579:shortest=1:format=auto[bg4];
[bg4][img5]overlay=92:786:shortest=1:format=auto,format=yuv420p /storage/emulated/0/InvitationEventVideos/video_2021_Feb_09_09_39_38.mp4



But I am receiving this output... Failing to rescale and repositions propertly my png's.


https://www.youtube.com/watch?v=EIJEPIHTcio


-
How do I make FFMPEG use localized strftime with drawtext ?
3 décembre 2022, par Randy MichnoviczI'm trying to write a script to use FFMPEG to draw localized timestamps on a video, but I'm not having much luck.


I can confirm I have the locale
fr_FR.UTF-8
installed on my system by running the following command :LC_ALL=fr_FR.UTF-8 date


However, the following command produces a 4 second video beginning with the string "Monday 28 November 2022 19:00:47 PST" on both my Mac and an Alpine Linux docker container :


LC_ALL=fr_FR.UTF-8 ffmpeg -hide_banner -f lavfi -i color=size=1024x768:rate=25:color=black -c:v libx264 -c:a aac -filter_complex drawtext=expansion=normal:fontsize=18:fontcolor=white:box=1:boxcolor=black@0.5:text='%{pts\\:localtime\\:1669690847\\:%A %-d %B %Y %X %Z}' -t 4 -y out.mp4


Does anyone know how to make it create strings with non-English text ?