Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (26)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Why are Cb and Cr planes displaced differently from lum by the displace complex filter in ffmpeg ?

    6 mai 2017, par Neb

    I have a video encoded with the yuv420p pixel format and I want to displace its pixels. I’m using ffmpeg and its new displace filter. The filter takes as inputs (the video to be displaced and) two displacement maps respectively for X and Y axis. I decided to create the displacement maps directly into ffmpeg using the nullsrc video source filter and the geq filter to specify the value of the three planes : lum, Cb, Cr. The script is the following :

    ffmpeg INPUT.mp4 -f lavfi -i nullsrc=size=${WIDTH}x${HEIGHT}:d=0.1,geq='lum=128+30*sin(2*PI*X/400):Cb=128+30*sin(2*PI*X/400):Cr='128+30*sin(2*PI*X/400)' -f lavfi -i nullsrc=size=${WIDTH}x${HEIGHT}:d=0.1,geq='lum=128+30*sin(2*PI*X/400):Cb=128+30*sin(2*PI*X/400):Cr=128+30*sin(2*PI*X/400)' -lavfi '[0][1][2]displace' OUTPUT.mp4

    I used the example provided in the documentation of ffmpeg, since the expression used in geq is irrelevant for the purposes of the problem.

    At the and of the computation, I get the pixels of the input video not properly displaced, meaning that I can clearly see a sort of ghost carrying-color-information video under a displaced but b/w one.
    After some tests, I noticed that the displacemnt map created had only the luma plane displaced correctly while the chrominance planes were displaced, but differently from luma, which is the origin of the planes disalignment in the intput video as you can see in the following extract frames :

    Planes separated

    I also noticed that the video describing the Cb and Cr planes of the displacement maps have half resolution of the luma plane.

    My question is : how can i setup correctly the Cr and Cb planes in the geq definition so that they are exactly identical to the luma plane ?

    It would be also great if someone could explain me why ffmpeg gives me an output so much different for luma and Cb, Cr planes even if the function provided is the same.

    If, it can help, i’m using ffmpeg 3.3-static build.

    Thanks for your time.

  • FFMpeg call from kotlin invalid argument [closed]

    4 février 2024, par Moréo

    I'm trying to execute a ffmpeg command with a complex_filter in it, but i get a parsing error from ffmpeg every time

    


    [AVFilterGraph @ 0x602c5de06880] No option name near '4'
[AVFilterGraph @ 0x602c5de06880] Error parsing a filter description around: [v1][v2][v3][v4]; [v1]scale_vaapi=-2:1080[v1out]; [v2]scale_vaapi=-2:720[v2out]; [v3]scale_vaapi=-2:480[v3out]; [v4]scale_vaapi=-2:360[v4out]
[AVFilterGraph @ 0x602c5de06880] Error parsing filterchain '[0:v:0]split_vaapi=4[v1][v2][v3][v4]; [v1]scale_vaapi=-2:1080[v1out]; [v2]scale_vaapi=-2:720[v2out]; [v3]scale_vaapi=-2:480[v3out]; [v4]scale_vaapi=-2:360[v4out]' around: [v1][v2][v3][v4]; [v1]scale_vaapi=-2:1080[v1out]; [v2]scale_vaapi=-2:720[v2out]; [v3]scale_vaapi=-2:480[v3out]; [v4]scale_vaapi=-2:360[v4out]
Failed to set value '[0:v:0]split_vaapi=4[v1][v2][v3][v4]; [v1]scale_vaapi=-2:1080[v1out]; [v2]scale_vaapi=-2:720[v2out]; [v3]scale_vaapi=-2:480[v3out]; [v4]scale_vaapi=-2:360[v4out]' for option 'filter_complex': Invalid argument
Error parsing global options: Invalid argument


    


    Here is the filter build

    


    val splitsDef = "[0:v:0]split_vaapi=${splits.size}" + splits.joinToString("") { "[${it.name}]" }

val splitFilters = splits.joinToString("; ") { "[${it.name}]${it.filter}[${it.name}out]" }

val args = mutableListOf(..., "$splitsDef; $splitFilters")



    


    I've tried to add escaped quote to my complex definition, but i get another error from ffmpeg. However, when running the command in my terminal, It's working.

    


    I found this question quite answering what I'm trying to achieve, but not working either.

    


  • checkasm : Remove unnecessary const on scalar parameters

    15 décembre 2023, par Martin Storsjö
    checkasm : Remove unnecessary const on scalar parameters
    

    The ffmpeg coding style doesn't usually use const on scalar
    parameters (or on the pointer values - as opposed to the type
    that is pointed to, where it has a semantic meaning), contrary
    to the dav1d coding style (where this was imported from).

    This avoids warnings about differences in the type signatures
    between declaration and definition of this function, with older
    versions of MSVC.

    The issue was observed with one version of MSVC 2017,
    19.16.27024.1, with warnings like these :

    src/tests/checkasm/checkasm.c(969) : warning C4028 : formal parameter 3 different from declaration

    The warning itself is bogus as the const here is harmless, and
    newer versions of MSVC no longer warn about this.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] tests/checkasm/checkasm.c
    • [DH] tests/checkasm/checkasm.h