Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (45)

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

  • 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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7412)

  • Streaming playlist with browser overlay [closed]

    28 juin 2024, par Tchoune

    Do you have any idea how I can stream a video playlist on twitch (with ffmpeg or another lib) and overlay a web page (with sub twitch alerts for example).

    


    I also need to be aware that my system needs to be multi-user. A user can stream on 1 to n different twitch channels. (multi instance).

    


    For my production, I plan to use linux server without GUI. I've been looking for a solution for 4 months, but I've run out of ideas.

    


    I've already tried xvfb to create a virtual desktop and display a chorimum browser, but it's not effective for production.
I've tried the whole pupeertee thing but it's not usable either.

    


    And my backend server is under nodejs with adonisjs.
I'm currently using ffmpeg to broadcast a video playlist with m3u8 :

    


    startStream(): number {
let parameters = [
  '-nostdin',
  '-re',
  '-f',
  'concat',
  '-safe',
  '0',
  '-vsync',
  'cfr',
  '-i',
  `concat:${app.publicPath(this.timelinePath)}`,
]

let filterComplex = ''

if (this.logo) {
  parameters.push('-i', app.publicPath(this.logo))
  filterComplex += '[1:v]scale=200:-1[logo];[0:v][logo]overlay=W-w-5:5[main];'
} else {
  filterComplex += '[0:v]'
}

if (this.overlay) {
  parameters.push('-i', app.publicPath(this.overlay))
  filterComplex += '[2:v]scale=-1:ih[overlay];[main][overlay]overlay=0:H-h[main];'
}

filterComplex += `[main]drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf:textfile=${app.publicPath(this.guestFile)}:reload=1:x=(w-text_w)/2:y=h-text_h-10:fontsize=18:fontcolor=white[main]; [main]drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf:text='%{localtime\\:%X}':x=10:y=h-text_h-10:fontsize=16:fontcolor=white`

parameters.push(
  '-filter_complex',
  filterComplex,
  '-copyts',
  '-pix_fmt',
  'yuv420p',
  '-s',
  '1920x1080',
  '-c:v',
  'libx264',
  '-profile:v',
  'high',
  '-preset',
  'veryfast',
  '-b:v',
  '6000k',
  '-maxrate',
  '7000k',
  '-minrate',
  '5000k',
  '-bufsize',
  '9000k',
  '-g',
  '120',
  '-r',
  '60',
  '-c:a',
  'aac',
  '-f',
  'flv',
  `${this.baseUrl}/${encryption.decrypt(this.streamKey)}`
)

this.instance = spawn('ffmpeg', parameters, {
  detached: true,
  stdio: ['ignore', 'pipe', 'pipe'],
})


    


    I've thought of using Webrtc, but it doesn't seem to meet my needs.

    


    I know that Gstreamer has wpeWebKit or wpesrc to do this, but there's no nodejs wrapper and above all it doesn't take playlist input (m3u8 or txt) into account...

    


    If anyone has any new ideas, I'd be very grateful.

    


  • MAINTAINERS : update myself for dvdvideo, rcwtdec, rcwtenc

    26 septembre 2024, par Marth64
    MAINTAINERS : update myself for dvdvideo, rcwtdec, rcwtenc
    

    I plan to look after and test them for the forseeable future.
    I am not a committer but do care for these muxers/demuxers.

    Signed-off-by : Marth64 <marth64@proxyid.net>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] MAINTAINERS
  • avcodec : add avcodec_get_supported_config()

    3 avril 2024, par Niklas Haas
    avcodec : add avcodec_get_supported_config()
    

    This replaces the myriad of existing lists in AVCodec by a unified API
    call, allowing us to (ultimately) trim down the sizeof(AVCodec) quite
    substantially, while also making this more trivially extensible.

    In addition to the already covered lists, add two new entries for color
    space and color range, mirroring the newly added negotiable fields in
    libavfilter.

    Once the deprecation period passes for the existing public fields, the
    rough plan is to move the commonly used fields (such as
    pix_fmt/sample_fmt) into FFCodec, possibly as a union of audio and video
    configuration types, and then implement the rarely used fields with
    custom callbacks.

    • [DH] doc/APIchanges
    • [DH] libavcodec/avcodec.c
    • [DH] libavcodec/avcodec.h
    • [DH] libavcodec/codec.h
    • [DH] libavcodec/codec_internal.h
    • [DH] libavcodec/version.h