Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (106)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

Sur d’autres sites (14535)

  • Javascript, method chaining, how to realize response in callback ?

    12 avril 2017, par CHBS

    Good afternoon, ladies and gentlemen.
    I write for myself a module on node js, I can not implement the save () function

    module.exports = function(filename, callback){
       this.callback = callback(require(filename));
       return {
           save: function() {
               console.log(this);
               //fs.writeFile(filename, 'Hello Node.js');
           }
       };
    }

    File('file.json', function(data){
       data['blablabla'] = 12345;
    }).save();

    How from a callback, to transfer the changed copy of a file in save (), and there already to save it through fs ?
    I’m interested in the implementation of the fluent-ffmpeg function save ()

    ffmpeg('/path/to/file.avi')
    .videoCodec('libx264')
    .audioCodec('libmp3lame')
    .size('320x240')
    .on('error', function(err) {
      console.log('An error occurred: ' + err.message);
    })
    .on('end', function() {
      console.log('Processing finished !');
    })
    .save('/path/to/output.mp4');

    And as well as implemented on() ?

    on('end'),  
    on('error'),  
    on('response'),

    I will be grateful for the information provided.

  • In method chaining, how to realize response in a JavaScript callback ?

    13 avril 2017, par CHBS

    I write for myself a module on node js, I can not implement the save() function

    module.exports = function(filename, callback){
       this.callback = callback(require(filename));
       return {
           save: function() {
               console.log(this);
               //fs.writeFile(filename, 'Hello Node.js');
           }
       };
    }

    File('file.json', function(data){
       data['blablabla'] = 12345;
    }).save();

    How from a callback, to transfer the changed copy of a file in save (), and there already to save it through fs ?
    I’m interested in the implementation of the fluent-ffmpeg function save ()

    ffmpeg('/path/to/file.avi')
    .videoCodec('libx264')
    .audioCodec('libmp3lame')
    .size('320x240')
    .on('error', function(err) {
      console.log('An error occurred: ' + err.message);
    })
    .on('end', function() {
      console.log('Processing finished !');
    })
    .save('/path/to/output.mp4');

    And as well as implemented on() ?

    on('end'),  
    on('error'),  
    on('response'),

    I will be grateful for the information provided.

  • movenc/isom : update vpcC box to version 1.0 of the specification

    21 avril 2017, par Hendrik Leppkes
    movenc/isom : update vpcC box to version 1.0 of the specification
    

    This brings our generation of the vpcC box up to date to version 1.0
    of the VP Codec ISO Media File Format Binding.

    Specifically, color/transfer properties are now written with values
    based on ISO/IEC 23001-8, which is the same reference specification the
    AVColor* enumerations are based on.

    • [DH] libavformat/movenc.c
    • [DH] libavformat/vpcc.c