Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (52)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (6560)

  • FFmpeg exit value = 4

    13 mai 2013, par Yuliya Tarasenko

    I try to run ffmpeg command on android devices. On some of them the code below works excellent and the video is created. But on some(e.g. motorola xoom) the exit value is 4. And while debugging on samsung galaxy s 2.3.3 it frozes up on process.waitFor() ;
    Could anyone help me please ? I can't understand what is wrong.

    public void execFfmpeg(){
       try {
           File resultFile = new File(mContext.getFilesDir() + "/ffmpeg");
           String[] command = null;
           command = new String[] {
               resultFile.getAbsolutePath(),
               "-shortest",
               "-i",
               audioPath,
               "-loop",
               "1",
               "-i",
               imagePath, "-acodec", "ac3", "-ab", "128k", "-vcodec",
               "mpeg4", videoFileName };


           if(command != null){
               Process process = Runtime.getRuntime().exec(command);
               process.waitFor();
               dumpStream(process.getInputStream());
               dumpStream(process.getErrorStream());
               mLogger.error("" + process.exitValue());

               if(process.exitValue() == 0){
               }
               }
           }
       } catch (IOException e) {
           e.printStackTrace();
       } catch (InterruptedException e) {
           e.printStackTrace();
       }
    }
  • rtl_fm piped to ffmpeg for udp stream

    4 novembre 2014, par user3936148

    rtl_fm piped to ffmpeg for udp stream

    Using Windows 7. I would like to pipe the rtl_fm standard out (pipe) to ffmpeg and udp stream it to an ip address. I have downloaded and installed rlt_sdr and other files and I have also installed sox. The console example given with the rtl_fm application using sox to play the radio station is below :

    rtl_fm -f 106500000 -M wbfm -s 200000 -r 48000 -l 0 -E deemp -g 50 - | play -r 48000 -t s16 -L -c 1 -

    This works great, using sox.

    Update :

    Below works with ffplay sounds ok not great..

    rtl_fm -f 106500000 -M wbfm -s 200000 -r 48000 -l 0 -E deemp -g 80- | ffplay -f s16le -ar 48000 -ac 1 -

    I would like to use ffmpeg instead, below is a non working example (just to give you an idea)

    rtl_fm -f 106500000 -M wbfm -s 200000 -r 48000 -l 0 -E deemp -g 50 - | ffmpeg -i - -f s16le -ar 48000 -ac 1 -acodec libmp3lame -ab 24k -ar 22050 -f mpegts udp ://192.168.1.196:1234 -

    useful links :

    http://kmkeen.com/rtl-demod-guide/

    http://sdr.osmocom.org/trac/wiki/rtl-sdr

    Thank you for your help

  • VBR header created for CBR encoded mp3 when using ffmpeg with lame codec ?

    7 novembre 2012, par user784637

    When I run this command to perform a lossy-to-lossy transcode from a youtube video (audio encoded in either aac or vorbis) to mp3 at constant bit rate (cbr)..

    ffmpeg -y -i input.vid -vn -acodec libmp3lame -ab 128K -- output.mp3

    the resulting file has a Xing header (intended to be associated with variable bit rate, vbr, files) instead of CBR header. I do not know if this is an issue with ffmpeg or with the lame codec. How do I force a CBR header to be written instead of the Xing Header ?

    The reason I ask is because on some old software, the song loops perpetually and on older firmware of some mp3 players the song will cause the player to crash due to the header discrepancy.

    If it's not possible to force a CBR header to written, are there any linux command line tools that can change this header ? The only linux cli program I found was mp3val, however when I run the -f option it reports the file is just fine and dandy.