Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (42)

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

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

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (5583)

  • Bash - Get time difference from ffmpeg

    2 octobre 2017, par arjuncc

    I am building an an application using ffmpeg. In which I need to subtract start time of two files(there are only two files as input). following is my code.

    #!/bin/bash
    mkvarray=()
    mkvarray_name=()
    for video_name in *.mkv; do
    output=$(ffprobe -v error -show_entries format=start_time -of default=noprint_wrappers=1:nokey=1 "$video_name")
    mkvarray+=($output)
    mkvarray_name+=("$video_name")
    done

    arraylength=${#mkvarray[@]}
    for (( i=0; i<${arraylength}; i++ ));
    do
     echo ${mkvarray_name[$i-1]} "------>  " ${mkvarray[$i-1]}
    done

    max_number=0
    if [[ ${mkvarray[0]} < ${mkvarray[1]} ]]; then
     echo "first-------------"

     max_number = ${mkvarray[0]} - ${mkvarray[1]}
     echo "first " $max_number
    else
      echo "second-------------"
      max_number = ${mkvarray[0]} - ${mkvarray[1]}
      echo "second " $max_number
    fi

    echo $max_number

    OUTPUT

    $ ./ffmpeg_updated.bash RTda01986c816052106c00f417387a83ff.mkv ------>
    2.040000 cc.mkv ------> 2.040000 RT4bafb05e1b36885c75d7d67a16f5e3b2.mkv ------> 4.086000
    first------------- ./ffmpeg_updated.bash : line 24 : max_number : command
    not found first 0 0

    from this I understood that, floating point arithmetic is not possible. So Is there any suggestion to proceed from this. I am pretty much new to bash. Or is there any alternative way to get things done in ffmpeg ?

  • avcodec/mips : Improve hevc uni weighted 4 tap vt mc msa functions

    6 novembre 2017, par Kaustubh Raste
    avcodec/mips : Improve hevc uni weighted 4 tap vt mc msa functions
    

    Use global mask buffer for appropriate mask load.
    Use immediate unsigned saturation for clip to max saving one vector register.
    Remove unused macro.

    Signed-off-by : Kaustubh Raste <kaustubh.raste@imgtec.com>
    Reviewed-by : Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/hevc_mc_uniw_msa.c
  • avcodec/mips : Improve hevc uni weighted 4 tap hz mc msa functions

    3 novembre 2017, par Kaustubh Raste
    avcodec/mips : Improve hevc uni weighted 4 tap hz mc msa functions
    

    Use global mask buffer for appropriate mask load.
    Use immediate unsigned saturation for clip to max saving one vector register.
    Remove unused macro.

    Signed-off-by : Kaustubh Raste <kaustubh.raste@imgtec.com>
    Reviewed-by : Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/hevc_mc_uniw_msa.c