Recherche avancée

Médias (91)

Autres articles (65)

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

  • Running list of cmd.exe commands from maya in Python

    17 décembre 2015, par user3541686

    I am writing a maya python script to batch render a scene into jpgs then use ffmpeg to turn them into a mov. Currently the script saves a string of commands as a bat file which works fine but I’d prefer to just run cmd.exe from maya and execute the list of commands without creating that bat first.

    I’ve been reading about "subprocess.popen()" but I can’t figure out how to get it to iterate through each line, run that command, then move onto the next one when done ie :

    1) Run maya render.exe & save scene as jpegs

    2) ffmpeg jpgs to mov

    I’ve shortened the directories but its essentially this :

    `C:\PROGRA~1\Autodesk\Maya2015\bin\Render.exe -r hw2 -s 100 -e 200 -of jpg -fnc 7 -x 1920 -y 1080 -rd
    "C:\RENDER"
    "C:\SCENE.ma" ffmpeg -y -r 25 -start_number 0100 -i C:\SCENE_%%04d.jpg C:\SCENE.mov

    How would I be able to do this ?

    Thanks !

  • Proportion for the values of maxrate, mnrate and bufsize for encoding videos for streaming purpose and past duration too large warning

    15 décembre 2015, par himanshu nautiyal

    can you please tell me about minrate, maxrate and bufsize. And is it necessary to give maxrate and minrate for encoding videos for streaming purpose. Actually I understood the meaning and functions of minrate, maxrate and bufsize through ffmpeg documents but I am not finding any solution of what would be difference in between the values of these three.

    for example : I am using this command
    ffmpeg -y -i testing.mp4 -c:a libfdk_aac -ac 2 -ab 128k -c:v libx264 -r 24 -g 24 -b:v 2m -maxrate 1m -bufsize 1m -vf scale=1920*1080 aa.mp4

    but I am not sure if this -b:v 2m -maxrate 1m bufsize 1m is in correct propotions or not. My output is fine but I don’t want any problem on working real time. Moreover, I am also getting the following warning

    Past duration 0.634361 too large
    Past duration 0.674370 too large
    Past duration 0.714363 too large 0kB time=00:00:01.32 bitrate= 0.3kbits/s

    Past duration 0.754372 too large
    Past duration 0.794365 too large
    Past duration 0.834373 too large
    Past duration 0.874367 too large
    Past duration 0.914360 too large
    Past duration 0.954369 too large

    thanks in advance

  • FFMPEG filter_complex wih speedup and subtitles and scaling

    11 décembre 2015, par Sambir

    Hi I am trying to convert a file to a specific framerate and remove any jittering, jumping of the screen. I also try to boost the volume and add a subtitle overlay. I get an error with the curent line than it is not allowed to use complex_filter in combination with vf and af. as an extra I also would like to add text in the left corner (this i did not try yet) and would want the screen to be sized to full hd (changed scale to 1920:1080 but no succes).

    ffmpeg -i movie.mp4 -r 25 -filter_complex "[0:v]setpts=0.959*PTS[v];[0:a]atempo=1.0427[a]" -map "[v]" -map "[a]" -vf subtitles=sub.srt,scale=1920:1080 -af volume=2 -strict -2 -preset veryfast movie_new.mp4

    Got it !

    New :

    ffmpeg -i inside.mp4 -r 25 -filter_complex "[0:v]setpts=0.959*PTS[i];[i]scale=1920:1080[j];[j]subtitles=inside.srt[k];[0:a]atempo=1.0427[p];[p]volume=2[q]" -map "[k]" -map "[q]" -strict -2 -preset veryfast inside_new.mp4

    But now there is a new issue. Subs out of sync :P is there a easy fix for this or do i first need to encode without subs then resync then encode with subs ?

    found this link by the way Subtitle Resync Tool

    moviespeed is changed by 0.959. is there a calculation i can do to adjust the subtitles by x miliseconds ?

    EDIT : Got the subtitles fixed with subtitle workshop. Was just a small setting to change which directly shifted all the text :)