Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (62)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Les images

    15 mai 2013
  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (6088)

  • Issues with fluent-ffmpeg plugin in angular-cli project

    8 août 2018, par Esco

    I’have installed ’fluent-ffmpeg’ plugin in my project and I’m including it in the following way in my component.ts file

    declare var require;
    var ffmpeg = require('fluent-ffmpeg');

    I’m getting the following issues while building using ng serve

    ERROR in ./node_modules/fluent-ffmpeg/index.js
    Module not found: Error: Can't resolve './lib-cov/fluent-ffmpeg' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg'
    ERROR in ./node_modules/fluent-ffmpeg/lib/ffprobe.js
    Module not found: Error: Can't resolve 'child_process' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/utils.js
    Module not found: Error: Can't resolve 'child_process' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/processor.js
    Module not found: Error: Can't resolve 'child_process' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/recipes.js
    Module not found: Error: Can't resolve 'fs' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/capabilities.js
    Module not found: Error: Can't resolve 'fs' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/processor.js
    Module not found: Error: Can't resolve 'fs' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/isexe/windows.js
    Module not found: Error: Can't resolve 'fs' in '/home/projects/angular/demo/node_modules/isexe'
    ERROR in ./node_modules/isexe/mode.js
    Module not found: Error: Can't resolve 'fs' in '/home/projects/angular/demo/node_modules/isexe'
    ERROR in ./node_modules/isexe/index.js
    Module not found: Error: Can't resolve 'fs' in '/home/projects/angular/demo/node_modules/isexe'
    ERROR in ./node_modules/fluent-ffmpeg/lib/utils.js
    Module not found: Error: Can't resolve 'os' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js
    Module not found: Error: Can't resolve 'path' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/processor.js
    Module not found: Error: Can't resolve 'path' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/recipes.js
    Module not found: Error: Can't resolve 'path' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/capabilities.js
    Module not found: Error: Can't resolve 'path' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ERROR in ./node_modules/fluent-ffmpeg/lib/options/misc.js
    Module not found: Error: Can't resolve 'path' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib/options'
    ERROR in ./node_modules/which/which.js
    Module not found: Error: Can't resolve 'path' in '/home/projects/angular/demo/node_modules/which'
    ERROR in ./node_modules/fluent-ffmpeg/lib/recipes.js
    Module not found: Error: Can't resolve 'stream' in '/home/projects/angular/demo/node_modules/fluent-ffmpeg/lib'
    ℹ 「wdm」: Failed to compile.

    Can somebody help me in resolving this ?

  • website performance issues when using ffmpeg on separate server

    10 décembre 2018, par Rich

    I am currently working on a site that uses wordpress and ffmpeg. I have it setup so that I have 3 servers - main, database, ffmpeg. So far I have it all working, however I am still running into issues when I am trying to encode a video.

    Whenever I start encoding a video, if I try opening any other links in a new tab, it gets stuck on loading until ffmpeg is done. I dont understand why, since im using multiple servers.

    My specs for my servers —

    Main (web server) - 4 vCPUs / 8GB RAM / 160GB Disk

    Database server - 2 vCPUs / 4GB RAM / 80GB Disk

    Ffmpeg server - 8 vCPUs / 32GB / 640GB Disk

    They are all in the same region as well, and I have private IPs as public for them. Public IPs uses IPv4.

    On my template page I have a form that the users fills out and uploads images, then using ajax it sends the info to my ffmpeg functions in my functions.php file.

    Images are uploaded to the main server and then on that server in my functions.php file I use ssh2 to login to the ffmpeg server and run different commands, for example —

    $server   = "FFMPEG SERVER IP"; // server IP/hostname of the SSH server
    $username = "user"; // username for the user you are connecting as on the SSH server
    $password = "pass"; // password for the user you are connecting as on the SSH server
    // Establish a connection to the SSH Server. Port is the second param.
    $connection = ssh2_connect($server, 22);
    // Authenticate with the SSH server
    ssh2_auth_password($connection, $username, $password);
    $sftp = ssh2_sftp($connection);
    ssh2_sftp_mkdir($sftp, $thepathw);

    $command = '/usr/local/bin/ffmpeg -threads 1 -i '.$thepath .'/audio.mp3 -safe 0 -f concat -i '.$thepath.'/paths.txt -vf "scale=1280:720,setsar=1" -pix_fmt yuv420p -c:a aac -af "volume=-5dB" -c:v libx264 -movflags +faststart '.$fixedtime.' -y '.$output.' 2>&1';

    // Execute a command on the connected server and capture the response
    $stream = ssh2_exec($connection, $command);
    // Sets blocking mode on the stream
    stream_set_blocking($stream, true);
    // Get the response of the executed command in a human readable form
    $output1 = stream_get_contents($stream);
    // echo output
    echo $output1;

    The video file that is created is then saved to the ffmpeg server.

    This all works as should and Im able to create videos, but the rest of the site doesnt seem to respond/load until ffmpeg is done. This is a big problem since I plan on having multiple users at once on the site.

    So how can I improve this setup so that the ffmpeg server doesnt slow down the main server, and multiple users can safely use the site ?

    Im also open to the idea of getting another server to upload my images to, instead of on the main. Im not sure if that would help though cause it seems like a lot of pulling/sending data between multiple sources/IPs may slow down the response time.

    Any suggestions is appreciated, thanks.

  • Révision 21631 : Timestamp systematique sur les images issues des filtres images (perf issue, per...

    18 octobre 2014, par cedric -