Recherche avancée

Médias (91)

Autres articles (90)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (11701)

  • lavd/x11grab : fix vertical repositioning

    28 mars 2019, par Octavio Alvarez
    lavd/x11grab : fix vertical repositioning
    

    There is a calculation error in xcbgrab_reposition() that breaks
    vertical repositioning on follow_mouse. It made the bottom
    reposition occur when moving the mouse lower than N pixels after
    the capture bottom edge, instead of before.

    This commit fixes the calculation to match the documentation.

    follow_mouse : centered or number of pixels. The documentation says :

    When it is specified with "centered", the grabbing region follows
    the mouse pointer and keeps the pointer at the center of region ;
    otherwise, the region follows only when the mouse pointer reaches
    within PIXELS (greater than zero) to the edge of region.

    • [DH] libavdevice/xcbgrab.c
  • 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.

  • Problem with uploading files to firebase storage through firebase function

    28 novembre 2018, par Just A Bad Programmer

    I am currently using firebase function to do video compression, the file is first downloaded from the firebase storage, then through fluent ffmpeg, compress the file. Then, the video is re-uploaded to the firebase storage.
    However, the firebase function console shows that there is a error in ffmpeg :

    An error occurred: ffmpeg exited with code 1: compressed-Scooter- One (Always Hardcore).mp3: Read-only file system

    But the firebase storage rules is set to read and write :

    service firebase.storage {
     match /b/{bucket}/o {
       match /{allPaths=**} {
         allow read, write;
       }
     }
    }

    My code : https://github.com/MobileProjectTPC/VideoCompressor/blob/master/functions/index.js

    The upper part is my own code, while the lower part is the testing code from Can you call out to FFMPEG in a Firebase Cloud Function with some changes.

    So, I don’t understand why the ffmpeg function wasn’t able to convert the file. Do any one know why this keeps happening and how to fix it ?

    Also, the output of the functions for my code is as follows :
    Output of my code

    While their code is as follows :
    Output of their code

    As you can see for my code, the error shows up after the output of function finished. While for their code, there isn’t any error at all but no compressed file in firebase.
    Does this means the fluent-ffmpeg function wasn’t even ran at all for their code ?

    Thank You.