Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (109)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

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

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

  • Revision 73422d3b2d : Short circuit rate_block in block_rd_txfm. Don't run rate_block (cost_coeffs) i

    31 juillet 2015, par Alex Converse

    Changed Paths :
     Modify /vp9/encoder/vp9_rdopt.c



    Short circuit rate_block in block_rd_txfm.

    Don’t run rate_block (cost_coeffs) if distortion alone is enough to
    surpass best_rd.

    This decreases 2nd pass runtime on HD at speed 2 by about 2%. There is
    zero effect on output if tx_cache is removed.

    Change-Id : Ia3b1cc77bfbe6ee988c395fde06c0eb92940b784

  • avcodec/hevc : Track long and short term RPS size for VDPAU

    13 juin 2015, par Philip Langdale
    avcodec/hevc : Track long and short term RPS size for VDPAU
    

    Today, we track the short term RPS size for DXVA, but only if the
    SliceHeader RPS is being used. Otherwise it’s left uninitialized.

    NVIDIA’s VDPAU implementation requires that the size be accurately
    tracked even if an SPS RPS is being used. In this case, it’s really
    counting the size of the RPS idx information, but you end up with
    mangled output if the value is not accurate.

    VDPAU also needs the size of the long term RPS.

    Signed-off-by : Philip Langdale <philipl@overt.org>

    • [DH] libavcodec/hevc.c
    • [DH] libavcodec/hevc.h
  • How can twisted spawnProcess send ffmpeg filter_complex parameters with embedded quotes ?

    19 août 2024, par Stephen

    I am attempting to send these (simplified) parameters to ffmpeg via reactor.spawnProcess.

    &#xA;

    [&#x27;-filter_complex&#x27;, &#x27;"[0:v]setpts=PTS-STARTPTS,scale=-1:720 [a0];[a0]pad=w=1280:h=720:x=-1:y=-1:color=black[out]"&#x27;&#xA;

    &#xA;

    but presumedly code is doing some form of prefixing which ffmpeg can't understand because my filter graph always errors although I can send my exact same text to ffmpeg on command line and it's fine.

    &#xA;

    I've attempted to repr and escape ('"') and I can't figure out how to get these strings through to ffmpeg.

    &#xA;

    Edit : Don't know why I didn't try before but I wrote a little script to receive the input parameters and they're fine. Still at a loss to understand why " ".join(params) will run from terminal but it fails in spawnProcess.

    &#xA;

    Edit : ffmpeg output

    &#xA;

    Splitting the commandline.&#xA;Reading option &#x27;-loglevel&#x27; ... matched as option &#x27;loglevel&#x27; (set logging level) with argument &#x27;debug&#x27;.&#xA;Reading option &#x27;-v&#x27; ... matched as option &#x27;v&#x27; (set logging level) with argument &#x27;verbose&#x27;.&#xA;Reading option &#x27;-threads&#x27; ... matched as AVOption &#x27;threads&#x27; with argument &#x27;auto&#x27;.&#xA;Reading option &#x27;-flags&#x27; ... matched as AVOption &#x27;flags&#x27; with argument &#x27;-global_header&#x27;.&#xA;Reading option &#x27;-i&#x27; ... matched as input url with argument &#x27;config/colorbars.jpg&#x27;.&#xA;Reading option &#x27;-c:v&#x27; ... matched as option &#x27;c&#x27; (codec name) with argument &#x27;copy&#x27;.&#xA;Reading option &#x27;-tag:v&#x27; ... matched as option &#x27;tag&#x27; (force codec tag/fourcc) with argument &#x27;hvc1&#x27;.&#xA;Reading option &#x27;-filter_complex&#x27; ... matched as option &#x27;filter_complex&#x27; (create a complex filtergraph) with argument &#x27;"[0:v]setpts=(RTCTIME-RTCSTART)/(TB*1000000),scale=-1:720[outpad];[outpad]pad=w=1280:h=720:x=-1:y=-1:color=black[out]"&#x27;.&#xA;Reading option &#x27;-map&#x27; ... matched as option &#x27;map&#x27; (set input stream mapping) with argument &#x27;"[out]"&#x27;.&#xA;Reading option &#x27;-c:v&#x27; ... matched as option &#x27;c&#x27; (codec name) with argument &#x27;hevc_videotoolbox&#x27;.&#xA;Reading option &#x27;-b:v&#x27; ... matched as option &#x27;b&#x27; (video bitrate (please use -b:v)) with argument &#x27;3000K&#x27;.&#xA;Reading option &#x27;-preset&#x27; ... matched as AVOption &#x27;preset&#x27; with argument &#x27;medium&#x27;.&#xA;Reading option &#x27;-profile:v&#x27; ... matched as option &#x27;profile&#x27; (set profile) with argument &#x27;main&#x27;.&#xA;Reading option &#x27;-pix_fmt&#x27; ... matched as option &#x27;pix_fmt&#x27; (set pixel format) with argument &#x27;yuv420p&#x27;.&#xA;Reading option &#x27;-t&#x27; ... matched as option &#x27;t&#x27; (record or transcode "duration" seconds of audio/video) with argument &#x27;5&#x27;.&#xA;Reading option &#x27;temp/apptest_1.mp4&#x27; ... matched as output url.&#xA;Reading option &#x27;-y&#x27; ... matched as option &#x27;y&#x27; (overwrite output files) with argument &#x27;1&#x27;.&#xA;Finished splitting the commandline.&#xA;Parsing a group of options: global .&#xA;Applying option loglevel (set logging level) with argument debug.&#xA;Applying option v (set logging level) with argument verbose.&#xA;Input #0, image2, from &#x27;config/colorbars.jpg&#x27;:&#xA;  Duration: 00:00:00.04, start: 0.000000, bitrate: 4712 kb/s&#xA;  Stream #0:0: Video: mjpeg (Baseline), 1 reference frame, yuvj420p(pc, bt470bg/unknown/unknown, center), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn&#xA;[AVFilterGraph @ 0x600001fbc600] No such filter: &#x27;"&#x27;&#xA;Error initializing complex filters.&#xA;Invalid argument&#xA;

    &#xA;

    Solution : The problem always solves when requesting assistance. Every example at ffmpeg wiki shows double quotes around the filter graph. When sending with spawnProcess this is unnecessary.

    &#xA;