Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (71)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • 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

Sur d’autres sites (6741)

  • FFMPEG no audio in final output [migrated]

    16 juin 2015, par Maverick

    I have the following FFMPEG command working.

    ffmpeg -y -i slide.mp4 -f lavfi -i "color=c=black:s=1920x1080:r=25:d=1" -filter_complex "[0:v] setpts=PTS-STARTPTS [main]; \
    [1:v] trim=end=3,setpts=PTS-STARTPTS [pre]; \
    [1:v] trim=end=3,setpts=PTS-STARTPTS [post]; \
    [pre][main][post] concat=n=3:v=1:a=0 [out]" -map "[out]" output.mp4

    It appends black frames at the start and end of the video. However, the output file does not contain the audio from the input file.

    Any pointers to the problem will be highly appreciated.

  • 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);
       }
  • Is there an effective and cheap/free way to host video for a mobile app that must be approved by an admin before going live ? [on hold]

    9 août 2013, par user2658775

    We are building a mobile app for the iOS and Android operating systems. The app is to be a communication platform for members within an organization. Content is generated by users and submitted to the admin. Once approved by the admin the content is pushed to the app. One feature of the app is the ability to upload video.

    We are having a tough time attempting to figure out the best way to do this. Because the app will be representing the organization, the organization must have control over the approval process.

    So far we have come up with the following options :

    Option 1 : purchase a dedicated server from hosting service provider. The basic package with Blue host is $150/month which is fairly expensive.

    Option 2 : have the users post to YouTube using their personal accounts. Upon posting to YouTube (via the app) the app would send a notification to the admin that a new video has been posted. Admin would review the video and if acceptable admin would user url link to post video to app. This option, while free, requires many steps that will bog down the submittal process.

    Does anyone know of an effective way to post video to an app that requires approval by an admin ?