Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (27)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4923)

  • Java, serve HLS live video streams

    12 février 2016, par momo

    I know the topic is not an easy one, but I am looking for a Java class to send an HLS stream from the server to the client.

    I have files being generated greater and greater :

    out.m3u8
    out0.ts
    out1.ts
    out2.ts
    out3.ts
    out4.ts
    out5.ts
    out6.ts

    This is generated using ffmpeg from an original source :

    ffmpeg -i http://sourceurl.com:9981/stream/channel/1232131 out.m3u8

    I can play it using VLC.

    Somehow, I need to stream this live to the clients.

    At this point, I do not really care about different bit rates, i just want live streaming to work, in mobile browsers and on desktop browsers.

    I found this class :

    https://github.com/Red5/red5-hls-plugin/blob/master/plugin/src/main/java/org/red5/stream/http/servlet/PlayList.java

    Which might be doing something like that.

    I have pulled in hls.js into my application in hopes of using it for desktops.

    HLS should however work IOS devices without hls.js right now.

    How should one serve HLS content from the server ? It’s very difficult to find any good and simple example to do that.

    Anyone knows of the steps needed to do that ?

    I’ve looked into Wowza and Red5 just a little bit, but unsure what they can provide for me at this stage and seems to be overly complicated to setup just to serve some files. But please explain to me why that’s not the case.

  • Error while opening encoder for output stream #0:1 Webm VP9 live streaming

    29 août 2019, par Salem

    The source video I use is H264 m3u8 live stream and this is the command I tried

    ffmpeg -re -i "http://sorce.com/live.m3u8" -c:v libvpx-vp9 -s 480x360 -keyint_min 60\
    -g 60 -speed 5 -tile-columns 4 -frame-parallel 1 -threads 8 -static-thresh 0 \
    -max-intra-rate 300 -deadline realtime -lag-in-frames 0 -error-resilient 1 \
    -b:v 300k -c:a libvorbis  -b:a 64k -ar 44100 -f webm_chunk -audio_chunk_duration 2000 \
    -header "/var/www/example.com/live/glass_360.hdr" -chunk_start_index 1  \
    /var/www/example.com/live/glass_360_%d.chk  

    I pickup this code from wkiki.webmproject.org
    most of the time I got this error message

    [libvorbis @ 0x5617bae0c240] encoder setup failed Error initializing
    output stream 0:1 -- Error while opening encoder for output stream
    #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    Here is FFMPEG command output

    Input #0, mpegts, from 'http://sorce.com/live.m3u8':
     Duration: N/A, start: 1369.000978, bitrate: N/A
     Program 1
       Metadata:
         service_name    : Service01
         service_provider: FFmpeg
       Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, mono, fltp, 127 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> vp9 (libvpx-vp9))
     Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))

    I already add video map before video and audio coding argue but I got same error

    -map  0:v:0 -c:v libvpx-vp9 and -map 0:a:0 -c:a libvorbis

    I tried new broadcast command it works first after I disable the audio

    VP9_DASH_PARAMS="-tile-columns 4 -frame-parallel 1 -speed 6" && \
    ffmpeg -y -re -i http://sorce.com/live.m3u8 -c:v libvpx-vp9 -s 480x360 -b:v 150k \
    -keyint_min 150 -g 150 ${VP9_DASH_PARAMS} -an -f webm -dash 1 \
    video_1280x720_500k.webm && sleep 1 && ffmpeg  -f webm_dash_manifest \
    -i video_1280x720_500k.webm -c copy -f webm_dash_manifest - \ adaptation_sets "id=0"  manifest.mpd

    this command didn’t create manifest.mpd it created only video_1280x720_500k.webm

  • Live streaming from FFMPEG : output a window m3u8 and also an all-segments m3u8

    1er décembre 2022, par coder_uk

    I've been experimenting with using FFMPEG to take an incoming RTMP stream, transcode into a selection of bitrates, and output it as HLS. It works.

    


    I wanted to store the live stream as a VOD. And found by adding the -hls_list_size 0 flag, sure enough, all segment are in the .m3u8. Making it super easy to turn into a VOD afterwards. So far, so good.

    


    But the obvious consequence of using -hls_list_size 0 is that now the m3u8 is huge during the live stream. That's fine for a VOD where it is only requested once, but less good during a live stream where it is requested over and over.

    


    So ... my question : without re-transcoding, can FFMPEG output both an all-segments all.m3u8 (to keep internally for making a VOD afterwards, ie using -hls_list_size 0) and also output a sliding-window style latest.m3u8 (of only the last X segments, ie using -hls_list_size 3) ?

    


    That way, viewers of the live stream could be served that little latest.m3u8, as a tiny file, with only the last few segments in. And after the event ends, I'd ditch that little latest.m3u8 and only keep the all.m3u8 to make a VOD version of the stream ?

    


    Thanks !