Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (13)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (3114)

  • Syntax error : "(" unexpected — with !(*.sh) in bash script [duplicate]

    25 janvier 2023, par Jmv Jmv

    I want to run a sh file :

    



    #!/bin/bash
for f in !(*.sh); do
    ffmpeg -i "$f" -vf yadif=0:-1 -threads 0 -c:v libx264 -pix_fmt yuv420p \
        -r 29.97 -b:v 3000k -s 1280x720 -preset:v slow -profile:v Main \
        -level 3.1 -bf 2 -movflags faststart /mnt/media/out-mp4/"${f%.mxf}.mp4"
    rm $f
done


    



    However, I get the following error :

    



    2: task1.sh: Syntax error: "(" unexpected


    



    If I try directly on the command line it works perfectly.

    



    


    the path and permissions are already reviewed

    


    



    Any idea what might be happening ?

    


  • NReco Error : "The specified executable is not a valid application for this OS platform"

    18 juillet 2018, par swabygw

    I’m using the NReco to convert videos. I declare the converter like the following, and add a handler to ConvertProgress.

    Dim vid_Convert As New FFMpegConverter
    AddHandler vid_Convert.ConvertProgress, Sub(sender, e) vidConvertProgress(folder,fname,fext,fverdest,fint,fcount,fhost,e)
    vid_Convert.ConvertMedia(file_temp, Nothing, file_dest, "mp4", cSettings)

    The media is converted fine. The problem is in the handler where I declare a new converter and have it do a GetVideoThumbnail (when the prior conversion is completed), like this :

    Dim vid_Extract As New FFMpegConverter
    vid_Extract.GetVideoThumbnail(inputFile, outputFile, extractposition)

    This produces the error "The specified executable is not a valid application for this OS platform". However, I’ve executed the GetVideoThumbnail method by itself elsewhere in my program with no problem. For some reason, it won’t work if it’s executed within the handler. Is there a way around this ?

  • "Error : FFMPEG not found" : Error with simple Discord Bot

    23 décembre 2019, par Robin Seerig

    I’m using Windows (64-bit) with Node.js and npm installed.
    In my project file, I have run the following commands :

    npm init
    npm install discord.js --save
    npm install ffmpeg --save

    Now i just created the code for a basic bot here is the main code.
    I list here the important :

    if (message.content === '!play' && message.member.roles.has(message.guild.roles.find("name", config.role_name).id)) {
       if (!message.member.voiceChannel) return log("?");
          message.member.voiceChannel.join().then(function (connection){      
          });
    }

    Then, in Discord, I say the following :

    [1517932146]  Musik bot loaded
       (node:35760) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: FFMPEG not found

    I have already tested the following :

    • reinstallation of everything
    • others of the require names e.t.z.
    • simplify the code

    So if you have any ideas then let me know.

    Solution

    npm i ffmpeg-binaries@3.2.2-3

    link