
Recherche avancée
Autres articles (27)
-
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 (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4964)
-
dca : Move ff_dca_convert_bitstream() to the DCA common code
26 mars 2013, par Diego Biurrundca : Move ff_dca_convert_bitstream() to the DCA common code
-
Split MPEG-1/2 decoder code off from MPEG-1/2 common code
26 mars 2013, par Diego BiurrunSplit MPEG-1/2 decoder code off from MPEG-1/2 common code
-
Horizontally show two videos side by side and export to one video
15 juin 2015, par Michael LibermanWhat I am trying to achieve :
Programmatically (using some kind of script) combine two different videos to one video where the videos are shown side by side and sound from both videos is played simultaneously.I found at least two ways I could display two videos side by side but in each one I have a different problem that makes it difficult to complete the process :
-
Avisyth and Avs2Avi :
Avisyth really makes the process easy. With a simple Avisyth script like this you should be able to play two videos side by side :video1=AVISource("d:\file1.avi")<br />
video2=AVISource("d:\file2.avi")<br />
StackHorizontal(video1,video2)The creation of a new output file can be done with avs2avi.
The problem here is that i am not able to play even one avi file with avisyth because I get "AviSource couldn’t locate a decompressor for fourcc xvid" message. I googled for the solutions to that problem but nothing helped. GSpot says that i have all the codecs needed and it seems I can not do anything. Because I can not get to running real videos, I dont know if the final video plays sounds from both videos. Avisyth installed correctly and I am able to run the following script StackHorizontal(version ,version). -
ffmpeg
Works like a charm with two videos and the final file BUT i do not get the sounds from both videos but only the first one. I found out that the solution to add sound from the second video will be by using the libfaac in the command line, like that :
ffmpeg.exe -i video1.mp4 -vf "[in] scale=iw/2:ih/2, pad=2*iw:ih [left]; movie=video2.mp4, scale=iw/3:ih/3 [right]; [left][right] overlay=main_w/2:0 [out]" -c:a libfaac -b:v 768k Output.mp4
but i always get an error that the encoder libfaac can not be found. I downloaded the libfaac.dll but still no result.
Is there a solution to any of these problems ? Is there another way to programmatically make one video from two videos that are played side by side ? Thanks in advance.
-