Recherche avancée

Médias (0)

Mot : - Tags -/configuration

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (37)

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

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (7083)

  • Understanding ffmpeg re parameter

    4 septembre 2024, par formatkaka

    I was reading about the -re option in ffmpeg .
What they have mentioned is

    



    


    From the docs

    
 


    -re (input)

    
 


    Read input at the native frame rate. Mainly used to simulate a grab device, or live input stream (e.g. when reading from a file). Should not be used with actual grab devices or live input streams (where it can cause packet loss). By default ffmpeg attempts to read the input(s) as fast as possible. This option will slow down the reading of the input(s) to the native frame rate of the input(s). It is useful for real-time output (e.g. live streaming).

    


    



    My doubt is basically the part of the above description that I highlighted. It is suggested to not use the option during live input streams but in the end, it is suggested to use it in real-time output.

    



    Considering a situation where both the input and output are in rtmp format, should I use it or not ?

    


  • skvideo + ffmpeg : Can't set path to binaries

    9 août 2021, par fukiburi

    For some reason, setting the path to the ffmpeg binaries doesn't work completely.

    


    While it seems like this works like it should :

    


    import skvideo.io
import skvideo.datasets

ffmpeg_path = "C:/Users/xyz/ffmpeg-4.3.1-win64-static/bin/"
skvideo.setFFmpegPath(ffmpeg_path)
print("FFmpeg path: {}".format(skvideo.getFFmpegPath()))
print("FFmpeg version: {}".format(skvideo.getFFmpegVersion()))

>>> FFmpeg path: C:/Users/xyz/ffmpeg-4.3.1-win64-static/bin/
>>> FFmpeg version: b'4'.b'3'.b'1'


    


    Running these lines directly after does not :

    


    videodata = skvideo.io.vread(skvideo.datasets.bigbuckbunny())
print(videodata.shape)

[...]
>>> File "C:\Users\xyz\Anaconda3\envs\cv_env\lib\site-packages\skvideo\io\io.py", line 133, in vread
  assert _HAS_FFMPEG, "Cannot find installation of real FFmpeg (which comes with ffprobe)."
>>> AssertionError: Cannot find installation of real FFmpeg (which comes with ffprobe).


    


    Can't figure out, why it's not set correctly...

    


  • How to get raw bytestring from AudioSegment

    14 juillet 2023, par Yingrjimsch

    Hello I'm trying to get the raw bytestring out of pydub AudioSegment.

    


    I've already tried following :

    


    sound = AudioSegment.from_mp3(file="../source/myfile.mp3")
bytestring = sound.raw_data


    


    and

    


    sound = AudioSegment.from_mp3(file="../source/myfile.mp3")
bytestring = sound._data


    


    but in my case it returns always a bytestring of with len 686866320 Bytes.

    


    if I export it instead to a bytes array like following :

    


    sound = AudioSegment.from_mp3(file="../source/myfile.mp3")
bytes = io.BytesIO()
bytes = sound.export(bytes, format='mp3')


    


    I'm getting a much smaller len of 62301665.

    


    At the end I'd like to have a bytestring and it's real size which (in my case is the real filesize of 62301665) but I cannot figure out how export reduces / compresses the data. The plain datastring of sound.raw_data cannot be played either.

    


    Thank you for any help :)