Recherche avancée

Médias (91)

Autres articles (40)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6582)

  • Extract audio from youtube in a client-side script

    5 mai 2018, par Kevin

    There are a lot of node libraries for turning a youtube video into an audio stream, but all of them rely on a C-library called ffmpeg.

    Ffmpeg has been ported to javascript as well, but it has a 30MB size, which seems rather cumbersome (ffmpeg does a lot more than just rip audio from youtube, it has many advanced audio filtering techniques that won’t be needed for this application).

    Lastly, I came across this link,https://hackernoon.com/how-to-build-an-audio-processor-in-your-browser-302cb7aa502a, which claims to be a client-side audio processor but really does all the stuff on the server-side, and then says that stuff can’t be done in the client because of CORS (not sure I understand this, can’t CORS be avoided with a simple flag in the request ?).

    Does anyone know of any way to stream audio within the client-side browser, specifically from youtube, in a manner that’s general and unopposed ?

  • NGinx RTMP live stream text overlay and push to multiple

    26 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).

    



    Update : When I have tried point to a sh file to run the command rather than the direct FFmpeg exec_push I get :

    



    [alert] 56849#0: kevent() error on 15 filter:-1 flags:4002 (2: No such file or directory)


    



    Thanks so much !

    



    rtmp {
server {
       listen 1935;
       chunk_size 4096;

       application live {
                live on;
                record off;
                exec_push /usr/local/bin/ffmpeg -i rtmp://localhost:1935/live/68.1. -vf drawtext="fontfile=/System/Library/Fonts/Supplemental/Arial.ttf:textfile=/Users/Shared/overlayescaped.txt: reload=1: fontcolor=white: fontsize=20: box=1: boxcolor=black@1: boxborderw=75: x=70: y=925" -c:v libx264 -maxrate 6000k -bufsize 4000k -c:a aac -b:a 160k -ar 44100 -b:a 128k -f mp4 rtmp://localhost:1935/overlay/test;
                #push rtmp://localhost:1935/overlay;

                }

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

        }

}


    


  • How play YouTube and Facebook Video by using FFMpeg or FFPlay ?

    16 octobre 2018, par Keshvadi

    I want to do some measurement by streaming video from YouTube and Facebook. How can I use FFMpeg to stream video from these websites and record the playing log ?