Recherche avancée

Médias (91)

Autres articles (107)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (16834)

  • Video length missing in FLV converted by ffmpeg-php

    19 janvier 2013, par Andrew

    I'm converting MP4 videos to FLV using ffmpeg-php on my CentOS server (without intervention from flvtool2 because it's not installed).

    The FLV videos are created, but no player is capable of retrieving the video duration, this creates serious issues when trying to seek the video. I'm using the player created by Moyea's Flash Video MX Pro, but the problem also happens with other FLV players as well, so I'm sure that ffmpeg-php is not createing the FLV with the proper length data.

    My MP4 videos are compatible because ffmpeg-php CAN get the video length properly from then, yet it does not apply that length information into the FLV file. I assume flvtool2 is ONLY to retrieve meta-data and has nothing to do with the output FLV video length, let me know if this is correct.

    This command I use for conversion :

    $command = "ffmpeg -i myvideo.mp4 -ar 22050 -ab 64k -f flv -s 320x240 -y myvideo.flv";
    $result = @shell_exec($command);

    This is my ffmpeg-php version :

    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --extra-cflags=-fPIC --enable-libamr-nb --enable-libamr-wb --enable-libdirac --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-x11grab
     libavutil     49.15. 0 / 49.15. 0
     libavcodec    52.20. 0 / 52.20. 0
     libavformat   52.31. 0 / 52.31. 0
     libavdevice   52. 1. 0 / 52. 1. 0
     libswscale     0. 7. 1 /  0. 7. 1
     libpostproc   51. 2. 0 / 51. 2. 0
     built on Jul 24 2009 01:40:27, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)

    Any help on this issue will be greatly appreciated.

  • Revision fb1f6f1db4 : Fix segment feature data type. It has a range of -255,255, so should be int16_t

    7 juin 2013, par Ronald S. Bultje

    Changed Paths :
     Modify /vp9/common/vp9_blockd.h



    Fix segment feature data type.

    It has a range of -255,255, so should be int16_t, not int8_t.

    Change-Id : I5ef4b6aefb6212b0f35f4754f3c4d73fddbc52a0

  • FFmpegMediaPlayer Stops When Network is Turned Off and Back On

    18 mai 2017, par Fallas

    I am currently working with FFmpegMediaPlayer in order to make a basic music player given a url. I got the basic functionality to work. On error, I show an error message, else I play the songs.
    The problem I am facing is, once the player starts, and I turn off my wifi and phone data, it stops the sound. Once I turn my wifi or phone data back one, I would like the player to continue but it simply stops. I have to stop and play again for it to continue.

    Is there a way to have the FFmpegMediaPlayer continue streaming ?

    This is what I have to initialize the player :

    mMediaPlayer = new FFmpegMediaPlayer();
       mMediaPlayer.setOnErrorListener(this);
       mMediaPlayer.setOnPreparedListener(this);
       mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
       mMediaPlayer.setOnBufferingUpdateListener(this);
       mMediaPlayer.setOnSeekCompleteListener(this);

       try {
           Uri uri = Uri.parse(radio_url);
           mMediaPlayer.setDataSource(mMainActivity, uri);
           mMediaPlayer.prepareAsync();
       } catch (IllegalArgumentException e) {
           e.printStackTrace();
       } catch (SecurityException e) {
           e.printStackTrace();
       } catch (IllegalStateException e) {
           e.printStackTrace();
       } catch (IOException e) {
           e.printStackTrace();
       }

    Then I have a function to handle when Play/Stop button is clicked :

    @Override
    public void onPlayButtonClicked(Button button) {

       if (radioInitialized) {
           mAnalytics.onStopButtonClicked();
           mMainLayout.loading(false);
           mMediaPlayer.pause();
        button.setBackground(mMainActivity.getResources().getDrawable(R.drawable.play_button));
           radioInitialized = false;
       } else {
           mAnalytics.onPlayButtonClicked();
           mMainLayout.loading(true);
           initRadio();
           button.setBackground(mMainActivity.getResources().getDrawable(R.drawable.stop_button));
           radioInitialized = true;
       }
    }

    Again, the basic functionality works, but I would like for it to continue streaming after wifi is turned back on.