Recherche avancée

Médias (91)

Autres articles (101)

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

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5127)

  • Python VTK, how to record a video ?

    15 avril 2016, par Maksim Surov

    I am trying to record a video of VTK 3D animation using ffmpeg. The example I found http://www.itk.org/Wiki/VTK/Examples/Cxx/Video/FFMPEG is a bit strange for me, because it does not create a render, so it is not clear how to attach actors in this case. So, my question is how to connect vtkRenderer to vtkFFMPEGWriter ? I wrote a simplified example

    import vtk

    # draw a plane
    plane_source = vtk.vtkPlaneSource()
    plane_source.SetCenter(0, 0, 0)
    plane_source.SetNormal(0, 0, 1)
    plane_mapper = vtk.vtkPolyDataMapper()
    plane_mapper.SetInput(plane_source.GetOutput())
    plane_actor = vtk.vtkActor()
    plane_actor.SetMapper(plane_mapper)

    # create render
    render = vtk.vtkRenderer()
    renWin = vtk.vtkRenderWindow()
    renWin.AddRenderer(render)
    renWin.SetSize(800, 600)
    renInter = vtk.vtkRenderWindowInteractor()
    renInter.SetRenderWindow(renWin)
    render.AddActor(plane_actor)
    renWin.Render()
    renInter.Initialize()

    # set callback
    def cb(interactor, event):
       global plane_actor
       plane_actor.RotateZ(0.1)
       interactor.GetRenderWindow().Render()

    renInter.AddObserver('TimerEvent', cb)
    timerId = renInter.CreateRepeatingTimer(100);

    # put something here?
    writer = vtk.vtkFFMPEGWriter()
    # ??? writer.SetInputConnection(...)
    writer.SetFileName("test.avi")
    writer.Start()

    # run
    renInter.Start()
  • Adding Gapless Playback information to AAC

    13 juillet 2018, par StaticBR

    im currently trying to develop an Video / Audio encoding pipline.
    My goal is it to encode mp4 files containing an h264 video track and an AAC audio Track. These files should be played one after another without any gaps in between.

    Currently im converting the videos with ffmpeg.
    Unfortunately my input files are missing the gapless playback metadata, which will be needed for gapless playback of the AAC track.

    Infact im looking for a way to add the iTunSMPB udta comment, as it is needed by the Exoplayer. (See Parser for Details : GaplessInfoHolder.java )

    I could not find a way to add this via ffmpeg ( ffmpeg AAC encoder doc), did i maybe missed something ?

    Even Wikipedia only lists two converters that should be able to do that : Nero Digital and Itunes. But this infomation could be outdated.

    Do anyone of you know a java library or (linux) command that can add this metadata to an mp4 file ?

    I hope some of you might be able to help me.
    Thank you.

  • Concatenating multiple remote files using ffmpeg ?

    8 décembre 2018, par May Rest in Peace

    I am trying to concatenate multiple remote files using ffmpeg but some files get skipped in the output.

    I use the command

    ffmpeg -f concat -safe 0 -protocol_whitelist "file,http,https,tcp,tls" -i mylist.txt -c copy output.m4a

    mylist.txt looks like :

    file 'http://remoteurl?fileName=20.m4a'
    file 'http://remoteurl?fileName=21.m4a'
    file 'http://remoteurl?fileName=22.m4a'
    file 'http://remoteurl?fileName=23.m4a'

    On running this command, the output will contain audio from only some files.

    I download the files individually from the same urls and did a local concatentation using the same command and it worked perfectly.

    Is this because concat will not work if files are not present immediately as mentioned in https://trac.ffmpeg.org/wiki/Concatenate#Automaticallyappendingtothelistfile ?

    If that’s the case then how should I proceed ? There’s a terminal script provided in the above link but I am on a Windows machine and tbh, I am not that good at bash scripting.

    All files are audio files with same bitrate and are in .m4a format.

    This is the error message I receive [mov,mp4,m4a,3gp,3g2,mj2 @ 00000278b64d4f40] stream 0, offset 0xc9b: partial file