Recherche avancée

Médias (91)

Autres articles (64)

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

  • Creating video from images produces black screen video for certain image formats [duplicate]

    30 mai 2018, par varmashrivastava

    I am using below command to create video from images.The command works fine for most images but for png images the video created cannot be played and I just get a black screen.

    String[]  command = new String[]{"-y", "-f", "concat", "-safe", "0", "-i", src.getAbsolutePath(), "-vsync", "vfr", "-vf", "scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2", dest.getAbsolutePath()};

    Here destination file path has mp4 format..
    Whats wrong with my command ?

  • ffmpeg map and filter_complex subprocess in python

    4 décembre 2015, par jlarsch

    I want to crop and re encode videos via ffmpeg from within python using subprocesses.

    I managed starting a subprocess using a pure string command and shell=True but I want to build more complex commands and would prefer to use shell=False and passing a list of arguments.

    So what works is this form (this is a simplified example, there will be multiple streams in the final version) :

    import subprocess as sp

    sp.Popen('ffmpeg.exe -i Test.avi -filter_complex "[0:v]crop=1024:1024:0:0[out1]" -map [out1] out1.mp4', shell=True)

    This script produces the expected cropped output video.

    For a list of arguments, I tried :

    FFMPEG_PATH = 'ffmpeg.exe'
    aviP='Test.avi'
    sp.Popen([FFMPEG_PATH,
    '-i', aviP,
    '-filter_complex', '[0:v]crop=1024:1024:0:0[out1]',
    '-map', '[out1] out1.mp4'])

    When I execute this second version, simply nothing happens. (no error, no output)

    I suspect I am messing up something in the map command syntax ?

  • Ffmpeg map and filter_complex subprocess - Python

    4 décembre 2015, par jlarsch

    I want to crop and re encode videos via ffmpeg from within python using subprocesses.

    I managed starting a subprocess using a pure string command and shell=True but I want to build more complex commands and would prefer to use shell=False and passing a list of arguments.

    So what works is this form (this is a simplified example, there will be multiple streams in the final version) :

    import subprocess as sp

    sp.Popen('ffmpeg.exe -i Test.avi -filter_complex "[0:v]crop=1024:1024:0:0[out1]" -map [out1] out1.mp4', shell=True)

    This script produces the expected cropped output video.

    For a list of arguments, I tried :

    FFMPEG_PATH = 'ffmpeg.exe'
    aviP='Test.avi'
    sp.Popen([FFMPEG_PATH,
    '-i', aviP,
    '-filter_complex', '[0:v]crop=1024:1024:0:0[out1]',
    '-map', '[out1] out1.mp4'])

    When I execute this second version, simply nothing happens. (no error, no output)

    I suspect I am messing up something in the map command syntax ?