Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (20)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (3553)

  • FFmpegRecorder for recording Android videos from Camera

    28 novembre 2013, par Chirry
    1. I have seen the FFmpegRecorder class from FFMpeg in some files related to openCV for recording videos, specifically in FFmpegFrameRecorder class from OpenCV. How can I use this class or a similar one without using openCV ?

      As far as I have read, when you make an App using openCV, the final user will have to download some libs into his device and that is why I don't want to use OpenCV.

    2. If there is a way to make an App using openCV in which the final user don't have to download anything I would like to know it.

  • spawn ENOENT error when trying to convert to mp3

    14 août 2021, par seriously

    I was trying to make a youtube video to mp3 converter using an npm package called youtube-mp3-downloader the npm documentation says I have to download FFmpeg inorder for the program to run so I did download the FFmpeg windows build. And then I added the FFmpeg binary path to the code in order to run the program and get the expected output which is the mp3 file saved to a specified location and the output data but every time I run the program I get the error spawn ../client/ffmpeg-4.4-full_build/bin ENOENT. When I research about the error I came accross that I have to install the ffmpeg and the fluent-ffmpeg dependencies to my node module and so I did but the error is still there. What am I doing wrong ? Any help is appreciated. Feel free to comment if you have any questions. Thanks in advance.

    


    

    

    var YoutubeMp3Downloader = require("youtube-mp3-downloader");

//Configure YoutubeMp3Downloader with your settings
var YD = new YoutubeMp3Downloader({
  // FFmpeg binary location *Where the error is arising
  "ffmpegPath": "../client/ffmpeg-4.4-full_build/bin",
  // Output file location (default: the home directory)
  "outputPath": "../client/audio",
  // Desired video quality (default: highestaudio)
  "youtubeVideoQuality": "highestaudio",
  "queueParallelism": 2, // Download parallelism (default: 1)
  // Interval in ms for the progress reports (default: 1000)
  "progressTimeout": 2000,
  "allowWebm": false // Enable download from WebM sources (default: false)
});

//Download video and save as MP3 file
YD.download("Vhd6Kc4TZls");

YD.on("finished", function(err, data) {
  console.log(JSON.stringify(data));
});

YD.on("error", function(error) {
  console.log(error);
});

YD.on("progress", function(progress) {
  console.log(JSON.stringify(progress));
});

    


    


    



  • Read Output in Batch

    29 septembre 2016, par arielbeje

    I am using this code to try and download a video+subtitles using youtube-dl and then combine them using ffmpeg.

    I am trying to set the video/subtitle output to title.extension instead of the regular title id.extesion, but to do that youtube-dl has a command that outputs it like an echo command, so I need to read it.

    @echo off
    echo Write a link and press enter
    set /p link=
    cls

    youtube-dl.exe -u myusername -p mypassword --skip-download --sub-lang enUS --sub-format "ass" --output "%(uploader)s%(title)s.%(ext)s" "%link%"
    youtube-dl.exe -u myusername -p mypassword -f worst --ffmpeg-location "%cd%\ffmpeg.exe" --hls-prefer-ffmpeg --console-title --output "%(uploader)s%(title)s.%(ext)s" "%link%"

    youtube-dl.exe -u myusername -p mypassword --skip-download --get-title "%link%" > title.txt
    for /f "delims=" %%x in (title.txt) do set title=%%x
    ffmpeg.exe -i "%cd%\%title%.flv" -vf "ass=%cd%\%title%.ass" "%cd%\%title%.mkv"
    pause