
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (56)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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 ; (...)
Sur d’autres sites (4983)
-
Revision a7be7c87e0 : intersect_diffs : split out diff classes Seperate parsing functions so they can
13 juillet 2012, par John KoleszarChanged Paths : Add /tools/diff.py (from /tools/intersect-diffs.py :84b1fbfde1166ca7faab2300f7aa54338ce40c57) Modify /tools/intersect-diffs.py intersect_diffs : split out diff classes Seperate parsing functions so they can be reused for other diff utilities Change-Id : (...)
-
vp9 : split pre-load of 11585x2 out of 1d idct macro.
2 décembre 2013, par Ronald S. Bultje -
Partial SPLIT screen video using ffmpeg ?
8 mai 2023, par PirateApp- 

-
I would like to show you an actual example so that you guys can understand what I am trying to achieve


-
I have a VIDEO that is entirely split screen currently


-
If you observe carefully, at the beginning of this video, there are cutscenes that are the same for everyone



-
After that the actual split screen content begins which each screen has something different going on



-
Notice how we are back to the same cutscene type content around 10:55 and 29:05


-
Basically whenever there is a cut scene I would like to show it without split screen from a single source


-
Whenever it is not a cut scene, I want it to be a split screen video


-
Let us say that 00:00 to 01:15 and 10:00 to 10:30 and 29:00 to end of the video has cutscenes


-
These 3 parts need to be shown without split screen while the rest of the video shows up as split screen


-
How do I achieve this in ffmpeg ?


-
I wrote a script that does the split screen part




























ffmpeg -i "$player_one.$player_one_extension" \
 -i "$player_two.$player_two_extension" \
 -i "$player_three.$player_three_extension" \
 -i "$player_four.$player_four_extension" \
 -filter_complex \
 "nullsrc=size=${video_width}x${video_height} [base]; \
 [0:v] trim=start=$player_one_offset,setpts=PTS-STARTPTS, scale=${half_width}x${half_height}, drawtext=fontfile=control-freak-font/CONTF___.ttf:text='${player_one_name}':fontsize=$font_size:fontcolor=0xFFFFFF:alpha='$alpha':x=w-text_w-${font_padding}:y=h-text_h-${font_padding} [upperleft]; \
 [1:v] trim=start=$player_two_offset,setpts=PTS-STARTPTS, scale=${half_width}x${half_height}, drawtext=fontfile=control-freak-font/CONTF___.ttf:text='${player_two_name}':fontsize=$font_size:fontcolor=0xFFFFFF:alpha='$alpha':x=w-text_w-${font_padding}:y=h-text_h-${font_padding} [upperright]; \
 [2:v] trim=start=$player_three_offset,setpts=PTS-STARTPTS, scale=${half_width}x${half_height}, drawtext=fontfile=control-freak-font/CONTF___.ttf:text='${player_three_name}':fontsize=$font_size:fontcolor=0xFFFFFF:alpha='$alpha':x=w-text_w-${font_padding}:y=h-text_h-${font_padding} [lowerleft]; \
 [3:v] trim=start=$player_four_offset,setpts=PTS-STARTPTS, scale=${half_width}x${half_height}, drawtext=fontfile=control-freak-font/CONTF___.ttf:text='${player_four_name}':fontsize=$font_size:fontcolor=0xFFFFFF:alpha='$alpha':x=w-text_w-${font_padding}:y=h-text_h-${font_padding} [lowerright]; \
 [3:a] atrim=start=$audio_offset,asetpts=PTS-STARTPTS[outa]; [base][upperleft] overlay=shortest=1 [tmp1]; [tmp1][upperright] overlay=shortest=1:x=${half_width} [tmp2]; [tmp2][lowerleft] overlay=shortest=1:y=${half_height} [tmp3]; [tmp3][lowerright] overlay=shortest=1:x=${half_width}:y=${half_height}[v]"\
 -map "[v]" -map "[outa]" -c:v libx264 -shortest -t $duration "100_100_hardcore_ghost_recon_future_soldier_coop_pc_${mission}4k.mp4"




- 

- The way I understand the code above has a split base for the entire duration of the video
- One way that I could think of is to make individual videos separately. For example, the cutscenes from 00:00 to 01:15, 10:00 to 10:30 and 29:00 to end would be 3 separate videos. Remaining would be split screen videos and then I would have to merge all the 5 clips together using ffmpeg concat. Is there a better way ?






-