Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (48)

  • 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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (8015)

  • how to play m3u8 videos from laravel storage

    10 mars 2019, par Farzane Khazaei

    I used ffmpeg to convert my MP4 videos to M3U8 format to have multiple qualities and stream my videos. because of security reason I have to put my videos in storage folder (not public) and now when I try to watch videos the browser just download M3U8 text file and video wont display. I install chrome extension to display M3U8 videos and i can see my M3U8 videos if I put the files in public folder and call the URL directly. this is my code

    $fileName = $product->details()['sample_file_name'];
    $filePath = $product->type.'s/'.$product->id.'/'.$fileName;      
    $fileContents = Storage::disk('products')->path($filePath);
    $header = ['Content-type' => Storage::disk('products')->mimeType($filePath)];
    $header = ['Content-Disposition' => 'attachment; filename='.basename($filePath)];
    $response = Response::download($fileContents, $fileName, $header);
    return $response;

    please help me what headers should i set for my download response.

  • Convert form 30 to 60fps by increasing speed, not duplicating frames. FFmpeg

    14 janvier 2014, par Matt Pellegrini

    I have a video that is incorrectly labelled at 30fps, it is actually 60fps and so looks like it's being played at half speed. The audio is fine, that is, the soundtrack finishes half way through the video clip. I'd like to know how, if possible to fix this, that is double the video speed, making it 60fps and meaning that the audio and video are synced.

    The file is H.264 and the audio MPEG-4 AAC

    Thanks in advance for any help,

    Matt

    File details as given by ffmpeg, as requested :

    ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers
    built on Nov  9 2013 19:09:46 with gcc 4.8.1
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './Tignes60fps.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2014-01-13 02:23:09
       Duration: 00:08:33.21, start: 0.000000, bitrate: 5690 kb/s
       Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 5609 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
       creation_time   : 2014-01-13 02:23:09
       Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 156 kb/s
    Metadata:
         creation_time   : 2014-01-13 02:23:09
    At least one output file must be specified
  • libavutil : Hook up the rest of the gcc specific attributes to clang as well

    21 mars 2017, par Martin Storsjö
    libavutil : Hook up the rest of the gcc specific attributes to clang as well
    

    Hook up all attributes that don’t have a MSVC specific version at the
    moment.

    See f637046d313 for details.

    These don’t seem to be critical for building with clang in MSVC mode
    though, and thus haven’t been hooked up until now.

    These seem to build fine with as old clang as 3.3 at least.
    (clang 3.3 disguises itself as gcc 4.2 normally, so all of these
    have been used for clang before, except for av_cold.)

    The clang version numbers themselves are useless for detecting what
    attributes are available, since Apple’s clang builds use a completely
    different versioning (presenting itself as e.g. clang 8.0 instead
    of 3.8).

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavutil/attributes.h