Recherche avancée

Médias (91)

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (11876)

  • Rendering video streaming in android

    16 avril 2013, par user1568549

    I've successfully cross-compiled a c++ streaming library to the ICS platform

    This library contains a sample player that uses sdl library to render the resulting decoded streams and libav for decoding that i've also succeeded to cross compile(libav ... classes) .Then, i 've made the necessary jni classes and tested it log tags it seems that everything is fine but now i want to show the result on the screen(show the real streaming not just log messages)

    I am searching for the easiest way to render my video-stream (just to be sure that everything works fine)

    Am i obliged to cross-compile the SDL library too ? Is it possible ? If yes is there any good tutorial ?

    Is there any other solution to render directly FFmpeg decoded frames ?

  • w32pthreads : use the condition variable API directly when targeting newer versions...

    9 octobre 2014, par James Almer
    w32pthreads : use the condition variable API directly when targeting newer versions of Windows
    

    Wrap the function calls in a similar fashion to how it’s being done
    with the critical section API.

    Signed-off-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] compat/w32pthreads.h
  • How to resolve "runOnReady command exited with code 0" when restreaming a stream using Mediamtx ?

    2 juillet 2023, par Emad Helmi

    I'm attempting to publish a stream to the RTMP port 1935 using a ffmpeg command with Mediamtx (v0.22.2). Afterward, I want to restream the mainstream to another path using the runOnReady command in the config file. However, I'm encountering an issue where the runOnReady command exits with code 0.

    &#xA;

    Steps to Replicate :

    &#xA;

      &#xA;
    1. Use the provided docker-compose.yml file :
    2. &#xA;

    &#xA;

    version: "3.8"&#xA;&#xA;name: mediamtx&#xA;services:&#xA;  mediamtx:&#xA;    image: aler9/rtsp-simple-server:v0.22.2&#xA;    container_name: media_mtx_rtsp_server&#xA;    ports:&#xA;      - "8554:8554"&#xA;      - "1935:1935"&#xA;      - "8888:8888"&#xA;      - "8889:8889"&#xA;      - "9997:9997"&#xA;      - "8000:8000"&#xA;    volumes:&#xA;      - ./configs/mediamtx/config.yml:/mediamtx.yml&#xA;      - ../volumes/hls/segments:/hls/segments&#xA;

    &#xA;

      &#xA;
    1. Add the following path to the config.yml file :
    2. &#xA;

    &#xA;

    paths:&#xA;  show/test:&#xA;    runOnReady: ffmpeg -i rtmp://localhost:1935/show/test -c copy -f flv "rtmp://localhost:1935/compressed/test"&#xA;    runOnReadyRestart: yes&#xA;

    &#xA;

      &#xA;
    1. Start the server using docker-compose.
    2. &#xA;

    3. Publish an RTMP stream to the server using the following command :
    4. &#xA;

    &#xA;

    ffmpeg -re -stream_loop -1 -i files/sample-30s.mp4 -c copy -f flv "rtmp://localhost:1935/show/test"&#xA;

    &#xA;

      &#xA;
    1. When I check the logs :
    2. &#xA;

    &#xA;

    2023/07/01 15:16:30 INF [RTMP] [conn 172.26.0.1:51044] opened&#xA;2023/07/01 15:16:30 INF [path show/test] runOnReady command started&#xA;2023/07/01 15:16:30 INF [RTMP] [conn 172.26.0.1:51044] is publishing to path &#x27;show/test&#x27;, 2 tracks (H264, MPEG4-audio-gen)&#xA;2023/07/01 15:16:30 INF [path show/test] runOnReady command exited with code 0&#xA;

    &#xA;

    So I can't watch the stream on the new path (/compressed/test)

    &#xA;