Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (88)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (10626)

  • Podcast : Transform images and audio in a Podcast [on hold]

    27 juin 2013, par Henry Mazza

    Garage Band and others can make podcasts with embedded images to make a slideshow. Is there a way to do this in the command line with tools like ffmpeg ?

  • I would like to batch-trim mp4 videos in a folder with command line (ffmpeg ?), however the sound is delayed

    28 janvier 2023, par pdeli

    I found the following command line to batch-trim videos in a folder, however it delays the sound of all the videos by a few seconds (sound comes after the video) :

    


    for file in /path/to/folder/*.mp4; do ffmpeg -i "$file" -ss 00:00:08 -c copy -avoid_negative_ts 1 "${file%.*}_trimmed.mp4"; done

    


    These are the alternatives I found, however none of them solve the problem :

    


    for file in /path/to/folder/*.mp4; do ffmpeg -i "$file" -itsoffset -0.5 -ss 8 -c:v copy -c:a copy "${file%.*}_trimmed.mp4"; done

    


    for file in /path/to/folder/*.mp4; do ffmpeg -i "$file" -ss 8 -async 1 -c:v copy -c:a copy "${file%.*}_trimmed.mp4"; done

    


    for file in /path/to/folder/*.mp4; do ffmpeg -i "$file" -ss 8 -map 0:v -map 0:a -c:v copy -c:a copy "${file%.*}_trimmed.mp4"; done

    


    I have a hard time finding by how much time the sound is delayed.

    


    My questions :

    


      

    • what would be the command line to batch-trim the beginning of all the videos in a folder with the sound properly "aligned" to the video ?
    • 


    • in other words, can't the sound be by default trimmed by as much as the video in the first place ? If yes, how ?
    • 


    



    


    System used :

    


      

    • macOS Ventura (13.1, Intel)
    • 


    • Shell and version : zsh 5.8.1 (x86_64-apple-darwin22.0)
    • 


    • ffmpeg version 5.0 built with Apple clang version 13.0.0 (clang-1300.0.29.30)
    • 


    


  • avformat/isom : lpcm in mov default to big endian

    1er novembre 2013, par Mark Himsley
    avformat/isom : lpcm in mov default to big endian
    

    It is my understanding that "Unless otherwise stated, all data in a
    QuickTime movie is stored in big-endian byte ordering" [1] in MOV files.

    I have a couple of thousand files, which technically are invalid because
    their sound sample description element 4CC is ’lpcm’ but its version is
    0 - and "Version 0 supports only uncompressed audio in raw (’raw ’) or
    twos-complement (’twos’) format" [2]

    Because isom.c only contains a mapping for 4CC ’lpcm’ to
    AV_CODEC_ID_PCM_S16LE, these files have their audio decoded as LE when
    it is actually BE.

    This commit adds AV_CODEC_ID_PCM_S16BE as the first match for 4CC ’lpcm’.

    [1]
    https://developer.apple.com/library/mac/documentation/quicktime/QTFF/qtff.pdf
    page 21
    [2]
    https://developer.apple.com/library/mac/documentation/quicktime/QTFF/qtff.pdf
    page 178

    Reviewed-by : Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/isom.c