
Recherche avancée
Autres articles (112)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (9568)
-
ffmpeg : overlaying two videos is deliting audio from one
27 octobre 2022, par shishi'm trying to overlay two videos with ffmpeg, but in the output there is only the audio of the first video.
Using


ffmpeg -i screen.mkv -vf "movie=webcam.mp4, scale=600: -1 [inner]; [in][inner] overlay = main_w - (overlay_w + 10) : main_h - (overlay_h + 10)" output.mp4



from cmd, in the final output i have only the audio from the first video specfied (screen.mkv).
how can i solve ?


-
how to increase bitrates of video which has been created through FFMPEG library in PHP ? [closed]
1er octobre 2020, par Raindrops Info-techIts an android application, where we are capturing image through mobile along with audio which then on server side, by using FFMPEG library we used to club them and making them MP4 Video.


So as can see as a final result we are getting mp4 video having bitrates of less than 144 kbps so whenever we are trying to upload this video on twitter or LinkedIn, they guys are refused to create preview because of the smaller bitrate.


Do we have any solution on how to increase Bit rates, actually we have one image along with 60 seconds audio only ? We had explored certain ways but fails to do so.


Looking forward to your kind response.


-
Concatenate audio parts of different videos with ffmpeg [migrated]
15 août 2024, par SwikeSo I have two videos :


- 

Vid_eng.mkv
is a high resolution video that has the audio in English.Vid_esp.mkv
is a low resolution video that has the audio in Spanish.






Both videos are showing more or less the same stuff but the difference is that the Spanish one has the intro and outro cut out (the first 66 seconds are missing).


I want to create a new video file,
Vid_out.mkv
that has theVid_eng.mkv
video and both audios (so the final file has multistream audio). The issue is that the Spanish audio will not be in sync with the high resolution video, so what I did was this :

ffmpeg -i Vid_eng.mkv
 -f lavfi -t 66 -i anullsrc -i Vid_esp.mkv
 -filter_complex "[1:a][2:a]concat=n=2:v=0:a=1[outa]"
 -map 0 -map "[outa]"
 -metadata:s:a:0 language=eng
 -metadata:s:a:1 language=spa
 -disposition:a:1 default
 -c:v copy Vid_out.mkv



What I'm doing here is essentially creating the new
Vid_out.mkv
using the video fromVid_eng.mkv
, the audio multistream from bothVid_eng.mkv
andVid_esp.mkv
, but with the twist that the audio fromVid_esp.mkv
is actually beginning 66 seconds later (so that it is synced with the English video). I did this by adding 66 seconds of silence (with-f lavfi -t 66 -i anullsrc
) and concatenating that silence with the Spanish audio (with-filter_complex "[1:a][2:a]concat=n=2:v=0:a=1[outa]"
) before adding this concatenated audio stream to the final file as the secondary audio. Also I included some metadata to know the which audio is which.

Everything good for the moment. But now I wanted to try something more sophisticated : instead of having 66 seconds of silence concatenated to the Spanish audio I want 66 seconds of the English audio (the audio from
Vid_eng.mkv
), then the audio fromVid_esp.mkv
, and finally when the Spanish audio has finished and the video is still going, I want the English audio again. So, instead of silence at the beginning and end of the video when played with the secondary audio stream, what I want is the English audio to play. How can I do that with ffmpeg ?


For reference I've been following ideas from these answers :


- 

- How to add audios from different videos into one multistream video
- How to add a few seconds of silence to an audio