Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (67)

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

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (9109)

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

    


  • FFMPEG Converted MP3 file shows error "MPEG header 30 is missing"

    19 mars 2021, par Any Reservation

    I am using FFMPEG to convert all kind of media files to mp3. Files are being Converted Perfectly.
But files give error MPEG HEADER 30 is missing at 31576bytes. In All converted files I see this. And On Some MP3 Players, It do not play.

    


    Here is my conversion Command what i use

    


    $bitrate = '128k';    
$command = "ffmpeg -i /home/musicupl/public_html/musicuploads/SavetoAccount/abc.mp4 -ar 44100  -ac 2 -b:a ".$bitrate." -acodec libmp3lame /home/musicupl/public_html/musicuploads/SavetoAccount/Output.mp3;


    


    Is there any more tag to add MPEG Headers during the conversion. I have researched on this and found the -acodec libmp3lame but still same issue.

    


    Is there any other way or attribute to add in command line.

    


  • ffmpeg python " maximum recursion depth exceeded while calling a Python object " error

    23 mars 2021, par Leo29 Max

    ive been trying to fix this for a while now.
I have gotten ffmpeg to work in the past, but this script simply will not.

    


    import tkinter.filedialog as filedialog
import soundfile as sf
import math    

yeah = filedialog.askopenfilename(initialdir = "/",title = "select wav file")
f = sf.SoundFile(yeah)
length = len(f) / f.samplerate
stream = ffmpeg.input(yeah)
first = stream.audio.filter('atrim',start=0,end=0.1)
for i in range(1, math.floor(length*10)):
    if i%2 == 1:
        first = first.concat(stream.audio.filter('atrim',start=0.1+(i/10),end=(0.2+(i/10))))
    else:
        first = first.concat(stream.audio.filter('atrim',start=(i/10)-0.1,end=(i/10)))
out = ffmpeg.output(first, "output2.wav")
ffmpeg.run_async(out)


    


    Any help is appreciated, thanks !