Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (63)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (10107)

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

    


  • FFMPEG - What is the difference or relationship between -rtbufsize and -thread_queue_size ?

    5 septembre 2021, par Meaulnes

    Recording my desktop with ffmpeg (specially on Windows, less on Linux) I meet situations where/when ffmpeg complains about real time buffer size or thread queue size.
I understand that the queue size is the number of frames that can reside in the queue and thus I am incited to think that it increases the buffer size as well.
Can someone clarify these notions to me ?

    


  • What is the Relationship Between RMS Level and Amplitude ?

    2 juillet 2024, par Xavier Hugo

    I have an Android recorder project, and I'm trying to implement a waveform display for recording and playing audio.

    


    During recording, I chose to use mediaRecorder.maxAmplitude to get the data I need to draw the waveform.

    


    During audio playback (importing other audio from storage, so I can't use the above method), I used ffprobe -v error -f lavfi -i amovie=audioFile,asetnsamples=44100,astats=metadata=1:reset=1 -show_entries frame_tags=lavfi.astats.Overall.RMS_level -of csv=p=0 to get the data. However, their outputs look very different.

    


    The amplitude data looks like this :

    


    0
351
650
31987
402
443
674
432
774
1156
32139
565
532
511
355
366
628
25996
610
700
423
1317
1241
621
1078
1994
1068
1549
0


    


    The RMS level data looks like this :

    


    -63.081060
-47.268557
-46.641208
-29.585361
-47.808792
-46.119954
-45.888205
-46.613955
-39.633273
-29.618461
-48.102711
-45.607349
-47.897675
-48.915841
-50.470556
-51.066509
-45.216680
-29.337245
-49.955258
-47.591584
-50.107631
-38.120322
-42.553827
-45.452827
-41.609616
-37.368340
-42.241799
-53.744867


    


    It seems there is some correlation between them (e.g., their trends are identical). I want to know how to convert RMS level to amplitude so that the waveforms of the recording and the audio playback look similar.