
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (60)
-
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 -
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)
Sur d’autres sites (9112)
-
Create video from images, add audio and animation within images without FFMPEG in Android
28 février 2017, par Vivek BhattI want to create a video from multiple images without using FFMPEG in Android. Also i have to multiple audios over it. And at last there should be some animation within each images. I have tried this using FFMPEG, but it is taking hell lot of time, let say , 4-5 min for 10 photos. Is there any other way for this or any efficient way ?
There is 3 way process.
- First i create video from each image with audio and added text.
- Then i concatenate all the videos into a single video.
- At last, i add a background audio to the concatenated video.
I am sharing the commands here :
1.
String[] cmds = "-y"
, "-r", "1", "-vcodec", "mjpeg" ,"-loop", "1", "-t", "1"
, "-i", image
, "-i", audio
, "-vf"
, "zoompan=z=’if(lte(zoom,1),1.1,max(1.001,zoom-0.0015))’:d=125,drawbox=y=ih/PHI:color=black@0.4:width=iw:height=120:t=max,drawtext=fontfile=/storage/emulated/0/ffmpeg/font.ttf:text="+text+":fontcolor=white:fontsize=60:x=(w-tw)/2:y=(h/PHI)+th"
, "-c:v", "libx264"
, "-preset", "ultrafast", "-t", "5", "-c:a", "aac", "-b:a", "128k", "-pix_fmt", "yuv420p"
, "video1.mp4" ;2.
String cmd = "-y -i video1.mp4 -i video2.mp4 -i video3.mp4 -filter_complex concat=n=3:v=1:a=1 -preset ultrafast concat_video.mp4 ;
3.
cmd = "-y -i bg_audio.mp3 -i concat_video.mp4 -shortest -preset ultrafast -filter_complex [a1][a2]amerge,pan=stereo:c0
-
Losing video when splitting mpg from middle [migrated]
12 avril 2014, par ARip1979Very new to ffmpeg so bear with me.
I'm trying to split an mpg in two pieces. It's a 4m 36s video. I want the first piece to be 170s and the second to be the rest. I have tried a bunch of different methods.
ffmpeg -i input.mpg -vcodec copy -acodec copy -ss 00:00:00 -t 00:2:50 output1.mpg
ffmpeg -i input.mpg -vcodec copy -acodec copy -ss 00:02:50 output2.mpg
ffmpeg -i input.mpg -t 170 -c copy output1.mpg -ss 170 -c copy output2.mpgAnd a bunch of others. Every thing I've tried gives me a great first output1.mpg but output2.mpg is always missing the video. The file is saved as .mpg but it is only audio.
I found one option that said to try this for the 2nd piece.
ffmpeg -ss 170 -i input.mpg -t 176 -c copy output2.mpg
and that sometimes there are errors so to try :
ffmpeg -ss 170 -i input.mpg -t 176 output2.mpg
With the possibility that omitting '-c copy' might result in a good output.
So the first one above with '-c copy' gave me the same result, no video. The second option resulted in video and audio but the video was severely degraded in quality.Can anyone help me ? Why do I keep losing the video on the 2nd piece. I'm a newb but this seems pretty straight forward.
Thanks in advance !
-
Functionallity (supposedly) of shutil.which("ffmpeg") with pyinstaller flag —windowed is use
8 juin 2021, par vanillaI have a github project for my app Scout. I use pyinstaller to compile. I just added a feature that uses ffmpeg, and I use shutil.which() to see if it's installed in order to warn and disable the features using it.


When I run it straight with python3 scout.py, or with virtually any other flags than
--windowed
,--no-console
, it will return None even when I have ffmpeg. Before it returns/usr/bin/ffmpeg
.

Those flags make it so the app doesn't have a console in the background, not sure exactly what I can do about this. I have tried using some of these flags to solve the problem but pyinstaller doesn't seem to recognize them.


I have also tried
if os.system("ffmpeg -version") != 0:
, but the same thing happens, it will return 0 for anything but the windowed version.

Any help ?