
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (72)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (8159)
-
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 ?


-
Why can't my python project find ffmpeg even though it's installed in the Python library ?
20 octobre 2024, par Jieyu ZhangI am encountering an issue where my project cannot find ffmpeg, even though it is installed in the Python library. Here are the details :


When running the script, I get the following error message:

D:\Python\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
 warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Additionally, I receive this error message when trying to prepare the dataset:



from pydub import AudioSegment
import os


# Specify the path to ffmpeg
ffmpeg_path = "D:\\Python-code\\ffmpeg-master-latest-win64-gpl\\bin\\ffmpeg.exe"
AudioSegment.ffmpeg = ffmpeg_path

def convert_flac_to_wav(flac_file, wav_file):
 sound = AudioSegment.from_file(flac_file, format="flac")
 sound.export(wav_file, format="wav")

if __name__ == "__main__":
 # Get the current working directory
 current_dir = os.getcwd()
 print(f"Current directory: {current_dir}")

 # Get the parent directory of the current working directory
 root_dir = os.path.dirname(current_dir)
 print(f"Root directory: {root_dir}")

 # Construct the path
 voice_wavs = os.path.join(root_dir, 'data', 'voice', 'wav')
 print(f"Voice WAVs directory: {voice_wavs}")

 # Ensure the directory exists
 if not os.path.exists(voice_wavs):
 os.makedirs(voice_wavs)
 print(f"Created directory: {voice_wavs}")
 else:
 print(f"Directory exists: {voice_wavs}")

 # Get all .flac files
 # Ensure .flac files are located in the current working directory
 flac_files = [f for f in os.listdir(current_dir) if f.endswith('.flac')]
 print(f"FLAC files found: {flac_files}")

 # Convert each .flac file
 for flac_file in flac_files:
 input_flac = os.path.join(current_dir, flac_file)
 output_wav = os.path.join(current_dir, flac_file.replace('.flac', '.wav'))
 convert_flac_to_wav(input_flac, output_wav)




Despite these steps, the project continues to report that ffmpeg cannot be found. Could someone help me identify what might be causing this issue and how to resolve it ?


-
Revision d30f6b3ef8 : rename README.webm -> README.libvpx matches the project name and doesn't share
11 avril 2014, par James ZernChanged Paths :
Add /third_party/googletest/README.libvpx
(from /third_party/googletest/README.webm
:dc89e9b0b6a668ca4082e20463eb767f655b6909)
Delete /third_party/googletest/README.webm
Add /third_party/libwebm/README.libvpx
(from /third_party/libwebm/README.webm
:dc89e9b0b6a668ca4082e20463eb767f655b6909)
Delete /third_party/libwebm/README.webm
Add /third_party/libyuv/README.libvpx
(from /third_party/libyuv/README.webm
:dc89e9b0b6a668ca4082e20463eb767f655b6909)
Delete /third_party/libyuv/README.webm
Add /third_party/nestegg/README.libvpx
(from /third_party/nestegg/README.webm
:dc89e9b0b6a668ca4082e20463eb767f655b6909)
Delete /third_party/nestegg/README.webm
Add /third_party/x86inc/README.libvpx
(from /third_party/x86inc/README.webm
:dc89e9b0b6a668ca4082e20463eb767f655b6909)
Delete /third_party/x86inc/README.webm
rename README.webm -> README.libvpxmatches the project name and doesn't share a media file extension
Change-Id : I9ad6c0a180e36c41f8fc49120615a070ea792a30