Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (70)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (9147)

  • Keep ffmpeg render as constant speed ( 3x )

    6 octobre 2017, par boygiandi

    I’m trying to render a video. But I want render it as constant speed.
    Example :

    ffmpeg -stream_loop -1 -i 113856_video_0.ts -c:v copy -c:a aac -bufsize 3600k -maxrate 1800k -rtbufsize 15M -metadata comment="screen113856" -preset ultrafast -g 50 -r 4 -sc_threshold 0 -crf 0 -threads 1 out.mp4

    This ffmpeg will render video fine, out put like this

    frame=77590 fps=113 q=-1.0 size= 596650kB time=00:51:43.67 bitrate=1574.8kbits/s speed=10.51x

    You can see speed=10.51x , It’s fast but but it take all of my CPU. If I use ffmpeg -re , it render as speed=1x , good for CPU but take time. Can I render video as specific speed ?

    There is an option to use cpulimit

    cpulimit -l 20 ffmpeg ...

    Almost solves my case but :
    - some time it doesn’t works, ffmpeg still take 100% CPU
    - for each video, I have to set the number CPU limit, (-l 20, 30) to get the specific speed. I want to do it automatically.

  • How to solve the noise of the video player at different speed [closed]

    6 novembre 2024, par davinlin

    The project is based on qt+ffmpeg,QAudioOutput module for audio,1.0 times the speed is normal, although the speed is normal, But there will be current noise,,I checked that the sampling rate is matched and the buffer size is enough,The implementation of speed is mainly to modify the timestamp and sampling rate,How to solve it ?

    


    I tried to modify the video and audio timestamp to keep them sync,and modified the audio buffer size according to speed. if I don't revise the audio buffer size according to speed, then will not have any noise but can't correctly speed the video. otherwise, it can speed the video but have some noise.

    


  • av(codec|device) : Don't cast pointers to int

    20 novembre 2021, par Andreas Rheinhardt
    av(codec|device) : Don't cast pointers to int
    

    C99/C11 6.3.2.3 5 : "Any pointer type may be converted to an integer
    type. [...] If the result cannot be represented in the integer type,
    the behavior is undefined." So stop casting pointers to int ; use
    uintptr_t instead.

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/dvdec.c
    • [DH] libavcodec/x86/h264_qpel.c
    • [DH] libavcodec/x86/me_cmp_init.c
    • [DH] libavcodec/x86/mpegvideoenc_template.c
    • [DH] libavdevice/xcbgrab.c