Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (65)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (10786)

  • HTTP Live streaming iOS not refreshing the index .m3u8 file

    27 février 2013, par Emerson Fittipaldi

    I searched all similar questions on StackOverflow, but found none to answer my problem.

    I am trying to stream some movies from my Linux computer (openSuSE 12.1) to my iPad. I convert them with ffmpeg, segment them with my own segmenter, place them in the www folder of my apache2 server and also place inside the .m3u8 playlist. Til here - all is ok !

    I start playing the movie (HTML page with tag) and it plays nicely, but only the first five segments, which have been loaded with the first load of the playlist. The HTML page (the browser, or the player - no idea) does not refresh (re-download) the playlist from the server. Here is what my .m3u8 playlist file looks like :

    #EXTM3U
    #EXT-X-MEDIA-SEQUENCE:19
    #EXT-X-TARGETDURATION:8

    #EXTINF:8,
    http://192.168.1.4/segment_19.ts
    #EXTINF:8,
    http://192.168.1.4/segment_20.ts
    #EXTINF:8,
    http://192.168.1.4/segment_21.ts
    #EXTINF:8,
    http://192.168.1.4/segment_22.ts
    #EXTINF:8,
    http://192.168.1.4/segment_23.ts

    Segments are in the same folder as the playlist file, segments are correctly encoded (because I can see at least the first five ones :D). I also watch the access_log from the apache server and I see the first load of the playlist, then the consequent load of all 5 segments and it stops till there. It doesn't even try to further refresh the m3u8 file.

    If it matters - iOS 5.0, iPad 2, Wi-Fi version only, not jailbroken

    Ideas ? What am I doing wrong ?

  • Is it possible to read HLS (HTTP Live Stream) in C#

    27 juillet 2016, par kevinsal

    Is it possible to read an HLS stream in C# ? I have read though the documentation for the vlc.dotnet project and am not sure if it supports it, have done a little bit of research on FFMPEG, and have turned up with nothing, same with the libvlc.net library. May I be looking in the wrong place ? This is being done in WINFORMS

  • How to upload object to a bucket in Google Cloud Platform from Python script

    7 juillet 2016, par Bryan

    The goal of this script is to extract audio from a video file using ffmpeg and upload it into a bucket on Google Cloud Platform each time it is called. Eventually I will have to extract audio from a large list of videos, so ideally I would want my script to extract and subsequently upload it into the cloud.

    My confusion is how to use GCP API to upload my object into a bucket. Any advice would be greatly appreciated !

    Link for reference : https://cloud.google.com/storage/docs/json_api/v1/json-api-python-samples#setup-code

    import subprocess
    import sys
    import re

    fullVideo = sys.argv[1]
    title = re.findall('^([^.]*).*', fullVideo)
    title = str(title[0])
    subprocess.call('ffmpeg -i ' + fullVideo + ' -vn -ab 128k ' + title + '.flac', shell = True)

    def upload_object(bucket, filename, readers, owners):
       service = create_service()

       # This is the request body as specified:
       # http://g.co/cloud/storage/docs/json_api/v1/objects/insert#request
       body = {
           'name': filename,
       }

       # If specified, create the access control objects and add them to the
       # request body
       if readers or owners:
           body['acl'] = []

       for r in readers:
           body['acl'].append({
               'entity': 'user-%s' % r,
               'role': 'READER',
               'email': r
           })
       for o in owners:
           body['acl'].append({
               'entity': 'user-%s' % o,
               'role': 'OWNER',
               'email': o
           })

       # Now insert them into the specified bucket as a media insertion.
       # http://g.co/dev/resources/api-libraries/documentation/storage/v1/python/latest/storage_v1.objects.html#insert
       with open(filename, 'rb') as f:
           req = service.objects().insert(
               bucket=bucket, body=body,
               # You can also just set media_body=filename, but # for the sake of
               # demonstration, pass in the more generic file handle, which could
               # very well be a StringIO or similar.
               media_body=http.MediaIoBaseUpload(f, 'application/octet-stream'))
           resp = req.execute()

       return resp