Recherche avancée

Médias (91)

Autres articles (95)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • How to Configure nginx with stunnel to accept parameters for different FB Live Streams OR rtmps with FFMPEG

    15 septembre 2020, par Yogesh Agarwal

    I want to setup RTMPS and learned that only way around is by using nginx and stunnel. I have the setup and it works with just one configured key.

    



    I have several different keys and all are dynamic. A lot of different urls too.

    



    My Goal is to add a parameter or some way by which i can send the custom url to nginx and it can send to Stunnel, and it can read the custom url and forward the encrypted stream to that url.

    



    I am able to get everything done right via ngnix and stunnel but with preconfigured key only - But i want Dynamic key here.. just like a parameter where you can simply plug and send the stream.

    



    I even tried to set this way.

    



    push rtmp ://127.0.0.1:19350/rtmp/ ;

    



    so i can simple forward the stream to rtmp ://127.0.0.1:19350/rtmp/my-key and it takes my-key and forward the stream via stunnel to facebook. but i cannot get it work.

    



    I am about to bang my heads in walls. Kindly give me some pointers.. I am not sure how to do it via ffmpeg as it says it cannot find rtmps protocol.

    



    My Nginx Config :

    



    # RTMP configuration
rtmp {
    server {
        listen 1935; # Listen on standard RTMP port
        chunk_size 4000;
 # This application is to accept incoming stream
        application live {


                live on; # Allows live input from above
                exec_push rtmp://127.0.0.1:19350/rtmp/$name;
                allow play 127.0.0.1;
                dash on;
                dash_path /var/tmp/dashme;

                hls on; # Enable HTTP Live Streaming
                hls_cleanup on;
                hls_sync 100ms;
                hls_fragment 2s;
                hls_path /var/tmp/live/;


        }


    



    and My Stunnel Config :

    



    setuid = nobody
setgid = nobody
pid=/tmp/stunnel.pid
output = /var/log/stunnel.log
;include = /etc/stunnel/conf.d

[fb-live]
client = yes
accept = 127.0.0.1:19350
connect = live-api-s.facebook.com:443
;verifyChain = no


    


  • Stream map '0:a:0' matches no streams

    6 décembre 2019, par Сергей Барахтенко

    To encode a video using FFMPEG the following command is used :

    /usr/bin/ffmpeg -i INPUT.MP4
    -preset veryfast -r 25 -g 75 -threads 4 -sc_threshold 0
    -map 0:v:0 -map 0:a:0
    -filter:v:0 scale=h=240:w=-2  
    -minrate:v:0 75k  
    -maxrate:v:0 218k  
    -bufsize:v:0 300k
    -b:v:0 150k  -c:a aac -b:a 128k -ac 2
    -var_stream_map "v:0,a:0"
    -master_pl_name master.m3u8
    -f hls -hls_time 3 -segment_time 6
    -hls_list_size 0 -segment_format mpegts
    -hls_segment_filename /res-%v/segment-%d.ts  OUTPUT.M3U8  1> log.txt 2>&1

    In general, despite such a huge command, it copes with the task with a bang

    But there is one little BUT :

    If you run this command on a video WITHOUT audio, there will be an error :

    Stream map '0:a:0' matches no streams. To ignore this, add a trailing '?' to the map.

    Yes, I understand that the command tells me that the audio stream was not found. And to ignore this, you need to add a trailing question mark to the map

    But only I can’t understand where ? to which place ?

    I will be glad to any advice or suggestion

    Thanks in advance

  • dashenc : check pts to prevent division by zero error

    30 janvier 2020, par Alfred E. Heggestad
    dashenc : check pts to prevent division by zero error
    

    this usecase will cause a division by zero trap :

    1. dashenc has received one frame
    2. os->max_pts and os->start_pts have same value
    3. delta between max_pts and start_pts is 0
    4. av_rescale_q(0, x, y) returns 0
    5. this value is used as denominator in division
    6. Bang ! -> segfault

    this fix checks that max_pts > start_pts.
    the fix has been tested and works.

    Signed-off-by : Alfred E. Heggestad <alfred.heggestad@gmail.com>
    Reviewed-by : Jeyapal, Karthick <kjeyapal@akamai.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/dashenc.c