
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (99)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (9791)
-
Nginx Rtmp Module - How to check resolution when pushing rtmp stream to server before redirecting stream to another application ?
22 août 2022, par bui the vuongI have a problem when developing a livestream system with nginx-rtmp-module . I have consulted some systems, there is a function that when pushing the rtmp stream, the livestream systems can recognize the resolution of the stream -> from there it will encode to hls with the corresponding profiles. For example stream 720p produces hls file with 360p -> 720p , if stream 1080p will produce hls file with 360p -> 1080p . I have tried the ways but no success. So how can I check the resolution and redirect the rtmp stream to the appropriate application for encoding. Looking forward to everyone's advice.


-
How to add watermark to the video part of this huge ffmpeg command that adds intro and outro with crossfade ?
3 juillet 2017, par JeflopoI wrote a command that crossfade merge an intro, an outro, with a video :
ffmpeg -i intro.mp4 -i video.mp4 -i outro.mp4 -filter_complex "
[0:v]trim=start=0:end=9,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[intro];
[0:v]trim=start=9:end=10,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[firstfadeoutclip];
[1:v]trim=start=0:end=1,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[firstfadeinclip];
[1:v]trim=start=1:end=24,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[video];
[1:v]trim=start=24:end=25,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[secondfadeoutclip];
[2:v]trim=start=0:end=1,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[secondfadeinclip];
[2:v]trim=start=1:end=10,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[outro];
[firstfadeoutclip]format=pix_fmts=yuva420p, fade=t=out:st=0:d=1:alpha=1[firstfadeoutalpha];
[firstfadeinclip]format=pix_fmts=yuva420p, fade=t=in:st=0:d=1:alpha=1[firstfadeinalpha];
[secondfadeoutclip]format=pix_fmts=yuva420p, fade=t=in:st=0:d=1:alpha=1[secondfadeoutalpha];
[secondfadeinclip]format=pix_fmts=yuva420p, fade=t=in:st=0:d=1:alpha=1[secondfadeinalpha];
[firstfadeoutalpha]fifo[firstfadeoutfifo];
[firstfadeinalpha]fifo[firstfadeinfifo];
[secondfadeoutalpha]fifo[secondfadeoutfifo];
[secondfadeinalpha]fifo[secondfadeoinfifo];
[firstfadeoutfifo][firstfadeinfifo]overlay[firstcrossfade];
[secondfadeoutfifo][secondfadeoinfifo]overlay[secondcrossfade];
[intro][firstcrossfade][video][secondcrossfade][outro]concat=n=5[output];
[0:a][1:a] acrossfade=d=1 [audio]"
-vcodec libx264 -map "[output]" -map "[audio]" "output.mp4"This huge command works fine.
But now what I want to do is to add a watermark to the video part :
[1:v]trim=start=1:end=24,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[video];
And I want to do it by merging this command (watermark) into that one above :
ffmpeg -i "1080p.mp4" -filter_complex "
movie=logo-wm.png[watermark];
[watermark][0:V]scale2ref=(1917*iw/1920)/3.5:(322*iw/1920)/3.5[wm][v];
[v][logo]overlay=main_w-overlay_w-20:20" "output.mp4"The whole
(1917*iw/1920)/3.5:(322*iw/1920)/3.5
scales the watermark proportionally using thescale2ref=
filter. The1917
is the width of my watermark image, and322
is the heightIt is overlayed in the top right corner with
main_w-overlay_w-20:20
But I can’t make it work I tried to add it by copying the parameters to the filter of
[1:v]
input. And by adding another input for the watermark that if I’m right it would be[3:v]
instead of using themovie=
filter. But I can’t.I know that I could do it in two steps, but I would like to do it at once, in just one command.
May anyone help me to merge them ? Thank you in advance !
-
How do you change a video's resolution depending on the original one in FFMPEG ?
16 avril 2022, par WilliamLeeTo break it down, I want to set a maximum resolution depending on the original videos resolution in ffmpeg, for an example, if i'm converting a video from 144p - 1080p, and the original video's resolution is 480p, ONLY convert the video from 144p - 480p, not 1080p.