Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (89)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (14535)

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

  • 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 Android Screen

    27 janvier 2012, par salamis

    I would like to stream Android Screen using FFMPEG and MonkeyRunners(MonkeyImage)

    I found a good Tutorial for streaming your webcam using FFMPEG and video4linux2.

    Is it possible to send the bytes from the Monkeyrunner.MonkeyImage to the FFMPEG to be converted to a live video stream ?

    Actual code :

    $ffmpeg -f video4linux2 -i /dev/video0 http://78.47.18.19:8090/cam1.ffm

    Replace it with something similar to :

    $ffmpeg -f video4linux2 -i <add here="here" python="python" stream="stream"> http://78.47.18.19:8090/cam1.ffm
    </add>

    Any suggestions ?