
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (22)
-
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 -
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 -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (7044)
-
Problem when adding background music to video without sound
27 avril 2020, par Nguyễn TrọngI am trying to cut a piece of background music and loop them into a video and change the speed of the video with the command below.



String[] cmd = {"-y", "-i", input, "-i", shortsound,
 "-filter_complex",
 "[0:v]trim=0:120,setpts=1/2*(PTS-STARTPTS)[v1]," +
 "[0:v]trim=120:240,setpts=1/2*(PTS-STARTPTS)[v2];" +
 "[1:a]atrim=0:6,asetpts=PTS-STARTPTS," +
 "asetrate=44100,aloop=-1:2e+09," +
 "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=1.0[bg];" +
 "[0:a]atrim=0:120,asetpts=PTS-STARTPTS,atempo=2.0" +
 ",aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[a1]," +
 "[0:a]atrim=120:240,asetpts=PTS-STARTPTS,atempo=2.0," +
 "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[a2];" +
 "[v1][a1][v2][a2]concat=n=2:v=1:a=1[video][audio];[audio]volume=0.5[avolume];" +
 "[avolume][bg]amerge=2,pan=stereo|c0code>



Everything was fine until I tried with a video without sound, it didn't work.
How when input is a video without sound ?


-
Use ffmpeg to create a music video with the cover on a black background
21 septembre 2020, par user6329530I am trying to use this tutorial to create youtube videos with ffmpeg
https://trac.ffmpeg.org/wiki/Encode/YouTube


When using this example, I get a video that works however the background is white


ffmpeg -loop 1 -framerate 2 -i albumcover.png -i audio.wav -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p output.mkv



I tried to add a color filter but that makes the whole video output black :


ffmpeg -loop 1 -framerate 2 -i albumcover.png -filter_complex "color=s=1920x1080:c=black" -i audio.wav -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p output.mkv



I find it very difficult to find something about this on the internet as most ask for just a black video or a transparent background for a gif ect.


So how do I get the albumcover.png on a black background ?


EDIT : I just realized that the video format is of course the image format (square) and therefore it's white on youtube. The question therefore is now how do I create a black background 16:9 and put the albumcover centered on it...


-
Video with music taking long time
1er octobre 2020, par Konduri Sai AdityaHi I am rendering video with filters and adding audio at the end. But while running it is taking a long time and rendering continuously. Can anyone help me where I am wrong ? below is the command


ffmpeg -i test.png -i test.mp4 -i test.mp3 -y -filter_complex "[1:v]scale=1422:800[scale1],[scale1]rotate=0:c=black@0:ow=rotw(0):oh=roth(0)[rotate0],[0:v][rotate0]overlay=258.04:107.71[mediaoverlayout0],color=black@0:451x137[c1],[c1]setsar=1,drawtext=fontfile='/Windows/fonts/Peddana-Regular.ttf':text='ADITYA':fontsize=121.199:fontcolor=#1e8bc3:line_spacing=16.91,rotate=0:ow=rotw(0):oh=roth(0):c=black@0[rottext1],[mediaoverlayout0][rottext1]overlay=x=544.63:y=263.076[out]" -vcodec libx264 -map "[out]" -map 2:a -preset veryfast -c:a copy -pix_fmt yuv420p op.mp4