Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (96)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • Rails preview for active storage videos not working

    17 mai 2022, par Freebian

    I have a pretty standard model where you can upload videos - so far so good.
The video gets uploaded and is also displayed on the show view. Alle seems to be fine....but :

    


    I cannot get a preview fo to work.

    


    ActiveStorage::Blob.last.previewable?
--> false


    


    ActiveStorage::Blob.video?
--> true


    


    FFMPEG is installed on the system and in the gem file

    


    which ffmpeg   
--> /usr/local/bin/ffmpeg

gem 'streamio-ffmpeg'



    


    And of course if I run preview directly, I get an error

    


    ActiveStorage::Blob.last.preview(resize: "200x200>").processed
--> ActiveStorage::UnpreviewableError (ActiveStorage::UnpreviewableError)



    


    Previewers is having video included

    


    Rails.application.config.active_storage.previewers
--> [ActiveStorage::Previewer::PopplerPDFPreviewer, ActiveStorage::Previewer::MuPDFPreviewer, ActiveStorage::Previewer::VideoPreviewer]



    


    I also tried different video formats, but nothing works and I am out of ideas where to look.
Anybody had the same issue ?

    


  • Use ffmpeg to move moov atom to front of mp4 file on Google Cloud Platform and Google Cloud Storage

    19 avril 2021, par BlueBoy

    I would like to use ffmpeg to move the moov atom of a .mp4 file to the front of the file so that it can then be streamed.

    


    The .mp4 file is in Google Cloud Storage. I want to take that file and apply the conversion on it (or copy it if needed).

    


    I have successfully run the following command in the terminal and it works. I want to essentially run this command server side on the Google Cloud in a Java environment :

    


    ffmpeg -i input_video_file.mp4 -vcodec copy -acodec copy -movflags faststart output_video_file.mp4

    


    I can get my file from Google Cloud Storage like this :

    


    GcsService gcsService = GcsServiceFactory.createGcsService();
GcsFilename file = new GcsFilename("bucket", "folder/filename;


    


    I was able to find a Java library wrapper for ffmpeg (https://github.com/bramp/ffmpeg-cli-wrapper) but it doesn't seem to allow to move the moov atom. Could anyone help me figure this out further ? Is there a

    


  • What google cloud service can be used to process files stored in Firebase Cloud Storage with FFmpeg ? [closed]

    1er mai 2021, par uponly

    I am building a ReactJs app and I am trying to figure out a way to process files (images, videos, and audio of any type) that are stored in my Firebase storage bucket using FFmpeg. Currently, I have set up the functionality for allowing the user to upload files to my storage bucket, and a corresponding URL link is stored in a document in Firestore.

    


    Ideally, I'd love to do this with Cloud Functions HTTP triggers because I have all of that setup already. It would be nice to just call an HTTP trigger to process the file after it has been uploaded. However, after a bit of research, my current understanding is to somehow deploy my app using a flexible Google App Engine environment because apparently, it is the only way to set a manual timeout in case I have to process a long, high-quality video, for example. Thus I wouldn't be able to use Cloud Functions because there is a very short timeout period which may lead to the files not being fully processed.

    


    Here is the user flow I am trying to achieve, which may help make things more clear :

    


      

    1. [Done] The user uploads a file (image, audio, or video) to Firebase cloud storage. A URL is also stored in their corresponding user document in Firestore.
    2. 


    3. [Here and the steps onward are what I am trying to achieve] After the file has been stored, I'd like to kick off some sort of function that grabs the newly stored file and begin to process it in the cloud.
    4. 


    5. Store the newly processed file back into the Cloud Storage bucket
    6. 


    7. Allow the user to preview the processed file (by streaming it ideally, if possible).
    8. 


    


    In steps 2 and onward, I am just generally confused about what Google service I should be using to process my file in the cloud with FFmpeg. As well as how I can connect it to my React app, client-side. If I have to go the Google App Engine route, how do I go about connecting app engine to my React App such that I don't have to build my app and deploy it, as my app is still in development ?

    


    This is not a coding question so I apologize if this is the wrong place to post in. I am new to all this, any and all help is greatly appreciated. Thank you.