Recherche avancée

Médias (0)

Mot : - Tags -/api

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (55)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (10258)

  • 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;

  • Why can't my python project find ffmpeg even though it's installed in the Python library ?

    20 octobre 2024, par Jieyu Zhang

    I am encountering an issue where my project cannot find ffmpeg, even though it is installed in the Python library. Here are the details :

    &#xA;

    When running the script, I get the following error message:&#xA;&#xA;D:\Python\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work&#xA;  warn("Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)&#xA;Additionally, I receive this error message when trying to prepare the dataset:&#xA;&#xA;&#xA;&#xA;from pydub import AudioSegment&#xA;import os&#xA;&#xA;&#xA;# Specify the path to ffmpeg&#xA;ffmpeg_path = "D:\\Python-code\\ffmpeg-master-latest-win64-gpl\\bin\\ffmpeg.exe"&#xA;AudioSegment.ffmpeg = ffmpeg_path&#xA;&#xA;def convert_flac_to_wav(flac_file, wav_file):&#xA;    sound = AudioSegment.from_file(flac_file, format="flac")&#xA;    sound.export(wav_file, format="wav")&#xA;&#xA;if __name__ == "__main__":&#xA;    # Get the current working directory&#xA;    current_dir = os.getcwd()&#xA;    print(f"Current directory: {current_dir}")&#xA;&#xA;    # Get the parent directory of the current working directory&#xA;    root_dir = os.path.dirname(current_dir)&#xA;    print(f"Root directory: {root_dir}")&#xA;&#xA;    # Construct the path&#xA;    voice_wavs = os.path.join(root_dir, &#x27;data&#x27;, &#x27;voice&#x27;, &#x27;wav&#x27;)&#xA;    print(f"Voice WAVs directory: {voice_wavs}")&#xA;&#xA;    # Ensure the directory exists&#xA;    if not os.path.exists(voice_wavs):&#xA;        os.makedirs(voice_wavs)&#xA;        print(f"Created directory: {voice_wavs}")&#xA;    else:&#xA;        print(f"Directory exists: {voice_wavs}")&#xA;&#xA;    # Get all .flac files&#xA;    # Ensure .flac files are located in the current working directory&#xA;    flac_files = [f for f in os.listdir(current_dir) if f.endswith(&#x27;.flac&#x27;)]&#xA;    print(f"FLAC files found: {flac_files}")&#xA;&#xA;    # Convert each .flac file&#xA;    for flac_file in flac_files:&#xA;        input_flac = os.path.join(current_dir, flac_file)&#xA;        output_wav = os.path.join(current_dir, flac_file.replace(&#x27;.flac&#x27;, &#x27;.wav&#x27;))&#xA;        convert_flac_to_wav(input_flac, output_wav)&#xA;&#xA;

    &#xA;

    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 ?

    &#xA;

  • Revision d30f6b3ef8 : rename README.webm -> README.libvpx matches the project name and doesn't share

    11 avril 2014, par James Zern

    Changed 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.libvpx

    matches the project name and doesn't share a media file extension

    Change-Id : I9ad6c0a180e36c41f8fc49120615a070ea792a30