Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (22)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (5086)

  • How to catch stderr in a composite command ?

    12 février 2014, par Andrey Rikunov

    Say I have a linux command running from a java code :

    /bin/bash -c nice -n 8 ffmpeg {params of ffmpeg} & echo $! > ffmpeg.pid

    In java I want to catch stderr of ffmpeg :

    Process process = Runtime.getRuntime().exec(command);

    BufferedReader input = new BufferedReader(new InputStreamReader(process.getErrorStream()));
    while (...) {
       String ffmpegStdErrLine = input.readLine();
       ...
    }

    That's not about ffmpeg but how can I make sure I'm reading ffmpeg's StdErr ?

  • sting up ffmpeg to work in XAMPP

    1er juin 2012, par danny

    I'm trying to figuring out how to install and use ffmpeg on windows 64 with XAMPP.

    I have flow this tutorial and install the ffmpeg-php librarys and I can see the expansion in the phpinfo().

    Now I put my ffmpeg.exe in the site root folder and I run this php script :

    extension_loaded('ffmpeg') or die('Error in loading ffmpeg');

    function convertTo( $input, $output )
    {
    echo $cmd = "ffmpeg -i $input $output";
    $outputData = array();
    exec( $cmd , $outputData);
    echo "<br />";
    print_r($outputData);
    }

    convertTo( "input.mp4", "output.flv" );

    and I get this output :

    ffmpeg -i input.mp4 output.flv
    Array ( )

    but no encoded file.
    My php safe mode is off and the movie file is in the root folder too.

    workplace info :

    • win7 64bit
    • XAMPP 1.7.2
    • Apache 2.2
    • php 5.3.5

    Help will be appreciated.

  • Kdialog unable to cancel job with ffmpeg from progressbar , with other command it works :S

    2 janvier 2015, par user1088530

    i did a script to convert my stuff with ffmpeg

    it does :

    1 create progressbar with cancel button
    2 loop to convert files
    3 set the progress value

    it works fine but it doens’t stop ffmpeg when i click on cancel

    the strange thing is that when i use another program like echo it works like it should it seems a ffmpeg issue

    can onyone help me how to find out the trick ?

    listoffile="$HOME/ffmpeglist.lst"
    numberoffile=$(wc -l &lt;$listoffile)
    ffmpegpath="/usr/bin/ffmpeg"

       mystufvariabletouseonmyscript=$(kdialog --progressbar "hello this is a progress bar with 100 steps" 100) ;  sleep 2 ; qdbus $mystufvariabletouseonmyscript  showCancelButton true




       until test "true" = `qdbus  $mystufvariabletouseonmyscript wasCancelled` ; do

               while read line ; do
                   qdbus $mystufvariabletouseonmyscript org.kde.kdialog.ProgressDialog.setLabelText $"Starting Conversion...processing file $line"


                   $ffmpegpath -i   "$line"   "${line%%.*}.$mp3"


                   value=$(( $(($a*100))/$numberoffile ))
                   qdbus  $mystufvariabletouseonmyscript Set org.kde.kdialog.ProgressDialog value $value
                   a=$(($a+1))

                   done&lt; "$listoffile"

           done