Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (99)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (10134)

  • Révision 24662 : réparer le super_cron en https

    23 août 2020, par bruno@eliaz.fr

    super_cron, il est super, mais un peu cron cron en https :p

    report de 542730b44f71bc6395aa43e80f8b0a12a22215db & fix #4345

  • nomenclature #3201 : lien_objet() devrait être renommé objet_lien()

    23 octobre 2014, par RastaPopoulos ♥

    Pas forcément sur la famille non, il y en a qui portent sur un objet précis, mais justement en y réfléchissant ce sont des fonctions qui modifient l’objet lui-même (objet_inserer, objet_modifier, etc). Donc ça n’allait pas non plus. Donc oui super pour la famille generer_truc : qui extrait de l’information à partir d’un objet.

    Un jour prochain, je proposerais bien d’uniformiser ces noms avec le même préfixe :
    - generer_objet_url
    - generer_objet_info
    - generer_objet_lien, etc

    Là aussi en mappant on pourra ne rien casser, et ça rend alors le truc plus consistant, plus facile à apprendre et retenir (et quand on liste les choses alphabétiquement elles sont ensemble).

  • Stream low latency RTSP video to android with ffmpeg

    21 octobre 2014, par grzebyk

    I am trying to stream live webcam video from Ubuntu 12.04 PC to android device with KitKat. So far I’ve written ffserver config file to receive ffm feed and broadcast it through a rtsp protocol. I am able to watch the stream on the other computer in the same LAN with ffplay.

    How to watch the stream on the android device ? The following code works well when the webcam image is streamed with vlc but it doesn’t with ffmpeg :

    public class MainActivity extends Activity implements MediaPlayer.OnPreparedListener,
           SurfaceHolder.Callback {

       final static String RTSP_URL = "rtsp://192.168.1.54:4424/test.sdp";

       private MediaPlayer _mediaPlayer;
       private SurfaceHolder _surfaceHolder;

       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           // Set up a full-screen black window.
           requestWindowFeature(Window.FEATURE_NO_TITLE);
           Window window = getWindow();
           window.setFlags(
                   WindowManager.LayoutParams.FLAG_FULLSCREEN,
                   WindowManager.LayoutParams.FLAG_FULLSCREEN);
           window.setBackgroundDrawableResource(android.R.color.black);
           getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
           setContentView(R.layout.activity_main);

           // Configure the view that renders live video.
           SurfaceView videoView =
                   (SurfaceView) findViewById(R.id.videoView); //where R.id.videoView is a simple SurfaceView element in the layout xml file
           _surfaceHolder = videoView.getHolder();
           _surfaceHolder.addCallback(this);
           _surfaceHolder.setFixedSize(320, 240);
       }
       @Override
       public void surfaceCreated(SurfaceHolder surfaceHolder) {
           _mediaPlayer = new MediaPlayer();
           _mediaPlayer.setDisplay(_surfaceHolder);
           Context context = getApplicationContext();
           Uri source = Uri.parse(RTSP_URL);
           try {
               // Specify the IP camera's URL and auth headers.
               _mediaPlayer.setDataSource(context, source);

               // Begin the process of setting up a video stream.
               _mediaPlayer.setOnPreparedListener(this);
               _mediaPlayer.prepareAsync();
           }
           catch (Exception e) {}
       }
       @Override
       public void onPrepared(MediaPlayer mediaPlayer) {
           _mediaPlayer.start();
       }
    }

    My ffserver.config file :

    HTTPPort 8090
    RTSPBindAddress 0.0.0.0
    RTSPPort 4424
    MaxBandwidth 10000
    CustomLog -

    <feed>
           File /tmp/feed1.ffm
           FileMaxSize 20M
           ACL allow 127.0.0.1
    </feed>
    <stream>
       Feed feed1.ffm
       Format rtp  
       VideoCodec libx264
       VideoSize 640x480
       AVOptionVideo flags +global_header
       AVOptionVideo me_range 16
       AVOptionVideo qdiff 4
       AVOptionVideo qmin 10
       AVOptionVideo qmax 51
       Noaudio
       ACL allow localhost
           ACL allow 192.168.0.0 192.168.255.255
    </stream>

    I am starting the stream with this command : ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -b:v 600k http://localhost:8090/feed1.ffm