
Recherche avancée
Autres articles (28)
-
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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (7257)
-
How do I add a text for the 1st 30 seconds inside a filter_complex expression for each video part ?
30 décembre 2022, par PirateAppI am generating a video grid using the following filter_complex command


ffmpeg
 -i v_nimble_guardian.mkv -i macko_nimble_guardian.mkv -i ghost_nimble_guardian_1.mp4 -i nano_nimble_guardian.mkv
 -filter_complex "
 nullsrc=size=3840x2160 [base];
 [0:v] trim=start=39.117000,setpts=PTS-STARTPTS, scale=1920x1080 [upperleft];
 [1:v] trim=start=40.483000,setpts=PTS-STARTPTS, scale=1920x1080 [upperright];
 [2:v] trim=start=32.416471,setpts=PTS-STARTPTS, scale=1920x1080 [lowerleft];
 [3:v] trim=start=28.100000,setpts=PTS-STARTPTS, scale=1920x1080 [lowerright];
 [3:a] atrim=start=28.100000,asetpts=PTS-STARTPTS[outa];
 [base][upperleft] overlay=shortest=1 [tmp1];
 [tmp1][upperright] overlay=shortest=1:x=1920 [tmp2];
 [tmp2][lowerleft] overlay=shortest=1:y=1080 [tmp3];
 [tmp3][lowerright] overlay=shortest=1:x=1920:y=1080[v]
 "
 -map "[v]" -map "[outa]" -c:v libx264 -crf 17 -shortest -t 880 output4k.mkv



How do I text to this video grid that will appear with a fade in at 10 seconds, stay for 30 seconds and then fade out ?




What I tried ?


ffmpeg
 -i v.mkv -i macko_nimble_guardian.mkv -i ghost_nimble_guardian_subtle_arrow_1.mp4 -i nano_nimble_guardian.mkv
 -filter_complex "
 nullsrc=size=1920x1080 [base];
 drawtext=text='Summer Video':enable='between(t,10,30)'[fg];
 [0:v] trim=start=39.117000,setpts=PTS-STARTPTS, scale=960x540 [upperleft];
 [1:v] trim=start=40.483000,setpts=PTS-STARTPTS, scale=960x540 [upperright];
 [2:v] trim=start=32.416471,setpts=PTS-STARTPTS, scale=960x540 [lowerleft];
 [3:v] trim=start=28.100000,setpts=PTS-STARTPTS, scale=960x540 [lowerright];
 [3:a] atrim=start=28.100000,asetpts=PTS-STARTPTS[outa];
 [base][upperleft] overlay=shortest=1 [tmp1];
 [tmp1][upperright] overlay=shortest=1:x=960 [tmp2];
 [tmp2][lowerleft] overlay=shortest=1:y=540 [tmp3];
 [tmp3][lowerright] overlay=shortest=1:x=960:y=540[v]
 "
 -map "[v]" -map "[outa]" -c:v libx264 -shortest -t '30' output2.mkv



It gives me an error


[Parsed_drawtext_1 @ 0x600002bdc420] Using "/System/Library/Fonts/Supplemental/Verdana.ttf"
Filter drawtext:default has an unconnected output



-
FFMPEG stream to youtube crashing
29 septembre 2022, par jakebWe have a script that runs FFMPEG and broadcasts a tab recording from puppeteer, it will run fine for a period of time, but if the chromium tab from puppeteer ends up doing certain things (playing a youtube video, for example) FFMPEG crashes. It doesn't matter if the video is 4k 60 FPS, or if it's a 480i video from 2009, the result seems to be the same.


This is the FFMPEG command we're running :


ffmpeg -loglevel info -i - -c:v libx264 -b:v 15000k -preset ultrafast -tune animation -force_key_frames "expr:gte(t,n_forced*2)" -sc_threshold 0 -c:a aac -minrate 15000k -s 1920x1080 -r 60 -vsync 1 -max_muxing_queue_size 1024 -max_interleave_delta 0 -f flv -flvflags no_duration_filesize "rtmps://a.rtmps.youtube.com/live2/*****"



This is the output when it crashes :


