
Recherche avancée
Autres articles (68)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (11705)
-
ffmpeg resize logo depending on video resolution with multiple outputs
30 août 2022, par Panama JackI'm having a tough time trying to get a logo above text in the lower right corner of my videos. The problem is depending on the video size and resolution the logo (image) is too big or too small. Sometimes it overlaps the text. How can I make it so that no matter what the resolution or ratio is, it scales proportionately and always above the text ? For example, videos of 1920x1080 at 16:9 or 1080x1920 9:16, or 1280x720 16:9 or 720x1280 9:16 and so on. Basically, it will always scale correctly on all outputs. Sometimes there might be more outputs but in this code sample there are 3 hls files. I tried
scale2ref
but can't get that to work and it makes my file sizes much bigger.

Here's my current code.




-filter_complex "[1:v]scale=150 :-2[logo] ;[0:v][logo]overlay=main_w-overlay_w-10:main_h-overlay_h-35,drawtext=fontfile=/var/www/area51-process1.somesite.com/html/includes/helveticaneue/HelveticaNeueMed.ttf:text=@somesite:fontcolor=white@0.9:fontsize=(h/32):x=w-tw-15:y=h-th-6,format=yuv420p,split=3[s0][s1][s2] ;[s0]scale=640:360[360p] ;[s1]scale=854:480[480p] ;[s2]scale=1280:720[720p]"
-map "[360p]" -map "[480p]" -map "[720p]" -maxrate:v:0 3000000 -bufsize:v:0 3000000 -maxrate:v:1 4000000 -bufsize:v:1 4000000 -maxrate:v:2 8000000 -bufsize:v:2 8000000 -map 0:a -c:a libfdk_aac -ac 2 -async 1 -ar 48000 -b:a 128k -c:v libx264 -preset veryfast -crf:v:0
25 -profile:v:0 high -crf:v:1 24 -profile:v:1 high -crf:v:2 23
-profile:v:2 high -g 50 -keyint_min 50 -force_key_frames "expr:gte(t,n_forced*2)" -sc_threshold 0 -flags +global_header
-movflags +faststart -max_muxing_queue_size 4096 -threads 0 -f tee "[select='v:0,a':f=hls:start_number=0:hls_flags=single_file:hls_playlist_type=vod:hls_segment_type=fmp4:hls_time=4:hls_list_size=0:hls_segment_filename=/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-360p-segment.mp4]/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-360p.m3u8|[select='v:1,a':f=hls:start_number=0:hls_flags=single_file:hls_playlist_type=vod:hls_segment_type=fmp4:hls_time=4:hls_list_size=0:hls_segment_filename=/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-480p-segment.mp4]/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-480p.m3u8|[select='v:2,a':f=hls:start_number=0:hls_flags=single_file:hls_playlist_type=vod:hls_segment_type=fmp4:hls_time=4:hls_list_size=0:hls_segment_filename=/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-720p-segment.mp4]/var/www/area51-process1.somesite.com/html/v/OHE4f9WSezA-078f9ec1-2f2b-4a6b-a34d-a8c9d4c39d7b-720p.m3u8"




-
Anomalie #4426 (En cours) : Le logo de certains plugins ne s’affichent pas dans la page "Recherche...
24 janvier 2020, par b bYop, testé à l’instant sur SPIP 3.2.7 SVN, j’ai bien les logos (pb de cache ou autre chez toi ?).
-
Anomalie #4577 : Favicon du logo SPIP plus généré dans le privé
16 octobre 2020, par Franck DHello :)
Oui oui, je t’ai même fait une copie d’écran des réglages de spip et de la version de gd dans php si besoin.