Recherche avancée

Médias (91)

Autres articles (101)

  • 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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (6799)

  • Anomalie #4668 (Nouveau) : Erreur 500 : failed to open dir : Permission denied

    15 février 2021, par Pierre KUHN

    Bonjour,

    Avec la dernière version de 4.3.0 on bloque à la fin :

    1. <span class="CodeRay"><span class="constant">Fatal</span> error: <span class="constant">Uncaught</span> <span class="constant">UnexpectedValueException</span>: <span class="constant">RecursiveDirectoryIterator</span>::__construct(./docker/database/mysql): failed to open dir: <span class="constant">Permission</span> denied in /<span class="keyword">var</span>/www/html/octoshow/spip_loader.php:<span class="integer">998</span> <span class="constant">Stack</span> trace: <span class="comment">#0 [internal function]: RecursiveDirectoryIterator->__construct('./docker/databa...', 12288) #1 [internal function]: RecursiveDirectoryIterator->getChildren() #2 [internal function]: FilterIterator->rewind() #3 /var/www/html/octoshow/spip_loader.php(998): FilterIterator->rewind() #4 /var/www/html/octoshow/spip_loader.php(928): SL_lister_contenus_superflus(Array, './', Array) #5 /var/www/html/octoshow/spip_loader.php(887): SL_comparer_contenus(Array, './') #6 /var/www/html/octoshow/spip_loader.php(1187): SL_nettoyer_superflus(Array, './') #7 /var/www/html/octoshow/spip_loader.php(1345): spip_deballe_paquet('spip/archives/s...', './spip-v3.2.9.z...', '', 0) #8 /var/www/html/octoshow/spip_loader.php(1462): spip_deballe('spip/archives/s...', 'fichier', '', 0) #9 {main} thrown in /var/www/html/octoshow/spip_loader.php on line 998</span>
    2. </span>

    Télécharger

    Je travail sur docker, les droits rw-rw--- 1 999 999
    Merci

  • Advice on how to specify length of animated GPX video with ffmpeg/image2pipe

    21 mai 2019, par Chris Olin

    I’m working on a personal project involving an action camera that records GPS data alongside video from an image sensor. I found an open source projected on GitHub called ’trackanimation’ that uses a colored marker to trace the GPX path on a OpenStreetMaps overlay, but it appears that the project has been abandoned. I’m trying to sync the trackanimation video to the image sensor video, but when I try using video editing software to slow the GPX video down to 1%, it still ends up being shorter than the image sensor video. I’ve tried messing with the baked in ffmpeg command in make_video(), but still can’t get the output video to be as long as I want it to be.

    I started digging into the library source to see how the video was being created, tried tweaking a couple things to no avail.

    import trackanimation
    from trackanimation.animation import AnimationTrack

    gpx_file = "Videos/20190516 unity ride #2.mp4.gpx"
    gpx_track = trackanimation.read_track(gpx_file)

    fig = AnimationTrack(df_points=gpx_track, dpi=300, bg_map=True, map_transparency=0.7)
    fig.make_video(output_file="Videos/1-11trackanimationtest.mp4", framerate=30, linewidth=1.0)
       def make_video(self, linewidth=0.5, output_file='video', framerate=5):
           cmdstring = ('ffmpeg',
                        '-y',
                        '-loglevel', 'quiet',
                        '-framerate', str(framerate),
                        '-f', 'image2pipe',
                        '-i', 'pipe:',
                        '-r', '25',
                        '-s', '1920x1080',
                        '-pix_fmt', 'yuv420p',
                        output_file + '.mp4'
                        )

    I expect that I should be able to linearly "slow" the GPX video to a dynamic value based on the length of the video and the length I want it to be.

  • Php FFMPEG request timout

    28 mars 2015, par Dev

    I am using Laravel 4.2.

    I am working on a project of uploading video. The uploaded video should be played in most devices that I am using php-ffmpeg package from the git-hub.

    The requirement is the transcoding should be done in background. I am using WAMP 2.5.

    What am I doing is, after upload I am firing an asynchronous ajax request that transcode the video and after successful completion it should insert a record into database containing video name, path etc.

    The problem is if I upload a large size video, then I am facing error Maximum execution time of 120 seconds exceeded.

    I know the possible solution is setting max_timelimit in php.ini but I don’t think it is a feasible solution because if there will be larger video, the same error will occurred again.

    Is there any technique that I can bypass this transcoding process in background ?

    My code is as below :

    try{
               $video_id = Input::get('video_id');
               $video_path = Input::get('video_path');

               $path = '/video/'.date('Y').'/'.date('m');
               $path .= '/';
               $explode_filename  = explode("/",$video_path);
               $save_filename = $explode_filename[sizeof($explode_filename)-1];

               $ffmpeg = FFMpeg\FFMpeg::create(array('timeout'=>0));
               $video = $ffmpeg->open($video_path);

               $format = new CustomVideo();
               $format->setKiloBitrate(1000)
                       ->setAudioChannels(2)
                       ->setAudioKiloBitrate(256);

               $video->save($format, public_path().$path.$save_filename);
               //saving video

               Video::where('id', '=', $video_id)->update(array('is_transcoded' => 1,'video_url'=>url($path.$save_filename)));
           }
           catch (Exception $ex){
              return Response::json (["Message"=>$ex->getMessage(), "code"=>$ex->getCode(), "trace"=>$ex->getTrace()]);
           }