Recherche avancée

Médias (0)

Mot : - Tags -/content

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (58)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5317)

  • Significantly different scores when calculating VMAF for the whole video vs individual frames [closed]

    24 octobre 2024, par YG1992

    Suppose i have a raw video 'encoded_raw.yuv' and 'original_raw.yuv' on YUV420p. I am getting significantly different results when im calculating VMAF using both methods

    


    Method 1

    


    $ ffmpeg -s widthxheight -pix_fmt yuv420p -i .\encoded_raw.yuv -s widthxheight -pix_fmt yuv420p -i .\original_raw.yuv -lavfi libvmaf=log_path=vmaf_logfile.json:log_fmt=json -f null -


    


    versus Method 2 : extracting the png out of a single frame and computing the VMAF score for the individual frame

    


    $ ffmpeg -video_size widthxheight -i ./encoded_raw.yuv -vf select=eq(n\,1) -vframes 1 -pix_fmt yuv420p encoded_raw_1.png
$ ffmpeg -video_size widthxheight -i ./original_raw.yuv -vf select=eq(n\,1) -vframes 1 -pix_fmt yuv420p original_raw.png
$ ffmpeg -s widthxheight -pix_fmt yuv420p -i .\encoded_raw_1.png -s widthxheight -pix_fmt yuv420p -i .\original_raw.png -lavfi libvmaf=log_path=vmaf_logfile.json:log_fmt=json -f null -`


    


    method 1 vmaf at frame 1 from json = 80

    


    method 2 vmaf = 70

    


    any reason why this is so ?

    


    Note : for moduse this is on topic as this covers
-> software tools commonly used by programmers (ie ffmpeg)

    


  • Batch file not running, only individual command runs

    11 décembre 2019, par Rajiv Sukhla

    I have a batch file of the following code

    cd C:\xampp\htdocs\Projects\videos\images_compare_english && ffmpeg -framerate .25 -i img-%02d.jpg -i music.mp3 -c:v libx264 -preset veryslow -crf 0 -c:a copy -shortest compare_english\output.mp4

    The above code has two commands which is separated by &&, means the second command will run only after the execution of the first. But it is not running. I am basically combining some images with music. But it is not working. However entering manually one command at a time works. Can anybody help me, what is the problem with command prompt ?

  • Why Safari does not play mp4 though Chrome plays it ?

    30 octobre 2022, par János

    This mp4 is generated from a gif : https://t44-post-cover.s3.eu-central-1.amazonaws.com/gp2w.mp4

    


    It is playable on Chrom, not on Safari. Why ? What is the problem ?

    


    This is the conversion command :

    


            await new Promise<void>((resolve, reject) => {&#xA;            ffmpeg&#xA;                .input(`/tmp/input_${imgId}.gif`)&#xA;                .outputOptions([&#xA;                    &#x27;-c:v libx264&#x27;,&#xA;                    &#x27;-movflags &#x2B;faststart&#x27;,&#xA;                    &#x27;-movflags frag_keyframe&#x2B;empty_moov&#x27;,&#xA;                ])&#xA;                .noAudio()&#xA;                .output(`/tmp/output_${imgId}.mp4`)&#xA;                .on(&#x27;end&#x27;, () => {&#xA;                    console.log(&#x27;MP4 video generated&#x27;)&#xA;                    resolve()&#xA;                })&#xA;                .on(&#x27;error&#x27;, (e) => {&#xA;                    console.log(e)&#xA;                    reject()&#xA;                })&#xA;                .run()&#xA;        })&#xA;</void>

    &#xA;

    Using ffmpeg-static :

    &#xA;

    const pathToFfmpeg = require(&#x27;ffmpeg-static&#x27;)&#xA;const ffmpeg = require(&#x27;fluent-ffmpeg&#x27;)().setFfmpegPath(pathToFfmpeg)&#xA;

    &#xA;