Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (106)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (13416)

  • ffmpeg taking too much time to compress videos in a nest Js project [closed]

    30 août 2023, par Sheeraz

    I am trying to read a video as a stream from firebase and compress it using ffmpeg an it is too much time for the job to complete such that my call breaks before its done and I am getting socket hangup error. I have tried to increase the timeout of the call to 540s but it is still not enought for the job to be done. The framework I am using is nestJs with react as front-end. This is a web-app and the feature I am working on is a video recording functionality.

    


    Here is the code I am trying to run. The library I am using is "fluent-ffmpeg" : "^2.1.2", and
"ffmpeg" : "^0.0.4",

    


    const bucket = storage.bucket('my-bucket.appspot.com');
      const filePath = 'videos/video.mp4'; // Replace with the full path to your file
      const videoFile = bucket.file(filePath);
      const readStream = videoFile.createReadStream();
const ffmpegCommand = ffmpeg();
      ffmpegCommand.input(readStream);
      ffmpegCommand
        .outputOptions([
          '-preset ultrafast',
          '-c:v libx264',
          '-c:a aac',
          '-vf scale=640:480',
        ])
        .format('wav');
const outputStream = await ffmpegCommand.pipe();


    


  • Get image from webcam, convert that image into something else, and returning it back to the client

    29 janvier 2023, par immigration9

    I have some questions on choosing the right architectural decision to solve my problem.

    


    I am planning to create an app, which takes the

    


      

    1. input from a client's (a browser) webcam,

      


    2. 


    3. sending the input to the server (whether frame by frame, or just live stream video)

      


    4. 


    5. getting each frame from the server (into a image)

      


    6. 


    7. convert the image using some technology (let's say like a tiktok filter)

      


    8. 


    9. returning the image back to the client in real time.

      


    10. 


    


    Except for the phase 4 which the technology can only be applied on an image,
Everything else can be changed.

    


    I'm targeting 30fps (or at least 20) with 1080p quality.

    


    The language or framework is completely agnostic as I do not have any preference. Right now, I am thinking of using React with Node, but I'm opened to other options as well. (eg. Python maybe. Language doesn't matter)

    


    If anyone have some prior experiences, can you teach me the best way ?

    


    I've tried to create the image blob from client and send it to the server using socket.io but it seemed too slow to use when targeted at 30fps on 1080p image.

    


    I'm currently looking at WebRTC with fluent-ffmpeg, but not sure if it's the right way.

    


    Any kind of help will be appreciated.

    


  • Recorded & uploaded video from iphone device won't play in iphone

    11 juin 2019, par Sohil Chamadia

    I am facing an issue regarding :

    Recording video from iphone and uploading that video on my application(Develop in Wordpress Framework) then the video uploaded won’t play in iphone devices.

    This issue occurs only when I "Record video from iphone and then uploading that video into the application".If I upload existing video from iphone device then video will be played and it’s working fine. So please help to resolve this issue.I have used "FFmpeg library" to reduce the size of video.

    Below is the code which i have used to play video :

    <video preload="auto" width="320" height="240" controls=""><source src="abc.mp4" type="video/mp4">Your browser does not support the video tag.</source></video>

    When i click on video to play it then video is not play and cross sign is shown over the play button.Below i have attached screenshot of it :
    enter image description here