
Recherche avancée
Autres articles (54)
-
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 -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (6536)
-
Export your data from Universal Analytics or Universal Analytics 360
26 juin 2024, par Erin -
Creating MOV from PNGs with ffmpeg : playback issue in older quicktime (7.6.6)
15 avril 2013, par Jim LindstromI'm using ffmpeg to create a MOV file from a series of images. When I view the movie in Quicktime 7.7.x, it looks great (left image). When I view in Quicktime 7.6.6 I get this weird issue (on the right) :
Any idea even what this is, much less how to fix it ?
Details
My source images are a mix of PNGs and JPGs that I pre-process with ImageMagick (to draw text, captions, etc). I store intermediate results as MPCs, and final frames as PNMs.
To draw the above frame, I'm doing this :
convert -background none -fill white -font my_font.ttf -pointsize 132 -gravity \
center -size 945x550 caption:"Stills Demo" background-template.png \
+swap -composite -resize 1920x1080! /tmp/title_screen4338355.png
convert -auto-orient /tmp/title_screen4338355.png -resize 100% -type TrueColor \
/tmp/1b2764754ce6e420986ed74b942bcf67.mpc
convert /tmp/1b2764754ce6e420986ed74b942bcf67.mpc -set option:distort:viewport \
1920x1080+0+0 +distort SRT '960.0,540.0 1.0 0 960.0,540.0' \
/tmp/stills-project-6224/video_frames/img_0000.pnmI render frames with ffmpeg like so :
ffmpeg -y -f image2 -i /tmp/stills-project-6224/video_frames/img_%04d.pnm \
-i /tmp/soundtrack_8702693.wav -vcodec libx264 -pix_fmt yuvj444p \
-b:v 2200k -r 25 -strict experimental \
/tmp/stills-project-6224/video_rendered/output.movThe rest of the video is fine. The other images are photos (jpgs or pngs) that I process in the same way. I have also noticed that if I don't apply text to this background-template, the image shows up fine, so I think the issue has something to do with either how I'm processing or saving that image.
-
Can not add images after add background to audio
16 mars 2017, par Thanh DaoI use below command to concat background to an audio file :
"ffmpeg" -i /path/to/image.png -i /path/to/audio.mp3 -vsync vfr -pix_fmt yuv420p /path/to/video-1.mp4 2>&1
Next, I use that command to add other images to created video :
"ffmpeg" -f concat -safe 0 -i /path/to/text.txt -i /path/to/video-1.mp4 /path/to/video-2.mp4 2>&1
Content of my text.txt file :
/path/to/img1.jpg
duration 6
/path/to/img2.jpg
duration 6
/path/to/img3.jpg
duration 6
/path/to/img4.jpg
duration 6Obtained video display only background image. Other images have not been shown.
What are my wrong in these commands ? And how to set the display position of other images in video ? To display images by position, I use below command, but after it ran, my machine was crashed :
"ffmpeg" -f concat -safe 0 -i /path/to/text.txt -i /path/to/video-1.mp4 -filter_complex "overlay=0:0, scale=640:640" /path/to/video-2.mp4 2>&1
Update :
I do follow order by below steps and got video with text and images, but the position is incorrect. I can’t find any solution for custom :
"ffmpeg" -f concat -safe 0 -i /path/to/text.txt -i /path/to/audio.mp3 -vsync vfr -pix_fmt yuv420p /path/to/tmp-video-1.mp4 2>&1
"ffmpeg" -i /path/to/background.png -i /path/to/tmp-video-1.mp4 -filter_complex "overlay=0:0" /path/to/tmp-video-2.mp4 2>&1
"ffmpeg" -i /path/to/tmp-video-2.mp4 -vf "[in]<define texts="texts" and="and" duration="duration">[out]" -codec:a copy /path/to/endvideo.mp4 2>&1
</define>Please take a look my video : http://184.171.170.45/cron/tmp/funny-1489648654.mp4
I tried to set overlay property in second command :-640:0
, let images in horizontal center of background, but its not working