Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin 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 (...)

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (6680)

  • Usage of libx264.dll in C++ under windows

    19 janvier 2012, par Anuj

    I 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.

  • avconv audio and video out of sync

    28 juillet 2015, par bram_aerts

    I 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.mp4

    The 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 ?

  • Concatenate mp4 files

    17 juillet 2020, par jap101

    I 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.