Recherche avancée

Médias (91)

Autres articles (72)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (7416)

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

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