Recherche avancée

Médias (91)

Autres articles (72)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • 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 (8823)

  • How to check if path exists in fluent-ffmpeg ?

    15 mars 2021, par Clebo Sevic

    How can i create a folder on a path in fluent Ffmpeg, if the path does not work ?

    


    const ffmpeg = require("fluent-ffmpeg");
const ffmpegInstaller = require("@ffmpeg-installer/ffmpeg");

var ffmpeg_MP4_as_video = function(inputPath, inputFile, inputFileType, outputPath) {
  var input = inputPath + inputFile + inputFileType;
  console.log(input);
  const output = outputPath + inputFile + ".m3u8";
  console.log(output);
  ffmpeg.setFfmpegPath(ffmpegInstaller.path);
  ffmpeg(input, { timeout: 432000 })
    .addOptions([
      "-profile:v baseline",
      "-level 3.0",
      "-start_number 0",
      "-hls_time 5",
      "-hls_list_size 0",
      "-f hls",
    ])
    .output(output)
    .on("end", () => {
      console.log("end");
      return;
    })
    .run();
};

ffmpeg_MP4_as_video("videos/mp4_to_mp4/", "forest_test", ".mp4", "videos/mp4_to_mp4/");


    


    Here i would like to see, that mp4_to_mp4/some_further_path gets created, if it does not exist ... is this accomplishable through fluent-ffmpeg ?

    


  • skvideo + ffmpeg : Can't set path to binaries

    9 août 2021, par fukiburi

    For some reason, setting the path to the ffmpeg binaries doesn't work completely.

    


    While it seems like this works like it should :

    


    import skvideo.io
import skvideo.datasets

ffmpeg_path = "C:/Users/xyz/ffmpeg-4.3.1-win64-static/bin/"
skvideo.setFFmpegPath(ffmpeg_path)
print("FFmpeg path: {}".format(skvideo.getFFmpegPath()))
print("FFmpeg version: {}".format(skvideo.getFFmpegVersion()))

>>> FFmpeg path: C:/Users/xyz/ffmpeg-4.3.1-win64-static/bin/
>>> FFmpeg version: b'4'.b'3'.b'1'


    


    Running these lines directly after does not :

    


    videodata = skvideo.io.vread(skvideo.datasets.bigbuckbunny())
print(videodata.shape)

[...]
>>> File "C:\Users\xyz\Anaconda3\envs\cv_env\lib\site-packages\skvideo\io\io.py", line 133, in vread
  assert _HAS_FFMPEG, "Cannot find installation of real FFmpeg (which comes with ffprobe)."
>>> AssertionError: Cannot find installation of real FFmpeg (which comes with ffprobe).


    


    Can't figure out, why it's not set correctly...

    


  • 'ffmpeg' not found ? relativ path ? install ffmpeg ?

    21 mars 2021, par AlpacaTheUnicorn

    I am making a Discord Music Bot. And to play music I need the following line.

    


    ctx.voice_client.play(discord.FFmpegPCMAudio(URL,executable="C:/Users/ ....../ffmpeg/bin/ffmpeg.exe" ,**FFMPEG_OPTIONS))


    


    The problem is the part with the path (executable="........").
It does work with an absolute path, but I want a relative path, so I can easily transport my program on a stick and give it to other people.

    


    So I tried something to do a relative path like "../ffmpeg/bin/ffmpeg.exe", but it did not work (I need to go one directory back and then to /ffmpeg/bin/ffmpeg.exe). I even moved ffmpeg.exe to the same directory and used the path "./ffmpeg.exe", but it didn't work too.

    


    *I dont know how to properly install ffmpeg either, I just did it somehow, but not I dont know how to do it on other devices.
Maybe anyone can help me with the path ?