Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (16)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

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

Sur d’autres sites (2156)

  • How do I access the files from a ffmpeg_streaming PUT request in Django ?

    8 juin 2020, par Sage

    I'm trying to stream video from my webcam using a python package called ffmpeg_streaming and Django2.0. I can see the request being received on the server side but I can't access the actual files in views.

    



    This is my views.py

    



    @csrf_exempt
def stream_video(request):
    stream = QueryDict(request.body)
    print("Stream: ", stream)
    data = {'stream': 'streaming...'}
"""
    if hasattr(request, '_post'):
        del request._post
        del request._files
    try:
        request.method = 'POST'
        request._lost_post_and_files()
        request.method = 'PUT'
    except(AttributeError):
        request.META['REQUEST_METHOD'] = 'POST'
        request._load_post_and_files()
        request.META['REQUEST_METHOD'] = 'PUT'
    request.PUT = request.POST
"""
    file_ob = request.POST
    print('Files: ', file_ob)
    files = request.FILES
    print('Files:' , files)
    return JsonResponse(data)


    



    stream_video.py

    



    import ffmpeg_streaming

video = ffmpeg_streaming.input('/dev/video0', capture=True)
_480p  = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024))
hls = video.hls(Formats.h264(), hls_list_size=10, hls_time=5, method='POST', post_data='File')
hls.flags('delete_segments')
hls.representations(_480p)
hls.output('http://127.0.0.1:8000/stream_video/out.m3u8')


    



    How would I go about accessing the files and treating them as uploads ?

    


  • ffserver : Use AVOption API to access ffm demuxer instead of direct access depending...

    20 novembre 2015, par Michael Niedermayer
    ffserver : Use AVOption API to access ffm demuxer instead of direct access depending on ABI
    

    server_attached is newly added so the demuxer knows if there is an attached server
    that can update the write index. This is needed to fix a infinite loop

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] ffserver.c
  • doc/fate : Document how to request samples upload access

    7 août 2019, par Michael Niedermayer
    doc/fate : Document how to request samples upload access
    

    The awnser which most people will seek is put first

    Reviewed-by : Thilo Borgmann <thilo.borgmann@mail.de>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] doc/fate.texi