Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (25)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • 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

Sur d’autres sites (5464)

  • I am using Whisper to transcribe and I am getting the below error, unable to figure out the issue

    9 février 2024, par SRaj

    I am using Whisper to transcribe an audio file. I have installed Python3.9, ffmpeg and the associated dependencies, and openai-whisper==20230308. I could import whisper, but when I try to run transcribe :

    


    audio = f'audio_dataset/testaudio.wav'
model = whisper.load_model("base") 

result = model.transcribe(audio, fp16=False,language="en")


    


    ...I get the following error :

    


    ValueError                                Traceback (most recent call last)&#xA;Cell In [32], line 1&#xA;----> 1 result = model.transcribe(audio, fp16=False, language="en")&#xA;&#xA;File ~/.local/lib/python3.9/site-packages/torch/autograd/grad_mode.py:27, in _DecoratorContextManager.__call__.<locals>.decorate_context(*args, **kwargs)&#xA;     24 @functools.wraps(func)&#xA;     25 def decorate_context(*args, **kwargs):&#xA;     26     with self.clone():&#xA;---> 27         return func(*args, **kwargs)&#xA;&#xA;File ~/.local/lib/python3.9/site-packages/whisper/decoding.py:811, in decode(model, mel, options, **kwargs)&#xA;    808 if kwargs:&#xA;    809     options = replace(options, **kwargs)&#xA;--> 811 result = DecodingTask(model, options).run(mel)&#xA;    813 return result[0] if single else result&#xA;&#xA;File ~/.local/lib/python3.9/site-packages/whisper/decoding.py:522, in DecodingTask.__init__(self, model, options)&#xA;    520 self.initial_tokens: Tuple[int] = self._get_initial_tokens()&#xA;    521 self.sample_begin: int = len(self.initial_tokens)&#xA;--> 522 self.sot_index: int = self.initial_tokens.index(tokenizer.sot)&#xA;    524 # inference: implements the forward pass through the decoder, including kv caching&#xA;    525 self.inference = PyTorchInference(model, len(self.initial_tokens))&#xA;&#xA;ValueError: tuple.index(x): x not in tuple&#xA;</locals>

    &#xA;

    Has anybody faced a similar issue ?

    &#xA;

  • Show video while saving it

    13 septembre 2022, par Mohamed Adel El-Badry

    I have a folder full of images, I need to save these images into the video while doing so I want to show the user the video being played from these images (frames). I can run two separate processes one for the saving and one for the showing but this is not what I am looking for, I want to do both in one step. If you know a solution please let me know.

    &#xA;

    My code uses C++ with OpenCV but feel free to share with me any code written with any language, or event a concept.

    &#xA;

    I use gStreamer, ffmpeg as well for the video generation, so I am not looking how to save a video or how to show the video I am looking for a process that can do both in one operation.

    &#xA;

  • Can't obtain information with ffmpeg to Smooth Streaming Manifest file

    4 mars 2015, par Alberto

    I’m trying to get details for a stream of protocol Microsoft Smooth Streaming, with ffmpeg tools (ffprobe and ffplay) but when I run the next command :

    ffprobe -i http://b31282.cdn.telefonica.com/31282/Manifest

    I obtain this :

    http://b31282.cdn.telefonica.com/31282/Manifest: Invalid data found when processing input

    I assume that this Manifest file is correct and complies with standards of Smooth Streaming . This is a brief extract of Manifest file :

    <smoothstreamingmedia majorversion="2" minorversion="0" duration="0" timescale="10000000" islive="TRUE" lookaheadfragmentcount="2" dvrwindowlength="6000000000" canseek="TRUE" canpause="TRUE">
     <protection>
       <protectionheader systemid="9a04f079-9840-4286-ab92-e65be0885f95">oioAAAIAAQCUAjwAV...</protectionheader>
     </protection>
     <streamindex type="audio" language="esp" subtype="" chunks="0" timescale="10000000" url="QualityLevels({bitrate})/Fragments(audio_esp={start time})"></streamindex>
     <streamindex type="video" language="" subtype="" chunks="0" timescale="10000000" url="QualityLevels({bitrate})/Fragments(video={start time})"></streamindex>
    </smoothstreamingmedia>

    Is a Fedora 21 and ffmpeg version and configuration is :

    ffmpeg version git-2015-02-27-d490b26
    configuration: --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
    libavutil         54. 19.100        
    libavcodec        56. 26.100          
    libavformat       56. 23.105          
    libavdevice       56.  4.100                  
    libavfilter        5. 11.102          
    libswscale         3.  1.101        
    libswresample      1.  1.100          
    libpostproc       53.  3.100

    PD : I prefer use only ffmpeg tool

    Thanks for all