Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (46)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

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

  • How to use Mozilla DeepSpeech to generate subtitle from video file ?

    31 mars 2022, par SingularitySG

    I'm currently trying to generate subtitles file .srt using Mozilla DeepSpeech libraries.

    


    Confusion I'm having :

    


    I'm following this guide but I'm completely lost at the part where he uses pyAudioAnalysis to trim out the silence portion of the .wav files.

    


    Another is the portion where he processes the audio file via calling the ds model & ds scorer
I've downloaded both deepspeech-0.9.3-models.scorer and deepspeech-0.9.3-models.pbmm from https://github.com/mozilla/DeepSpeech/releases Do I just reference the model and scorer to the downloaded file path instead ?

    


    def ds_process_audio(audio_file, file_handle): 
    ds = Model(ds_model)
    ds.enableExternalScorer(ds_scorer)


    


    At the moment, I'm able to extract out .wav files from .mp4, .mkv video format.

    


    I've tried pip install pyAudioAnalysis but I'm not sure how to call the functions that are related to it as per his guide in trimming out the silence portion of the .wav file. Below is the code I'm currently working with as of now.

    


    video_name = "Videos\Gintama_EP342.mkv"
audio_name = video_name + ".wav"


def extractAudio(input_file, audio_file_name):
    # Extract audio from input video file and save to audio/ in root dir
    # Args:
    #    input_file : input video file
    #    audio_file_name : save audio WAV file with same filename as video file

    command = ["ffmpeg", "-hide_banner", "-loglevel", "warning", "-i", input_file, "-ac", "1", "-ar", "16000", "-vn", "-f", "wav", audio_file_name]    
    try:
        ret = sp.call(command, shell=True)
        print("Extracted audio to audio/{}".format(audio_file_name.split("/")[-1]))
    except Exception as e:
        print("Error: ", str(e))
        exit(1)


    


    Appreciate any help given. Thank you

    


  • Video manipulation from Android NDK [closed]

    21 février 2013, par Drag0

    I'm having problems with trying to manipulate videos with Android NDK.
    I don't need many things, I just need my app to take frames from video so I can analyze it, but it has to be done within NDK.

    I tried building ffmpeg for Android, I couldn't get it to work (or I just wasn't following the right guides and tutorials), and I also found that newest version of NDK has built in libs for video manipulation (but only for .ts format if I'm correct so that doesn't help me much).

    Can anyone recommend me anything ? Maybe some new guide or tutorial for building ffmpeg.
    Please respond only if you used it yourself. Thanks !

  • Extract WAV from an MP4, process and then remux it back

    13 novembre 2013, par Matt J.

    I have a large number of x264+AAC MP4 files. I have written an audio filter that operates on PCM wav files that I want to apply to the audio on all my videos, replacing the existing audio with the filtered version.