Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (42)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (11787)

  • NGinx RTMP live stream text overlay and play to multiple

    25 avril 2020, par chrisale

    I have been banging my head against this wall for a long time. Hoping you all can get me over.

    



    I have a live stream coming from an IP Camera to my computer.

    



    Nginx publishes to YouTube and to an FFmpeg stream that takes a frame every minute to use for a static webcam image.

    



    Here is the code with the exec_push that I've tried to use with no success. The YouTube stream and frame capture work fine. I have FFmpeg installed with freetype. This is all on MacOS X 10.15.4 Catalina with home-brew FFmpeg —HEAD installed.

    



    Update : I should also say I have tried outputting the overlay using command line FFmpeg and it works great with this command :

    



    /usr/local/bin/ffmpeg -i rtmp://localhost:1935/live/68.1. -vf drawtext="fontfile=/System/Library/Fonts/Supplemental/Arial.ttf:text='Stack Overflow': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" /Users/user/Desktop/test.mp4


    



    So it seems that the output portion is the part FFmpeg doesn't like in Nginx.conf

    



    My thought is I should be passing the overlayed FFmpeg stream to the "overlay" app and have the stream published to Youtube and the frame capture from there. (And also potentially recorded).

    



    Thanks so much !

    



    Chris

    



    rtmp {
server {
                listen 1935;
                chunk_size 4096;

                application live {
                                    live on;
                                    record off;
                                    exec_static /usr/local/bin/ffmpeg -i rtmp://localhost:1935/live/68.1. -vf drawtext="fontfile=/System/Library/Fonts/Supplemental/Arial.ttf:text='Stack Overflow': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" rtmp://localhost:1935/overlay/test;
                                    #push rtmp://localhost:1935/overlay;
                                    #exec ffmpeg -i rtmp://your_localhost_ip/live/test -crf 30 -preset ultrafast -acodec aac -strict experimental -ar 44100 -ac 2 -b:a 64k -vcodec libx264 -x264-params keyint=60:no-scenecut=1 -r 30 -b:v 500k -s 1280x720 -f flv rtmp://jp.pscp.tv:80/x/your_stream_key;
                }

                application overlay {
                                    live on;
                                    record off;
                                    push rtmp://a.rtmp.youtube.com app=live2 playpath=yjsh-402y-xv3k-2qdj;
                                    exec_push /usr/local/bin/ffmpeg -i rtmp://localhost:1935/overlay/$name -vf fps=1/60 /Users/Shared/stream/netcam.jpg;
                }

        }

}


    


  • Live stream images to a compressed video stream that's serveable in the browser

    20 juillet 2017, par Matt

    I’m looking to take a live stream of jpeg convert them into a compressed video and serve that video to the browser. Does anyone know the best way to accomplish that ? It looks like this :

    source => jpeg stream => codec => video stream => browser

    This is a live interactive source, so this whole process would need to be pretty snappy.

  • transcode segment files without stutter for http live streaming

    28 juillet 2015, par zerocap

    I segmented a multicast video stream into small ts files for my HTTP live streaming service and it worked quite well. Then I found the bitrate of the source was too high (1.5mbps) so I set up a background job to transcode the ts files to a smaller bitrate (500kbps) using FFmpeg. The problem is that the 500k .m3u8 playback stutters(on every new file’s loading) and is not as smooth as the 1.5mbps one.

    My transcoding command line is like following :

    ffmpeg -i /home/rca/tst.ts -f mpegts -acodec libmp3lame -ar 48000 -ab 64k -vcodec libx264 -b 500k /home/rca/tst.ts

    Any ideas for this ? Thank you !