Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (112)

  • 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 ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (14998)

  • FFmpeg video conversion wont play in my browser

    3 juin 2015, par Marc Rasmussen

    I am trying no matter what format of video my clients upload to convert them into three different formats :

    var videoExtensions = ['mp4', 'webm', 'ogg'];

       var ffmpeg = require('fluent-ffmpeg');
    videoExtensions.forEach(function (extension) {
       var proc = new ffmpeg({source: media.file.path, nolog: false})
           .withVideoCodec('libx264')
           .withVideoBitrate(800)
           .withAudioCodec('libvo_aacenc')
           .withAudioBitrate('128k')
           .withAudioChannels(2)
           .toFormat(extension)
           .saveToFile(media.targetDir + media.getName() + '.' + extension,
           function (retcode, error) {
               console.log('file has been converted succesfully');
           });
    });

    On my local machine I am able to open and play the videos no problem

    However as soon as I load them as resources into my browser it simply will not play.

    If I however instead of converting just move the file I have no problem opening the file in my browser however then I will not be able to get the file in all three formats.

    My question is am I doing something wrong in the above code or why is my browser "rejecting" the files so to speak ?

  • Why is safari browser not able to play h.264 high10 with pixel format yuv420p10le video ?

    15 avril 2022, par Rajat Raghuwanshi

    I have read and found that Safari Supports HDR as well as H264 Codecs.
But When I generate HDR video using h.264 codecs using ffmpeg, the safari gives error in playing the video which chrome is easily able to play.
Video Error on Safari

    
I am able to play the video with pixel format yuv420p ( 8 bit ).
Is 10 bit video not supported with H264 in Safari ?

    


    I used FFMPEG.WASM to generate video with following properties :
    
-framerate 0.1 -pattern_type glob -i *.png -tag:v avc1 -c:v libx264
    
-profile:v high10 -crf 20
-sws_flags spline+accurate_rnd+full_chroma_int
    
-color_trc smpte2084 -color_primaries bt2020
-color_range pc -colorspace bt2020nc
    
-pix_fmt yuv420p10le -vf eq=brightness=0.12 out.mp4"

    


  • ffmpeg what is the codec for play video in windows media player and web browser

    27 septembre 2016, par Swagat

    I have a requirement to convert video to mp4 which can play both windows medial player(latest version) and web browser(video tag)

    I got to run video in both windows media player or web browser, but two different video. i.e. in below scenario :

    For windows media play, I am using -codec:v mpeg4 and an example is :

    ffmpeg -i input.mp4  -filter_complex  -codec:v mpeg4 -flags:v +qscale -global_quality:v 0 -codec:a libmp3lame  output.mp4

    For Web Browser I need to run with -codec:v libx264 and an example is :

    ffmpeg -i input.mp4  -filter_complex  -codec:v libx264 -flags:v +qscale -global_quality:v 0 -codec:a copy output.mp4

    Both them are working perfectly in their respective player. Even I tried with combine both codec, its obvious, it is raising error.

    Any way to play in both place. Any way of direction will also help me here.

    Thanks in advance.