Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (76)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (9278)

  • Layering 2 Audio Files at Set Times in Node.js

    8 janvier 2017, par Tom Rowe

    Just typed a massive question and realised I was wasting space and time, so I shortened it, will answer any questions of context if needed :

    PROBLEM

    I have a short audio file "name.mp3" and a long audio file "Vocals.mp3", and i’m trying to make an output file where the audio from "name.mp3" occurs multiple times over "Vocals.mp3"**.

    For the sake of this thread lets just say every 20 seconds.

    TRIED

    So far I have been using "Fluent-ffmpeg" and have just started using "Sox-audio" but I’m open to suggestions of other packages. I have been able to split "Vocals.mp3" into parts and concatenate "Name.mp3" inbetween, but this has led to timing issues.

    I have also been using the Mix() method from Sox but haven’t been able to find a working system of starting each "name.mp3" input at set times.

    I’ll continue looking for more threads about this topic and if i find an answer i’ll share it here.

    Cheers !

  • FFmpeg concat video and audio out of sync

    16 septembre 2016, par Xeoncross

    Joining multiple files using ffmpeg concat seems to result in a mismatch of the timestamps or offsets for the audio. I’ve tried with several videos and noticed the same problem for h.264 / MP4.

    Using concat and encoding the video seems to work fine. The audio stays in sync as ffmpeg does the full conversion calculations and seems to get everything right.

    However, simply concatenating the videos without any transformation or encoding results in a slowly increasing sync issue. Obviously, encoding the videos rather than simply joining them will result in a loss of information/quality so I would rather find a way around this problem.

    I’ve tried several flags to sort out this problem that appears to be based on the timestamps. None of these seem to correct the problem though.

    ffmpeg -f concat -fflags +genpts -async 1 -i segments.txt test.mov
    ffmpeg -auto_convert 1 -f concat -fflags +genpts -async 1 -i segments.txt -c copy test2.mov
    ffmpeg -f concat -i segments.txt -c copy -fflags +genpts test3.mp4
    ffmpeg -f concat -fflags +genpts -async 1 -i segments.txt -copyts test4.mov
    ffmpeg -f concat -i segments.txt -copyts test5.mov
    ffmpeg -f concat -i segments.txt -copyts -c copy test6.mov
    ffmpeg -f concat -fflags +genpts -i segments.txt -copyts -c copy test7.mov

    Note : all other questions that I could find on SO seem to "fix" the problem by simply encoding the videos over again. Not a good solution.

    Update

    I realized the concat wasn’t the problem. The original set of clips had mis-matched timestamps. Somehow concat + encoding fixed the issue, but I don’t want to re-encode the videos and loose quality each time.

    ffmpeg -y -ss 00:00:02.750 -i input.MOV -c copy -t 00:00:05.880 output.MOV

    Which resulted in the following data

    ffprobe -v quiet -show_entries stream=start_time,duration output.MOV

    start_time=-0.247500
    duration=6.131125
    start_time=-0.257333
    duration=6.155333

    Since then I’ve tried to use -tom and -t in different places along with -af apad -c:v copy and I’ve still failed to get the duration to be the same.

    Here is the full ffprobe output

    Here is the original (red) vs the segment (green)

    Detailed Sample Files

    I recorded a sample video, added the commands to chop it up, then concat it. http://davidpennington.me/share/audio_sync_test_video.zip

  • FFmpeg concat video and audio out of sync

    20 décembre 2020, par Xeoncross

    Joining multiple files using ffmpeg concat seems to result in a mismatch of the timestamps or offsets for the audio. I've tried with several videos and noticed the same problem for h.264 / MP4.

    



    Using concat and encoding the video seems to work fine. The audio stays in sync as ffmpeg does the full conversion calculations and seems to get everything right.

    



    However, simply concatenating the videos without any transformation or encoding results in a slowly increasing sync issue. Obviously, encoding the videos rather than simply joining them will result in a loss of information/quality so I would rather find a way around this problem.

    



    I've tried several flags to sort out this problem that appears to be based on the timestamps. None of these seem to correct the problem though.

    



    ffmpeg -f concat -fflags +genpts -async 1 -i segments.txt test.mov
ffmpeg -auto_convert 1 -f concat -fflags +genpts -async 1 -i segments.txt -c copy test2.mov
ffmpeg -f concat -i segments.txt -c copy -fflags +genpts test3.mp4
ffmpeg -f concat -fflags +genpts -async 1 -i segments.txt -copyts test4.mov
ffmpeg -f concat -i segments.txt -copyts test5.mov
ffmpeg -f concat -i segments.txt -copyts -c copy test6.mov
ffmpeg -f concat -fflags +genpts -i segments.txt -copyts -c copy test7.mov


    



    Note : all other questions that I could find on SO seem to "fix" the problem by simply encoding the videos over again. Not a good solution.

    



    Update

    



    I realized the concat wasn't the problem. The original set of clips had mis-matched timestamps. Somehow concat + encoding fixed the issue, but I don't want to re-encode the videos and loose quality each time.

    



    ffmpeg -y -ss 00:00:02.750 -i input.MOV -c copy -t 00:00:05.880 output.MOV


    



    Which resulted in the following data

    



    ffprobe -v quiet -show_entries stream=start_time,duration output.MOV

start_time=-0.247500
duration=6.131125
start_time=-0.257333
duration=6.155333


    



    Since then I've tried to use -tom and -t in different places along with -af apad -c:v copy and I've still failed to get the duration to be the same.

    



    Here is the full ffprobe output

    



    Here is the original (red) vs the segment (green)

    



    Detailed Sample Files

    



    I recorded a sample video, added the commands to chop it up, then concat it. http://davidpennington.me/share/audio_sync_test_video.zip