Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (81)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (10442)

  • avcodec/v4l2_context : Finish draining if V4L2_BUF_FLAG_LAST is set

    10 mai 2020, par Andriy Gelman
    avcodec/v4l2_context : Finish draining if V4L2_BUF_FLAG_LAST is set
    

    V4L2 api can indicate that flushing of the capture buffers is completed
    by setting the V4L2_BUF_FLAG_LAST flag.
    Use guards because the flag was only defined in Linux v4.2.

    Reference :
    linux/Documentation/media/uapi/v4l/dev-decoder.rst

    "The client must continue to handle both queues independently,
    similarly to normal decode operation. This includes :
    ...
    - queuing and dequeuing CAPTURE buffers, until a buffer marked with
    the V4L2_BUF_FLAG_LAST flag is dequeued"

    Reviewed-by : Ming Qian <ming.qian@nxp.com>
    Signed-off-by : Andriy Gelman <andriy.gelman@gmail.com>

    • [DH] libavcodec/v4l2_context.c
  • Some Java Process objects finish and close, but some finish and stall

    28 mars 2020, par brendanw36

    My program uses ProcessBuilder to make various calls to ffmpeg. My problem is that with certain commands I can create a Process, have it run, and when it is done it will terminate/exit/close itself and the program will end whereas other commands will run and create a finished output (in my case it will finish encoding a file with no corruption or anything at the end of the video), but won’t close at which point I need to force terminate the program. I have tested the ffmpeg commands that I am running in Windows Command Prompt and they all run fine without need for user input or anything. I will show some examples of commands that do and don’t work, but ultimately what I need is a way to tell why certain Processes do and don’t work. You probably don’t even need to read the rest of this post if you know the inner workings of the Process class better than I do.

    How I create my processes :

    ProcessBuilder pb = new ProcessBuilder(commandGoesHere);
    Process p = pb.start();
    p.waitFor();

    Works :
    ffmpeg -i test.y4m -f segment -segment_times timecodeList .temp/sgmnt_%d.y4m

    This command takes a y4m(raw video format/large file size/1.7 GB for 53s of 720p video) and cuts it in to chunks.

    Doesn’t work (sometimes) :
    ffmpeg -i chunkname.y4m outputName.mkv

    This command takes the chunked video and encodes it as h.264/AVC video. When I create a process with this command it only works if the chunk is small in which case the Process will start, do its work, and close.

    Doesn’t work ever :
    ffmpeg -i test.mkv -c:v copy -f segment -segment_times timecodeList .temp/sgmnt_%d.mkv

    This command takes and h.264/AVC input video and cut it in to chunks, but this one doesn’t terminate/exit/close when it’s done. I’m forced to terminate the program which I do after seeing the Process’s CPU utilization drop to 0% in Task Manager. When I force terminate the program and check the output folder, all the chunks are there and not corrupted so I know it finished running successfully.

  • php-ffmpeg installation on apache2

    17 février 2020, par BN83

    Trying to run PHP-FFMPEG and after install via composer I’m currently getting this.

    PHP Fatal error : Uncaught
    Alchemy\BinaryDriver\Exception\ExecutableNotFoundException :
    Executable not found, proposed : avprobe, ffprobe in
    /var/www/html/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php:159\nStack
    trace :\n#0
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php(48) :
    Alchemy\BinaryDriver\AbstractBinary::load(Array, NULL,
    Object(Alchemy\BinaryDriver\Configuration))\n#1
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFProbe.php(226) :
    FFMpeg\Driver\FFProbeDriver::create(Object(Alchemy\BinaryDriver\Configuration),
    NULL)\n#2
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFMpeg.php(117) :
    FFMpeg\FFProbe::create(Array, NULL,
    Object(Doctrine\Common\Cache\ArrayCache))\n#3
    /var/www/html/starapp/test.php(4) : FFMpeg\FFMpeg::create()\n#4
    main\n\nNext FFMpeg\Exception\ExecutableNotFoundException : Unable
    to load FFProbe in
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php:50\nStack
    trace :\n#0 /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMp in
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php
    on line 50

    Some people have suggested running the following :

    $ffmpeg = FFMpeg\FFMpeg::create([
       'ffmpeg.binaries' => 'usr/bin/ffmpeg',
       'ffprobe.binaries' => 'usr/bin/ffprobe',
       'timeout' => 3600, 'ffmpeg.threads' => 12
    ]);

    However I have no ffmpeg/ffprobe files in usr/bin and can’t seem to find them anywhere.

    EDIT :

    FFMpeg is installed. I rebooted the server and restarted apache2 and now the files are visible. Getting this now :

    PHP Fatal error : Uncaught
    Alchemy\BinaryDriver\Exception\ExecutableNotFoundException :
    Executable not found, proposed : usr/bin/ffprobe in
    /var/www/html/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php:159\nStack
    trace :\n#0
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php(48) :
    Alchemy\BinaryDriver\AbstractBinary::load(Array, NULL,
    Object(Alchemy\BinaryDriver\Configuration))\n#1
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFProbe.php(226) :
    FFMpeg\Driver\FFProbeDriver::create(Object(Alchemy\BinaryDriver\Configuration),
    NULL)\n#2
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFMpeg.php(117) :
    FFMpeg\FFProbe::create(Array, NULL,
    Object(Doctrine\Common\Cache\ArrayCache))\n#3
    /var/www/html/starapp/test.php(11) : FFMpeg\FFMpeg::create(Array,
    NULL)\n#4 main\n\nNext
    FFMpeg\Exception\ExecutableNotFoundException : Unable to load FFProbe
    in
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php:50\nStack
    trace :\n#0 /var/www/html/vendor/php-ffmpeg/php-ffmp in
    /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php
    on line 50