Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (106)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

Sur d’autres sites (10916)

  • How to replace the text in the filename and move the file to different directory

    2 octobre 2019, par Hugo Shih

    I’m a newbie to this bash scripting and I’m writing a script with ffmpeg to help my production more efficient. I think I put two questions at once and hope it won’t be confused :

    Here is my script :

    #!/bin/bash

    for file in *.mov
    do
     ffmpeg  -probesize 50M -analyzeduration 100M -ss 00:00:10.00 -i "$file" -map 0:0 -map 0:1 -
     c:a aac_at -ab 256k -ar 48000 -ac 2 -strict -2 -async 1 -c:v libx264 -crf 20 -r 24000/1001
     -s 1920x1080 -aspect 16:9 -pix_fmt yuv420p -preset fast -partitions
     partb8x8+partp4x4+partp8x8+parti8x8 -b-pyramid 1 -weightb 1 -8x8dct 1 -fast-pskip 1 -
     direct-pred 1 -coder ac -trellis 1 -motion-est hex -subq 6 -me_range 16 -bf 3 -b_strategy 1
     -sc_threshold 40 -keyint_min 24 -g 48 -qmin 3 -qmax 51 -qdiff 4 -metadata creation_time=now
     -sn -t 00:01:00.02 -y "${file%.*}_H264_1080".mov
    done

    Basically what I’m tyring to do is taking a "Movie_ProRes_1080.mov" file and make it as a H264 and rename it as "Movie_H264_1080.mov". The way I work around is Export the file as "Movie" and let it added behind which is really not what I want because I need to export another file to fit this purpose. The main goal is I can use the "Movie_ProRes_1080.mov" convert it to "Movie_H264_1080".

    Also, from the script, it rendered out to the same location. Would it be possible to render to a different directory ? Like source at /Users/editor/source, but render out at /Users/editor/output.

  • How can I convert a regular WAV file to a 4bit WAV file using ffmpeg ?

    17 février 2020, par Florin Mircea

    I have tried something along the lines of

    C :\ffmpeg\ffmpeg -i "Blip_Select2.wav" -c:a wav -sample_fmt u8 "Blip_Select2_8bit.wav"

    but I cannot figure out how to access a 4bit conversion.

    I am using the audio for a c# project, 4 bit is sufficient and I prefer wav so I won’t have to distribute a possibly restricted usage decoder with my files.

    Edit. I have found a solution using a different software (see my answer below), but I am accepting Mattias’s answer as he provided the solution as asked, with ffmpeg.

  • Convert m3u8 File URL to a GIF File [closed]

    30 juin 2023, par nxsi

    I have a m3u8 File URL that I got using the MusicKit API (Apple Music) which is an animated cover art for an album. (A quick side question on that. Is m3u8 the only format that Apple Music returns for animated cover arts ?)

    


    So, Now that I have that m3u8 file URL, I want to convert it to a GIF for the ease of use of GIFs.
I've tried using ffmpeg but I don't really seem to make it work at all with NodeJS.

    


    Here is a sample File URL of what Apple Music returns (https://mvod.itunes.apple.com/itunes-assets/HLSMusic116/v4/cb/ac/9e/cbac9e42-0c8a-9798-0016-52ce447cdc78/P359486356_default.m3u8)

    


    TLDR ;
1- Is m3u8 the only format of animated cover arts that the MusicKit api returns ?
2- Can I convert that m3u8 file URL to a GIF, If so, How ?
3- Are there any other ways than ffmpeg to use in NodeJS ?

    


    I've tried using ffmpeg and the furthest I got was a GIF that was corrupted and not done correctly.
Here is the command I tried :

    


    ffmpeg -i "https://mvod.itunes.apple.com/itunes-assets/HLSMusic116/v4/cb/ac/9e/cbac9e42-0c8a-9798-0016-52ce447cdc78/P359486356_default.m3u8" -vf "fps=10,scale=320:-1:flags=lanczos" output.gif