Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (54)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (10328)

  • Add FUNDING.json

    19 juin, par Michael Niedermayer
    Add FUNDING.json
    

    We have been contacted by Monet du Plessis of the etherium foundation and
    Natascha Buck (Grants at the Better Internet Foundation)

    "The Ethereum Foundation is thrilled to inform you that your contribution to
    open-source software development through your work on ffmpeg
    https://github.com/FFmpeg/FFmpeg has been recognized and rewarded by the
    Devcon team ! Your project played a fundamental role in the success of Devcon
    <http://devcon.org/>, helping to create a more meaningful experience for
    the Ethereum community. In collaboration with Drips Network
    <https://www.drips.network/>, we are pleased to award you $2,240.00 in
    appreciation of your efforts and to support your continued efforts in
    open-source development."

    To be able to claim donations through the drips network we need to
    specify a wallet to do so in FUNDING.json

    This will also allow FFmpeg to receive future funding and donations
    through the drips network.

    The specified wallet is a safe wallet backed by a ledger hw wallet.
    We can later change who controls the safe wallet. (For example it
    could be passed on to the SPI treasurer)

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] FUNDING.json
  • I faced ffmpeg error in my project run time

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

    &#xA;

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

    &#xA;

    This is my code :

    &#xA;

    !pip install gradio&#xA;!pip install SpeechRecognition&#xA;!pip install pydub&#xA;!pip install openai&#xA;&#xA;import gradio as gr&#xA;import speech_recognition as sr&#xA;from pydub import AudioSegment&#xA;import openai&#xA;&#xA;# Set up OpenAI API&#xA;openai.api_key = [MASKED]&#xA;&#xA;# Function to convert text to speech using OpenAI&#x27;s API&#xA;def text_to_speech(text, language):&#xA;    response = openai.Completion.create(&#xA;        engine="davinci",&#xA;        prompt=f"Translate the following English text into {language}: \"{text}\"",&#xA;        max_tokens=100,&#xA;        temperature=0.8,&#xA;        top_p=1.0,&#xA;        frequency_penalty=0.0,&#xA;        presence_penalty=0.0,&#xA;        stop=None,&#xA;        n=1,&#xA;        log_level="info"&#xA;    )&#xA;    return response.choices[0].text.strip()&#xA;&#xA;# Function to recognize speech from audio&#xA;def speech_to_text(audio):&#xA;    recognizer = sr.Recognizer()&#xA;    with sr.AudioFile(audio) as source:&#xA;        audio_data = recognizer.record(source)&#xA;    return recognizer.recognize_google(audio_data)&#xA;&#xA;# Function to convert audio to desired language&#xA;def convert_language(audio, target_language):&#xA;    recognized_text = speech_to_text(audio)&#xA;    translated_text = text_to_speech(recognized_text, target_language)&#xA;    return translated_text&#xA;&#xA;# Function to process user input and generate output&#xA;def process_audio(input_audio, target_language):&#xA;    converted_text = convert_language(input_audio.name, target_language)&#xA;    return gr.outputs.Audio(converted_text, type="filepath")&#xA;&#xA;# Set up Gradio interface&#xA;audio_input = gr.inputs.Audio(source="microphone")&#xA;&#xA;language_input = gr.inputs.Dropdown(choices=["English", "French", "German"])  # Add more languages as needed&#xA;&#xA;output_audio = gr.outputs.Audio(type="filepath", label="Output Audio")&#xA;&#xA;title = "Multilingual AI Voice Assistant"&#xA;&#xA;description = "Upload an audio file and select the target language for translation."&#xA;&#xA;gr.Interface(fn=process_audio, inputs=[audio_input, language_input], outputs=output_audio, title=title, description=description).launch()&#xA;

    &#xA;

  • Windows - FFmpeg - How to map a jpg file to video stream 0:0 and include only audio stream 0:2 and not stream 0:1 and 0:2 together

    21 juin 2020, par slyfox1186

    I am trying to write a batch script that begins by extracting a thumbnail "Cover.jpg" from an mkv video. My end goal is to have this script recursively loop a folder full of videos to encode them all in one go.

    &#xA;&#xA;

    :: create cover art jpg&#xA;for %%G in (*.mkv) do (&#xA;%FF% -hide_banner -ss 30 -y -i "%%G" -vframes 1 -an Cover.jpg&#xA;)&#xA;

    &#xA;&#xA;

    Then I am trying to encode the 4K mkv video that I got the jpg thumbnail from to 1920x1080 resolution instead of it's native 4K to make it easier to play back on my home plex server.

    &#xA;&#xA;

    I have surround sound 6 channel speaker system so I want to take audio stream 0:2 which is Dolby DTS 6 channel and save some HDD space by converting it to -c:a ac3 -b:a 640k -ac 6.

    &#xA;&#xA;

    I have gotten stuck because I can achieve everything I want except I keep encoding 2 of the 4 audio streams available in the end. I only want to keep 1 audio stream to maximize my space savings.

    &#xA;&#xA;

    Here is the entire script so far.

    &#xA;&#xA;

    @echo off&#xA;setlocal enabledelayedexpansion&#xA;prompt $g&#xA;color 0a&#xA;&#xA;pushd "%~dp0"&#xA;&#xA;set FF=C:\MAB\local64\bin-video\ffmpeg.exe&#xA;set TITLE=MOVIETITLE&#xA;&#xA;:: create cover art jpg file&#xA;for %%G in (*.mkv) do (&#xA;%FF% -hide_banner -ss 30 -y -i "%%G" -vframes 1 -an Cover.jpg&#xA;)&#xA;&#xA;:: run ffmpeg x265&#xA;for %%I in (*.mkv) do (&#xA;set fname="%%~nxI"&#xA;set fout="%%~nI-temp.mkv"&#xA;call :runff !fname! !fout!&#xA;del /s /q *.jpg&#xA;pause&#xA;goto:eof&#xA;)&#xA;&#xA;:runff&#xA;%FF% -ss 0 ^&#xA;-y ^&#xA;-i "%~1" ^&#xA;-attach "Cover.jpg" ^&#xA;-map_metadata 0 ^&#xA;-map_chapters 0 ^&#xA;-metadata title="%TITLE%" ^&#xA;-map 0:0 -metadata:s:v:0 language=eng ^&#xA;-map 0:2 -metadata:s:a:0 language=eng -metadata:s:a:0 title="Surround 5.1 (DTS)" ^&#xA;-map 0:3 -metadata:s:s:0 language=eng -metadata:s:s:0 title="English" -metadata:s:t:0 filename="Cover.jpg" -metadata:s:t:0 mimetype="image/jpeg" ^&#xA;-c:v libx265 -preset medium ^&#xA;-x265-params crf=18:qcomp=0.8:aq-mode=1:aq_strength=1.0:qg-size=16:psy-rd=0.7:psy-rdoq=5.0:rdoq-level=1:merange=44 ^&#xA;-c:a ac3 -b:a 640k -ac 6 ^&#xA;-t 3 ^&#xA;"%~2"&#xA;exit /b&#xA;

    &#xA;&#xA;

    Here are the output logs. https://pastebin.com/hVMy3VJW

    &#xA;&#xA;

    You can see towards the bottom that it is encoding both audio streams.

    &#xA;&#xA;

    Any ideas guys ?

    &#xA;