Recherche avancée

Médias (91)

Autres articles (62)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (4722)

  • How to burn in subtitles onto a webm video with ffmpeg ?

    7 mai 2014, par IcanFLY

    I am trying to set up a livestream with ffserver and ffmpeg. The problem is I am using webm, and I need to burn in subtitles, which are located in a mkv. I am not quite sure how to do this, but here is my ffmpeg config (ffstream.sh) that I am using :

    #Livestream script for FFMpeg/FFServer
    FPS=24                                          # Stream FPS.
    GOP=48                                          # GOP Should be double of FPS.
    THREADS=4                                       # How many threads.
    DEADLINE=realtime                               # Speed preset, realtime is fastest.
    FRAMELAG=16                                     # How many frames to seek ahead (max 25)
    QMAX=52                                         # More = less quality.
    QMIN=10                                         # Less = more quality.
    VBITRATE=1M                                     # Target Bitrate.
    BITRATE=3000k                                   # Bitrate.
    AUDIBR=48k                                      # Audio Bitrate.
    SERVER=<myserver>:8090/feed.ffm                 # Server stream endpoint.
    LOGLEVEL=verbose                                # Logging verbosity level.

    for f in $@; do ffmpeg -re -i $f\
           -vf subtitles=$f\
           -g $GOP -loglevel $LOGLEVEL\
           -c:v:0 libvpx  -threads $THREADS -b:v $BITRATE -vb $VBITRATE -bufsize $BITRATE\
           -qmax $QMAX -qmin $QMIN -deadline $DEADLINE -lag-in-frames $FRAMELAG\
           -c:a libvorbis -b:a $AUDIBR\
           "http://$SERVER"
    done
    </myserver>

    Everything connects fine and I can get audio and video to play, however I cannot seem to get the subtitles to show up. Here is my output (I quit out of it) :

    Stream mapping:
     Stream #0:1 -> #0:0 (flac -> libvorbis)
     Stream #0:0 -> #0:1 (h264 -> libvpx)
    Press [q] to stop, [?] for help
    [output stream 0:0 @ 0x1e77dc0] 100 buffers queued in output stream 0:0, something may be wrong.
    frame=  232 fps= 23 q=0.0 Lsize=     816kB time=00:00:09.67 bitrate= 690.8kbits/s
    video:758kB audio:41kB subtitle:0kB other streams:0kB global headers:3kB muxing overhead: 2.113806%
    Input file #0 (<file>.mkv):
     Input stream #0:0 (video): 242 packets read (3343775 bytes); 242 frames decoded;
     Input stream #0:1 (audio): 118 packets read (391060 bytes); 118 frames decoded (483328 samples);
     Input stream #0:2 (audio): 8 packets read (20480 bytes);
     Input stream #0:3 (subtitle): 1 packets read (182 bytes);
     Input stream #0:4 (subtitle): 1 packets read (52 bytes);
     Input stream #0:5 (attachment): 0 packets read (0 bytes);
     Total: 370 packets (3755549 bytes) demuxed
    Output file #0 (http://<myserver>/feed.ffm):
     Output stream #0:0 (audio): 3233 frames encoded (206912 samples); 406 packets muxed (41937 bytes);
     Output stream #0:1 (video): 232 frames encoded; 232 packets muxed (776350 bytes);
     Total: 638 packets (818287 bytes) muxed
    Received signal 2: terminating.
    </myserver></file>

    Also here is my ffserver config, not sure if there is something in here stopping the subtitles from showing up :

    Port 8090
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000
    CustomLog -

    <feed>
       File /path/to/folder/tmp/feed.ffm
       FileMaxSize 100M
       #Allow localhost
       ACL allow 127.0.0.1
       ACL allow <myip>
       #It might be a good idea to add your stream source here.
    </myip></feed>


    <stream>
       Feed feed.ffm
       Format webm
       VideoSize hd720 #Must be set here, all input files will be scaled to fit.
       AVOptionVideo flags +global_header
       AVOptionAudio flags +global_header
       StartSendOnKey
    </stream>

    <stream>
       Format status
       ACL allow localhost
    </stream>

    # Redirect index.html to the appropriate site
    <redirect>
       URL http://<myserver>
    </myserver></redirect>

    Any help on how to do this, would be grateful.

  • avformat_open_input() error -1330794744 : Could not open input

    22 mai 2014, par Navid

    When I run my code on unix (postproc removed) :

    FFmpegFrameGrabber frameGrabber = new FFmpegFrameGrabber("https://.../ec769038-22d9-4da9-a7bf-dd4647f97964-353.mp4?__h__=1400667080_dfb4fabf293d258cd501ab4978419392");
    IplImage capturedImage = null;

    try {
       frameGrabber.start();
       long lengthInTime = frameGrabber.getLengthInTime();
       long i = 0;
       while(i &lt; lengthInTime) {
           frameGrabber.setTimestamp(i);
           capturedImage = frameGrabber.grab();
           // if capturedImage is null ... error
           if(capturedImage == null)
               break;
           LOG.info("frame: " + i + "  " + capturedImage.depth());
           i += 10 * 1000 * 1000; // microseconds
       }
       frameGrabber.stop();
       frameGrabber.release();
    } catch (Exception e) {
       LOG.error(e.getMessage());
    }

    I get this error :

    avformat_open_input() error -1330794744: Could not open input "https://.../ec769038-22d9-4da9-a7bf-dd4647f97964-353.mp4?__h__=1400667080_dfb4fabf293d258cd501ab4978419392". (Has setFormat() been called?)

    I am running the program in Red Hat Same code works with local file path.
    I know URL works because the same code (but postproc not excluded) works in Windows.
    I am using Javacv 0.5 both in Red Hat and Windows (that’s the only choice I have at work)

  • Mixing two live streams like picture in picture from 2 obs using FFmpeg

    4 septembre 2020, par Argu

    I am trying to get live streams from 2 OBS and do picture in picture using FFMPEG. But I am getting error as : ' Cannot open connection tcp ://127.0.0.1:1935 ?listen&listen_timeout=-1000&#xA;rtmp ://127.0.0.1:1935/obs/test : Immediate exit requested'. I think this is because of IP adresses. Can someone help me with guiding me to what IP's to add and also with the overlay command.

    &#xA;