
Recherche avancée
Autres articles (28)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (...)
Sur d’autres sites (5950)
-
Revision 98724 : Sur les entrées de type page=truc, on ajoute une classe sur l’entrée ...
11 juin 2018, par rastapopoulos@… — LogSur les entrées de type page=truc, on ajoute une classe sur l’entrée du nom de la page, automatiquement, pour avoir de quoi le cibler en CSS ou JS d’office, savoir avoir à demander à rajouter une classe manuellement.
-
Can't get FFMPEG to convert Samsung Motion Photos from .jpg to .mp4 [closed]
27 août 2024, par welbeebeeI pulled a bunch of Samsung Galaxy S21 Ultra motion photos to my PC (Windows 11) for video editing, but they were in .jpg, and for some reason Microsoft Clipchamp couldn't convert them to video. But, I knew the motion photos were intact, bc Microsoft Photos was showing the MOTION option and playing the videos just fine.
So, I'm in FFMPEG just throwing everything at the wall, but can only get still MP4's out of it, with none of the video.


Here's the breakdown of what I'm looking at for :

ffmpeg -i input.jpg


Input #0, image2, from '20240623_233601.jpg':
 Duration: 00:00:00.04, start: 0.000000, bitrate: 874324 kb/s
 Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 2944x2208 [SAR 59:59 DAR 4:3], 25 fps, 25 tbr, 25 tbn



So to get the whole folder converted, I'm trying :

for %i in (*.jpg) do ffmpeg -i "%i" -c:v libx264 -map 0:0 -preset veryslow -crf 18 "%~ni.mp4"


But this just results in a bunch of those still MP4's I mentioned.


I'm assuming the problem starts with that odd duration of 00:00:00.04, with a bitrate of 874324 kb/s, but I'm not sure. I don't understand this mjpeg video format very well at all.


I been trying to work through this with copilot to no success, and so I'm turning to stackoverflow in case anyone can help me out.
Or am I going about this all the wrong way ? Let me know.


-
How to preserve transparency when using png to make video with ffmpeg
27 septembre 2016, par Ryan JamesI have a series of png’s that have an alpha channel as a background. Each file is named like file_name.0001.png and so on, in subsequent order. I’d like to join these png’s into a video with ffmpeg and maintain the transparency.
I’ve tried a couple of things but I suspect I’m running into a codec issue. When I run ffmpeg, the video is created but the background is black.
If it makes a difference, I’m wanting to use the video in Microsoft Powerpoint. Thanks !
Edit
The suggested duplicate is very close to what I was looking for, thank you ! The only reason it’s not a complete solution is none of the options presented in the other thread work well with Microsoft Powerpoint. None of the codecs used in the suggested solution play well with Powerpoint. This is not the fault of ffmpeg, but of Powerpoint.Though ffmpeg doesn’t seem to be able to do what I need, I found that imagemagick did the trick. I was able to create a gif from the images and the alpha channel was preserved. I used the following :
convert -dispose 3 -coalesce images.*.png gif_file_name.gif
The
-dispose 3
is critical as it tells imagemagick to clear the image prior to overlay, otherwise, you can see each image overlaid on each other (since they have the transparent background).