Recherche avancée

Médias (91)

Autres articles (102)

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

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (8016)

  • ffmpeg conversion from MOV to mp4 - how to conserve creation date

    13 juin 2020, par jacobacci

    Windows 10 1909, latest updates.

    



    I am helping a friend move his photos and videos from one Apple ID to another.
I have downloaded all items to my PC using iCloud for PC. I then proceeded to re-upload all the photos to the new Apple ID.
2'000 of the videos are MOV, which I cannot upload to iCloud. I seem to need to convert them to mp4 in order to upload them.

    



    I have converted all of the MOVs to mp4 using the following batch

    



    FOR /F "tokens=*" %%G IN ('dir /b *.MOV') DO ffmpeg -i "%%G" -f mp4 -vcodec copy -acodec mp3 "%%~nG.mp4"


    



    This worked fine and I managed to upload the (now) mp4's to iCloud. Unfortunately all the mp4's now carry yesterday's date as creation date. In iCloud (and on the iPad) all the videos are now displayed with a creation date of 12.6.2020 and it is impossible to find a particular video. Also the context to the photos is lost.

    



    Question :

    



      

    • Is there any way to (batch) convert 2'000 MOV to mp4 while preserving the creation date ?
    • 


    • alternatively : is there any way to upload the original MOV files to iCloud ?
    • 


    


  • ffmpeg strftime no effect on windows

    18 mai 2020, par Ben

    I'm trying to auto mark the output file with timestamps with ffmpeg. Here's my test cmd :

    



    .\ffmpeg.exe -y -loglevel 99 -i test.mp3 -strftime 1 %Y.ogg


    



    I expected a file named 2020.ogg, however only got %Y.ogg. In another word, output filename is not processed by strftime(). I'm using powershell so there should be no relation with cmd's %% escaping.

    



    Here's the output : https://pastebin.com/LUVh2kFA I'm using static builds from https://ffmpeg.zeranoe.com (Thanks Zeranoe !) I confirmed that the problem exists in v4.2.2 and git-20200515. Is there any chance to fix it or am I doing it wrong ?

    


  • Set video's metadata by Python

    17 février 2023, par Anton Bohatov

    I need to upload the video to Google Photos. There is no way to set a date in request, only by metadata. I made a test by setting the date manually (windows, file options) and it works in Google Photos. So, I don't understand how to set it by Python. I found the needed value, but I can't set it.

    


    import ffmpeg

file_path = r"test.MP4"
vid = ffmpeg.probe(file_path)

vid['streams'][0]['tags']['creation_time']


    


    Result '2020-11-01T20:07:09.000000Z'

    


    I tried vid['streams'][0]['tags']['creation_time'] = '2015-11-01T20:07:09.000000Z'

    


    But nothing changes. Please help.

    


    Note that this is about the video file's metadata, NOT WINDOWS DATA