Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (112)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (5872)

  • How to return ffmepg processed output file and pass it to another function ? using python

    5 septembre 2018, par Ali Khan AK

    I want to convert video to audio using ffmpeg and I also want to return that audio file and pass it on to another function which generates text from that audio. But when I pass ’audio’ to function error shows file not found..

    def extract_audio(f):
    print("processing", f)
    inFile = f
    outFile = f[:-3] + "wav"
    cmd = "ffmpeg -i {} -vn  -ac 2 -ar 44100 -ab 320k -f wav {}".format(inFile, outFile)
    os.popen(cmd)
    print(outFile)
    print("Audio is ready to use..")
    return outFile

    def audio_to_text(audio):
    r = sr.Recognizer()
    r.energy_threshold = 4000
    with sr.WavFile(open(audio)) as source:  # use "test.wav" as the audio source
       audio_source = r.record(source)  # extract audio data from the file
       text = r.recognize_google(audio_source)
    try:
       print(text)  # recognize speech using Google Speech Recognition
    except LookupError:  # speech is unintelligible
       print("Could not understand audio")

    root = tk.Tk()
    root.withdraw()
    file_path = filedialog.askopenfilename()
    filename = os.path.basename(file_path)
    audio = extract_audio(filename)
    audio_to_text(audio)
  • How to pass buffers as ffmpeg io in its commands

    3 septembre 2018, par Hossein Yazdanfar

    I’m using ffmpeg with its shared libraries(.so files) in my Android project (java language is using).
    (Actually using videokit library :videokit )

    I use ffmpeg commands to do things.
    For many reasons some times I need to use buffers as ffmpeg io.

    So how could I pass memory buffers as ffmpeg io ? (actually I mean using in its commands).
    I mean the io may not be files in storage and they may be something like byte[] or other memory buffer types...

    One simple use case :

    • Extracting a gif frames
    • Processing each frame by making Android Bitmap object of it and using Android sdk to edit them
    • Merging frames to make a gif of them
    • store output to byte [] so it can be used by third library like glide to show to user

    as it seems , because of performance it is not correct that input/output of each step be in stroage. And in my app the data(gif file here) maybe encrypted and should be decrypted. So i need some thing like buffers to pass to ffmpeg...

  • Increase fps in record video ffmpeg

    16 juin 2017, par Badfishmaan

    I need to record 2 videos from 2 cameras in full hd 30 fps.
    I use ffmpeg and wrapper - Aforge for c#.

    init device :

           _videoCaptureDevice = new VideoCaptureDevice(deviceName);
           _videoCaptureDevice.VideoResolution = _videoCaptureDevice.VideoCapabilities[0];
           _videoCaptureDevice.DesiredFrameRate = _fps;
           _videoSourcePlayer.VideoSource = _videoCaptureDevice;
           _videoCaptureDevice.NewFrame += _videoCaptureDevice_NewFrame;
           _videoSourcePlayer.Start();

    saving frames

           if (_videoRecordStatus == VideoRecordStatus.Recording)
           {
               _videoFileWriter.WriteVideoFrame(eventArgs.Frame);
           }

    and init file writer

               _videoFileWriter = new VideoFileWriter();
               _videoFileWriter.Open(_fileName, _videoCaptureDevice.VideoResolution.FrameSize.Width,
                   _videoCaptureDevice.VideoResolution.FrameSize.Height, 30, VideoCodec.MPEG4, 10 * 1000 * 1000);

    now _videoCaptureDevice.VideoResolution.FrameSize equals 1280x720 and 640x480 (for second device). But I already have problems with recording. Maximum fps is 24 for 480p and 13-14 for 720p (when I try to record videos from 2 cameras in the same time)

    How to increase it ?
    Or it isn’t possible ? Maybe more powerfull computer will solve this problem (I have Pentium(R) Dual-Core CPU 2.50Ghz and usual videocart (Geforse 8500 GT) for working with two displays, usual hdd, usb 2.0) ?

    I will glad any help (maybe another library, but not language (c#))

    PS
    I already used Emgu.CV and faced with simular problems..