Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (95)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (6957)

  • ffmpeg not working with filenames that have whitespace

    1er avril 2017, par cmw

    I’m using FFMPEG to measure the duration of videos stored in an Amazon S3 Bucket.

    I’ve read the FFMPEG docs, and they explicitly state that all whitespace and special characters need to be escaped, in order for FFMPEG to handle them properly :

    See docs 2.1 and 2.1.1 : https://ffmpeg.org/ffmpeg-utils.html

    However, when dealing with files whose filenames contain whitespace, ffmpeg fails to render a result.

    I’ve tried the following, with no success

    ffmpeg -i "http://s3.mybucketname.com/videos/my\ video\ file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d
    ffmpeg -i "http://s3.mybucketname.com/videos/my video file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d
    ffmpeg -i "http://s3.mybucketname.com/videos/my'\' video'\' file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d
    ffmpeg -i "http://s3.mybucketname.com/videos/my\ video\ file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d

    However, if I strip out the whitespace in the filename – all is well, and the duration of the video is returned.

    Any help is appreciated !

  • Text on video using FFMPEG

    22 novembre 2017, par Rao

    i am trying to add text on a video using ffmpeg. I have seen so-many helps in stackoverflow and followed, but hard luck i couldn’t succeed.

    i have followed this thread.

    Here is my command

    ffmpeg -i C:/source/TestScene.mov -vf drawtext="fontfile=c:/windows/fonts/arial.ttf: text='TestMessage': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy C:/source/TestScene_test.mov

    Here is my error traceback

    F:\SW\ffmpeg\bin>ffmpeg -i C:/source/TestScene.mov -vf drawtext="fontfile=c:/windows/fonts/arial.ttf: text='TestMessage': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy C:/source/TestScene_test.mov
    ffmpeg version N-89127-g8f4702a93f Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
     libavutil      56.  0.100 / 56.  0.100
     libavcodec     58.  3.103 / 58.  3.103
     libavformat    58.  2.100 / 58.  2.100
     libavdevice    58.  0.100 / 58.  0.100
     libavfilter     7.  2.100 /  7.  2.100
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:/source/TestScene.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 512
       compatible_brands: qt
       encoder         : Lavf58.2.100
     Duration: 00:00:04.67, start: 0.000000, bitrate: 187 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 185 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
       Metadata:
         handler_name    : DataHandler
         encoder         : Lavc58.3.103 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    Fontconfig error: Cannot load default config file
    [Parsed_drawtext_0 @ 0000009cfe42ef20] Cannot find a valid font for the family Sans
    [AVFilterGraph @ 0000009cfed15fc0] Error initializing filter 'drawtext' with args 'fontfile=c:/windows/fonts/arial.ttf: text=TestMessage: fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2'
    Error reinitializing filters!
    Failed to inject frame into filter network: No such file or directory
    Error while processing the decoded data for stream #0:0
    Conversion failed!

    Hope to see some solution.

  • avcodec/mpegvideo : Only keep the actually used unquantize funcs

    19 mars, par Andreas Rheinhardt
    avcodec/mpegvideo : Only keep the actually used unquantize funcs
    

    For all encoders and all decoders except MPEG-4 the unquantize
    functions to use don't change at all and therefore needn't be
    kept in the context. So discard them after setting them ;
    for MPEG-4, the functions get assigned on a per-frame basis.

    Decoders not using any unquantize functions (H.261, MPEG-1/2)
    as well as decoders that only call ff_mpv_reconstruct_mb()
    through error resilience (RV30/40, the VC-1 family) don't have
    the remaining pointers set at all.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/arm/mpegvideo_arm.c
    • [DH] libavcodec/arm/mpegvideo_arm.h
    • [DH] libavcodec/arm/mpegvideo_armv5te.c
    • [DH] libavcodec/h263dec.c
    • [DH] libavcodec/mips/mpegvideo_init_mips.c
    • [DH] libavcodec/mpeg4videodec.c
    • [DH] libavcodec/mpeg4videodec.h
    • [DH] libavcodec/mpegvideo.c
    • [DH] libavcodec/mpegvideo.h
    • [DH] libavcodec/mpegvideo_enc.c
    • [DH] libavcodec/mpegvideo_unquantize.c
    • [DH] libavcodec/mpegvideo_unquantize.h
    • [DH] libavcodec/neon/mpegvideo.c
    • [DH] libavcodec/ppc/mpegvideo_altivec.c
    • [DH] libavcodec/x86/mpegvideo.c