Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (104)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (7044)

  • FFmpeg throws exception while process the commands

    4 juin 2014, par Arslan Ahmad

    I am executing commands through process but it always throw this error anyone help me ?

    FFMPEGCommand :

       String[] ffmpegCommand = {"/data/data/com.example.app/ffmpeg", "-r", ""+VIDEO_FRAME_RATE, "-b", "1000", "-vcodec", "mjpeg", "-i", Environment.getExternalStorageDirectory().getPath() + "/com.example.app/frame_%05d.jpg", Environment.getExternalStorageDirectory().getPath() + "/video.mov"};

       ffmpegProcess = new ProcessBuilder(ffmpegCommand).redirectErrorStream(true).start();            

    W/System.err(29844): java.io.IOException: Error running exec(). Command: [/data/data/com.example.app/ffmpeg, -r, 18, -b, 1000, -vcodec, mjpeg, -i, /storage/emulated/0/com.example.app/frame_%05d.jpg, /storage/emulated/0/video.mov] Working Directory: null Environment: [ANDROID_ROOT=/system, EMULATED_STORAGE_SOURCE=/mnt/shell/emulated, LOOP_MOUNTPOINT=/mnt/obb, EMULATED_STORAGE_TARGET=/storage/emulated, ANDROID_BOOTLOGO=1, LD_LIBRARY_PATH=/vendor/lib:/system/lib, EXTERNAL_STORAGE=/storage/emulated/legacy, ANDROID_SOCKET_zygote=11, ANDROID_DATA=/data, PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin, ANDROID_ASSETS=/system/app, ASEC_MOUNTPOINT=/mnt/asec, BOOTCLASSPATH=/system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar:/system/framework/oem-services.jar:/system/framework/qcmediaplayer.jar, ANDROID_PROPERTY_WORKSPACE=9,0, ANDROID_STORAGE=/storage]
    06-02 12:21:36.660: W/System.err(29844):    at java.lang.ProcessManager.exec(ProcessManager.java:211)
    06-02 12:21:36.660: W/System.err(29844):    at java.lang.ProcessBuilder.start(ProcessBuilder.java:195)
    06-02 12:21:36.662: W/System.err(29844):    at com.example.app.FFMPEGRecorderActivity$ProcessVideo.doInBackground(FFMPEGRecorderActivity.java:1448)
    06-02 12:21:36.662: W/System.err(29844):    at com.example.app.FFMPEGRecorderActivity$ProcessVideo.doInBackground(FFMPEGRecorderActivity.java:1)
    06-02 12:21:36.662: W/System.err(29844):    at android.os.AsyncTask$2.call(AsyncTask.java:288)
    06-02 12:21:36.663: W/System.err(29844):    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    06-02 12:21:36.663: W/System.err(29844):    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    06-02 12:21:36.663: W/System.err(29844):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    06-02 12:21:36.663: W/System.err(29844):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    06-02 12:21:36.663: W/System.err(29844):    at java.lang.Thread.run(Thread.java:841)
    06-02 12:21:36.664: W/System.err(29844): Caused by: java.io.IOException: No such file or directory
    06-02 12:21:36.665: W/System.err(29844):    at java.lang.ProcessManager.exec(Native Method)
    06-02 12:21:36.666: W/System.err(29844):    at java.lang.ProcessManager.exec(ProcessManager.java:209)
    06-02 12:21:36.667: W/System.err(29844):    ... 9 more
  • Transcode livestream on the fly and output to another server

    3 juillet 2014, par user2757842

    Currently I have my live stream transcoding and saving to a destination on my desktop, but what I would like is to transcode it and send it to another server.

    I create the outstream I would like my stream to go but it returns this error :

    events.js:72
           throw er; // Unhandled 'error' event
                 ^
    Error: ENOENT, open 'C:\Users\Jay\workspace\FFMPEGtest\http:\192.168.201.237\LiveSmoothStreaming.isml\Streams(video)'

    Any help would be appreciated

    Here is my code :

    var ffmpeg = require('./index.js');
    var fs = require('fs');

    var outStream = fs.createWriteStream('http://192.168.201.237/LiveSmoothStreaming.isml/Streams(video)');

    //set the path to the live stream
    var proc = new ffmpeg({ source: 'rtmp://localhost/livepkgr/livestream live=1', nolog: true, timeout: 432000, inputlive:true})

       //set video bitrate
       .withVideoBitrate(1024)

       //set h264 preset
       //.addOption('preset', 'superfast')

       //set target codec
       .withVideoCodec('libx264')

       //set audio bitrate
       .withAudioBitrate('128k')

       //set audio codec
       //.withAudioCodec('libfaac')

       //set number of audio channels
       .withAudioChannels(2)

       .toFormat('ismv')

       .on('error', function(err, stdout, stderr) {
           console.log("ffmpeg stdout:\n" + stdout);
           console.log("ffmpeg stderr:\n" + stderr);
       })

       .on('end', function() {
           console.log('file has been converted successfully');
       })

       .on('error', function(err){
           console.log('an error happened: ' + err.message);
       })

       .writeToStream(outStream, { end: true}); // <-- Where I would like my stream to go
       //save to file
       //.saveToFile('C:/Users/Jay/Documents/movie/liveStream.ismv');
  • Symfony PHP-FFMPEG (pulse00/ffmpeg-bundle) questions

    8 juillet 2014, par harisK92

    I installed pulse00/ffmpeg-bundle

    and set it up like in documentation

    dubture_f_fmpeg:
       ffmpeg_binary:  C:\FFMPEG\bin\ffmpeg
       ffprobe_binary: C:\FFMPEG\bin\ffprobe

    But I got errors

    Unable to load FFProbe

    ..\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php at line 50

       try {
      }       return static::load($binaries, $logger, $configuration);
      catch (BinaryDriverExecutableNotFound $e) {
           throw new ExecutableNotFoundException('Unable to load FFProbe', $e->getCode(), $e);
       }
    }

    When I add .exe

    dubture_f_fmpeg:
       ffmpeg_binary:  C:\FFMPEG\bin\ffmpeg.exe
       ffprobe_binary: C:\FFMPEG\bin\ffprobe.exe

      Unable to probe C:\Users\XXX\XXX\ProjectFolder\src\vendor\Bundle\Entity/../../../../web/uploads/videos/e4cbef010c42d819fd6c326011fb2434c4b43c68.mp4

    Code in my controller

    private  function getThumbnail(Video $videoObject)
       {
           $ffmpeg=$this->getFFMPEG();
           $video=$ffmpeg->open($videoObject->getAbsolutePath());
           $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
                 ->save($videoObject->getImagesUploadDir().'/'."image.jpg");

       }