
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (35)
-
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 -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (5978)
-
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





-
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



-
Extract part of a video using ffmpeg_extract_subclip - get a clip longer than expected
4 juin 2020, par rightly0716I'm trying to extract a part of a video and find the solution on this page very helpful : 
Extract part of a video using ffmpeg_extract_subclip - black frames



The function
write_videofile
helps get what I need exactly but a bit slow. Theffmpeg_extract_subclip
function is indeed very fast, but somehow generates a weird clip that is slightly longer than what I need. For example, if I use thecmd
below (no matter with or without-copyinkf
),


ffmpeg -y -ss 218.00 -i input.mp4 -t 7.00 -vcodec copy -acodec copy output.mp4




My output.mp4 will be 9 second long, with the last two seconds frozen with no audio. Anyone saw a similar issue before ? Thanks a lot !