Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (103)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (8127)

  • How to download m3u8 playlist with URL redirection ? (blob URL,HydraX, JW Player version 8.4.2)

    17 novembre 2019, par wltprgm

    The video in https://hydrax.net/ is using HLS, .m3u8 file, direct link is https://hydrax.net/demo/hydrax.html (from the iframe src).

    However, youtube-dl couldn’t read from the .m3u8 file I downloaded from blob in chrome.

    And using ffmpeg method (which usually works) to download from the .m3u8 file failed because the first segment of the file is a URL redirect

    Error when loading first segment 'https://i.donald-gaines.xyz/redirect/7qC173pnWiDwe2TumUTYnzX4WdbPn8XJDzhqDzXPo39PWtX4EaAxLq7FLUW17aI/WhsiWh1RO6oSXzr6QqkTOgljgRrXBgpJtQf6gMBAC5Jq95JkuQlWKpfpgPoo/BSGGloj6MOe7cO4K9HoDj76PRzjSVoiwcJ1Xl34kc3Z5/Bl2WS3KO8WsicRVG8l1EBoi3RN2DnqZx6o13U56YnDBv'
    2b0bdf87-656f-4880-8357-f7fd6329b2f8.m3u8: Invalid data found when processing input

    Somebody asked the same question in reddit some days ago : link

  • Do ffmpeg create thumbnail download all of file via URL nodejs ?

    11 novembre 2019, par Nam Nguyễn

    I am creating a thumbnail from video URL by ffmpeg.

    This is my code :

    function createThumbnail(videoURL, keyFileThumb) {
       return new Promise((resolve, reject) => {
           let tmpFile = createWriteStream(`./${keyFileThumb}`)
           const ffmpeg = spawn(ffmpegPath, [
               '-ss',
               '00:00:01.000',
               '-i',
               videoURL,
               '-frames:v',
               '1',
               '-f',
               'image2',
               '-c:v',
               'mjpeg',
               'pipe:1'
           ])

           ffmpeg.stdout.pipe(tmpFile)

           ffmpeg.on('close', function (code) {
               tmpFile.end()
               resolve(code)
           })

           ffmpeg.on('error', function (err) {
               console.log(err)
               reject(err)
           })
       })
    }

    I just want to create thumbnail from stream video URL then disconnect. I do not want download all of file to generate thumbnail in few second of video.

  • Change youtube-dl download output (Windows)

    24 octobre 2019, par Inforcer25

    I hope you can help me.

    I am using youtube-dl on windows (youtube-dl.exe)
    Downloading the video works great and also just the audio. But what i want is for it to save the audio file in a different place eg. C :\Users*******\Desktop

    I made a batch file with this code :

    :audio
    cls
    echo.
    echo.
    echo Your audio vill be downloaded and saved as a .mp3 format
    echo.
    echo.
    set /p audio=Enter Video URL here:
    cls
    youtube-dl.exe --extract-audio --audio-format mp3 --output C:\Users\*******\Desktop\(ext)s.%(ext)s %audio%
    pause
    cls
    echo.
    echo.
    echo.
    echo.
    echo Your audio has now been downloaded.
    ping localhost -n 3 >nul
    exit

    and then it gives me this

    Usage: youtube-dl.exe [OPTIONS] URL [URL...]

    youtube-dl.exe: error: You must provide at least one URL.
    Type youtube-dl --help to see a list of all options.
    Press any key to continue . . .

    It works fine if i use this but it saves it in the same folder.

    :audio
    cls
    echo.
    echo.
    echo Your audio vill be downloaded and saved as a .mp3 format
    echo.
    echo.
    set /p audio=Enter Video URL here:
    cls
    youtube-dl.exe --extract-audio --audio-format mp3 %audio%
    pause
    cls
    echo.
    echo.
    echo.
    echo.
    echo Your audio has now been downloaded.
    ping localhost -n 3 >nul
    exit

    Also please keep in mind that it also uses ffprobe.exe and ffmpeg.exe (They are both in the same folder as youtube-dl.exe