Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (75)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (10315)

  • Getting the "Invalid data found when processing input" error when I try to convert a raw pcm file to mp3 ?

    10 août 2023, par Jiron

    I tried to convert a file from pcm into mp3 with ffmpeg and the npm package fluent-ffmpeg. This is my code :

    


    const ffmpeg = require('fluent-ffmpeg');

function convert(input, output, callback) {
    ffmpeg(input)
        .output(output)
        .on('end', function() {                    
            console.log('conversion ended');
            callback(null);
        }).on('error', function(err){
           console.log('error: ' + err);
           callback(err);
        }).run();
   }

   convert('./test.pcm', './converted.mp3', function(err){
   if(!err) {
      console.log('conversion complete');
   }
});


    


    But every time I execute the script, I get this error :

    


    error: Error: ffmpeg exited with code 1: ./test.pcm: Invalid data found when processing input


    


    When I tired running :

    


    ffmpeg -f s16le -ar 48k -ac 2 -i test.pcm converted.mp3


    


    Everything worked though. Is there something wrong with the npm package ? Is there something I missed out or something I did wrong on my code ?

    


    Edit :

    


    My code works when I try to convert an mp3 to a wav file (for example). So it's only struggling with pcm files.

    


  • lsws/ppc/yuv2rgb_altivec : Fix build in non-VSX environments

    10 octobre 2020, par Chip Kerchner
    lsws/ppc/yuv2rgb_altivec : Fix build in non-VSX environments
    

    Add inline function for vec_xl if VSX is not supported. vec_xl intrinsic
    is only available on POWER 7 or higher.

    Fixes ticket #8750.

    Signed-off-by : Andriy Gelman <andriy.gelman@gmail.com>

    • [DH] libswscale/ppc/yuv2rgb_altivec.c
  • Ffmpeg speed processing time

    14 janvier 2021, par fedep11

    I have made this ffmpeg code but it is very slow to process. The backgroundvideo.mp4 is 4k but the final output is 960x540. Is ffmpeg processing the effects in 4k and than scale the video ? Should I write the script in other order or should I downscale the video and than apply the other filters ?

    &#xA;

    ffmpeg -t 00:00:09 -i "backgroundvideo.mp4" -i "photo.jpg" -i logo.png \&#xA;-filter_complex "[0]boxblur=20[video];[1][video]scale2ref=w=oh*mdar:h=ih/1.2[photo][video];\&#xA;[video][photo]overlay=(W-w)/2:(H-h)/2:format=auto[bg];\&#xA;[bg][2]overlay=0:0,subtitles=subtitle.ass:force_style=&#x27;WrapStyle=0,format=yuv420p" \&#xA;-i "audio.wav" -map 0:v:0 -map 3:a:0 -vcodec h264_nvenc \&#xA;-s 960x540 -shortest -r 25 -crf 17 -aspect 16/9 output.mp4&#xA;

    &#xA;

    thanks

    &#xA;