Recherche avancée

Médias (2)

Mot : - Tags -/documentation

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 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9437)

  • Save RTSP stream continuously into multi mp4 files with specific length (10 minutes) in ffmpeg

    31 juillet 2019, par ThanhPhan

    I’m recording RTSP stream from camera into .mp4 files using ffmpeg and I want to roll it into multi files with 10 minutes long every videos.

    Currently I have a solution for this : I’m setting a time length ’00:10:00’, after it finished then I will restart below command with new process.
    Sample :

    ffmpeg -rtsp_transport tcp -i  -acodec copy -vcodec  copy  -t 00:10:00 D:\video_test.mp4

    But this solution makes camera becoming unstable, RTSP stream uasually corrupted with this error :

    rtsp://10.96.41.14:9024/user=xxxx_password=xxx_channel=1_stream=0.sdp?real_stream: Operation not permitted

    I want to find better solution to keep connection to RTSP stream continuously (not create new process with a -t flag).

    Does anyone have better idea to keep recording stream continuously ?
    Thanks

  • How to sync two videos of different length

    26 août 2020, par Huhngut

    I got two video files. The first one has good resolution but the wrong language and the second one has bad resolution but the wished language. Both of the files got a few seconds of black screen at the beginning but these seconds are different. I got a lot of these files and the intro seems to be always of a different length so I can't say always remove 2 seconds of audio and 3 seconds of video and then merge them.

    


    So I am wondering if there's some tool out there which s able to sync these files automatically.

    


    But it won't be enough to simply search for two identical images and calculate the time distance because the resolution is different (might its possible to scale the better one down for comparison) but even in this case, the program has to evaluate if the image has enough detail for comparison so it won't compare 2 black images. It would be good if the program scales the images to 50x50 to save time while comparing

    


    Does someone know any tool or has suggestions might even some python/java code for developing one. Any search suggestions or name ideas

    


  • Cannot open connection tcp ://localhost:1935 when to set up custom RTMP stream server

    8 janvier 2021, par showkey

    My simple network is as following :

    


    192.168.31.52 is my local pc 
192.168.31.251 is an ip camera.


    


    I can open the stream rtsp://192.168.31.251/cam/realmonitor?channel=1&subtype=0 with SMPlayer.
    
Build my nginx for customizing RTMP stream this way.

    


    sudo apt update
sudo apt install build-essential git
sudo apt install libpcre3-dev libssl-dev zlib1g-dev 
git clone https://github.com/arut/nginx-rtmp-module.git
git clone https://github.com/nginx/nginx.git
cd nginx
./auto/configure --add-module=../nginx-rtmp-module
make
sudo make install


    


    Set config file for nginx :

    


    sudo vim /usr/local/nginx/conf/nginx.conf
rtmp { 
    server { 
        listen 1935; 
        application live { 
            live on; 
            interleave on;
 
            hls on; 
            hls_path /tmp/hls; 
            hls_fragment 15s; 
        } 
    } 
} 


    


    Then set permission for nginx :

    


    mkdir /tmp/hls
sudo chmod -R 755  /tmp/hls
sudo chown -R www-data:www-data  /tmp/hls


    


    Edit index.html in /tmp/hls.

    


    <p>test for nginx</p>&#xA;

    &#xA;

    Both 127.0.0.1/index.html and 192.168.31.52/index.html can open the /tmp/hls/index.html.

    &#xA;

    Now open port 1935 on my network :

    &#xA;

    sudo firewall-cmd --zone=public --add-port=1935/tcp --permanent&#xA;sudo firewall-cmd --reload &#xA;sudo firewall-cmd --list-ports | grep 1935&#xA;1935/tcp&#xA;

    &#xA;

    Start nginx :

    &#xA;

    sudo systemctl start nginx&#xA;

    &#xA;

    Up stream the rtsp stream from ip camera—192.168.31.251 to local pc —192.168.31.52.

    &#xA;

    input="rtsp://192.168.31.251/cam/realmonitor?channel=1&amp;subtype=0"&#xA;output="rtmp://192.168.31.52:1935/live/sample"&#xA;ffmpeg -i $input -acodec aac -strict experimental -ar 44100 -ac 2 -b:a 96k -r 25 -b:v 500k -s 640*480 -f flv $output&#xA;

    &#xA;

    It encounter the following errors :

    &#xA;

    [tcp @ 0x59fb700] Connection to tcp://192.168.31.52:1935 failed: Connection refused&#xA;[rtmp @ 0x59fc5c0] Cannot open connection tcp://192.168.31.52:1935&#xA;rtmp://192.168.31.52:1935/live/sample: Connection refused&#xA;

    &#xA;

    To keep the issue simple,i replace $input with a mp4 file in local pc,same error info.
    &#xA;How can fix it ?
    &#xA;Ping my machine :

    &#xA;

    ping 192.168.31.52&#xA;PING 192.168.31.52 (192.168.31.52): 56 data bytes&#xA;64 bytes from 192.168.31.52: icmp_seq=0 ttl=64 time=0.108 ms&#xA;64 bytes from 192.168.31.52: icmp_seq=1 ttl=64 time=0.107 ms&#xA;64 bytes from 192.168.31.52: icmp_seq=2 ttl=64 time=0.111 ms&#xA;

    &#xA;

    Why the port 1935 not opened,i had restarted nginx after setting ?

    &#xA;

    sudo lsof -i:1935&#xA;#nothing in the output&#xA;netstat -ltn&#xA;Active Internet connections (only servers)&#xA;Proto Recv-Q Send-Q Local Address           Foreign Address         State      &#xA;tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     &#xA;tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN     &#xA;tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     &#xA;tcp        0      0 127.0.0.1:1080          0.0.0.0:*               LISTEN     &#xA;tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     &#xA;tcp        0      0 127.0.0.1:8123          0.0.0.0:*               LISTEN     &#xA;tcp        0      0 127.0.0.1:8384          0.0.0.0:*               LISTEN     &#xA;tcp        0      0 0.0.0.0:9091            0.0.0.0:*               LISTEN     &#xA;tcp6       0      0 :::3306                 :::*                    LISTEN     &#xA;tcp6       0      0 :::80                   :::*                    LISTEN     &#xA;tcp6       0      0 :::22000                :::*                    LISTEN     &#xA;tcp6       0      0 :::51413                :::*                    LISTEN     &#xA;tcp6       0      0 :::21                   :::*                    LISTEN     &#xA;tcp6       0      0 :::22                   :::*                    LISTEN     &#xA;tcp6       0      0 ::1:25                  :::*                    LISTEN     &#xA;tcp6       0      0 :::2681                 :::*                    LISTEN  &#xA;

    &#xA;

    Firewall command can't work :

    &#xA;

    sudo firewall-cmd --zone=public --add-port=1935/tcp --permanent&#xA;sudo firewall-cmd --reload &#xA;

    &#xA;

    My nginx version :

    &#xA;

    sudo nginx -v&#xA;nginx version: nginx/1.10.3&#xA;

    &#xA;