Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (67)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (12429)

  • python : video-splitter- [WinError 2] The system cannot find the file specified

    20 novembre 2018, par Bruce

    I am trying to run this script called.
    video-splitter. However, when I try to run the script, I get the following error :

    Exception occured running main():
    [WinError 2] The system cannot find the file specified

    This is the command I ran :

    python ffmpeg-split.py -f big_video_file.mp4  -s 10

    From the documentation

    This splits big_video_file.mp4 into chunks, and the size of chunk is 10 seconds. Each chunk will be suffixed with numeric index, for example big_video_file-0.mp4, big_video_file-1.mp4, etc.
  • pydub unable to find the selected files

    4 février 2021, par big_Z_0909

    my code is as below

    


    import pydub
from pathlib import Path
import os, sys

pydub.AudioSegment.converter = r"D\\Anaconda3\\Scripts\\ffmpeg-2021-02-02-git-2367affc2c-essentials_build\\bin\\ffmpeg.exe"
pydub.AudioSegment.ffprobe = r"D\\Anaconda3\\Scripts\\ffmpeg-2021-02-02-git-2367affc2c-essentials_build\\bin\\ffprobe.exe"

my_file = "D:\\Anaconda3\\Scripts\\outcall\\luyinwenjian\\20210203.mp3"
song = pydub.AudioSegment.from_mp3(my_file)


    


    i downloaded the essential windows eddition of ffmpeg from the official website. i still cannot load the mp3 file from the document, got the FileNotFoundError : [WinError 2]. In the warning, it said that it could find ffprobe and ffmpeg, but in fact the path is correct in the code. Does anyone point out what exactly i went wrong here ?

    


  • ffmpeg : Unable to find a suitable output format, libfaac

    29 juin 2013, par StackOverflowNewbie

    I just downloaded "FFmpeg git-070b0e1 32-bit Static (Latest)" from http://ffmpeg.zeranoe.com/builds/. I extracted the files on my Vista machine and then updated my PATH to point to presets and bin folders.

    The first command I ran was this :

    ffmpeg -i C:/a.avi  -vcodec libtheora  -qscale 6  -acodec libvorbis  -ab 128k  -vf scale="480:-1"   C:/a.ogv

    I got this error :

    Please use -q:a or -q:v, -qscale is ambiguous
    [NULL @ 0200F800] Unable to find a suitable output format for 'C:/a.ogv''
    C:/a.ogv': Invalid argument

    The second command I ran was this :

    ffmpeg -i C:/a.avi  -vcodec libx264  -preset slow  -profile main  -crf 20  -acodec libfaac  -ab 128k  -vf scale="480:-1"   C:/a.mp4

    I got this error : Unknown encoder 'libfaac'

    Questions :

    1. I'm trying to convert an input video (I don't know what the MIME type is) and output it as ogv and mp4 so I can play it on a website. Of course, I'm looking for highest possible quality at the lowest possible file size. I've pieced my commands from what I can find on the net. Am I on the right track ? What can I do to improve ?

      1. Any ideas how to address the errors I'm getting ?