
Recherche avancée
Autres articles (86)
-
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. -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (6327)
-
avfilter/vf_scale : fix interlaced chroma for other formats
13 octobre 2023, par Niklas Haasavfilter/vf_scale : fix interlaced chroma for other formats
This logic only covers the case of yuv420p. Extend this logic to cover
*all* vertically subsampled YUV formats, which require the same
interlaced scaling logic.Fortunately, we can get away with re-using the same code for both JPEG
and MPEG range YUV, because the only difference here is the horizontal
alignment. (Which I omit touching for now, to avoid introducing possibly
unintended changes in default behavior) -
ffmpeg How to add multiple drawtext to one input video
22 mai 2018, par RavenI need to add two texts to a video. First text appears in the bottom right for the first 6 seconds, and the second text at the center of the video for the last 3 seconds.
Below is my code :
ffmpeg -i input.mp4 -vf drawtext="text='Stack Overflow': fontcolor=white: borderw=2: fontfile=Arial Black: fontsize=w*0.04: x=(w-text_w)-(w*0.04): y=(h-text_h)-(w*0.04): enable='between(t,0,6)'", -vf drawtext="text='Stack Overflow': fontcolor=white: borderw=2: fontfile=Arial Black: fontsize=w*0.04: x=(w-text_w)/2: y=(h-text_h)/2: enable='between(t,7,10)'" -codec:a copy output2.mp4
I don’t get any error running the above code but in the output file, only the second drawtext is applied.
-
Concatenate multiple Genrated Output Video files using single command [closed]
20 septembre 2024, par Vinesh Chauhani am trying to Build a FFMPEG command that accept 4 input Videos and generate the output video with 2x2 Grid also play all those video one after another one. so Archive this I have pass lavfi 4 inputs with duration with size. then I have passed 4 input videos. then I have first generate thumbnail of those videos, so what I am gonna do is I place first video and second thumbnail in hstack, third thumbnail and fourth thumbnail in hstack the both hstack output in vstack. i will do it this 4 times for all videos respectively and then lastly I am trying to contact all those video in one. but I am getting overflow buffer warnings (as shown in image 1). and also getting not a proper video output(as link 1). then I try to create 4 videos using map to test whether its a stack issue or not so I have successfully create 4 videos and its working fine as expect but in 4 output files. i want it in one and also I want it in one command execution I don't want to execute multiple command for this.


the code that generate 4 output videos with is working fine


ffmpeg -y -f lavfi -t 00:00:37.000 -i color=black:s=360x360 -f lavfi -t 00:01:15.000 -i color=black:s=360x360 -f lavfi -t 00:00:14.000 -i color=black:s=360x360 -f lavfi -t 00:00:50.000 -i color=black:s=360x360 -i instagram_1.mp4 -i instagram_2.mp4 -i instagram_3.mp4 -i instagram_4.mp4 -filter_complex "[4:v]select='eq(n\,0)',scale=-2:360:force_original_aspect_ratio=decrease[thumb_1];[5:v]select='eq(n\,0)',scale=-2:360:force_original_aspect_ratio=decrease[thumb_2];[6:v]select='eq(n\,0)',scale=-2:360:force_original_aspect_ratio=decrease[thumb_3];[7:v]select='eq(n\,0)',scale=-2:360:force_original_aspect_ratio=decrease[thumb_4];[4:v]scale=-2:360:force_original_aspect_ratio=decrease[sc1];[0:v][sc1]overlay=(W-w)/2:(H-h)/2[ovv1];[5:v]scale=-2:360:force_original_aspect_ratio=decrease[sc2];[1:v][sc2]overlay=(W-w)/2:(H-h)/2[ovv2];[6:v]scale=-2:360:force_original_aspect_ratio=decrease[sc3];[2:v][sc3]overlay=(W-w)/2:(H-h)/2[ovv3];[7:v]scale=-2:360:force_original_aspect_ratio=decrease[sc4];[3:v][sc4]overlay=(W-w)/2:(H-h)/2[ovv4];[0:v][thumb_1]overlay=(W-w)/2:(H-h)/2[ov1];[1:v][thumb_2]overlay=(W-w)/2:(H-h)/2[ov2];[2:v][thumb_3]overlay=(W-w)/2:(H-h)/2[ov3];[3:v][thumb_4]overlay=(W-w)/2:(H-h)/2[ov4];[ov1][ov2]hstack[hs1];[ov3][ov4]hstack[hs2];[hs1][hs2]vstack[vs1];[vs1]split=4[vss1][vss2][vss3][vss4];[vss1][ovv1]overlay=0:0[final1];[vss2][ovv2]overlay=w:0[final2];[vss3][ovv3]overlay=0:h[final3];[vss4][ovv4]overlay=w:h[final4]" -map "[final1]" -t 00:00:37.000 outPut1.mp4 -map "[final2]" -t 00:01:15.000 outPut2.mp4 -map "[final3]" -t 00:00:14.000 outPut3.mp4 -map "[final4]" -t 00:00:50.000 outPut4.mp4 



the command I am getting problem


ffmpeg -y -f lavfi -t 00:00:37.000 -i color=black:s=360x360 -f lavfi -t 00:01:15.000 -i color=black:s=360x360 -f lavfi -t 00:00:14.000 -i color=black:s=360x360 -f lavfi -t 00:00:50.000 -i color=black:s=360x360 -i instagram_1.mp4 -i instagram_2.mp4 -i instagram_3.mp4 -i instagram_4.mp4 -filter_complex "[4:v]select='eq(n\,0)',scale=-2:360:force_original_aspect_ratio=decrease[thumb_1];[5:v]select='eq(n\,0)',scale=-2:360:force_original_aspect_ratio=decrease[thumb_2];[6:v]select='eq(n\,0)',scale=-2:360:force_original_aspect_ratio=decrease[thumb_3];[7:v]select='eq(n\,0)',scale=-2:360:force_original_aspect_ratio=decrease[thumb_4];[4:v]scale=-2:360:force_original_aspect_ratio=decrease[sc1];[0:v][sc1]overlay=(W-w)/2:(H-h)/2[ovv1];[5:v]scale=-2:360:force_original_aspect_ratio=decrease[sc2];[1:v][sc2]overlay=(W-w)/2:(H-h)/2[ovv2];[6:v]scale=-2:360:force_original_aspect_ratio=decrease[sc3];[2:v][sc3]overlay=(W-w)/2:(H-h)/2[ovv3];[7:v]scale=-2:360:force_original_aspect_ratio=decrease[sc4];[3:v][sc4]overlay=(W-w)/2:(H-h)/2[ovv4];[0:v][thumb_1]overlay=(W-w)/2:(H-h)/2[ov1];[1:v][thumb_2]overlay=(W-w)/2:(H-h)/2[ov2];[2:v][thumb_3]overlay=(W-w)/2:(H-h)/2[ov3];[3:v][thumb_4]overlay=(W-w)/2:(H-h)/2[ov4];[ov1][ov2]hstack[hs1];[ov3][ov4]hstack[hs2];[hs1][hs2]vstack[vs1];[vs1]split=4[vss1][vss2][vss3][vss4];[vss1][ovv1]overlay=0:0[final1];[vss2][ovv2]overlay=w:0[final2];[vss3][ovv3]overlay=0:h[final3];[vss4][ovv4]overlay=w:h[final4];[final1][final2][final3][final4]concat=n=4:v=1:a=0[final]" -map "[final]" -t 00:02:56.000 outPutIMagesFinaLCheck.mp4 



Link 1(output video that has issue)
https://zippyshare.day/c0vhq9MvIMUTb8i/file