Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (58)

  • 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" (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (8185)

  • Compile FFmpeg project for ARM in PC Linux 64-bits

    4 avril 2017, par Dang_Ho

    I want to compile a simple FFmpeg project for my Arrow Sockit Board with an arm-linux-gnueabihf architecture from my Linux-64bit PC. I don’t want to compile the project in the board directly because of my low CPU and that is not convenient for me.

    I’m using FFmpeg version 2.8.11 and this is my Makefile and my "main.c". I know, my Makefile has something wrong in it. If I command "make", it will compile depending on my PC’s architecture, I can’t use that binary file on my board. So, can someone please tell me how to do it.

    I Cross-Compiled the FFmpeg package and installed into the board. I tested all functions such as ffmpeg, ffplay. All them work. The source code folder is located to /home/hohaidang/ffmpeg-2.8.11

    #include
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavformat></libavformat>avformat.h>
    #include <libswscale></libswscale>swscale.h>

    int main(int argc, char *argv[]){
            av_register_all();
            return 0;
    }
    # use pkg-config for getting CFLAGS and LDLIBS
    FFMPEG_LIBS=    libavdevice                        \
                   libavformat                        \
                   libavfilter                        \
                   libavcodec                         \
                   libswresample                      \
                   libswscale                         \
                   libavutil                          \

    CFLAGS += -Wall -g
    CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
    LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)

    EXAMPLES=       main

    OBJS=$(addsuffix .o,$(EXAMPLES))

    # the following examples make explicit use of the math library
    avcodec:           LDLIBS += -lm
    decoding_encoding: LDLIBS += -lm
    muxing:            LDLIBS += -lm
    resampling_audio:  LDLIBS += -lm

    .phony: all clean-test clean

    all: $(OBJS) $(EXAMPLES)

    clean-test:
            $(RM) test*.pgm test.h264 test.mp2 test.sw test.mpg

    clean: clean-test
            $(RM) $(EXAMPLES) $(OBJS)
  • My discord.py music bot fails with "ffmpeg not found"

    17 avril 2022, par ThatNoClueDude

    I am using repl.it to host my Discord.py music bot&#xA;It fails with an error saying "ffmpeg is not found"&#xA;I used multiple ways to fix the error

    &#xA;

    npm install ffmpeg-static in shell is my first way how i tried to fix the problem, but it did not do anything.

    &#xA;

    Even if i do any way, repl.it will still give the error ffmpeg not found.&#xA;Can someone please tell any way to fix this issue ??

    &#xA;

  • Getting error while transcribing mp3 file into text file

    8 août 2021, par Parul Verma

    I used the below code to transcribe the mp3 file into text.

    &#xA;

    import speech_recognition as sr&#xA;from pydub import AudioSegment&#xA;&#xA;# convert mp3 file to wav  &#xA;src=(r"C:\Users\user.name\Desktop\python\DATA\Audio files\Audio1.mp3")&#xA;sound = AudioSegment.from_mp3(src)&#xA;sound.export(r"C:\Users\user.name\Desktop\python\DATA\Audio files\Audio1.wav"), format="wav")&#xA;&#xA;file_audio = sr.AudioFile(r"C:\Users\user.name\Desktop\python\DATA\Audio files\Audio1.wav")&#xA;&#xA;# use the audio file as the audio source                                        &#xA;r = sr.Recognizer()&#xA;with file_audio as source:&#xA; audio_text = r.record(source)&#xA;&#xA;print(type(audio_text))&#xA;print(r.recognize_google(audio_text))&#xA;

    &#xA;

    But I got the following error-

    &#xA;

    FileNotFoundError                         Traceback (most recent call last)&#xA; in <module>&#xA;    4 # convert mp3 file to wav&#xA;    5 src=(r"C:\Users\user.name\Desktop\python\DATA\Audio files\Audio1.mp3")&#xA;----> 6 sound = AudioSegment.from_mp3(src)&#xA;    7 sound.export(r"C:\Users\user.name\Desktop\python\DATA\Audio files\Audio1.wav", format="wav")&#xA;    8 &#xA;&#xA;~\Anaconda3\lib\site-packages\pydub\audio_segment.py in from_mp3(cls, file, parameters)&#xA;    794     @classmethod&#xA;    795     def from_mp3(cls, file, parameters=None):&#xA;--> 796         return cls.from_file(file, &#x27;mp3&#x27;, parameters=parameters)&#xA;    797 &#xA;    798     @classmethod&#xA;&#xA;~\Anaconda3\lib\site-packages\pydub\audio_segment.py in from_file(cls, file, format, codec, parameters, start_second, duration, **kwargs)&#xA;    726             info = None&#xA;    727         else:&#xA;--> 728             info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)&#xA;    729         if info:&#xA;    730             audio_streams = [x for x in info[&#x27;streams&#x27;]&#xA;&#xA;~\Anaconda3\lib\site-packages\pydub\utils.py in mediainfo_json(filepath, read_ahead_limit)&#xA;    272 &#xA;    273     command = [prober, &#x27;-of&#x27;, &#x27;json&#x27;] &#x2B; command_args&#xA;--> 274     res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)&#xA;    275     output, stderr = res.communicate(input=stdin_data)&#xA;    276     output = output.decode("utf-8", &#x27;ignore&#x27;)&#xA;&#xA;~\Anaconda3\lib\subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)&#xA;    852                             encoding=encoding, errors=errors)&#xA;    853 &#xA;--> 854             self._execute_child(args, executable, preexec_fn, close_fds,&#xA;    855                                 pass_fds, cwd, env,&#xA;    856                                 startupinfo, creationflags, shell,&#xA;&#xA;~\Anaconda3\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session)&#xA;1305             # Start the process&#xA;1306             try:&#xA;-> 1307                 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&#xA;1308                                          # no special security&#xA;1309                                          None, None,&#xA;&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;</module>

    &#xA;