Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (101)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (10420)

  • Encode Android's frame's .raw file to .png file format using ffmpeg

    12 avril 2017, par Glex

    I used the script from source. What it does is that it reads the frame-buffer information from the mobile (android) phone and save it as a .raw file. It then uses ffmpeg encoder to create .png file. Unfortunately the png image that I am getting is like (attached below). I tried to play with the "-pix_fmt" option used and tried using rgba instead of rgb32 used in that code (none of them work btw). I used another script (ascreenshooter.py) to analyse the header for this raw image to find few image headers. they are listed as :

    version : 1
    bpp : 32
    size : 2088960
    width : 544
    height : 960
    red_offset : 0
    red_length : 8
    blue_offset : 16
    blue_length : 8
    green_offset : 8
    green_length : 8
    alpha_offset : 0
    alpha_length : 8

    Please suggest if it is possible to encode this .raw image file to png format. If it is possible than what ffmpeg options I should use and if some other more efficient tool does exit for this encoding process.

    Sample raw image as requested :

    http://tabak.csc.ncsu.edu/arpit.raw

    enter image description here

  • Including ffmpeg in Django project

    24 mars 2020, par lipa

    I am making a very simple Django app (it’s a test for non-Django course) and I need to analyse a mp3 file in there, so I try to turn it into wav with this :

    sound = AudioSegment.from_mp3('upload/' + filename)
    sound.export('upload/wavfile', format="wav")
    rate, data = wav.read('upload/wavfile')

    I have installed ffmpeg by pip install ffmpeg in venv terminal, since I want to my code to run not only on my machine. The ffmpeg and ffprobe folders have appeared in /venv/lib/python3.7/site-packages/ however when I run my server I get the warning :

    RuntimeWarning : Couldn’t find ffmpeg or avconv - defaulting to ffmpeg,
    but may not work
    warn("Couldn’t find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)

    and when I load file in web page it throws

    [Errno 2] No such file or directory : ’ffprobe’ : ’ffprobe’

    at the first line of the code above.

    I would really appreciate any help with how I can use ffmpeg in my app or other ways to handle my mp3 file.

  • How to mix audio description track into stereo mix in FFMPEG or SOX

    4 mai 2022, par Overlook Motel

    I have a video file with a stereo mix. I have also been provided with an additional audio description track (a narration which describes what's happening on screen for visually-impaired audiences) as a mono WAV.

    


    I am trying to mix the two together, however the tricky part is adjusting the levels. The levels of the main mix should be dipped before and raised back again after each line of speech in the AD track.

    


    The company who produced the AD track have offered to do this for a fee, however I noticed that their fee is static regardless of the length of the film, so I assume it must be an automated process (if it involved a sound mixer in a studio, it'd be charged at a per minute rate).

    


    I'm wondering if it's possible to do this myself in FFMPEG.

    


    The AD track is cleanly recorded at a consistent level and is entirely silent in between the lines of narration. So imagine it would be in principle possible to determine where the main mix needs to go up and down.

    


    Would probably need to :

    


      

    1. Analyse the levels of the AD track and convert to a list of "fade down here", "fade up here" instructions.
    2. 


    3. Apply that list of instructions to the main mix to create an intermediate.
    4. 


    5. Mix together the intermediate with the AD track.
    6. 


    


    The final step could be achieved with the amix filter, but I have little idea how to approach the first 2 steps.

    


    Does anyone know if this is achievable with FFMPEG ? I'd also be open to using other programs such as SOX.