Recherche avancée

Médias (91)

Autres articles (92)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • 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 (6210)

  • Ffmpeg burnt in subtitles out of sync when converting to hls

    19 mai 2020, par user1503606

    I have a file that has subtitles burn into it and they are perfectly in sync.

    



    Here is the file. https://983yqbz442.s3.amazonaws.com/little-mermaid-captions.mp4

    



    I run this command to convert to hls and it creates the .ts files and the .vtt files.

    



    ffmpeg -i little-mermaid-captions.mp4 -profile:v baseline -level 3.0 -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls index.m3u8


    



    I also then create a master.m3u8 file in the same folder with the following.

    



    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360,SUBTITLES="subtitles"
index.m3u8
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subtitles",NAME="English",DEFAULT=YES,AUTOSELECT=YES,FORCED=NO,LANGUAGE="ENG",URI="index_vtt.m3u8"


    



    Now if I play the master.m3u8 file the subtitles are now out of sync and are about 1 sec to quick. I understand this is probably a setting I am missing through FFmpeg but really stuck on this and would appreciate any insight.

    



    Thanks

    



    More info.

    



    Here is a link to the direct .m3u8 this can be opened in Safari.

    



    https://983yqbz442.s3.amazonaws.com/hlstests/master.m3u8

    



    The generated vtt file is here.

    



    https://983yqbz442.s3.amazonaws.com/hlstests/subs-0.vtt

    



    If you look at the start of the .vtt file you will see this.

    



    WEBVTT

00:06.840 --> 00:10.320
once long ago in the deep blue below


    



    It should start at 00:06.840 but when playing the .m3u8 file in Safari you should see it starts at around 5 seconds not 6 about a second too early.

    


  • Transcoding rtsp over http

    24 novembre 2016, par NikiDon

    Before I explain my problem : Sorry for bad English and if you want you can help me on my spelling too.

    I have a low cost IP camera who give only a RTSP link :
    192.168.x.x/onvif2
    It doesn’t need authentication to see video... my router doesn’t have open ports^^

    I want to trancode rtsp ( because of html can’t play it) with FFMPEG to send it on a server node.js ( express ) and in index.html play stream in video tag :

    Server.js :

    <code class="echappe-js">&lt;script&gt;<br />
       var express = require('express');<br />
       var path = require('path');<br />
       var app = express();<br />
       var server = require('http').Server(app);<br />
       var io = require('socket.io')(server);<br />
    <br />
       app.use(express.static(path.join(__dirname, 'public')));<br />
    <br />
       app.get('/', function (req, res) {<br />
           res.sendFile(__dirname + '/index.html');<br />
       });<br />
    <br />
       server.listen(8080);<br />
       console.log(&quot;server run at 127.0.0.1:8080&quot;);<br />
    <br />
       io.on('connection',function(socket){<br />
           socket.emit('hello','hello user');<br />
       });<br />
    &lt;/script&gt;

    and index.html :

       <video style="background-color: black;" width="480" height="270" autoplay="autoplay">
       <source src="http://127.0.0.1:8080/vid2.mp4" type="video/mp4" codecs="avc1.42E01E, mp4a.40.2">
       </source></video>

       <code class="echappe-js">&lt;script&gt;<br />
           var socket = io.connect();<br />
           socket.on('hello',function(data){<br />
               console.log(data);<br />
           });<br />
    <br />
       &lt;/script&gt;

    ffmpeg -i rtsp ://192.168.x.x/onvif2 -crf 30 -preset ultrafast -acodec aac -strict experimental -ar 44100 -ac 2 -b:a 96k -vcodec libx264 -r 25 -b:v 500k -f flv http://127.0.0.1:xx/vid2.mp4

    The camera starts but I can’t find vid2.mp4

    How can I replace ffserver with a node server (http? udp ?...)

  • looking for Settings for FFmpeg, xTeVe, Plex [closed]

    3 août 2022, par Chris

    I am not sure if I am in the right place. But maybe someone can help me.

    &#xA;

    Sorry for my bad english.

    &#xA;

    I have a Qnap NAS, on this is insalled FFmepg, xTeVe and Plex.&#xA;I try to see IPTV Streams on Plex.

    &#xA;

    Here the log file from xTeVe :

    &#xA;


    &#xA;

    2022-02-28 21:57:42 [xTeVe] Buffer : true [ffmpeg]

    &#xA;

    2022-02-28 21:57:42 [xTeVe] Buffer Size : 4096 KB

    &#xA;

    2022-02-28 21:57:42 [xTeVe] Channel Name : VIP SW : SRF 1 FHD

    &#xA;

    2022-02-28 21:57:42 [xTeVe] Client User-Agent : Lavf/58.65.101

    &#xA;

    2022-02-28 21:57:43 [xTeVe] Streaming Status : Playlist : Schweiz Neu - Tuner : 1 / 1

    &#xA;

    2022-02-28 21:57:43 [xTeVe] FFMPEG path : /usr/bin/ffmpeg

    &#xA;

    2022-02-28 21:57:43 [xTeVe] Streaming URL : http://tunestream.me:8080/XXXXXXX&#xA;/XXXXXXXX/9165

    &#xA;

    2022-02-28 21:57:43 [xTeVe] FFMPEG : Processing data

    &#xA;

    2022-02-28 21:57:43 [xTeVe] Streaming Status : Receive data from FFMPEG

    &#xA;

    2022-02-28 21:57:43 [xTeVe] FFMPEG log : [mpegts @ 0x55e0732fe560] dimensions&#xA;not set

    &#xA;

    2022-02-28 21:57:43 [xTeVe] [ERROR] FFMPEG error (Streaming was stopped by third party&#xA;transcoder (FFmpeg / VLC)) - EC : 1204

    &#xA;

    2022-02-28 21:57:43 [xTeVe] FFMPEG log : Could not write header for output file&#xA;#0 (incorrect codec parameters ?) : Invalid argument

    &#xA;

    2022-02-28 21:57:43 [xTeVe] FFMPEG log :

    &#xA;

    2022-02-28 21:57:43 [xTeVe] Streaming Status : Client has terminated the connection

    &#xA;

    2022-02-28 21:57:43 [xTeVe] Streaming Status : Channel : VIP SW : SRF 1 FHD (Clients : 0)

    &#xA;

    2022-02-28 21:57:44 [xTeVe] Streaming Status : Channel : VIP SW : SRF 1 FHD - No client&#xA;is using this channel anymore. Streaming Server connection has ended

    &#xA;

    2022-02-28 21:57:44 [xTeVe] Streaming Status : Playlist : Schweiz Neu - Tuner : 0 / 1

    &#xA;


    &#xA;

    on xTeVe i set this settings :

    &#xA;

    Buffer Size : 5 MB

    &#xA;

    Timeout for new client connections : 500

    &#xA;

    FFmpeg Options : -hide_banner -loglevel error -i [URL] -c copy -f mpegts pipe:1

    &#xA;

    If i put the Streaming URL on VLC is working.&#xA;But not with FFmpeg, xTeVe and Plex.

    &#xA;

    Thanks for your help.

    &#xA;

    Greetings&#xA;Chris

    &#xA;