Recherche avancée

Médias (91)

Autres articles (41)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (7613)

  • The audio selector of kaltura player is inactive

    17 février 2018, par Bolot Kalil

    Guys.

    I have created single video file with multiple audio using this ffmpeg code :

    ffmpeg -y -i input.mp4 -i 1.mp3 -i 2.mp3 -map 0:v -map 1:a -map 2:a -metadata:s:a:0 language=kir -metadata:s:a:0 title="Kirghiz" -metadata:s:a:1 language=eng -metadata:s:a:1 title="English" -acodec copy -bsf:a aac_adtstoasc -vcodec copy -movflags faststart output.mp4

    But on the kaltura after uploading the video file, audio selector on the player is inactive, why ?

    I have tried also with xml file, the result is same.

    Please help me I couldn’t find the reason why this happens.

    Many thanks.

  • I faced ffmpeg error in my project run time

    3 juillet 2023, par Jesy J
    Runtime error: can't load audio from file: 'ffmpeg' not found. Please install 
'ffmpeg' in your system to use non- wav audio file format and make sure 'ffprobe' 
is in your path


    


    I configure ffmpeg in my system but still I face this error.

    


    This is my code :

    


    !pip install gradio
!pip install SpeechRecognition
!pip install pydub
!pip install openai

import gradio as gr
import speech_recognition as sr
from pydub import AudioSegment
import openai

# Set up OpenAI API
openai.api_key = [MASKED]

# Function to convert text to speech using OpenAI's API
def text_to_speech(text, language):
    response = openai.Completion.create(
        engine="davinci",
        prompt=f"Translate the following English text into {language}: \"{text}\"",
        max_tokens=100,
        temperature=0.8,
        top_p=1.0,
        frequency_penalty=0.0,
        presence_penalty=0.0,
        stop=None,
        n=1,
        log_level="info"
    )
    return response.choices[0].text.strip()

# Function to recognize speech from audio
def speech_to_text(audio):
    recognizer = sr.Recognizer()
    with sr.AudioFile(audio) as source:
        audio_data = recognizer.record(source)
    return recognizer.recognize_google(audio_data)

# Function to convert audio to desired language
def convert_language(audio, target_language):
    recognized_text = speech_to_text(audio)
    translated_text = text_to_speech(recognized_text, target_language)
    return translated_text

# Function to process user input and generate output
def process_audio(input_audio, target_language):
    converted_text = convert_language(input_audio.name, target_language)
    return gr.outputs.Audio(converted_text, type="filepath")

# Set up Gradio interface
audio_input = gr.inputs.Audio(source="microphone")

language_input = gr.inputs.Dropdown(choices=["English", "French", "German"])  # Add more languages as needed

output_audio = gr.outputs.Audio(type="filepath", label="Output Audio")

title = "Multilingual AI Voice Assistant"

description = "Upload an audio file and select the target language for translation."

gr.Interface(fn=process_audio, inputs=[audio_input, language_input], outputs=output_audio, title=title, description=description).launch()


    


  • FFMPEG on Android with libmp3lame

    2 septembre 2014, par M4tho

    I’ build an app for android to convert videos to audio.
    Im using ffmpeg for the process. (Im using the precompiled version from here)

    At the moment its only possible to convert to *.wav and not to *.mp3.

    So im asking u if anybody can provide me a compiled version supporting the libmp3lame-library ?

    Or can anybody explane to me how to compile it myself.
    Ive tried to, but im getting some errors all the time and i dont know how to handle them.

    Ive tried to compile it myself with this setup :

    • Ubuntu x64
    • Android NDK-r10
    • ffmpeg SourceCode from Feb-02-2014
    • libmp3lame-dev

    following this tutorial
    of course ive added
    —enable-libmp3lame to the ./configuration

    thanks anyways
    and sorry for the bad english