Recherche avancée

Médias (0)

Mot : - Tags -/logo

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

Autres articles (67)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (12448)

  • rtsp stream transcode with ffserver/ffmpeg

    30 juin 2018, par Torbjørn

    I’m having a unifi dome webcam. Connected thrue a USG Pro4. I’m sending a rtsp live stream at 1024x576px. Until now I have been using ffserver to transcode the stream into a new mpjpeg stream that I can show in a html file.
    But after I updated ffserver to the newest version. This does not work.

    Using debian.

    ffserver.conf file :

    HTTPPort 8090
    # bind to all IPs aliased or not
    HTTPBindAddress 0.0.0.0
    # max number of simultaneous clients
    MaxClients 1000
    # max bandwidth per-client (kb/s)
    MaxBandwidth 100000
    # Suppress that if you want to launch ffserver as a daemon.
    # NoDaemon
    NoDefaults

    File /tmp/feed1.ffm
    FileMaxSize 500M

    Feed feed1.ffm
    Format mpjpeg
    VideoCodec mjpeg
    VideoFrameRate 1
    #VideoBufferSize 80000
    VideoQMin 1
    VideoQMax 5
    VideoSize 1024x576
    PreRoll 0
    Noaudio

    ffmpeg startup :

    `ffmpeg -rtsp_transport tcp -re -i "rtsp ://user:pass@193.213.XXX.XXX:554/s2" -b:v 1016k http://localhost:8090/feed1.ffm`

    I’ve tried with different startups after some google search. But I can get 1-10 fps before it shuts down.
    Sometimes I get :

    `rtsp ://user:pass@193.213.XXX.XXX:554/s2 : Invalid data found when processing input`

    Input #0, rtsp, from ’rtsp ://user:pass@193.213.XXX.XXX:554/s2’ :
    Metadata :
    title : s2
    Duration : N/A, start : 0.000000, bitrate : N/A
    Stream #0:0 : Audio : aac (LC), 11025 Hz, mono, fltp
    Stream #0:1 : Video : h264 (Main), yuvj420p(pc, bt709, progressive), 1024x576 [SAR 189:190 DAR 168:95], 1 fps, 1 tbr, 90k tbn, 2 tbc
    Output #0, ffm, to ’http://localhost:8090/feed1.ffm’ :
    Metadata :
    title : s2
    creation_time : now
    encoder : Lavf57.56.101
    Stream #0:0 : Video : mjpeg, yuvj420p(pc), 1024x576 [SAR 189:190 DAR 168:95], q=1-5, 1016 kb/s, 1 fps, 1000k tbn, 1 tbc
    Metadata :
    encoder : Lavc57.64.101 mjpeg
    Side data :
    cpb : bitrate max/min/avg : 0/0/1016000 buffer size : 0 vbv_delay : -1
    Stream mapping :
    Stream #0:1 -> #0:0 (h264 (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    frame= 4 fps=0.7 q=2.1 Lsize= 564kB time=00:00:03.00 bitrate=1540.1kbits/s dup=1 drop=0 speed=0.54x
    video:558kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 1.089245%

    Is there an easy way to get this working, or is there a much better way of doing it ?
    What i want out of this is an live web cam stream in an html site that works on all platforms without any plugins on clients end.

  • Streaming low latency video

    26 août 2018, par user4893295

    Goal is to get low latency HD video over the LAN from a USB camera on a ARM device (a10 Lime running Armbian Jessie) to OBS Studio.

    Thinking first step is to at least get it viewable on VLC on another device. So, to that end, I have tried gstreamer (no joy), ffmpeg (same) and VLC. Best luck with VLC so far, but the picture is mostly blank with occasional spots of picture.

    This is the command I’m using :

    cvlc v4l2:///dev/video0:chroma=h264:width=1920:height=1080 --sout '#standard{access=http,mux=ts,dst=0.0.0.0:8080/stream,name=stream,mime=video/ts}' -vvv

    It moans a bit at first with

    [00b4a178] core interface error: no suitable interface module
    [00ab18f8] core libvlc error: interface "globalhotkeys,none" initialization failed
    [00b4a178] core interface debug: looking for interface module matching "dbus,none": 18 candidates
    [00b4a178] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    [00b4a178] core interface debug: no interface modules matched
    [00b4a178] core interface error: no suitable interface module
    [00ab18f8] core libvlc error: interface "dbus,none" initialization failed

    But then seems to get a bit happier

    [b4316038] core demux meta debug: no meta reader modules matched
    [b4300508] core input debug: `v4l2:///dev/video0:chroma=h264:width=1920:height=1080' successfully opened
    [b4300508] core input debug: Buffering 0%
    [b4300508] core input debug: switching to sync mode
    [b430cce8] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0)
    [b430cce8] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)
    [b4300508] core input debug: Buffering 10%
    [b43041a0] core stream output debug: adding a new sout input (sout_input:0xb49004f0)
    [b43060f8] core mux debug: adding a new input
    [b43060f8] mux_ts mux debug: adding input codec=h264 pid=68
    [b43060f8] mux_ts mux debug: new PCR PID is 68
    [b4300508] core input debug: Buffering 32%
    [b4300508] core input debug: Buffering 44%
    [b4300508] core input debug: Buffering 55%
    [b4300508] core input debug: Buffering 65%
    [b4300508] core input debug: Buffering 77%
    [b4300508] core input debug: Buffering 88%
    [b4300508] core input debug: Buffering 98%
    [b4300508] core input debug: Stream buffering done (332 ms in 331 ms)
    [b4300508] core input debug: Decoder wait done in 0 ms

    And I can connect to it from VLC, but the picture looks like

    enter image description here

    Processor peaks at around 17% and memory even less than that, so it’s not that.

    Any suggestions ?

  • Nginx not starting after changing config file for live streaming purpose (Windows 10)

    2 décembre 2018, par Mohammad Ali Zinnah

    When I run the nginx.exe then it start a black screen and stay that

    Black Screen show

    I am new to nginx and ffmpeg

    I am tring it but failed

    Windows 10

    nginx 1.7.11.3 Gryphon.zip

    I Tried in cmd nginx -t and get positive

    Here is my config file

    daemon off;

    error_log logs/error.log debug;

    events {
       worker_connections 1024;
    }

    RTMP Server and Transcoding

    rtmp {
       server {
           listen 1935;
           chunk_size 4000;

           application stream {
               live on;

               exec ffmpeg -i rtmp://localhost:1935/stream/$name
                 -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 2500k -f flv -g 30 -r 30 -s 1280x720 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_720p2628kbs
                 -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 1000k -f flv -g 30 -r 30 -s 854x480 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_480p1128kbs
                 -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 750k -f flv -g 30 -r 30 -s 640x360 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_360p878kbs
                 -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 400k -f flv -g 30 -r 30 -s 426x240 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_240p528kbs
                 -c:a libfdk_aac -b:a 64k -c:v libx264 -b:v 200k -f flv -g 15 -r 15 -s 426x240 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_240p264kbs;
           }

           application hls {
               live on;
               hls on;
               hls_fragment_naming system;
               hls_fragment 5s;
               hls_path /opt/data/hls;
               hls_nested on;

               hls_variant _720p2628kbs BANDWIDTH=2628000,RESOLUTION=1280x720;
               hls_variant _480p1128kbs BANDWIDTH=1128000,RESOLUTION=854x480;
               hls_variant _360p878kbs BANDWIDTH=878000,RESOLUTION=640x360;
               hls_variant _240p528kbs BANDWIDTH=528000,RESOLUTION=426x240;
               hls_variant _240p264kbs BANDWIDTH=264000,RESOLUTION=426x240;
           }
       }
    }

    **HTTP Server**

    http {
       server {
           listen 80;

           location /hls {
               types {
                   application/vnd.apple.mpegurl m3u8;
                   video/mp2t ts;
               }
               root /opt/data;
               add_header Cache-Control no-cache;
               add_header Access-Control-Allow-Origin *;
           }

           location /live {
             alias /opt/data/hls;
             types {
                 application/vnd.apple.mpegurl m3u8;
                 video/mp2t ts;
             }
             add_header Cache-Control no-cache;
             add_header Access-Control-Allow-Origin *;
           }

           location /stat {
               rtmp_stat all;
               rtmp_stat_stylesheet static/stat.xsl;
           }

           location /static {
               alias /www/static;
           }

           location = /crossdomain.xml {
               root /www/static;
               default_type text/xml;
               expires 24h;
           }
       }
    }

    I copied this file from internet so feel free to advice me to edit file
    I dont no what my error is . Please Help me