
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (74)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Les statuts des instances de mutualisation
13 mars 2010, parPour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)
Sur d’autres sites (7557)
-
No module named 'skvideo.io.ffmpeg' in the project
12 juillet 2024, par kyoboEven 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**
Requirement already satisfied: scikit-video in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (1.1.11)
Requirement already satisfied: scipy in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (from scikit-video) (1.8.1)
Requirement already satisfied: pillow in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (from scikit-video) (9.2.0)
Requirement already satisfied: numpy in /home/huishi/anaconda3/envs/sdb/python3.8/site-packages (from scikit-video) (1.23.0)
(sd) huishi@huishi:~/workspace/projectsideo_python$ **sudo apt-get install ffmpeg**
正在读取软件包列表... 完成
正在分析软件包的依赖关系树 
正在读取状态信息... 完成 
ffmpeg 已经是最新版 (7:3.4.11-0ubuntu0.1)。
下列软件包是自动安装的并且现在不需要了:
 docker-scan-plugin gir1.2-goa-1.0 gir1.2-snapd-1
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 20 个软件包未被升级。
(sd) huishi@huishi:~/workspace/projectsideo_python$ python RabbitMqUtils.py 
The license has expired.
/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.
 tr_configs = yaml.load(f)
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
/home/huishi/anaconda3/envs/sdb/python3.8/site-packages/skvideo/__init__.py:306: UserWarning: ffmpeg/ffprobe not found in path: /usr/local/bin
 warnings.warn("ffmpeg/ffprobe not found in path: " + str(path), UserWarning)
Traceback (most recent call last):
 File "RabbitMqUtils.py", line 17, in <module>
 from video_postprocess import post_Process
 File "/home/huishi/workspace/projectsideo_pythonideo_postprocess/post_Process.py", line 12, in <module>
 import skvideo.io
 File "/home/huishi/anaconda3/envs/sdb/python3.8/site-packages/skvideo/io/__init__.py", line 8, in <module>
 from .ffmpeg import *
ModuleNotFoundError: **No module named 'skvideo.io.ffmpeg'**
(sd) huishi@huishi:~/workspace/projectsideo_python$
</module></module></module>


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


How can I solve this problem ?


-
Error : Error : Cannot find module '@ffmpeg.wasm/core-mt' Require stack :
30 septembre 2023, par JamesI'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


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 ?


I'm currently using it like this


import { FFmpeg } from "@ffmpeg.wasm/main";

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



However, in the docs, i see doing like this


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

 async function myFunction() {
 // use ffmpeg here
 }



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."


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


tsconfig.json :


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



-
Stuck in installing a voicecloner via Python (module not found)
25 novembre 2023, par WimmahI use Python 3.11.5


As a great Python n00b I enter this forum because I'm stuck with installing a Voice Cloner (for personal use to do a funny trick for X-mas with my family) Its this tool that i'm trying to install : https://github.com/CorentinJ/Real-Time-Voice-Cloning


With a little help of chatGTP I came quite far but for some reason the downloaded datasets cant be found. Instructions of the tool state :


Install intructions form Github
So my tree looks like this :


(base) willem@willems-air Voice cloner % tree
.
├── demo_cli.py
├── demo_toolbox.py
├── encoder_preprocess.py
├── encoder_train.py
├── saved_models
│   └── default
│   ├── encoder.pt
│   ├── synthesizer.pt
│   └── vocoder.pt
├── synthesizer_preprocess_audio.py
├── synthesizer_preprocess_embeds.py
├── synthesizer_train.py
└── vocoder_train.py

3 directories, 11 files



However, when I give the command to execute the demo, I get the message that a needed module cant be found :


(base) willem@willems-air Voice cloner % python demo_cli.py
Traceback (most recent call last):
 File "/Users/willem/Desktop/Voice cloner/demo_cli.py", line 10, in <module>
 from encoder import inference as encoder
ModuleNotFoundError: No module named 'encoder'
</module>


I build a tree that (for me) looks inline with the installation instructions...(And of course i downloaded the modules without any errors)
Here also the first lines of the command demo_cli.py where you also see the path :


import argparse
import os
from pathlib import Path

import librosa
import numpy as np
import soundfile as sf
import torch

from encoder import inference as encoder
from encoder.params_model import model_embedding_size as speaker_embedding_size
from synthesizer.inference import Synthesizer
from utils.argutils import print_args
from utils.default_models import ensure_default_models
from vocoder import inference as vocoder


if __name__ == '__main__':
 parser = argparse.ArgumentParser(
 formatter_class=argparse.ArgumentDefaultsHelpFormatter
 )
 parser.add_argument("-e", "--enc_model_fpath", type=Path,
 default="saved_models/default/encoder.pt",



I think i missed out a quite basic step here, but this far ChatGTP is looping and cant help any more, so I need a human tip i guess ;)


Thx in advance !