Recherche avancée

Médias (91)

Autres articles (74)

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

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

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

  • Trying to get property of non-object while uploading to database

    26 novembre 2017, par Programmmereg

    I have a script when user can clip video, then that video uploads to public folder, and now I want to upload all video data to database. But i get error like in title. Here’s my code :

    Controller :

    public function clip($id)
       {
           $video = Video::where('id', $id)->first();

           $oldId = $video->id;
           $originalName = $video->original_name;
           $newName = str_random(50) . '.' . 'mp4';

           FFMpeg::fromDisk('public')
           ->open('/uploads/videos/' .$video->file_name)
           ->addFilter(function ($filters) {
           $filters->clip(FFMpeg\Coordinate\TimeCode::fromSeconds(5), FFMpeg\Coordinate\TimeCode::fromSeconds(2));
           })
           ->export()
           ->toDisk('public')
           ->inFormat(new \FFMpeg\Format\Video\X264)
           ->save('/uploads/videos/' . $newName);



           $data = ['user_id'=>Auth::user()->id,
               'file_name'=>$newName,
               'original_name'=> $originalName,
               'old_id' => $oldId,
           ];

            $video = Video::edit($data);
       }

    Model :

    public static function edit($request)
       {
           $video = new Video;
           $video->user_id = $request->user_id;
           $video->file_name = $request->file_name;
           $video->original_name = $request->original_name;
           $video->save();

           $old = $file = Video::where('id', $request->old_id)->delete();
           //$old_file = unlink($request->file('file'));

           return $video;
       }

    What should I edit ?

  • Revision 3fab2125ff : Renaming vp9_short_idct10_8x8_add to vp9_short_idct8x8_10_add. Making name cons

    28 septembre 2013, par Dmitry Kovalev

    Changed Paths :
     Modify /vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm


     Modify /vp9/common/vp9_idct.c


     Modify /vp9/common/vp9_rtcd_defs.sh


     Modify /vp9/common/x86/vp9_idct_intrin_sse2.c


     Modify /vp9/decoder/vp9_idct_blk.c


     Modify /vp9/encoder/vp9_encodemb.c



    Renaming vp9_short_idct10_8x8_add to vp9_short_idct8x8_10_add.

    Making name consistent with vp9_short_idct8x8 and vp9_short_idct8x8_1.

    Change-Id : I99e0be040ec893f9571dcf090e18f98dc58339f5

  • Revision d262cda524 : Making speed checks consistent in set_rt_speed_feature(). Change-Id : Id3d0a4983

    29 mai 2014, par Dmitry Kovalev

    Changed Paths :
     Modify /vp9/encoder/vp9_speed_features.c



    Making speed checks consistent in set_rt_speed_feature().

    Change-Id : Id3d0a49836fe996b806707d29a8130acf9d7ea0e