frame= 6554 fps= 57 q=0.0 size= 17033kB time=00:02:00.02 bitrate=1162. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 6564 fps= 56 q=1.0 size= 17189kB time=00:02:01.02 bitrate=1163. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 6566 fps= 56 q=0.0 size= 17224kB time=00:02:02.05 bitrate=1156. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 6570 fps= 56 q=1.0 size= 17276kB time=00:02:03.07 bitrate=1149. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 6580 fps= 55 q=2.0 size= 17431kB time=00:02:04.10 bitrate=1150. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 6602 fps= 55 q=0.0 size= 17730kB time=00:02:05.12 bitrate=1160. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 6648 fps= 55 q=1.0 size= 18802kB time=00:02:06.12 bitrate=1221. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 6710 fps= 55 q=0.0 size= 18824kB time=00:02:07.15 bitrate=1212. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 6770 fps= 55 q=0.0 size= 19539kB time=00:02:08.17 bitrate=1248. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 6831 fps= 55 q=1.0 size= 19560kB time=00:02:09.19 bitrate=1240. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 7013 fps= 56 q=0.0 size= 21011kB time=00:02:10.39 bitrate=1320. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 7256 fps= 58 q=0.0 size= 22483kB time=00:02:10.52 bitrate=1411. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 7625 fps= 60 q=0.0 size= 24692kB time=00:02:10.58 bitrate=1549. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 7828 fps= 62 q=2.0 size= 25456kB time=00:02:10.82 bitrate=1594. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 7895 fps= 62 q=0.0 size= 35079kB time=00:02:12.03 bitrate=2176. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 7936 fps= 62 q=2.0 size= 42929kB time=00:02:12.83 bitrate=2647. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 7981 fps= 62 q=2.0 size= 53139kB time=00:02:13.53 bitrate=3259. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 8030 fps= 62 q=0.0 size= 63944kB time=00:02:14.32 bitrate=3899. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 8081 fps= 62 q=0.0 size= 74523kB time=00:02:15.16 bitrate=4516. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 8128 fps= 62 q=2.0 size= 84385kB time=00:02:15.94 bitrate=5084. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 8145 fps= 62 q=1.0 size= 87711kB time=00:02:16.24 bitrate=5273. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 8193 fps= 62 q=1.0 size= 98046kB time=00:02:17.01 bitrate=5862. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 8204 fps= 62 q=0.0 size= 100564kB time=00:02:17.27 bitrate=6001. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 8252 fps= 62 q=0.0 size= 110255kB time=00:02:18.04 bitrate=6543. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
frame= 8266 fps= 62 q=2.0 size= 113024kB time=00:02:18.29 bitrate=6695. 5d7095f4-8035-4dc5-85e1-535f90d1935b 
[tls @ 0x563ee0299440] Error in the push function.
av_interleaved_write_frame(): Input/output error
 Last message repeated 2 times
Error writing trailer of rtmps://a.rtmps.youtube.com/live2/****: Input/output error
frame= 8311 fps= 62 q=2.0 Lsize= 123071kB time=00:02:19.02 bitrate=7252.1kbits/s dup=7716 drop=1 speed=1.04x 
video:123035kB audio:202kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[tls @ 0x563ee0299440] The specified session has been invalidated for some reason.
 Last message repeated 1 times
[libx264 @ 0x563ee026fe80] frame I:70 Avg QP: 0.31 size:221022
[libx264 @ 0x563ee026fe80] frame P:2770 Avg QP: 0.05 size: 29868
[libx264 @ 0x563ee026fe80] frame B:5471 Avg QP: 1.56 size: 6271
[libx264 @ 0x563ee026fe80] consecutive B-frames: 0.8% 1.7% 97.5%
[libx264 @ 0x563ee026fe80] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0x563ee026fe80] 
mb P I16..4: 1.8% 0.0% 0.0% P16..4: 5.2% 0.0% 0.0% 0.0% 0.0% skip:93.0%
[libx264 @ 0x563ee026fe80] mb B I16..4: 0.1% 0.0% 0.0% B16..8: 0.6% 0.0% 0.0% direct: 2.8% skip:96.5% L0:46.8% L1:38.5% BI:14.7%
[libx264 @ 0x563ee026fe80] final ratefactor: -5.03
[libx264 @ 0x563ee026fe80] coded y,uvDC,uvAC intra: 50.9% 43.8% 40.5% inter: 2.3% 1.8% 1.7%
[libx264 @ 0x563ee026fe80] i16 v,h,dc,p: 53% 30% 4% 12%
[libx264 @ 0x563ee026fe80] i8c dc,h,v,p: 58% 24% 8% 10%
[libx264 @ 0x563ee026fe80] kb/s:7653.50
[aac @ 0x563ee0282500] Qavg: 61059.410
Conversion failed!
[ERROR] 16:33:59 Error: write EPIPE



-
I want to replace audio in a moflex file but ffmpeg says "Unable to find a suitable output format for 'CloudyWithAChanceOfMeatballs(3D).moflex'"
26 septembre 2022, par Костянтин МараWhat i do :


ffmpeg -i CloudyWithAChanceOfMeatballs(3D)_400x240_1800kbps_23.976fps_2pass.moflex -i Cloudy.With.A.Chance.Of.Meatballs.2009.1080p.mp3 -c:v copy -c:a fastaudio -map 0:v:0 -map 1:a:0 -o CloudyWithAChanceOfMeatballs(3D).moflex



and what i get :


Input #0, moflex, from 'CloudyWithAChanceOfMeatballs(3D)_400x240_1800kbps_23.976fps_2pass.moflex':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: mobiclip, yuv420p, 400x240, 23.98 fps, 23.98 tbr, 23.98 tbn
 Stream #0:1: Data: none
 Stream #0:2: Audio: fastaudio, 48000 Hz, stereo, fltp
Input #1, mp3, from 'Cloudy.With.A.Chance.Of.Meatballs.2009.1080p.mp3':
 Metadata:
 title : --SCHUMAHER--
 encoder : Lavf59.24.100
 Duration: 01:29:50.71, start: 0.023021, bitrate: 128 kb/s
 Stream #1:0: Audio: mp3, 48000 Hz, stereo, fltp, 128 kb/s
 Metadata:
 encoder : Lavc59.33
[NULL @ 000002651fbaf540] Unable to find a suitable output format for 'CloudyWithAChanceOfMeatballs(3D).moflex'
CloudyWithAChanceOfMeatballs(3D).moflex: Invalid argument



I'm not sure what could be the problem, before this i tried converting it to mp4 and then do something but because the video was in 3d, ffmpeg sort of shuffled those left and right frames into one, 2x long video. Help on this would also be welcome.