Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (85)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (6535)

  • Android HLS : Any way to edit the m3u8 file so that I know which segment is currently streaming/playing in my player using HLS

    1er août 2014, par hclee

    I am now working on a VOD project using HLS.

    I use the VideoViewBuffer in VitamioDemo to stream my video that is stored in my local server.
    The Vitamio library is awesome that I am able to stream the video, getting the bit rate, buffering percentage and some metadata.

    We use ffmpeg to convert the video into m3u8 and the corresponding ts files.
    But now our team want to know which segment (which ts file) of the video the HLS is currently streaming.

    That’s a very important part in our project but we get stuck in this point.

    I tried to use the MediaMetadata in Vitamio but only the Duration of the video is found.
    I am wondering if we can add some metadata in the m3u8 file so that we can retrieve the name of the current segment during streaming.
    eg :
    The original m3u8 is like this :
    #EXTINF:10.500000,
    stream00000.ts

    Is it possible for me to change it as follows :
    #EXTINF:10.500000, name of segment
    stream00000.ts

    But all I can get using MediaMetaDataRetriever is null except for the duration.

    It seems that no body have done this before so I can’t find any very useful information about this.

    Do anybody how to implement this ?
    Or should I use some packet sniffer to monitor the network traffic by myself ?
    Or Would MediaScanner be helpful ?
    Or I need to use code in android.os ?

    Thanks in advance !

  • Native function in Vitamio

    1er août 2014, par hclee

    I am now looking the code beind the Vitamio (media framework) cause I want to know what API does it use to retrieve the buffer percentage/download rate and how it interect with the android OS to retrieve other information about the streaming video.

    But I realized that it does use some native functions which enable it use some code written in C/C++ language.

    I try to investigate on the C++ code but I don’t know where are they.
    I guessed they are stored inside the res/raw/librarm.so.
    I unzipped the file but all I can find is some machine code but what I want is the implementation of the native function.

    For example, I want to know the implementation of the following function :

    public native int getVideoTrack() ; // What is this function for ? What does it mean by the track
    // number of a straming video ?

    or

    private static native boolean loadFFmpeg_native(String ffmpegPath) ;

    and when will this function be called :

    private static void postEventFromNative(Object mediaplayer_ref, int what, int arg1, int arg2, Object obj)

    Do anyone know where can I investigate the implementation of such native function.
    It should be some C++ code but I don’t want machine code...

    I went to
    https://www.vitamio.org/en/2013/Tutorial_0509/13.html

    but they didn’t have the thing that I want

    Thanks in advance !!!

  • broadcast HLS/TS Stream from FFMPEG

    2 août 2014, par Dylan Lundy

    I’m still wrapping my head around most of this, so sorry if my issue is an obvious one !

    I’m trying to broadcast a FFMPEG ’stream’ to a HLS stream i can load into a webpage.

    My understanding is that i need a media server to broadcast it from FFMPEG to a HLS stream ? with FFMPEG feeding the data to the server. I’m probably wrong though.

    I previously semi achieved what i want to do with stream-m, however it was too slow (less than 1 FPS) and wasn’t broadcasting in HLS.

    Previously, the steps i went through were to launch the stream-m server. then launce FFMPEG with the following command :

    ffmpeg.exe -f dshow -i video="screen-capture-recorder" -r 1 -g 2 -vcodec libvpx -vb 1024 -f matroska http://localhost:8080/publish/first?password=secret

    I could connect to the stream with Chrome using the following HTML :

    <video src="http://localhost/consume" autoplay="autoplay">
    </video>

    The issue is that this was slow, unusable in fact, and it’s not in HLS/H264.

    I need the feed in the specific codec as i intend to send it to a WiiU browser, which only supports "M3U8+TS(HTTPLiveStreaming)"
    http://www.nintendo.com/wiiu/built-in-software/browser-specs/

    Cheers