Recherche avancée

Médias (0)

Mot : - Tags -/serveur

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (62)

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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (3964)

  • Delay in video playback. Not able to identify the cause - AWS S3 region / ffmpeg / Videojs

    17 septembre 2016, par Himansu Kisan

    We are not able to identify the cause for random behavior while playing video on our website. (Sorry, cant share a link since the videos are for registered users only)
    The videos sometimes plays instantly and sometimes it takes over 1 minute to start. Not sure what we are doing wrong.

    We are using AWS S3 Oregon region (not the closest to target region, but it is cheaper) to store video files.
    The video files are encoded using ffmpeg. Below is the syntax

    ffmpeg -i input.mts -codec:v libx264 -threads 4 -movflags +faststart -profile:v high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale="trunc(oh*a/2)*2:720" "output.mp4"

    ffmpeg -i input.mts -codec:v libvpx -threads 4 -quality good -cpu-used 5 -b:v 500k -maxrate 500k -bufsize 1000k -qmin 10 -qmax 42 -vf scale="trunc(oh*a/2)*2:720" -codec:a libvorbis -b:a 128k "output.webm"

    On website, we are using Videojs 5.10.8.
    Below is the code snippet

    <video class="video-js vjs-default-skin vjs-big-play-centered" preload="none" controls="controls" poster="abcd.jpg" style="width:100%;height:100%;min-height:360px;" data-setup="{&quot;autoplay&quot;:true}">
    <source src="abcd.mp4" type="video/mp4"></source>
    <source src="adcd.webm" type="video/webm"></source>
    <p class="vjs-no-js">
       To view this video please enable JavaScript, and consider upgrading to a web browser
       that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
    </p>
    </video>

    What are we doing wrong ? Please help us out.

  • avcodec/ttmlenc : add support for region positioning and sizing

    29 mars 2021, par Jan Ekström
    avcodec/ttmlenc : add support for region positioning and sizing
    

    The ASS margins are utilized to generate percentual values, as
    the usage of cell-based sizing and offsetting seems to be not too
    well supported by renderers.

    Signed-off-by : Jan Ekström <jan.ekstrom@24i.com>

    • [DH] libavcodec/ttmlenc.c
    • [DH] tests/ref/fate/sub-ttmlenc
  • Is it possible to adjust position of gdigrab recording region during recording ?

    30 novembre 2020, par adelima

    I'm using ffmpeg for recording video from defined desktop region by starting ffmpeg.exe as process with arguments like so :

    &#xA;

        public static void StartRecording(Video v) {&#xA;        string outPath = Path.Combine(Application.StartupPath, "rec", $"{v.FileName}.mkv");&#xA;        v.FFMPEG = new Process {&#xA;            StartInfo = new ProcessStartInfo() {&#xA;                Arguments = $"-hide_banner -y -thread_queue_size 512 -f gdigrab -offset_x {v.Bounds.X} -offset_y {v.Bounds.Y} -video_size {v.Bounds.Width}x{v.Bounds.Height} -show_region 0 -i desktop -vf \"scale=trunc(iw/2)*2:trunc(ih/2)*2\" -c:v libx264 -preset ultrafast -crf 18 -pix_fmt yuv420p \"{outPath}\"",&#xA;                WindowStyle = ProcessWindowStyle.Hidden,&#xA;                CreateNoWindow = true,&#xA;                UseShellExecute = false,&#xA;                FileName = Path.Combine(Application.StartupPath, "bin", "ffmpeg.exe"),&#xA;                RedirectStandardOutput = true,&#xA;                RedirectStandardInput = true,&#xA;                RedirectStandardError = true,&#xA;            }&#xA;        };&#xA;        v.FFMPEG.Start();&#xA;&#xA;        new Thread(() => {&#xA;            using(StreamReader sr = v.FFMPEG.StandardError) {&#xA;                while(!sr.EndOfStream) {&#xA;                    Debug.WriteLine(sr.ReadLine());&#xA;                }&#xA;            }&#xA;        }).Start();&#xA;    }&#xA;&#xA;    public static void StopRecording(Video v) {&#xA;        using(StreamWriter sw = v.FFMPEG.StandardInput) {&#xA;            sw.WriteLine("q\n");&#xA;        }&#xA;        v.FFMPEG.WaitForExit();&#xA;        v.FFMPEG.Dispose();&#xA;    }&#xA;

    &#xA;

    Is it possible to make changes to the -offset_x and -offset_y arguments during recording ? I'm drawing the recording region bounds with directx and want to add a titlebar to it which can be dragged to move the recording region, but I'm not sure how I would let ffmpeg know that I want these offsets changed or whether it's even possible.

    &#xA;