Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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 (9716)

  • avcodec/cbs_sei : Fix leak of AVBufferRef on error

    9 mars 2021, par Andreas Rheinhardt
    avcodec/cbs_sei : Fix leak of AVBufferRef on error
    

    An AVBufferRef (and the corresponding AVBuffer and the underlying actual
    buffer) would leak in ff_cbs_sei_add_message() on error in case an error
    happened after its creation and before it has been attached to more
    permanent storage. Fix this by only creating the AVBufferRef immediately
    before attaching it to its intended target position.

    (Given that no SEI message currently created is refcounted, the above
    can't happen at the moment. But Coverity already nevertheless noticed :
    This commit fixes Coverity issue #1473521.)

    Reviewed-by : Mark Thompson <sw@jkqxz.net>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/cbs_sei.c
  • avfilter/af_afir : Fix leak of AVFilterChannelLayout in case of error

    7 août 2020, par Andreas Rheinhardt
    avfilter/af_afir : Fix leak of AVFilterChannelLayout in case of error
    

    If an error happens between the allocation of an AVFilterChannelLayout
    and its usage (which involves attaching said object to a more permanent
    object), the channel layout array leaks. This can simply be fixed by
    making sure that nothing is between the allocation and the
    aforementioned usage.

    Fixes Coverity issue #1250334.

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavfilter/af_afir.c
  • 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 :

    &#xA;

    192.168.31.52 is my local pc &#xA;192.168.31.251 is an ip camera.&#xA;

    &#xA;

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

    &#xA;

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

    &#xA;

    Set config file for nginx :

    &#xA;

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

    &#xA;

    Then set permission for nginx :

    &#xA;

    mkdir /tmp/hls&#xA;sudo chmod -R 755  /tmp/hls&#xA;sudo chown -R www-data:www-data  /tmp/hls&#xA;

    &#xA;

    Edit index.html in /tmp/hls.

    &#xA;

    <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;