
Recherche avancée
Autres articles (72)
-
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 (...) -
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
Sur d’autres sites (6389)
-
How to overlay video on video with FFMPEG
28 septembre 2021, par Yogasihave 2 input video.mp4 (with audio) and notif.mov (with audio). I want to overlay notif.mov on video.mp4. I tried this code :


ffmpeg -y -i video.mp4 -i "notif.mov" -filter_complex "[0:v][1:v]overlay=0:0" output.mp4


both videos playing simultaneously, but sound missing from second input (notif.mov)


Any tips ? Thank you !


-
Can you stream multiple video clips to youtube or twitch with a separate audio track with a different length than the video clips with FFMPEG ?
8 juin 2020, par Fight Fire With FireWhat I'd like to do is stream a set of video clips to youtube or twitch using FFMPEG. Right now i loop thru the videos file names in a list called DIRECTORY. video[0] is the file name and send to stream_url with the audio for the video attached.



What i would love to figure out, is there a way I could mux in a single audio track streaming to youtube/twitch but switch the video clips out live. Here is the code I am working with right now :




 for video in directory:
 command = [
 "ffmpeg" , "-re" , "-i" , video[0] ,
 "-vcodec" , "libx264", "-pix_fmt", "yuv420p",
 "-preset" , "medium" , "-r" , "30" , "-g" , "48" , "-b:v" , "2500k" ,
 "-acodec" , "libmp3lame" , "-ar" , "44100", "-threads" , "6" ,
 "-q:a" , "3" , "-b:a" , "712000" ,"-bufsize", "512k" , "-f" ,
 "flv" , STREAM_URL,
 ]
 subprocess.run(command)




-
How to handle queueing of video encoding during multiple video uploads ?
6 mars 2016, par Yash DesaiI am working on developing a video streaming site where users can upload videos to the site (multiple videos at once using the uploadify jquery plugin).
Now, I am faced with the question of encoding the videos to FLV for streaming them online.
When should the video encoding process take place ? Should it take place immediately after uploads have finished (i.e redirect the user to upload success page, and then start encoding in the background using exec command for ffmpeg ?) However, using this approach, how do i determine if the encoding has finished successfully ? What if users upload a corrupt video and ffmpeg fails to encode it ? How do i handle this in PHP ?
How do i queue encoding of videos since multiple users can upload videos at the same ? Does FFMpeg has its own encoding queue ?
I also read about gearman and message queueing options such as redis and AMQP in another related SO thread. Are these one of the potential solutions ?
I would really appreciate if someone could give answers to my questions.