Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (74)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (7978)

  • Cannot find ffmpeg when moving the code to a new computer

    20 septembre 2021, par Omersr

    I have a code that works on my computer but when I moved it to a new one it doesn't find the ffmpeg dependency.
It happens on these lines of code :

    


        var videoshow = require('videoshow')
    var image = [{path: './screenshot.jpg'}]
    var videoOption = { 
      loop: 10,
      fps: 25,
      transition: false,
      transitionDuration: 0, // seconds
      videoBitrate: 1024,
      videoCodec: 'libx264',
      size: '640x?',
      audioBitrate: '128k',
      audioChannels: 2,
      format: 'mp4',
      pixelFormat: 'yuv420p'
    }
    //call the videoshow library
     videoshow(image,videoOption).save(filename+"_"+"movie.mp4").on('start',function(command){
         console.log("conversion started" + command)
    }).on('error',function(err,stdout,stderr){
         console.log("some error occured"+ err)
     }).on('end',function(output){
         console.log("conversion complete "+ output)


    


    It throws an error "Cannot find ffmpeg".
I tried to do npm install or npm install ffmpeg but it didn't help.
I think this happens because I don't know how to make dependencies work on a different computer.
Any help would be appreciated !

    


  • Fix nonsense MPEG-4 hwaccel code.

    21 août 2013, par Reimar Döffinger
    Fix nonsense MPEG-4 hwaccel code.
    

    Issues with the code :
    1) The skip_bits_long breaks packed B-frames since we skip
    of the packed frame, even for VDPAU.
    2) Calling ff_h263_find_resync_marker_reverse is nonsense for MPEG-4,
    and for H.263 the only code using this (vaapi_mpeg4) explicitly reverts
    this change !
    3) mb_x/mb_y are always 0 when vaapi_mpeg4_decode_slice, so doing
    computations with them is just obfuscation
    4) due to not updating mb_y the code would always go into the error
    resilience case, causing nonsense error messages and maybe further
    issues.

    While tested to fix the data provided to the decoder in case of
    VDPAU so it is the same as for the non-hwaccel code, the VA-API code
    was not tested to still work, and adding regression testing even
    as a quick hack is much more complicated for it.

    Signed-off-by : Reimar Döffinger <Reimar.Doeffinger@gmx.de>

    • [DH] libavcodec/h263dec.c
    • [DH] libavcodec/vaapi_mpeg4.c
  • Inline code tweaks for API demo nav

    27 avril 2013, par scottschiller
    Inline code tweaks for API demo nav