Recherche avancée

Médias (91)

Autres articles (79)

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

  • cutting multiple segments with ffmpeg [duplicate]

    13 juin 2018, par B Pulsart

    This question already has an answer here :

    So there is a 10 min long .mp4 and I have to cut it in 2 seconds long segments every 10 seconds, then concatenate all 2 sec segments together to get a 2 min long film.

    I manage to do that with a loop in python that subprocep ffmpeg, but it’s long and ugly (cut, cut cut... and then glue)

    Is it a way to do that with just a line in ffmpeg ?

    my code in python for cutting sequences :

    import subprocess# as sp

    ffmpeg = file on disk # on Windows
    film_in =  a file name

    t_total = 10#min
    t_sec = t_total*60

    def c_cut(time) :
       cmd = [ffmpeg  , '-i' ,film_in ,'-b:v', '800k' ,'-ss', str(time) , '-t','2' , '-an', film_out]
       return cmd


    for tps in range(0, t_sec, 10) :
       film_out = a file name unique for each segment
       command = c_cut(tps)
       subprocess.call(command)
  • How to stabilize inverse 360 video using stabilization algorithms ?

    11 août 2020, par Jimmy Leahy

    We have a 12-foot circular ring with about 50 cameras spaced evenly around the perimeter of the circle. These cameras are pointed at the exact center of the circle and are manually aligned. Our application snaps an image from all cameras simultaneously and makes a video from these images creating a matrix-like effect. I believe the effect is called Bullet Time.

    



    This process works well and does a great job of snapping a moment in time from all angles. The problem is that every camera is not perfectly aligned and the video ends up being slightly jerky due to the slightest differences in camera alignments.

    



    We need to stabilize the video. We are using FFmpeg's vidstabdetect and vidstabtransform to do this right now but the results are not desirable. From what I understand, these libraries are meant to be used with a video where the camera angle is static.

    



    Here are the exact commands :

    



    ffmpeg -i "input.mp4" -vf vidstabdetect=stepsize=32:shakiness=5:accuracy=15:result=transform_vectors.trf -f null - 
ffmpeg -i "input.mp4" -y -vf vidstabtransform=input=transform_vectors.trf:zoom=0:relative=1:interpol=bicubic:smoothing=10,unsharp=5:5:0.8:3:3:0.4 -b:v 100M -vcodec hevc_nvenc -tune film -an stabilized.mp4


    



    Are there any algorithms out there for these inverse or negative 260 videos ?

    


  • avformat/movenc : use enum values directly for colr atom

    31 mars 2020, par Michael Bradshaw
    avformat/movenc : use enum values directly for colr atom
    

    The switch cases were missing :

    - Primaries : bt470m, film, smpte428, and ebu3213.
    - TRCs : gamma22, gamma28, linear, log, log_sqrt, iec61966_2_4, bt1361,
    iec61966_2_1, bt2020_10bit, and bt2020_12bit.
    - Space : rgb, fcc, ycgco, bt2020_cl, smpte2085, chroma-derived-nc,
    chroma-derived-c, and ictcp.

    They also annoyingly remapped the following (which are functionally
    equivalent but can be treated differently by clients) :

    - smpte240m primaries to smpte170m.
    - smpte170m TRC to bt709.
    - bt470bg color space to smpte170m.

    The enum values in FFmpeg are the same values as ITU-T H.273 and
    ISO/IEC 23001-8 so we can just use them directly, which is both simpler
    and preserves the user intent.

    Signed-off-by : Michael Bradshaw <mjbshaw@google.com>

    • [DH] libavformat/movenc.c