Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (21)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6684)

  • Laravel Spatie - Spatie\MediaLibrary\Jobs\PerformConversions Job Failed

    5 février 2019, par Tout Nu Les Chinois

    I have an issue with Laravel Spatie’s media conversion OR Redis.

    I’m working in TDD, so all my test passed success, even conversion.
    For an input file sample.flv I have my files as expected..

    But when perform integration test my Jobs failed when they are queued.. (redis) And I have no logs.....

    Do you already have trouble with jobs and conversion ?

    job chained failed

    I am Using Laravel Spatie and Laravel-ffmpeg.

    The chained job

    ProcessPost::withChain([
               new AssociateMedias($post, $filenames),
               new AssociateTags($post, $tags, $user),
               new ActivatePost($post),
               new AttributeBadge('post', $user),
               new UpdateScore(100, $user)
           ])->dispatch($post)->allOnQueue('default');

    Here my Assoc Job

    public function handle()
       {
           array_map(function($name){
               $this->mediable->associate(UploadFiles::getTempDir() . $name);
           }, $this->filenames);
       }

    Here the assoc function in my Media trait

      /**
        * @param $path
        * @return Media
        * @throws DiskDoesNotExist
        * @throws FileDoesNotExist
        * @throws FileIsTooBig
        */
       public function associateVideo($path){
           $media = $this->addMedia($path)
                         ->toMediaCollection('videos');

           VideoConverter::toHls(
               'public',
               $media->originalPath(),
               $media->streamPath()
           );

           VideoConverter::toMp4(
               'public',
               $media->originalPath(),
               $media->downloadPath()
           );

           Storage::disk('public')->delete($media->originalPath());

           return $media;
       }

    And here my Conversion lib

    static function toMp4($disk, $path, $to) {
           $lowBitrateFormat = (new X264('aac'))->setKiloBitrate(500);

           FFMpeg::fromDisk($disk)
               ->open($path)
               ->addFilter(function ($filters) {
                   $filters->resize(new Dimension(960, 540));
               })
               ->export()
               ->inFormat($lowBitrateFormat)
               ->save($to);
       }
  • Revision 23bed46ddd : Move vp8_variance_halfpixvar16x16_*_neon definitions These functions moved from

    9 septembre 2014, par Johann

    Changed Paths :
     Modify /vp8/common/rtcd_defs.pl



    Move vp8_variance_halfpixvar16x16_*_neon definitions

    These functions moved from ’neon_asm’ to ’neon’ in
    9293d267d22def752366c9512be98f2d51fd2c15

    Change-Id : I9cb5626c3eec96876a73fb18f2bfc982a5858edb

  • aaccoder_mips : update function definitions

    21 août 2015, par Rostislav Pehlivanov
    aaccoder_mips : update function definitions
    

    This commit updates the function definitions in the aaccoder_mips.c
    file. This was broken around a month or so ago with the addition
    of the rounding argument.
    The previous commit in this series also introduced a separate array
    to put the quantization error in, this also needed to be updated,
    albeit non-functional, in the MIPS optimized aaccoder file.

    Credits for the rounding goes to Claudio Freire.

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/mips/aaccoder_mips.c