
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (47)
-
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 -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (10190)
-
How to add intro image beginning of video with same video aspect ratio in ffmpeg ?
10 juin 2021, par Manoj KagI have one image and one video. I would like to add image as video just before actual video so i can stream video with intro frame for 5 seconds.


I found one command and full fill my requirement but in that command image added at the end of the video and i need beginning of the video. Let me share command below :


ffmpeg -i 1.mp4 -loop 1 -t 5 -i 2.jpg -f lavfi -t 5 -i anullsrc -filter_complex "[0]split[base][full];[base]trim=0:5,drawbox=t=fill[base];[1][base]scale2ref=iw:ih:force_original_aspect_ratio=decrease:flags=spline[2nd][base];[base][2nd]overlay='(W-w)/2':'(H-h)/2'[padded];[full][0:a][padded][2:a]concat=n=2:v=1:a=1[v][a]" -c:v libx264 -c:a aac -strict -2 -map "[v]" -map "[a]" output.mp4


Image should be resize dynamically according to the video resolution.
Best solution will be appreciate from bottom of heart.


-
FFMPGE Android, Merged Video ,Audio come before video on web browser
2 février 2017, par Himanshu Shekher JhaI am merging two video together, One Video is created from image, and other Video is recorded from Camera. Before Merging I used a code to change codec of both video in same format. Everything is working well, but when i try to play video on web browser, We got audio of recorded video before Recorded Video Start.
FFMPge code to create video from image is
"-loop 1 -i " + profileImagePath + " -i " + recordedAudioPath + " -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest " + profileVideoPath;
FFMPge code to change codec of video
" -s 640x360 -vcodec libx264 -acodec aac -strict -2 -pix_fmt yuv420p -ac 1 -ar 16000 -r 13 -ab 32000 "
FFMPge code to merge video
String list = generateList(new String[]{ profileVideoCodecPath, recordedVideoCodecPath});
String cmd = " -f concat -i " + list + " -c copy " + mergedVideoPath; -
The most efficient way to generate mp4 video containing looped boomerang-alike video file ?
29 juillet 2019, par B. PalkaI’ve developed an Android app that allows user to create boomerang-alike mp4 video. This video consists of 10 still images being played back and forth quite fast. I know that such video (boomerang effect) can be easily looped from single video file while playing it, but I really need to create a mp4 video that would essentially contain already prepared boomerang video. The output video can be downloaded and played by user on any external player (over which obviously I don’t have any control).
For that purpose currently I create a video from images in a loop. The loop starts from 1st picture and goes to 10th picture with 0.25 sec delay between frames, then goes back from 10th to 1st including delay. And there is 5 of those loops, which essentialy means creating a single video from 5 * 10 * 2 = 100 images. I know it’s kinda ridiculous, so the time that it takes to prepare this video is riduculous as well (around 1:40 min).
What solution could you recommend assuming that the output video really has to consist of 5 loops back-and-forth ? I’ve thought about creating single loop video (20 pictures) and then create final output video by concatenating it 5 times. But could it be any good ? I’m trying to find an efficient yet understandable for a beginner Android programmer way.