Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (97)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9546)

  • QCamera switch input pin number

    14 décembre 2017, par Preonix

    I have chinese video grabber which should work with my program. It has 2 connection variants : S-VIDEO and COMPOSITE.

    In native program bundled with this hardware I can switch input source from s-video to composite and vice versa. But I need to do it in my programm and I’ve founded solution with the help of FFMPEG. Just switch pin_number and that’s it. No need to know driver API of hardware.

    Another problem is that I can not attach this library to my CMAKE project, and I just thought that Qt could has some "switch pin_number" aswell, but I cant find anything useful in qt-docs.

    Thanks for any advices and sorry for my english, cheers !

  • PHP-FFMpeg watermark not working

    30 août 2014, par user1017063

    I am trying to get PHP-FFMpeg to watermark a video but it is not working.

    I am working on Windows 7 , localhost Apache2 with the newest version of PHP.

    I installed PHP-FFMpeg from this source

    https://github.com/PHP-FFMpeg/PHP-FFMpeg/

    I installed the windows binaries and I set up a test run of the program with the example basic code

    $ffmpeg = FFMpeg\FFMpeg::create(array(
    'ffmpeg.binaries' => 'C:/ffmpeg/bin/ffmpeg.exe',
    'ffprobe.binaries' => 'C:/ffmpeg/bin/ffprobe.exe',
    'timeout' => 36000, // The timeout for the underlying process
    'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
    ));

    $video = $ffmpeg->open('video.mp4');
    $video
    ->filters()
    ->resize(new FFMpeg\Coordinate\Dimension(100, 100))
    ->synchronize();

    $video
    ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');

    The code works well and executes without any errors. So I assume that I’ve installed the program properly. So I try to add a watermark.

    $ffmpeg = FFMpeg\FFMpeg::create(array(
    'ffmpeg.binaries' => 'C:/ffmpeg/bin/ffmpeg.exe',
    'ffprobe.binaries' => 'C:/ffmpeg/bin/ffprobe.exe',
    'timeout' => 36000, // The timeout for the underlying process
    'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
    ));

    $coord = [ '10' , '10' ];
    $video = $ffmpeg->open('video.mp4');

    $video
    ->filters()
    ->watermark('watermark.png' , $coord )
    ->synchronize();

    $video
    ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');

    But I get the following error, an I am unsure what I am doing wrong.

    Any help you could could give would be much appreciated.

    Thanks.

    Fatal error: Uncaught exception 'Alchemy\BinaryDriver\Exception\ExecutionFailureException' with message 'ffprobe failed to execute command "C:/ffmpeg/bin/ffprobe.exe" "video.mp4" "-show_streams" "-print_format" "json"' in C:\Apache24\htdocs\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php:100 Stack trace: #0 C:\Apache24\htdocs\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php(72): Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure('"C:/ffmpeg/bin/...') #1 C:\Apache24\htdocs\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(209): Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process), Object(SplObjectStorage), false) #2 C:\Apache24\htdocs\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(137): Alchemy\BinaryDriver\AbstractBinary->run(Object(Symfony\Component\Process\Process), false, NULL) #3 C:\Apache24\htdocs\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php(241): Alchemy\BinaryDriver\AbstractBinary- in C:\Apache24\htdocs\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php on line 243
  • Symfony PHP-FFMPEG (pulse00/ffmpeg-bundle) doesn't work

    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");

       }