Recherche avancée

Médias (91)

Autres articles (104)

  • 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

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (10475)

  • fixing (with ffmpeg) the chrominance position on a video after capturing

    23 mai 2016, par APLU

    I’m trying to convert some video from VHS to digital using an (old) video capture card (and obviously an old VHS player). Due to the input from my video capture card and the output available from the VHS, I have no other choice than capture with an S-Video cable to a computer.

    Almost everything works except a little mis-synchronization between chroma and luma which do not happen on TV.

    For example, in the original video, I have something like that :
    good position of color

    After capturing the video looks like this :
    bad position of color

    As you may see, there is a little desynchronization of the chroma with the luma channel (I will say about 10 lines errors).

    I’m capturing with ffmpeg on a Linux system with the following commands :

    $ v4lctl setnorm PAL-BG

    $ v4lctl setinput S-video

    $ ffmpeg -y -f alsa -ac 2 -i pulse -f video4linux2 -i /dev/video0 -c:a pcm_s16le -vcodec rawvideo -t $duration -r 25 -loglevel error -stats /tmp/tmp.mkv

    I tried other input norm in v4l, tried an other VHS player, tried an other conversion cable from SCART to S-Video but it didn’t change anything,

    My question is simple : is there a way to fix this with a post-processing video filter in ffmpeg ?

    I already looked at the long list of video filter available in ffmpeg but I didn’t find anything.

    Also, please note I can’t apply filter during the capture commands (old capture cards, old cpu, ..), this is why I capture in rawvideo and native audio. When the capture is done I convert the video/audio into h264/vorbis, at this step I can apply as much as audio/video filtering needed (even if it include extracting chroma & luma to new files, fixing and merging again).

    Thanks !

  • PHP-FFMpeg Installation and Basic Usage on windows issue

    7 mai 2017, par Miky

    following the README I installed PHP FFmpeg through Composer and I downloaded binaries from https://ffmpeg.zeranoe.com/builds/
    now I’m trying to run the "Basic Usage" example :

    <?php
    require("vendor/autoload.php");
    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open('video.mpg');
    $video
       ->filters()
       ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
       ->synchronize();
    $video
       ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
       ->save('frame.jpg');
    $video
       ->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
       ->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
       ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');
    ?>

    but i receive "Executable not found" errors because I didn’t understand where to put them

    I also tried specifying binaries ffmpeg.exe and ffprobe.exe with :

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

    but still same error... am I making a mountain out of a molehill ? any help is appreciated... Thanks

    EDIT 1

    I added ffmpeg\bin folder to system path and I can run executables from cmd from anywhere, but now I’m getting this error : "Executable not found, proposed : avprobe, ffprobe"...
    instead, if I give binary paths explicitly, I get 'ffprobe failed to execute command "C:/FFmpeg/bin/ffprobe.exe" "-help" "-loglevel" "quiet"'

    what am I doing wrong ?

    EDIT 2

    web server config

    • Windows 10 Pro
    • IIS 10
    • PHP 7.0.9

    site root ---> C:\inetpub\wwwroot\site\
    content :

    - index.php

    - input.mp4

    - vendor/ (PHP-FFMpeg library folder)

    FFmpeg binaries ---> C:\inetpub\wwwroot\FFmpeg\
    content :

    - ffmpeg.exe

    - ffplay.exe

    - ffprobe.exe

    index.php

    <?php
    ini_set('display_errors', 'On'); error_reporting(E_ALL);
    require("vendor/autoload.php");
    $ffmpeg = FFMpeg\FFMpeg::create(array(
       'ffmpeg.binaries'  => 'C:/inetpub/wwwroot/FFmpeg/ffmpeg.exe',
       'ffprobe.binaries' => 'C:/inetpub/wwwroot/FFmpeg/ffprobe.exe',
       'timeout'          => 3600, // The timeout for the underlying process
       'ffmpeg.threads'   => 12,   // The number of threads that FFMpeg should use
    ));
    $video = $ffmpeg->open('input.mp4');
    ?>

    result

    Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffprobe failed to execute command "C:/inetpub/wwwroot/FFmpeg/ffprobe.exe" "-help" "-loglevel" "quiet" in C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php:100 Stack trace: #0 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php(72): Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure('"C:/inetpub/www...') #1 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(209): Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process), Object(SplObjectStorage), false) #2 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(137): Alchemy\BinaryDriver\AbstractBinary->run(Object(Symfony\Component\Process\Process), false, NULL) #3 C:\inetpub\wwwroot\site\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php(61): Alchemy\Binary in C:\inetpub\wwwroot\site\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php on line 63
  • Anomalie #4152 : Statut des rubriques et document joint lorsque l’on passe par calculer_rubrique_p...

    14 juin 2018, par chan kalan

    Hello, je ne constate pas tout à fait pareil...
    Je viens de faire l’essai d’ajouter une balise img dans le champ texte d’un rubrique vide : le statut n’est pas "publié", mais on peut plus "supprimer" la rubrique, et le document est bien attaché.
    Ensuite mettre un article publié dans la rubrique lui donne le statut "publié", ok, et supprimer l’article ne lui retire pas son statut "publié".
    Ensuite détacher le document retire le statut "publié".

    Je trouve pas très logique que si l’action de publier un article change le statut mais que la suppression ou dépublication de cet article (ou du dernier) ne le remette pas si un document existe encore attaché à la rubrique, et que le détachement de ce document change le statut de la rubrique alors qu’il n’a pas changé le statut lors de son ajout.

    Soit le document provoque le changement de statut dans les deux sens, soit pas... ?