
Recherche avancée
Autres articles (44)
-
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 (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (9684)
-
FFMPEG Merge two videos into one with side-by-side same quality output
25 avril 2023, par Filip Kafo KaučiarikI'm already working on project with 3d video and I have a problem, I got left and right channel of video and I need to merge them into side by side. I already read some blogs about this problem and I got this code :


ffmpeg -i avatar35l.avi -vf "movie=avatar35r.avi [in1]; [in]pad=1920*2:1080[in0]; [in0][in1] overlay=1920:0 [out]" avatar35sbs.avi



It works, but there is significant quality loss and I need the quality of the output video to be the same as the input video : 30fps, 1080p, same length. I'm new to
ffmpeg
and i need a concrete example of that.

Can anybody help me ?


-
android - ffmpeg overlay videos not working properly
2 janvier 2017, par MickStWhat I’m trying to do : I have 2 videos (the first one is recorded in the app itself, the second was pre-recorded and it’s shorter than the first). I’m trying to overlay it with the following FFMpeg command :
finalCommand = new String[]{"-y",
"-i", vid1,
"-i", vid2,
"-i", aud1,
"-i", aud2,
"-strict", "experimental", "-filter_complex",
"[0:a] volume=0.2 [a8];"
+"[3:a] atrim=end="+String.valueOf(newTimePause)+" [a12];"
+"[3:a] atrim=start="+String.valueOf(newTimePause)+" [a14];"
+"[a14] adelay="+String.valueOf(newDelayInt)+"|"
+String.valueOf(newDelayInt)+" [a16];"
+ "[a8][a12][a16][2:a:0] amix=inputs=4 [a];"
+ "movie=" + watermark + " [watermark];"
+ "[0:v][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [outv0];"
+ "[1] fifo, scale=iw/2.5:ih/2.5 [vid2];"
+ "[vid2]fifo, trim=end=80.5 [vid5];"
+ "[vid2] fifo, trim=start=80.5 [vid6];"
+ "[outv0][vid5] overlay=10:10:enable=\'between(t,0,84)\' [outv6];"
+ "[outv6][vid6] overlay=10:10:enable=\'between(t,84,101)\' [outv]",
"-map", "[outv]",
"-map", "[a]",
"-r", "30",
"-b",
"4000k",
"-vcodec", "mpeg4",
"-ab", "44100", "-ac", "2", "-ar", "44100",
IOUtils.getFINALdir(this)+"/finalvid.mp4"
};So : vid1 is an mp4 video recorded in the app, watermark is a png image that should be overlayed during all vid1, and vid2 is the one pre-recorded. And the difference in length between vid1 and vid2 depends on the user. So I need to split vid2 at 80.5 seconds into 2 pieces, then overlay the first piece of vid2 from the beginning of vid1 to the time user clicked the button (here it’s hardcoded as 84 for convenience, and I know that from 80.5 to 84 the last frame will remain overlaid - it’s ok), then overlay the second piece from this "84" till the end. (it’s almost the same for aud2 - the corresponding audio for vid2 - but aud2 works fine)
But with this piece of code it looks like it takes a lot of memory and lots of frames of overlaid vid2 just get lost - it just freezes. And the line
+ "[outv6][vid6] overlay=10:10:enable=\'between(t,84,101)\' [outv]",
ruins everything so that from 84 till the end nothing is finally overlaid including the watermark (why so ?)And the other problem is this is too slow. Idk how to export a video of 720p or 1080p and that it be not too slow, not be of a big file size and not stop with OOM (now it’s about 480p and takes about 50Mb - I want a larger resolution with a smaller size).
I think the whole command can be rewritten better, but how ? What am I doing wrong and how to fix it all ? Thanks in advance !
-
configure.ac : relax linux OS detection
9 janvier 2017, par Peter Korsgaardconfigure.ac : relax linux OS detection
Not all linux hosts match the *-pc-linux-gnu wildcard, causing build
failures for older glibc versions where we need to link with -lrt for
clock_gettime - E.G. :- arm-unknown-linux-musleabihf
- powerpc-unknown-linux-gnuspe
- bfin-linux-linux-uclibc
..Signed-off-by : Peter Korsgaard <peter@korsgaard.com>
Signed-off-by : Erik de Castro Lopo <erikd@mega-nerd.com>