Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (44)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (10171)

  • Using Qt Media Player on Raspberry Pi 1

    18 mai 2015, par Mauker

    I have a project built using Qt5 which has to play a video. Just like in the videowidget sample code.

    I’ve followed these instructions to build qt5 on my Pi. And it went just fine. But when I try to run any qt program that uses QMediaPlayer, I get the error message :

    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

    Which means I don’t have a backend to play the video, right ? Is there any one that I can use which will with Qt, like ffmpeg ? And how can I get it to work ? Specially for h264 videos.

    I’ve tried to install gstreamer as is told on this link, but it’s not working. Will I have to rebuild the entire qt5 again ?

    P.S. : I have the raspberry pi 1 model B with raspbian installed.

    Edit : As mentioned by Greenflow, I checked the ./configure log and saw that the GStreamer was compiled in, but the video apps are still not working...

    The message on the log was like this :

    GStreamer .............. yes (0.10)

    And the message on Greenflow’s log was like this :

    GStreamer .............. yes (1.0)

    Clearly it’s another version of GStreamer, but is it the problem ?

    I’ve also found this post which says QtMultimedia on the Pi is rather useless, but the post is from 2013, so I’m not sure if it’s really relevant. I’d like to have this app playing hardware accelerated videos on my Raspberry Pi, but I’m almost dropping the idea.

    Anyways, thanks Greenflow for the head start.

    Edit 2 : Found this thread on the Qtcentre. Damn, this thing is not going to be easy to solve, I guess...

  • FFMPEG not found (and i can't install it)

    30 juin 2022, par Chara1111

    I'm creating music commands for my discord bot written or discord.js. But FFMPEG problem won't let me launch one of them.

    



    I have installed these needed packages : ytdl, ffmpeg-binaries, discord.js, opusscript (maybe could forgot about some)
I can't also install node-opus (error below), but also not sure if it really needed (someone told me it is)

    



    Also don't judge me, I am really new to JavaScript

    



    C:\Users\Игорь\Desktop\Bot>npm i ffmpeg
npm ERR! path C:\Users\Игорь\Desktop\Bot\node_modules\FFMPEG\package.json
npm ERR! code ELOOP
npm ERR! errno -4067
npm ERR! syscall open
npm ERR! ELOOP: too many symbolic links encountered, open 'C:\Users\Игорь\Desktop\Bot\node_modules\FFMPEG\package.json'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Игорь\AppData\Roaming\npm-cache\_logs\2019-05-27T18_05_01_338Z-debug.log


    



    node-opus error

    



    > ref@1.3.5 install C:\Users\Игорь\Desktop\Bot\node_modules\ref&#xA;> node-gyp rebuild&#xA;&#xA;&#xA;C:\Users\Игорь\Desktop\Bot\node_modules\ref>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )&#xA;Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation&#xA;Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation&#xA;Traceback (most recent call last):&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 16, in <module>&#xA;    sys.exit(gyp.script_main())&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 545, in script_main&#xA;    return main(sys.argv[1:])&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 538, in main&#xA;    return gyp_main(args)&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 523, in gyp_main&#xA;    generator.GenerateOutput(flat_list, targets, data, params)&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 2004, in GenerateOutput&#xA;    generator_flags))&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 943, in _GenerateProject&#xA;    return _GenerateMSVSProject(project, options, version, generator_flags)&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1047, in _GenerateMSVSProject&#xA;    p.WriteIfChanged()&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\MSVSProject.py", line 208, in WriteIfChanged&#xA;    encoding="Windows-1252")&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\easy_xml.py", line 122, in WriteXmlIfChanged&#xA;    xml_string = xml_string.decode(default_encoding).encode(encoding)&#xA;  File "C:\Python27\lib\encodings\cp1252.py", line 12, in encode&#xA;    return codecs.charmap_encode(input,errors,encoding_table)&#xA;UnicodeEncodeError: &#x27;charmap&#x27; codec can&#x27;t encode characters in position 509-513: character maps to <undefined>&#xA;gyp ERR! configure error&#xA;gyp ERR! stack Error: `gyp` failed with exit code: 1&#xA;gyp ERR! stack     at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:345:16)&#xA;gyp ERR! stack     at ChildProcess.emit (events.js:196:13)&#xA;gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12)&#xA;gyp ERR! System Windows_NT 10.0.17134&#xA;gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"&#xA;gyp ERR! cwd C:\Users\Игорь\Desktop\Bot\node_modules\ref&#xA;gyp ERR! node -v v12.2.0&#xA;gyp ERR! node-gyp -v v3.8.0&#xA;gyp ERR! not ok&#xA;&#xA;> node-opus@0.3.2 install C:\Users\Игорь\Desktop\Bot\node_modules\node-opus&#xA;> node-gyp rebuild&#xA;&#xA;&#xA;C:\Users\Игорь\Desktop\Bot\node_modules\node-opus>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )&#xA;Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation&#xA;Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation&#xA;Traceback (most recent call last):&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 16, in <module>&#xA;    sys.exit(gyp.script_main())&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 545, in script_main&#xA;    return main(sys.argv[1:])&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 538, in main&#xA;    return gyp_main(args)&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 523, in gyp_main&#xA;    generator.GenerateOutput(flat_list, targets, data, params)&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 2004, in GenerateOutput&#xA;    generator_flags))&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 943, in _GenerateProject&#xA;    return _GenerateMSVSProject(project, options, version, generator_flags)&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1047, in _GenerateMSVSProject&#xA;    p.WriteIfChanged()&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\MSVSProject.py", line 208, in WriteIfChanged&#xA;    encoding="Windows-1252")&#xA;  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\easy_xml.py", line 122, in WriteXmlIfChanged&#xA;    xml_string = xml_string.decode(default_encoding).encode(encoding)&#xA;  File "C:\Python27\lib\encodings\cp1252.py", line 12, in encode&#xA;    return codecs.charmap_encode(input,errors,encoding_table)&#xA;UnicodeEncodeError: &#x27;charmap&#x27; codec can&#x27;t encode characters in position 509-513: character maps to <undefined>&#xA;gyp ERR! configure error&#xA;gyp ERR! stack Error: `gyp` failed with exit code: 1&#xA;gyp ERR! stack     at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:345:16)&#xA;gyp ERR! stack     at ChildProcess.emit (events.js:196:13)&#xA;gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12)&#xA;gyp ERR! System Windows_NT 10.0.17134&#xA;gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"&#xA;gyp ERR! cwd C:\Users\Игорь\Desktop\Bot\node_modules\node-opus&#xA;gyp ERR! node -v v12.2.0&#xA;gyp ERR! node-gyp -v v3.8.0&#xA;gyp ERR! not ok&#xA;npm WARN discord.js@11.5.0 requires a peer of bufferutil@^4.0.0 but none is installed. You must install peer dependencies yourself.&#xA;npm WARN discord.js@11.5.0 requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer dependencies yourself.&#xA;npm WARN discord.js@11.5.0 requires a peer of libsodium-wrappers@^0.7.3 but none is installed. You must install peer dependencies yourself.&#xA;npm WARN discord.js@11.5.0 requires a peer of node-opus@^0.2.7 but none is installed. You must install peer dependencies yourself.&#xA;npm WARN discord.js@11.5.0 requires a peer of sodium@^2.0.3 but none is installed. You must install peer dependencies yourself.&#xA;npm WARN discord.js@11.5.0 requires a peer of @discordjs/uws@^10.149.0 but none is installed. You must install peer dependencies yourself.&#xA;npm WARN No-u@0.0.1 No repository field.&#xA;npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/darwin-x64@4.1.0 (node_modules\@ffmpeg-installer\darwin-x64):&#xA;npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/darwin-x64@4.1.0: wanted {"os":"darwin","arch":"x64"} (current: {"os":"win32","arch":"x64"})&#xA;npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/linux-ia32@4.1.0 (node_modules\@ffmpeg-installer\linux-ia32):&#xA;npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/linux-ia32@4.1.0: wanted {"os":"linux","arch":"ia32"} (current: {"os":"win32","arch":"x64"})&#xA;npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/linux-x64@4.1.0 (node_modules\@ffmpeg-installer\linux-x64):&#xA;npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/linux-x64@4.1.0: wanted {"os":"linux","arch":"x64"} (current: {"os":"win32","arch":"x64"})&#xA;npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/win32-ia32@4.1.0 (node_modules\@ffmpeg-installer\win32-ia32):&#xA;npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/win32-ia32@4.1.0: wanted {"os":"win32","arch":"ia32"} (current: {"os":"win32","arch":"x64"})&#xA;npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ref@1.3.5 (node_modules\ref):&#xA;npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ref@1.3.5 install: `node-gyp rebuild`&#xA;npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1&#xA;&#xA;npm ERR! code ELIFECYCLE&#xA;npm ERR! errno 1&#xA;npm ERR! node-opus@0.3.2 install: `node-gyp rebuild`&#xA;npm ERR! Exit status 1&#xA;npm ERR!&#xA;npm ERR! Failed at the node-opus@0.3.2 install script.&#xA;npm ERR! This is probably not a problem with npm. There is likely additional logging output above.&#xA;&#xA;npm ERR! A complete log of this run can be found in:&#xA;npm ERR!     C:\Users\Игорь\AppData\Roaming\npm-cache\_logs\2019-05-27T18_03_29_880Z-debug.log&#xA;</undefined></module></undefined></module>

    &#xA;

  • Edit ffmpeg arguments while playing

    12 mars 2019, par C0d0r

    I am building a client (discord.js) that plays music from youtube. Before the client starts playing the ffmpeg-arguments (filters etc.) can be edited and piped into the stream. I use prism-media (npm) to define the args.

    My Question : How is it possible to edit these arguments while the client is playing ? f.ex. disable in the middle of a song etc...

    The code basically looks like in the Readme example on github : https://github.com/amishshah/prism-media/tree/dev