Recherche avancée

Médias (91)

Autres articles (78)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (11188)

  • avcodec/hevcdec : fix stat_coeff save/load for persistent_rice_adaptation_enabled_flag

    15 novembre 2020, par Xu Guangxin
    avcodec/hevcdec : fix stat_coeff save/load for persistent_rice_adaptation_enabled_flag
    

    It's required by the 9.3.1 TableStatCoeff* section.

    Following clips have this feature :
    WPP_HIGH_TP_444_8BIT_RExt_Apple_2.bit
    Bitdepth_A_RExt_Sony_1.bin
    Bitdepth_B_RExt_Sony_1.bin
    EXTPREC_HIGHTHROUGHPUT_444_16_INTRA_10BIT_RExt_Sony_1.bit
    EXTPREC_HIGHTHROUGHPUT_444_16_INTRA_12BIT_RExt_Sony_1.bit
    EXTPREC_HIGHTHROUGHPUT_444_16_INTRA_8BIT_RExt_Sony_1.bit
    EXTPREC_MAIN_444_16_INTRA_10BIT_RExt_Sony_1.bit
    EXTPREC_MAIN_444_16_INTRA_12BIT_RExt_Sony_1.bit
    EXTPREC_MAIN_444_16_INTRA_8BIT_RExt_Sony_1.bit
    WPP_AND_TILE_10Bit422Test_HIGH_TP_444_10BIT_RExt_Apple_2.bit
    WPP_AND_TILE_AND_CABAC_BYPASS_ALIGN_0_HIGH_TP_444_14BIT_RExt_Apple_2.bit
    WPP_AND_TILE_AND_CABAC_BYPASS_ALIGN_1_HIGH_TP_444_14BIT_RExt_Apple_2.bit
    WPP_AND_TILE_HIGH_TP_444_8BIT_RExt_Apple_2.bit

    you can download them from :
    https://www.itu.int/wftp3/av-arch/jctvc-site/bitstream_exchange/draft_conformance/RExt/

    Signed-off-by : Xu Guangxin <oddstone@gmail.com>
    Signed-off-by : Linjie Fu <linjie.justin.fu@gmail.com>

    • [DH] libavcodec/hevc_cabac.c
    • [DH] libavcodec/hevcdec.c
    • [DH] libavcodec/hevcdec.h
  • I am trying to save frames from a webcam via Python and ffmpeg, but the video becomes way to fast

    10 mai 2022, par Matthias

    I get a stream of cv2 images from my webcam and want to save it to a video file. After playing a bit with cv2.VideoWriter() it turned out that using ffmpeg would provide more options and - apparently, following a few threads here on SO - lead to better results. So I gave the VidGear Python library a try, and it seems to work fine.

    &#xA;

    There is one catch though : My webcam provides a variable framerate, most of the time between 10 and 30 FPS. When saving these frames the video file becomes way too fast, like watching in fast-forward. One real-time minute becomes only a few seconds in the video.

    &#xA;

    I tried to play with various combinations of the ffmpeg's -framerate and/or -r parameters, but without luck. Here is the command I am using right now :

    &#xA;

    ffmpeg -y -f rawvideo -vcodec rawvideo -s 1920x1080 -pix_fmt bgra -framerate 25.0 -i - -vcodec libx265 -crf 25 -r 25 -preset fast &#xA;

    &#xA;

    For the records, I am creating the WriteGear class from the VidGear library like this :

    &#xA;

    video_params = {&#xA;    "-vcodec": "libx265",&#xA;    "-crf": 25,&#xA;    "-input_framerate": 25,&#xA;    "-r": 25,&#xA;}&#xA;WriteGear(output_filename=video_file, logging=True, **video_params)&#xA;

    &#xA;

    Any ideas what I am doing wrong here and how I need to call ffmpeg ?

    &#xA;

  • FFMPEG : How to save the effects (blur, adding image , ...) on the input video instead of creating a one ?

    9 juillet 2016, par Drupalist

    I need to save the effects on the current video instead of creating a one. For example this code

    ffmpeg -i input.mp4 -i logo.png -filter_complex "[1:v][0:v]scale2ref=(505/384)*ih/8:ih/8[wm][base];[wm]setsar=1[wmsar];[base][wmsar]overlay=10:10" -pix_fmt yuv420p -c:a copy output.mp4

    pastes an image on a video, but I need the image to be pasted to input.mp4 not output.mp4.

    I tried

    ffmpeg -i input.mp4 -i logo.png -filter_complex "[1:v][0:v]scale2ref=(505/384)*ih/8:ih/8[wm][base];[wm]setsar=1[wmsar];[base][wmsar]overlay=10:10" -pix_fmt yuv420p -c:a

    but it didn’t work.

    Thanks in advance.