Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (108)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (9597)

  • ffmpeg wav output length not correct or consistant

    3 avril 2013, par user2241026

    Trying to run a very simple command via php a exec() command. All my other commands are working fine except for a simple audio trim that I am trying to run.

    The user posts a file, and a start time (in mm:ss.xxx format). and ffmpeg is supposed to trim the file to 5 seconds after the start time. The problem is, some times it works, but other times the audio file is 6 or even 7 seconds long. I can't figure out the problem.

    Oh, I'm aware of the lack of sanitizing in the code right now.

    here is the PHP code

    //user entered number for example "01:30"
    //$newFilePath1 is the location of the file, no issue there
    $starttime = $_POST["starttime"];

    $makeWav1 = "ffmpeg -y -ss 00:".$starttime." -i \"$newFilePath1\" -acodec pcm_s16le -sample_rate 48000 -t 00:00:05.000 temp/audiocut1.wav";

    exec($makeWav1);

    Thank you for the help !!

  • checkasm/sw_range_convert : test all supported bit depths

    18 septembre 2024, par Ramiro Polla
    checkasm/sw_range_convert : test all supported bit depths
    

    This commit also reduces the number of times ff_sws_init_scale() gets
    called (only once per bit depth), and the number of times randomize_buffers()
    gets called (only if the function must be checked).

    Benchmarks are only performed on bit depths 8 and 16 (since they are
    different functions, and not only different constants).

    • [DH] tests/checkasm/sw_range_convert.c
  • FFmpeg no output on stdout

    30 novembre 2022, par RedyAu

    The problem is simple :

    



    


    When I run for example :

    


    print(Process.runSync('ipconfig', []).stdout)


    


    I get the expected output :

    


    
Windows IP Configuration


Unknown adapter Helyi kapcsolat:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
......


    



    


    But when I try to run ffmpeg, I get no output :

    


    print(Process.runSync('ffmpeg', []).stdout)


    


    


    What I'd expect in this case is to get the help output from ffmpeg.

    


    My guess is, ffmpeg has some kind of "different" way of interacting with stdout than most executables. What could be the problem ? I'm totally lost here.

    


    I need to read the stdout eventually to get the output of ffmpeg -list_devices true -f dshow -i dummy, which would list the available DirectShow devices.