Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (82)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (9007)

  • Outputing HLS m3u8 TS segment PHP-FPM Nginx

    11 avril 2016, par Krasic

    I’m reading a dynamicly generated m3u8 hls playlist from ffmpeg

    basically the file look like

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:11
    #EXT-X-MEDIA-SEQUENCE:3
    #EXTINF:11.000000,
    2_3.ts
    #EXTINF:8.000000,
    2_4.ts
    #EXTINF:11.000000,
    2_5.ts
    #EXTINF:11.000000,
    2_6.ts
    #EXTINF:8.000000,
    2_7.ts
    #EXTINF:11.000000,
    2_8.ts

    I’m trying to find a way to limit the connection to a single connection.
    I have a Table called Connection : it save the Stream ID + User ID + Date_Start & Date_end & status

    Once a user started watching the stream it add new Data : Example

    (StreamID : (2) , userID : (3) , Date_Start : Now() , Date_end : Null , status : ON )

    once he closed the connection i would like to update the date_end with Now() & status to OFF

    Environnement :
    Nginx , PHP-FPM & FFmpeg

    i’m using the register_shutdown_function( 'shutdown' ) to write the last update

    however the problem is once the playlist is played the shutdown is executed many times duo to the m3u8 contains 6 segments , each few seconds the shutdown is executed many times again (duo the chunk list updated) while i didnt closed yet the connection .

    I’m looking a way to handle the playlist as one connection to be keeped , so the function shutdown will be Executed ONLY when client abort the connection and not while the playlist been reloaded

    Regards

  • hls.js - how to subscribe to any event

    24 octobre 2016, par momomo

    First time I play a playlist, I keep getting bufferStalledError.

    I can detect this error, however, if I resolve this error then a jump or skip in the video play back occurs and it stops occurring.

    However, if i ignore it then it will play without a noticable interruption and the video keeps playing. But this error will continue to be raised but without any noticable issues.

    However, at times, the same error will result in an overflow and hls.js won’t be able to recover automatically, and no further errors are reported after such a failure than the last bufferStalled error.

    I have to restart the video through destroy and attach again resuming the play functionality hls.js is unable to do automatically or through recoverMediaErrors().

    The only problem is that I am unable to subscribe to an event that says that the video is playing, or stuck. After a bufferStalledMediaError hls.js will recover it automatically without a glitch, but sometimes it fails to do so. In both cases no more errors are reported.

    But is there maybe another event reported that says it is playing that is not an error report ?

    Is there an hls.on(Hls.Events.ALL, ... ) event ?

    What about setting up a TimeLineController ? It’s not documented.

    Reference :
    https://github.com/dailymotion/hls.js/blob/master/API.md

  • FFMPEG HLS video speed is too fast

    22 mars 2016, par MM PP

    I am trying to make a .m3u8 hls playlist locally on my computer. I am using Windows 7, 32 bit.

    I am a begginner of FFMPEG, and finally I combined some commands into this :

    ffmpeg -re -rtbufsize 999999k -y -f dshow -video_size 640x360 -r 15 -i video="ManyCam Virtual Webcam" -c:v libx264 -crf 18 -profile:v main -maxrate 999999k -bufsize 99999k -pix_fmt yuv420p -flags -global_header -hls_time 10 -g 3 -hls_list_size 2 -hls_wrap 0 -start_number 1 D:\\stream\stream.m3u8 -tune zerolatency

    The problem is that while playing the m3u8 playlist with VLC or a HLS player, the video speed is faster than normal.

    If you need more info, please comment.

    EDIT

    If I play one of the .ts files, the problem is the same.

    Thank you so much !