Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (36)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6252)

  • Stream real-time video flux in HTML video tag

    26 septembre 2018, par c.censier

    I want to stream a real-time video flux that come from udp into a HTML video tag.
    I made some research but I got a lot of informations and I struggle to have a clear overview of what I can do and what I can’t.

    The video flux use H.264 and AAC codecs, MP4 container and has a 3840x2160 (4K) resolution. I’d like to play it on Chrome (latest version).

    As I understand from now, HTML video tag can natively read H.264/AAC videos. I made it work with the video direclty on my server (I’m using Meteor JS + React).

    I learnt to use FFmpeg to stream an udp flux read by VLC player, and then I used FFserver (I know it’s deprecated) to create an HTTP flux also read by VLC but not by the HTML video tag.

    So... my question is : is HTML video can natively read video stream from HTTP ?

    I’ve seen a lot of discussions about HLS and DASH, but I didn’t understand if (and why) they’re mandatory.

    I read a post about someone creating a HLS m3u8 using only FFmpeg, is it a viable solution ?

    FFserver configuration

    HTTPPort                        8090
    HTTPBindAddress                 0.0.0.0
    MaxHTTPConnections              20
    MaxClients                      10
    MaxBandwidth                    100000

    <feed>
     File                          /tmp/feed.ffm
     FileMaxSize                   1g
     ACL allow                     127.0.0.1
    </feed>

    <stream>
     Feed                          feed.ffm
     Format                        mpeg
     AudioCodec                    aac
     AudioBitRate                  256
     AudioChannels                 1
     VideoCodec                    libx264
     VideoBitRate                  10000      // Total random here
     VideoBitRateRange             5000-15000 // And here...
     VideoFrameRate                30
     VideoQMin                     1
     VideoQMax                     50
     VideoSize                     3840x2160
     VideoBufferSize               20000      // Not sure either
     AVOptionVideo                 flags +global_header
    </stream>

    I had to specify QMin and QMax to avoid error message but I don’t really understand what is it.

    FFmpeg command line

    ffmpeg -re -i bbb_sunflower_2160p_30fps_normal.mp4 -strict -2 -r 30 -vcodec libx264 http://localhost:8090/feed.ffm

    This work with VLC. I’m working with a file on my computer before moving to an udp stream.

  • Ffmpeg hls live stream video freezes for a second but audio continues and video catches up

    13 décembre 2022, par Bluchip Studio

    I am using the latest version of ffmpeg to create a hls live stream todo this i am using the following command

    &#xA;

    /root/ffmpeg -y -loglevel debug -threads 0 -probesize 512000 -analyzeduration 512000 -user_agent "Chrome/98.0.4758.102" -i https://example.com/input.m3u8 -c:v copy -c:a copy -async 1 -tune zerolatency -fflags &#x2B;genpts -hls_init_time 2.002 -hls_time 2.002 -hls_list_size 20 -hls_flags delete_segments&#x2B;append_list -hls_segment_type mpegts -hls_segment_filename "/var/www/html/hls/segment_%05d.ts" -f hls "/var/www/html/hls/playlist.m3u8"&#xA;

    &#xA;

    I initially tried using fmp4 but i noticed the video would lag behind major and the audio would end up well ahead so i switched to mpegts

    &#xA;

    i managed to fix the audio issue here using -async 1 on fmp4 this made no diffrence now i have a small issue where my stream will open and play but the video will freez every few seconds while the audio continues and then the video will jump to catch back up and continue then it will do it again and again and again

    &#xA;

    dose anyone know what may be causing this issue i tried swapping to x264 in stead of copying the video stream and using force key frames to set a key frame every 2 seconds but this resulted in well the same issue if not a little worse

    &#xA;

    i kind of expected the stream to play perfect with the settings i have and with the logs set to debug i cant see any errors at all

    &#xA;

  • How to choose the thumbnail of the first video instead of the second video when you concatenate them with FFMPEG ?

    4 octobre 2018, par Lanh Dien Xa Tam

    I’ve been using FFMPEG to bulk add outro to my videos. This is the code I use :

    for %%f in (*.mp4) do (
     echo.>%%f.txt
     echo file '%%f' >> %%f.txt
     echo file 'outro/outro.mp4' >> %%f.txt
    )

    for %%f in (*.txt) do (
      ffmpeg -f concat -i %%f -c copy concatenated/%%f.mp4
    )

    The problem is the thumbnail of the output videos is always is the second video’s (the outro) but not the first. Does anybody here know how to pick the first video thumbnail to be the output’s thumbnail instead of the second’s ?