Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (24)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (2868)

  • How to wait until ffmpeg is finished with the conversion

    15 mai 2022, par ThePinkLyna

    Im going nuts with this. The situation is this. I have a picture, I convert that picture into something else using fluentffmpeg and then I want to edit that image then send it. The problem here is that I the conversion stops the script from continuing after is done. And also, the edit part needs to wait until the conversion is done and I don't know how to do that, because it seems that with fluentffmpeg the order of the code doesn't matter.
Here is the script

    


                        
                case 'sticker':
                    
                    
                        const encmedia = isQuotedImage ? JSON.parse(JSON.stringify(mek).replace('quotedM','m')).message.extendedTextMessage.contextInfo : mek
                        const media = await Bether.downloadAndSaveMediaMessage(encmedia)
                        
                        await ffmpeg(`./${media}`)
                            .input(media)
                            
                            .addOutputOptions([`-vcodec`,`libwebp`,`-vf`,`scale='min(320,iw)':min'(320,ih)':force_original_aspect_ratio=decrease,fps=15, pad=320:320:-1:-1:color=white@0.0, split [a][b]; [a] palettegen=reserve_transparent=on:transparency_color=ffffff [p]; [b][p] paletteuse`])
                            .toFormat('webp')
                            .save('./a.webp')
                            .on('start', function (cmd) {
                                console.log(`Started : ${cmd}`)
                            })
                            .on('error', function (err) {
                                console.log(`Error : ${err}`)
                                
                                reply(mess.error.stick)
                            }) 
                            
                            
                    
exec(`webpmux -set exif ./BetherMultiMedia/Marca.exif ./a.webp -o ./a.webp`)
ran = fs.readFileSync(`./a.webp`)
Bether.sendMessage(from, ran, sticker, {quoted: freply})
break


    


    On console I get the latter part first then the conversion, it doesn't make any sense. Help

    


  • File Conversion on server side using ffmpeg [on hold]

    6 février 2014, par user3217695

    The conversion of file from any format to mp4, following are some of the preferred formats
    file formats flv,webm,wmv,avi,m4v are the files which i am using, and i tried many of the codec with different ffmpeg linux version but failed. please do the needful help

    Thanks in advance

  • video conversion into different flavour like 144p,240p,360p

    21 janvier 2016, par Himanshu goyal

    can anybody tell me about the different video format conversion like 144p,240p,360p using fluent-ffmpeg and which standered of size is used in these format,videocodec,audiocodec ,aspect ration these thing.