
Recherche avancée
Autres articles (80)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (...)
Sur d’autres sites (13026)
-
Concatenate mp4 files
17 juillet 2020, par jap101I want to concatenate around 15 45 second clips together end on end. These clips can be of different resolution (most are 1080 or 720) but are all mp4 files.


i have tried both


concatenate_videoclips(clips,method='compose')
concatenate_videoclips(clips,method='chain')



from moviepy but neither of these are good for me since 'compose' relies on all the files being the same resolution which they are not and chain takes too long and sometimes causes errors.


i have also tried using ffmpeg with :


ffmpeg -i clip1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts



for each clip and then concatenating with :


ffmpeg -i "concat:intermediate1.ts|intermediate2.ts|...|intermediate15.ts" -c copy -bsf:a aac_adtstoasc output.mp4



but this method seemed to cause a audio problem i believe due to the lossless compression when changing file type. There are these strange audio pauses periodically throughout the video.


i have also tried ffmpeg


ffmpeg -f concat -safe 0 -i clipsfile.txt -c copy output.mp4



where the clipsfile.txt looks like


file clip1.mp4
file clip2.mp4
...
file clip15.mp4



when i run this it works but i have an audio error where someclips (often comes in pairs) where one clip is silent and then the next clip plays the audio from the previous clip but of the first clip is shorter the audio will go back to the second clips audio at the correct time so it seems to me like the audio is overlaps and causes it to be silent and then when the overlap stops it goes back to normal.


Any suggestions to fix any of these, extra information or recommendations of other things to do are much appreciated thanks.


-
avconv audio and video out of sync
28 juillet 2015, par bram_aertsI have a problem synchronizing audio and video using avconv.
My goal is to process the video stream with opencv and later put the original audio back on the soundless video.
The processed video stream will be at the same period of time as the original video, but will have a starting offset of a few minutes.I tried to simplify the problem with the following code :
filename="inputvideo.mp4"
avconv -i $filename -an -ss 30 test.mp4
avconv -i test.mp4 -vn -ss 30 -i $filename -async 1 testmerged.mp4The second line removing the audio of the original video and shifting it 30 seconds (emulating what the opencv-code will do).
The last line putting the video and original audio (shifted 30 seconds) back together.I assumed if I’d both shift them the same amount of seconds, they would be neatly synchronized, but curiously the video and audio in the resulting movie are out of sync. It is a static delay of about about 3 seconds (audio is behind).
The same problem appears when making an interim mp3 file and using this as audio track for the resulting movie.When searching for a solution I found none that resolve this.
I tried to overcome this issue by using the -vsync/-async options. But since there is no timestamp information in the video this doesn’t solve the problem.
Even with the latest static build of ffmpeg the audio and video are still out of sync.Is there anything I overlooked or is it just impossible to sync audio and video in ffmpeg ?
And if so, What would be a decent and simple replacement for the funcionality I’m looking for ? -
Usage of libx264.dll in C++ under windows
19 janvier 2012, par AnujI have been able to build the libx264 dll from source using hints from here.
I am successfully able to load the Dll via my application using the LoadLibrary method.
But when i try to get the address of the methods available via the x264.h header using GetProcAddress(), i always get back NULL.Has anyone worked with libx264.dll before in VS or are there any references to some sample code for the same.