Recherche avancée

Médias (91)

Autres articles (55)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (6237)

  • 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 ?

    


  • iAdded Vietnamese (VI) localization, thanks Ngoc

    7 mai 2011, par Jörn Zaefferer

    m changelog.txt m localization/messages_ja.js + localization/messages_vi.js iAdded Vietnamese (VI) localization, thanks Ngoc

  • 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