Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (54)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (10254)

  • ffmpeg trimming audio WAV files and setting timecode

    14 juillet 2022, par user19551045

    I am currently trying to cut an audio file to match the length of a video (without combining the two...just looking at timecodes) and produce a trimmed audio file that has a timecode that will match up with the video, the video is considered the absolute truth.

    


    Currently, the issue is that the timecodes from the original audio file do not get carried over into the new cropped audio file. So, the starting timecode is now 00:00:00:00 instead of say 07:20:02:14. Even using the -timecode commands and trying to hardcode the timecode that way doesn't seem to do the trick. I am wondering if there is any way around this ? I just want to do as minimal to the raw audio as possible...just change the audio file's length while setting the timecodes so the new audio will line up with the video. Any thoughts/suggestions welcome !

    


    Currently I have tried two options that don't seem to work :
using ffmpeg cmds :

    


    
        cmd2 = r'{} -ss "{}" -i "{}" -codec copy -timecode "{}" "{}"'.format(
            FFMPEG_PATH,
            abs(tc_diff_in_seconds),
            audio_path,
            "17074647",
            out_path
        )


    


    and also using pydub :

    


            current_audio = AudioSegment.from_wav("{}".format(audio_path))
        start_time_in_milli = abs(tc_diff_in_seconds*1000)
        end_time_in_milli = start_time_in_milli + video_dur_in_seconds * 1000
        trimmed_audio = current_audio[start_time_in_milli:end_time_in_milli]
        trimmed_audio.export('{}'.format(out_path), format='WAV', parameters=["-timecode", "17:07:46:47"])


    


    Any thoughts/suggestions welcome ! Thanks

    


  • Anomalie #3210 (Nouveau) : flux rss sur les forums

    5 mai 2014, par jluc -

    SPIP 2.1.26

    Dans les fichiers du répertoire prive/rss il y a dans le HTML des paramètres type= qui ne correspondent à rien
    et devraient être remplacés par des statut=

    Il y a aussi des valeurs de paramètres #ENVpage qui ne correspondent à rien et devraient être remplacés par #ENVstatut

    Dans forums_public, qui devrait renseigner sur les forums publics, il y a le critère en dur : statut IN publie,prop,off,spam
    il faudrait plutôt statut=publie
    et plus loin il y a #URL_ECRIREcontrole_forum,statut=prop... il faudrait plutôt statut=publie

    J’ai aussi une interrogation pour prive/rss.html : on y trouve #INCLURE*fond=prive/rss/(#ENVop|match’^\w+$’
    ce qui fait que pour surcharger il faut créer un sous répertoire privé dans le répertoire squelette.
    Est ce bien là ce qu’il faut faire habituellement ? Ne devrait ce pas plutôt être #INCLURE*fond=rss/(#ENVop|match’^\w+$’ ?

  • ffmpeg - Convert files but keep Same Date Modification as Original ?

    9 septembre 2021, par user5894146

    So I want to start with that ffmpeg and powershell isn't really my strength but I have been using the following powershell command to convert every .flac file in a certain directory to a 320K file.

    


    dir *.flac | foreach {ffmpeg -i $_.FullName -c:v copy  -b:a 320k  $_.FullName.Replace('flac', 'mp3')}


    


    This works exactly how I want to without any album art being transcoded but I want to incorporate a way so that the new .mp3 files that are created have the SAME DATE MODIFICATION value of the .flac files. Is something like this even possible ?

    


    audio_ex.flac = Date Modification: 1/1/2010
audio_ex.mp3 = Date Modification: 9/8/2021


    


    should be instead

    


    audio_ex.flac = Date Modification: 1/1/2010
audio_ex.mp3 = Date Modification: 1/1/2010


    


    I have a folder of 6K files and want each original date modified to match the newly created files so if I can do the above command and also have the date mod time match within one execution, that would be ideal.

    


    I thought of manually changing each files mod time using 3rd party tools but it will be too time consuming.