
Recherche avancée
Autres articles (52)
-
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 -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (9065)
-
FFMPEG : Merge multi video and audio, loop first video until audio end
8 février 2024, par Khuê BùiI'm trying to merge multi video and an audio file but I have tried looping the video many times but without success, it plays all 3 videos and stops at the 3rd video until the end of the audio.


ffmpeg -y -i "video\0.mp4" -i "video\1.mp4" -i "video\2.mp4" -i audio.m4a -filter_complex "[1:v]xfade=transition=wipeleft:duration=1:offset=9[vfade1];[vfade1][2:v]xfade=transition=wipeleft:duration=1:offset=18[v]" -map "[v]" -map 3:a -c:v libx264 -r 30 -pix_fmt yuv420p -c:a aac -strict experimental ./out_fade1.mp4



Please help me fix the code so that it plays the video 0.mp4 -> 1.mp4 -> 2.mp4. If the audio is still there, then return to 0.mp4 and continue like that until the end of the audio.


-
FFmpeg - add .mov video overlay looping on top of input video till the end
11 septembre 2017, par Joao VitorSo i have 2 files.
C:\video_resized.mp4
C:\videoOverlay.mov"C :\videoOverlay.mov" needs to go on top of "C :\video_resized.mp4" and at the same time it needs to loop until the end of "C :\video_resized.mp4"
I tried to use
"C:\ffmpeg\bin\ffmpeg.exe" -i "C:\video_resized.mp4" -i "C:\videoOverlay.mov" -filter_complex "overlay=0:0" "C:\video_watermarked.mp4"
That works fine for adding the overlay, but i have no idea on how to have the overlay looping until the end of the first video.
-
Split a video in two and burn subtitles into each output video
11 février, par KaireiI want to split a single input video "input.mp4" into two separate videos "out1.mp4" and "out2.mp4." I also want to burn hard subtitles into each of the output files. The subtitles come from two pre-existing subtitle files "subtitles1.ass" and "subtitles2.ass." I tried just adding -vf "ass=subtitles1.ass" and -vf "ass=subtitles2.ass" before each of the output files. Subtitles from subtitles1.ass were added to out1.mp4 but out2.mp4 had no subtitles. I spent hours reading docs and trying things and realized I probably need a complex filter and mapping so came up with this :


ffmpeg.exe -i "input.mp4" -filter_complex "[0:v]split=2[in1][in2];[in1]ass=subtitles1.ass[out1];[in2]ass=subtitles2.ass[out2]" -map "[out1]" -map 0:a -ss 0:00:00.00 -to 0:01:00.00 "C:\out1.mp4" -map "[out2]" -map 0:a -ss 0:01:00.00 -to 0:02:00.00 "C:\out2.mp4"


... which I think means "Take the input file, split it into two "input pads," send input pad 1 through the subtitle filter with parameter subtitles1.ass and send input pad 2 through the subtitle filter with parameter subtitles2.ass. The two then come out to output pads out1 and out2. I then map out1 (which has the video with burned in subtitles) and also map the audio from the input file, and send the first hour of the video to out1.mp4. I do the same thing for output pad out2 and try to get the second hour of video with subtitles from subtitiles2.ass.


I do get out1.mp4 with the first hour of video and audio and properly burned in subtitles. Unfortunately, out2.mp4 has the correct second hour of video and audio but no subtitles. Am I missing something to get subtitles2.ass burned into out2.mp4 ?