Recherche avancée

Médias (91)

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • Adding current time as timestamp in h264 raw stream with few frames

    1er avril 2020, par Michaël

    I have a program that spits out an h264 raw stream (namely, screenrecord on Android). I'm using ffmpeg to add a PTS (Presentation Time Stamp) on the frames as follows :

    



    $ my-program | ffmpeg -i - -filter:v setpts='(RTCTIME - RTCSTART) / (TB * 1000000)' out.mp4


    



    This filter computes the current time, and puts it as the PTS.

    



    The trouble is that my-program does not produce any output if there is no change in the video. Since ffmpeg seems to wait for a bunch of frames before putting them through the setpts filter, the computed PTS won't be correct. In particular, the last frame of a sequence will be timestamped when the next sequence starts.

    



    Question : Is there a way (with ffmpeg or otherwise) to add current time as PTS to h264 raw frames, where "current time" is when receiving the frame, rather than outputting it ?

    



    Note : The problem is not from buffering from the pipe.

    


  • Estimate time and memory required when transcoding video FFMPEG [on hold]

    8 mars 2019, par Anh Vo Nguyen Nhat

    Currently, I am trying to predict beforehand the time it takes when transcoding a video (e.g. transcoding 1920x1080 H264 video to 1280x720 VP9) using FFMPEG tool.
    I have used the following features to build a simple neural network to predict the time :
    - Video Resolution (Input + Output)
    - Video Duration
    - Video Codec (Input + Output)
    - Video Bitrate
    - Video Framerate
    - Number of B, I, P frames

    However, the result is not really promising. I want to ask if there is any other way to estimate/predict the time it takes when transcoding a video ? Are there any other features beside the listed that affects the transcoding time ?

    Beside the transcoding time, I also need to forecast the memory required by the process. I see a linear relation between the output resolution and the consumed memory. However, when trying with different computers the consumed memory are different. For example, 128GB computer would take 57GB to transcode, but for 64GB computer, it only takes 37GB. Is there any formula to calculate the required memory from the FFMPEG transcoding algorithm ?

  • Merge video files based on the start time [closed]

    11 août 2020, par Nintendo Custom

    I have two MPEG-TS (h264) files with different start times. The first part overlaps the second part, so if you just put the files together, you have to see and hear the same part of the files twice.

    


    Can I merge the two files so that I have a file that does not show the same part twice ?
I was thinking that someone could code something that gets the start time and then the end time and then merge it with ffmpeg or something like that.