Recherche avancée

Médias (91)

Autres articles (103)

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

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (6376)

  • How to improve my current method of generating an audio transcript from an online video

    23 janvier 2019, par 5areductase

    I am working on a project that needs to download and analyze online videos. Most of the videos are hosted on YouTube but some are hosted on Facebook.

    My task is to generate an audio transcript for every video.

    My colleague was using a series of programs sequentially given some {link} :

    youtube-dl -f '(mp4)[height = 360][width = 640]' {link} -o '{out_1}.%(ext)s'

    ffmpeg -i {out_1} -vn {out_2}.wav

    sox {out_2} {out_3} channels 1 rate 16000

    pocketsphinx_continuous -infile {out_3} -samprate 16000 -hmm {ACOUSTICMODEL} -dict {DICTIONARY} -lm {LANGMODEL} -fwdflat yes -bestpath yes 2> error.log | tee {out_4}.log && rm error.log

    Note that there’s an extra ffmpeg step to extract the audio, instead of simply directly downloading it with youtube-dl because video is needed as well.

    Everything works correctly as far as I can tell, but I’ve never really dealt with audio before so I’m not sure if this is the best way to go about it.

  • What is a good/simple way to obtain a stream of song metadata from an online radio station ?

    29 juin 2022, par esp

    What is a good/simple way to obtain a stream of song metadata (artist names and song titles etc.) from an online radio station ? Just the metadata, not the data (media). On bash command-line for now, thinking of getting it to a database (eg MySQL) in future.

    


    I have had success using FFMpeg to do this (simply FFMpeg -i <streamurl></streamurl>). However it only reports the song playing once - when it is run. If I specify an outputfile (e.g. -f null -) then it continues to run but does not report any updates to the "now playing" metadata. If I do not specify an output file then, after reporting that metadata, it quits (which in my case is more useful !).

    &#xA;

    I can imagine one way round this would be to make a polling-loop, say every 10 seconds, only reporting when the metadata has changed (since the previous time). Does anyone have a battle-tested example ?

    &#xA;

    But is there a better (or cooler way) to achieve this ?

    &#xA;

  • How to cut online video using ffmpeg c api ? [on hold]

    27 novembre 2017, par blueblue

    I am new to ffmpeg.I have tried this answer How to cut video with FFmpeg C API But I didn’t get it ,can anyone help ?