
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (39)
-
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 -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
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 (5554)
-
Combining two FFMPEG filters into single command
31 mai 2022, par shawnI would like to combine two filters and commands to a single ffmpeg command. What I want to achieve is overlay a static image on the video and draw a 90 degree rotated text as well.


Can anyone help with this ?


ffmpeg -y -i input.mp4 -i line.png -filter_complex "[0:v][1:v] overlay=105:625" -c:a copy output_video.mp4



ffmpeg -y -i input.mp4 -i line.png -filter_complex "color=black:100x100[c];[c][0]scale2ref[ct][mv];[ct]setsar=1,split=2[t1][t2];


[t1]drawtext=fontfile=/Library/Fonts/GenerisSansW01Heavy.ttf:
text=$TITLE:line_spacing=10:fontsize=23:fontcolor=white,split[text1][alpha1];
[text1][alpha1]alphamerge,rotate=270*PI/180:ow=rotw(270*PI/180):oh=roth(270*PI/180):c=black@0[txta1]; 

[t2]drawtext=fontfile=/Library/Fonts/GenerisSansW01Heavy.ttf:
text=$CONTENTS:line_spacing=0.5:fontsize=18:fontcolor=white,split[text2][alpha2];
[text2][alpha2]alphamerge,rotate=270*PI/180:ow=rotw(270*PI/180):oh=roth(270*PI/180):c=black@0[txta2]; 


[mv][txta1]overlay=x='min(0,-H*sin(270*PI/180))+40':y='min(0,W*sin(270*PI/180))+751':shortest=1[mv1]; 
[mv1][txta2]overlay=x='min(0,-H*sin(270*PI/180))+138':y='min(0,W*sin(270*PI/180))+752':shortest=1" -c:a copy output_video.mp4



-
ffmpeg datascope filter : How does it works ?
25 octobre 2022, par tonyI'm trying to see how the datascope filter is displaying the color values for a black and white image. I was expecting to see a part of the image with 0xfff and one with 0x000 value,
instead I obtained only the 0xfff for white


ffmpeg \
-f lavfi -i color=white:100x100 \
-f lavfi -i color=black:100x100 \
-lavfi '[0:v][1:v]hstack[out]' \
-map [out] \
-frames 1 \
blackAndWhite.png ; \


ffmpeg \
-i blackAndWhite.png \
-vf 'datascope' \
data.png





-
FFMpeg - Freeze First Frame for X seconds
13 mars 2021, par John DoeI need to pause/freeze the first frame of the video for 2 seconds before proceeding to the scroll effect. Here's what I have :


ffmpeg -y -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -loop 1 -i "temp.jpg" -i "floating.png" -filter_complex "[1:v]fps=fps=30,crop=1280:720:0:'t*(ih-oh)/120',overlay,scale=1280x720,drawtext=fontfile='font.ttf':text='text here':x=20:y=675:fontsize=60:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2,drawtext=fontfile='font.ttf':text='more text':x=w-tw-20:y=670:fontsize=70:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2[out]" -t 10 -map "[out]" -map "0:a" -shortest -c:v h264_qsv -c:a aac -ac 2 -ar 44100 -vb 30M -r 30 "video.mp4"



Any ideas ?