Recherche avancée

Médias (91)

Autres articles (72)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

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

  • How to play encrypted video in exoplayer (android app) coming from HLS streamer ?

    2 février 2021, par Harshil Makwana

    I am right now using FFMPEG to stream mp4 file using HLS.&#xA;I am using this link to enable encryption : https://hlsbook.net/how-to-encrypt-hls-video-with-ffmpeg/

    &#xA;

    To play video in my android app, I am using exoplayer, below is my source code to play video :

    &#xA;

    Player player;&#xA;private MediaSource buildMediaSource(Uri uri) {&#xA;     TrackSelection.Factory adaptiveTrackSelection = new AdaptiveTrackSelection.Factory(new DefaultBandwidthMeter());&#xA;    player = ExoPlayerFactory.newSimpleInstance(&#xA;            this,&#xA;            new DefaultTrackSelector(adaptiveTrackSelection));&#xA;    playerView.setPlayer(player);&#xA;    // These factories are used to construct two media sources.&#xA;    DefaultBandwidthMeter defaultBandwidthMeter = DefaultBandwidthMeter.getSingletonInstance(this);&#xA;    DataSource.Factory dataSourceFactory = new DefaultDataSourceFactory(mContext,&#xA;            Util.getUserAgent(mContext, "cookvid"), defaultBandwidthMeter);&#xA;    //DataSource.Factory dataSourceFactory =&#xA;    //        new DefaultDataSourceFactory(this, "exoplayer-codelab");&#xA;&#xA;    HlsMediaSource.Factory mediaSourceFactory = new HlsMediaSource.Factory(dataSourceFactory);&#xA;    return mediaSourceFactory.createMediaSource(uri);&#xA;    //return new ProgressiveMediaSource.Factory(dataSourceFactory)&#xA;     //       .createMediaSource(uri);&#xA;}&#xA;private void initializePlayer() {&#xA;    Uri uri = Uri.parse(getString(R.string.media_url_hls));&#xA;    MediaSource mediaSource = buildMediaSource(uri);&#xA;    player.setPlayWhenReady(playWhenReady);&#xA;    player.seekTo(currentWindow, playbackPosition);&#xA;    player.addListener(playbackStateListener);&#xA;    player.prepare(mediaSource, false, false);&#xA;}&#xA;

    &#xA;

    But with this code, I can not play video in app, If I am not using this encryption ,then exoplayer can play video without any issue.

    &#xA;

    Please help me on this, I am newbie on exoplayer side.

    &#xA;

  • Is there any way to play video other then .mp4 on Android in Kivy ?

    11 décembre 2016, par Gerasimov Mikhail

    While I didn’t find this in docs, currently only way to play video on Android in Kivy is to use ffmpeg. Am I right ?

    Even so looks like default ffmpeg recipe supports only .mp4 videos. Is there any way to make it work with .avi and other popular video formats ?

  • Play MP4 while recording moov atom.

    2 septembre 2013, par Bavagnoli Paolo

    I am recording a video with VLC using MP4 Encapsulation + h264 codec. The video is recorded correctly , but I need to be able to access and play the recorded video while recording from a winform c# application.

    I have integrated VLC in the winform application but the problem is that the mp4 file is not playable during recording.

    I understood that the problem is the moov atom file is created at the end when the recording as terminated.

    First solution I have found is to copy the file when the user need to access the file then generate a moov atom using for example MP4Box utility.

    Does anybody know a better way to achieve this ?

    Thanks