Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (76)

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

  • X264—Why does "—pass 1 —stats" make the file bigger ?

    4 mai 2016, par Codecodeup

    I am using --pass 1 --stats <stats file="file" location="location"></stats> to generate the stats file for H.264 encoding with x264. The command is like this :

    <x264 binary="binary"> <input file="file" /> -o <output file="file"> --preset veryslow --crf 27
     --tune ssim  --scenecut 0 --pass 1 --stats <stats file="file" location="location">
    </stats></output></x264>

    When I ran this command with and without --pass 1 --stats <stats file="file" location="location"></stats>, the difference between the sizes of the final output files are very different. The one with --pass 1 --stats <stats file="file" location="location"></stats> is much bigger. What is the reason ? Thanks.

  • How to pass frame bitmap from ffmpeg to android ?

    2 juin 2014, par 4ntoine

    I have ported to android ffmpeg (via JNI) and working android app. How can i pass frame bitmap from native code to android (what ffmpeg function and how to pass bitmap though JNI) to make it OpenGL texture ?

  • rails / streamio-ffmpeg - How to execute 2-pass encoding ?

    20 mars 2017, par R4ttlesnake

    I’m using streamio-ffmpeg to encode videos uploaded to my Rails application via ffmpeg. I want to encode the videos to .webm-format using the VP9 coding format and the VP9 Encoding Guide of the WebM Project recommends using 2-pass encoding. I managed to get the videos encoding via streamio-ffmpeg using 1-pass encoding, but I can’t figure out how to handle the 2-pass encoding.

    Here my setup so far :

    # create two tempfiles for the video and a still
    video = Tempfile.new(["video", ".webm"], binmode: true)
    still = Tempfile.new(["still", ".jpg"], binmode: true)

    # new FFMPEG
    movie = FFMPEG::Movie.new(original.path)

    # extract still from video
    movie.screenshot(still.path)

    # encode video
    options = %w(-c:v libvpx-vp9 -b:v 1000K -threads 8 -speed 4 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -c:a libvorbis -b:a 64k -f webm)
    movie.transcode(video.path, options)

    The command to do a 2-pass encoding with ffmpeg would be :

    ffmpeg -i <source> -c:v libvpx-vp9 -pass 1 ... -f webm /dev/null
    ffmpeg -i <source> -c:v libvpx-vp9 -pass 2 ... -f output.webm
    </source></source>

    In particular, I don’t get how to pass the file of the first encoding step to the second step with streamio-ffmpeg. How would I apply these two steps to the syntax of movie.transcode(output, options) ?

    Thanks !