Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (82)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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

  • 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

Sur d’autres sites (10365)

  • nginx rtmp-module can't execute ffmpeg

    6 juin 2023, par Nasir

    I am having an issue with nginx-rtmp-module exec ffmpeg command. i have followed the example on 
www.github.com/arut/nginx-rtmp-module

    



    /home/junaid/bin/ffmpeg -f video4linux2 -i /dev/video1 -c:v libx264 -an -f flv rtmp://127.0.0.1:1935/myapp/mystream


    



    the command is working fine in terminal

    



    Config file :

    



    rtmp {
server {
    listen 1935;
    ping 30s;
    notify_method get;

    application myapp {
    live on;
    allow play all;
    exec_static /home/junaid/bin/ffmpeg -f video4linux2 -i /dev/video1 -c:v libx264 -an -f flv rtmp://127.0.0.1:1935/myapp/mystream;      
 }
}


    



    Error log :
http://www.codepad.org/enD4wlZ9

    



    I have tried :

    



      

    • nginx running as root (have permission to execute ffmpeg)
    • 


    • using ip instead of localhost
    • 


    • using complete path to ffmpeg
    • 


    • executing bash file (having ffmpeg and echo commands : echo commands execute just fine) from nginx
    • 


    



    please help me resolve this issue

    


  • No module named 'skvideo.io.ffmpeg' in the project

    12 juillet 2024, par kyobo

    Even though I have installed the scikit-video and installed ffmpeg, I still meet this problem :
    
No module named 'skvideo.io.ffmpeg

    


    Output :

    


    (sd) huishi@huishi:~/workspace/projectsideo_python$ **pip install scikit-video**&#xA;Requirement already satisfied: scikit-video in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (1.1.11)&#xA;Requirement already satisfied: scipy in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (from scikit-video) (1.8.1)&#xA;Requirement already satisfied: pillow in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (from scikit-video) (9.2.0)&#xA;Requirement already satisfied: numpy in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (from scikit-video) (1.23.0)&#xA;(sd) huishi@huishi:~/workspace/projectsideo_python$ **sudo apt-get install ffmpeg**&#xA;正在读取软件包列表... 完成&#xA;正在分析软件包的依赖关系树       &#xA;正在读取状态信息... 完成       &#xA;ffmpeg 已经是最新版 (7:3.4.11-0ubuntu0.1)。&#xA;下列软件包是自动安装的并且现在不需要了:&#xA;  docker-scan-plugin gir1.2-goa-1.0 gir1.2-snapd-1&#xA;使用&#x27;sudo apt autoremove&#x27;来卸载它(它们)。&#xA;升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 20 个软件包未被升级。&#xA;(sd) huishi@huishi:~/workspace/projectsideo_python$ python RabbitMqUtils.py &#xA;The license has expired.&#xA;/home/huishi/workspace/projectsideo_python/train_resource/train_split.py:12: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.&#xA;  tr_configs = yaml.load(f)&#xA;INFO: Created TensorFlow Lite XNNPACK delegate for CPU.&#xA;/home/huishi/anaconda3/envs/sdb/python3.8/site-packages/skvideo/__init__.py:306: UserWarning: ffmpeg/ffprobe not found in path: /usr/local/bin&#xA;  warnings.warn("ffmpeg/ffprobe not found in path: " &#x2B; str(path), UserWarning)&#xA;Traceback (most recent call last):&#xA;  File "RabbitMqUtils.py", line 17, in <module>&#xA;    from video_postprocess import post_Process&#xA;  File "/home/huishi/workspace/projectsideo_pythonideo_postprocess/post_Process.py", line 12, in <module>&#xA;    import skvideo.io&#xA;  File "/home/huishi/anaconda3/envs/sdb/python3.8/site-packages/skvideo/io/__init__.py", line 8, in <module>&#xA;    from .ffmpeg import *&#xA;ModuleNotFoundError: **No module named &#x27;skvideo.io.ffmpeg&#x27;**&#xA;(sd) huishi@huishi:~/workspace/projectsideo_python$&#xA;</module></module></module>

    &#xA;

    I have tried to upgrade pip and skvideo but it doesn't work.

    &#xA;

    How can I solve this problem ?

    &#xA;

  • Error : Error : Cannot find module '@ffmpeg.wasm/core-mt' Require stack :

    30 septembre 2023, par James

    I'm getting this error "Error : Error : Cannot find module '@ffmpeg.wasm/core-mt', When my code is deployed on Vercel (Node.js + TypeScript) Does I get confused because when I try to run the same code on my local machine it works fine

    &#xA;

    But as I deploy it on Vercel it gives that error. Obviously, i do have "@ffmpeg.wasm/core-mt" installed as said in the package https://github.com/FFmpeg-wasm/FFmpeg.wasm#installation So how do I fix it ?

    &#xA;

    I'm currently using it like this

    &#xA;

    import { FFmpeg } from "@ffmpeg.wasm/main";&#xA;&#xA;async function myFunction() {&#xA;    const ffmpeg = await FFmpeg.create({&#xA;        core: "@ffmpeg.wasm/core-mt",&#xA;        log: true,&#xA;    });&#xA;}&#xA;

    &#xA;

    However, in the docs, i see doing like this

    &#xA;

      import { FFmpeg } from "@ffmpeg.wasm/main";&#xA;    &#xA;     const ffmpeg = await FFmpeg.create({&#xA;            core: "@ffmpeg.wasm/core-mt",&#xA;            log: true,&#xA;        });&#xA;&#xA;    async function myFunction() {&#xA;        // use ffmpeg here&#xA;    }&#xA;

    &#xA;

    But then i start getting errors like "top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."

    &#xA;

    I tried a couple of StackOverflow solutions but nothing works in my case. So what should I do ?

    &#xA;

    tsconfig.json :

    &#xA;

    {&#xA;    "compilerOptions": {&#xA;     "module": "CommonJS",&#xA;     "esModuleInterop": true,&#xA;      "allowSyntheticDefaultImports": true,&#xA;      "target": "es2017",&#xA;      "noImplicitAny": true,&#xA;      "moduleResolution": "node",&#xA;      "sourceMap": true,&#xA;      "outDir": "dist",&#xA;      "baseUrl": ".",&#xA;      "paths": {&#xA;        "*": ["node_modules/*", "src/types/*"]&#xA;      }&#xA;    },&#xA;    "include": ["./src/**/*", "src/firebase/serviceAccountKey.ts"]&#xA;  }&#xA;

    &#xA;