Recherche avancée

Médias (91)

Autres articles (106)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (10159)

  • Evolution #3514 : Affichage des révisions : icones inutiles et troublantes

    29 septembre 2018

    Mon avis était aussi en terme d’accessibilité : alt vide = image décorative.
    Or, ici, on est dans une interface d’administration où la décoration non significative est plus une perte de temps qu’autre chose.

    D’où ma suggestion de ne pas afficher si alt vide.

  • What's the easiest way to convert ogg to webm on Node without ffmpeg ?

    12 mars 2023, par Evert

    I'm working on a Telegram bot that can receive voice messages and then let OpenAI's Whisper transcribe them and then respond using OpenAI's chat completions API.

    


    Anyway, Whisper does accept a webm file as an input, but not an ogg file. Even though ironically, from what I've read, a webm container can contain a pure ogg file as its soundtrack.

    


    I can't use ffmpeg, because I'm deploying this as a serverless function (on Vercel for now) and I have no guarantee that ffmpeg will be installed there. But I was thinking, since webm is simply a container file which can contain the raw ogg opus codec as the soundtrack, wouldn't it be possible to just take the binary audio data that I can get from Telegram, using const audioData = await response.arrayBuffer(), and just add some bytes to the beginning and end of it that represent the webm container ?

    


    If yes, then can someone please tell me which bytes I'd need to add exactly ?

    


  • Full HD video converted to FLV, slow playback in browser

    12 février 2012, par Boyan Georgiev

    I rendered a full HD video using Adobe AfterEffects CS5 in mp4 format. It plays just fine. I've got this video app to which I fed the mp4 file. The video app converts the mp4 to flv format and makes the video available via a web page. I've downloaded the resulting flv file to my local PC - it plays just fine in my VLC player. But, the problem is I'm getting awful playback inside my browser.

    I've made sure the issue is not bandwidth related.
    Both original mp4 file, and ffmpeg-converted FLV file, play perfectly using VLC player.
    I've tested the FLV file with two players - Agryia FLV Player Elite and JW Player. Both players play the video awfully - really slow and very choppy.

    Here's my ffmpeg -i myflvfile.flv :
    `

    Seems stream 0 codec frame rate differs from container frame rate: 119.88 (120000/1001) -> 59.92 (719/12)
    Input #0, flv, from '94044631305552037.flv':
    Metadata:
    duration        : 146
    width           : 1920
    height          : 1080
    videodatarate   : 684
    framerate       : 60
    videocodecid    : 7
    audiodatarate   : 62
    audiosamplerate : 22050
    audiosamplesize : 16
    stereo          : true
    audiocodecid    : 2
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2012-02-10 00:55:19
    encoder         : Lavf52.111.0
    filesize        : 61969316
    Duration: 00:02:25.77, start: 0.034000, bitrate: 764 kb/s
    Stream #0.0: Video: h264 (High), yuv420p, 1920x1080 [PAR 3:4 DAR 4:3], 700 kb/s, 59.92 tbr, 1k tbn, 119.88 tbc
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s`

    Can any one point me in the right direction here ? Why is playback perfect with VLC player of both the mp4 and the flv file on my local PC, yet in my browser, using two different players, the playback is so bad ?

    PS Here's my convert command :

    ffmpeg -y -i /var/www/sandverlag.com/htdocs/rmtk/videos/originals/94044631305552038.mp4 -vcodec libx264 -ar 22050 -ac 2 -vb 700000 -s 1920x1080 -crf 22 -threads 0 -f flv /var/www/sandverlag.com/htdocs/rmtk/videos/converted/94044631305552038.flv > /dev/null &