Recherche avancée

Médias (91)

Autres articles (41)

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

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

Sur d’autres sites (7079)

  • ffmpeg play raw h264 stream, dts/pts problem

    29 mars 2019, par LoganMia

    I need to use ffmpeg to play the raw h264 stream, but there is no dts/pts inside, there is a timestamp

    void h264_decode(void *h264_buffer, int buflen, double timestamp) {
       ...
       AVStream * st = ic->streams[pkt->stream_index]; //video stream
       double duration_s = av_q2d(st->time_base);
       double duration = duration_s / av_q2d(st->time_base);
       pkt_ts = pkt->dts = pkt->pts = frame_index * duration; // no B frame
       ...
    }

    But the playback speed is too slow,
    How can I use timestamp to set pts/dts correctly ?
    Thanks .

  • Enable Quality Selector Control in Angular Using Video.js

    3 février, par Abhay Singh

    I am using Video.js in an Angular 19.1.3 application, with version 8.21.0 of Video.js. I have successfully set up an HLS stream using a master index.m3u8 file, and the player automatically switches to lower quality segments when the network is slow, and to higher quality when the network is good. This part works as expected.

    


    However, I would like to add a manual quality selection option to allow users to choose the video quality themselves. Despite trying several plugins (such as videojs-hls-quality-selector and videojs-contrib-quality-levels), I haven't been able to get it working.

    


    Can anyone guide me on how to implement this feature in Video.js, ensuring that the quality selector is available for manual selection ?

    


    Below is my Components code -

    


    import {AfterViewInit, Component} from '@angular/core';
import videojs from 'video.js';
import '@videojs/http-streaming';
import 'video.js/dist/video-js.css';

@Component({
  selector: 'app-home',
  imports: [],
  templateUrl: './home.component.html',
  styleUrl: './home.component.css'
})
export class HomeComponent implements AfterViewInit {
  
  ngAfterViewInit(): void {
    const player = videojs('my-video', {
      autoplay: false,
      controls: true,
      preload: 'auto',
      fluid: true,
      aspectRatio: '16:9',
    })
  
  }
}


    


    Below is my HTML code -

    


    <video class="video-js vjs-default-skin" controls="controls">&#xA;    <source src="https://localhost:7063/videos/no1lvswh.zdw.mkv/index.m3u8" type="application/x-mpegURL">&#xA;  </source></video>  &#xA;

    &#xA;

  • Problem to convert Mp4 to MPEG DASH with FFMPEG codec Vp9 in linux

    4 mars 2020, par Sean Pribadi

    i need to convert mp4 to mpeg Dash and stream .Mpd with dash.js. everything looks fine on windows, but there are trouble when i generate Mpd in linux.
    Step by step in windows :
    1. run

    ffmpeg -y -i video.mp4 -map 0:0 -map 0:0 -map 0:1 -c:v libvpx-vp9 -b:v:0 800k -b:v:1 200k -s:v:1 320x170 -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 -b_strategy 0 -use_timeline 1 -use_template 1 -adaptation_sets "id=0,streams=v id=1,streams=a" -f dash config.mpd
    1. stream config.mpd, init, and chunk file with dash.js player.
      everything work when i run ffmpeg on windows

    when i ran on linux :
    1. run

    ffmpeg -y -i video.mp4 -map 0:0 -map 0:0 -map 0:1 -c:v libvpx-vp9 -b:v:0 800k -b:v:1 200k -s:v:1 320x170 -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 -b_strategy 0 -use_timeline 1 -use_template 1 -adaptation_sets "id=0,streams=v id=1,streams=a" -f dash config.mpd

    no error and everything looks good. But when i stream with dash.js.

    1. stream with dash.js player
      when i stream config.mpd with dash.js player, there are infinity request enter image description here

    what i have tried :
    1. change init-stream build by linux with init-stream build by windows [Work]
    2. change codec to libx264 [also work in linux]

    the problem is just convert video to MPEG dash with webm codec (vp8/Vp9) in linux