Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (79)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8822)

  • 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

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

  • 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.
I am using this link to enable encryption : https://hlsbook.net/how-to-encrypt-hls-video-with-ffmpeg/

    


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

    


    Player player;
private MediaSource buildMediaSource(Uri uri) {
     TrackSelection.Factory adaptiveTrackSelection = new AdaptiveTrackSelection.Factory(new DefaultBandwidthMeter());
    player = ExoPlayerFactory.newSimpleInstance(
            this,
            new DefaultTrackSelector(adaptiveTrackSelection));
    playerView.setPlayer(player);
    // These factories are used to construct two media sources.
    DefaultBandwidthMeter defaultBandwidthMeter = DefaultBandwidthMeter.getSingletonInstance(this);
    DataSource.Factory dataSourceFactory = new DefaultDataSourceFactory(mContext,
            Util.getUserAgent(mContext, "cookvid"), defaultBandwidthMeter);
    //DataSource.Factory dataSourceFactory =
    //        new DefaultDataSourceFactory(this, "exoplayer-codelab");

    HlsMediaSource.Factory mediaSourceFactory = new HlsMediaSource.Factory(dataSourceFactory);
    return mediaSourceFactory.createMediaSource(uri);
    //return new ProgressiveMediaSource.Factory(dataSourceFactory)
     //       .createMediaSource(uri);
}
private void initializePlayer() {
    Uri uri = Uri.parse(getString(R.string.media_url_hls));
    MediaSource mediaSource = buildMediaSource(uri);
    player.setPlayWhenReady(playWhenReady);
    player.seekTo(currentWindow, playbackPosition);
    player.addListener(playbackStateListener);
    player.prepare(mediaSource, false, false);
}


    


    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.

    


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