Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (61)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (6932)

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