Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (64)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

  • Time-weighting frames of an animation using FFMPEG [duplicate]

    12 mars 2020, par Rohan S Byrne

    I’m using ’ffmpeg’ to make an mp4 out of hundreds of individual frames, which are timeslices from an experiment I’ve run. My problem is that the time sampling is not regular. I would like to somehow ’weight’ the frames according to their time index so that the framerate is fast when the sampling rate was fast and slow when the sampling rate was slow.

    I know how to do this sort of operation when taking, for instance, a time average using numpy arrays. I have no idea how to do it with ffmpeg.

    Any tips ?

  • Having issues with exporting video in FFMPEG [closed]

    3 avril 2024, par Jake

    I am developing an application that uses FFMPEG to take numerous videos and concatenate them into one file. The user has the ability to flip an individual video if they would like. From Landscape to portrait. The application works as planned and it produces one single file, with the orientation however the user set them.

    


    The problem is, when I take that file that FFMPEG generated and tray to convert or copy it using FFMPEG. It will create a video file of all of the video prior to the segment where the orientation has been flipped. The flipped video as well as all of the other videos after it, will not be in the video.

    


    Below are the parameters to export each individual video.

    


    parameters = "-y -i " + '"' + frames[0].VideoPath + '"' + " -filter_complex " + '"' + @"[0:v]trim=" + frames[0].TimeCode.TotalSeconds + @":" + frames[1].TimeCode.TotalSeconds +
            @", setpts=PTS-STARTPTS[trimedv0];[trimedv0]yadif," + orientation + @"setsar=1/1, eq=contrast=1:brightness=" + video.Brightness + @", drawtext=text=\'%{pts\:localtime\:" + ToUnixTimestamp(frames[0].FrameTime) +
            @"\:'" + CurrentDisplayDateFormat.DateOutputFormat + @"'}\'" + @":fontfile =\'Fonts/" + font.FirstOrDefault() + @"\':fontcolor=" + fontColor + ":x=" + DATEXOFF +
            ":y=" + DATEYOFF + " -th:fontsize=" + tempFont +
            @":box=1:boxcolor=" + boxColor + @"@" + opacity + @", drawtext=text=\'%{pts\:localtime\:" + ToUnixTimestamp(frames[0].FrameTime) + @"\:'" + CurrentDisplayDateFormat.TimeOutputFormat + @"'}\'" + @":fontfile =\'Fonts/" + font.FirstOrDefault() + @"\':fontcolor=" + fontColor +
            ":x=" + TIMEXOFF + ":y=" + TIMEYOFF +
            " -th:fontsize=" + tempFont + @":box=1:boxcolor=" + boxColor + @"@" + opacity + ", " + fadeString + " -sn " + mapVar + " -progress - -nostats -an -c:v libx264 -b:v " + video.BitRate + " -preset ultrafast -profile:v baseline -level 3.0 " +
            @"-pix_fmt yuv420p -f mpegts " + vidPath + @"\v" + outputFile.ToString() + ".MP4";


    


    Below are the parameters to concatenate all of the videos :

    


    string parameters = "-y -probesize 100M -analyzeduration 100M -i concat:" + '"' + concatString + '"' + @" -c:v copy " + '"' + ExportOptions.CompleteDestinationPath + '"';


    


    Any ideas of what is going on and hopefully a solution ?

    


  • Is there any way to set the overall bitrate of a video file in ffmpeg ?

    11 août 2021, par Rahul sivagnanam

    From what I understand, the overall bitrate of a file is a sum of the bitrate of all streams(video and audio) and the container bitrate. Ffmpeg provides option to set video bitrate and audio bitrate individually using -b:v and -b:a flags.

    


    Can we set a bitrate for the whole file using ffmpeg and let it calculate the individual stream bitrates on its own ?