Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (69)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (7603)

  • avfilter/formats : allow unknown channel layouts by default

    22 novembre 2016, par Marton Balint
    avfilter/formats : allow unknown channel layouts by default
    

    Since the default in the libav fork is to only allow known layouts, making
    unknown layouts allowed by default here can be a security risk for filters
    directly merged from libav. However, usually it is simple to detect such cases,
    use of av_get_channel_layout_nb_channels is a good indicator, so I suggest we
    change this regardless.

    See http://ffmpeg.org/pipermail/ffmpeg-devel/2016-November/203204.html.

    This patch indirectly adds unknown channel layout support for filters where
    query_formats is not specified :

    abench
    afifo
    ainterleave
    anullsink
    apad
    aperms
    arealtime
    aselect
    asendcmd
    asetnsamples
    asetpts
    asettb
    ashowinfo
    azmq

    It introduces a query_formats callback for the asyncts filter, which only
    supports known channel layouts since it is using libavresample.

    And it removes .query_formats callback from filters where it was only there to
    support unknown layouts, as this is now the default :

    aloop
    ametadata
    anull
    asidedata
    asplit
    atrim

    Acked-by : Nicolas George <george@nsup.org>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavfilter/af_anull.c
    • [DH] libavfilter/af_asyncts.c
    • [DH] libavfilter/f_loop.c
    • [DH] libavfilter/f_metadata.c
    • [DH] libavfilter/f_sidedata.c
    • [DH] libavfilter/formats.c
    • [DH] libavfilter/formats.h
    • [DH] libavfilter/split.c
    • [DH] libavfilter/trim.c
  • How encrypt video file using ffmpeg with a single file output

    9 décembre 2016, par Akshay Kumar

    I am trying to encrypt a video(mp4) file having a single file output. Here is the command that I use :
    ffmpeg -i -c:v libx264 -preset slow -hls_list_size 0 -hls_key_info_file encrypt.keyinfo -f hls -hls_playlist_type vod -hls_time 20 -threads 0 .
    However when I play the generated m3u8 file in safari the video stop for seconds(timer goes on) and resume after few seconds. This is happens multiple times in a single video playback.
    Can anyone help me to encode video file with single output file.

    Full command :

    /usr/local/bin/ffmpeg -i MJ.mp4 -c:v libx264  -preset slow -hls_list_size 0 -hls_key_info_file encrypt.keyinfo -f hls -hls_playlist_type vod -hls_flags single_file -hls_time 20  -threads 0 encrypted15.m3u8

    It’s corresponding console output :

    ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
     built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
     libavutil      55. 34.100 / 55. 34.100
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.100 / 57. 56.100
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MJ.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.63.104
     Duration: 00:04:43.21, start: 0.000000, bitrate: 1070 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 938 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    [libx264 @ 0x7f8930818200] using SAR=1/1
    [libx264 @ 0x7f8930818200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x7f8930818200] profile High, level 3.1
    Output #0, hls, to 'encrypted15.m3u8':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.56.100
       Stream #0:0(und): Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
       Metadata:
         handler_name    : VideoHandler
         encoder         : Lavc57.64.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
       Stream #0:1(und): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
         encoder         : Lavc57.64.101 aac
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    frame= 7079 fps= 64 q=-1.0 Lsize=N/A time=00:04:43.21 bitrate=N/A speed=2.55x
    video:30401kB audio:4156kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    [libx264 @ 0x7f8930818200] frame I:66    Avg QP:16.19  size: 44529
    [libx264 @ 0x7f8930818200] frame P:2496  Avg QP:20.09  size:  7995
    [libx264 @ 0x7f8930818200] frame B:4517  Avg QP:21.77  size:  1823
    [libx264 @ 0x7f8930818200] consecutive B-frames:  5.7% 10.3% 52.4% 31.6%
    [libx264 @ 0x7f8930818200] mb I  I16..4: 34.7% 39.2% 26.0%
    [libx264 @ 0x7f8930818200] mb P  I16..4:  4.8%  7.0%  0.7%  P16..4: 31.6%  7.1%  2.6%  0.0%  0.0%    skip:46.2%
    [libx264 @ 0x7f8930818200] mb B  I16..4:  0.4%  0.4%  0.0%  B16..8: 24.8%  1.6%  0.1%  direct: 0.9%  skip:71.8%  L0:39.4% L1:57.4% BI: 3.2%
    [libx264 @ 0x7f8930818200] 8x8 transform intra:52.6% inter:73.7%
    [libx264 @ 0x7f8930818200] direct mvs  spatial:99.9% temporal:0.1%
    [libx264 @ 0x7f8930818200] coded y,uvDC,uvAC intra: 23.4% 41.8% 12.7% inter: 3.8% 6.4% 0.3%
    [libx264 @ 0x7f8930818200] i16 v,h,dc,p: 40% 25% 12% 23%
    [libx264 @ 0x7f8930818200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 16% 36%  2%  3%  4%  4%  3%  4%
    [libx264 @ 0x7f8930818200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 19% 14%  5%  8%  7%  8%  6%  6%
    [libx264 @ 0x7f8930818200] i8c dc,h,v,p: 49% 21% 21%  8%
    [libx264 @ 0x7f8930818200] Weighted P-Frames: Y:6.7% UV:6.2%
    [libx264 @ 0x7f8930818200] ref P L0: 66.8% 10.5% 12.6%  4.9%  5.1%  0.2%  0.0%
    [libx264 @ 0x7f8930818200] ref B L0: 82.4% 12.1%  4.5%  1.0%
    [libx264 @ 0x7f8930818200] ref B L1: 99.2%  0.8%
    [libx264 @ 0x7f8930818200] kb/s:879.53
    [aac @ 0x7f8930811e00] Qavg: 7830.089
  • FFmpeg : Could not get frame filename with strftime

    7 décembre 2016, par clic

    I want to have a timestamp in my JPEG files generated by FFmpeg.
    I’m getting the above error message when executing FFmpeg like this :

    ffmpeg -f dshow -framerate 50 -i video="XI100DUSB-HDMI Video" -strftime 1 "%Y-%m-%d_%H-%M-%S_thumb%04d.jpg"

    It also says :

    av_interleaved_write_frame() : Invalid argument

    What am I doing wrong ?
    Thanks !

    Complete FFmpeg output :

    ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.4.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-li
    bopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
     libavutil      55. 34.100 / 55. 34.100
     libavcodec     57. 64.100 / 57. 64.100
     libavformat    57. 56.100 / 57. 56.100
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    Input #0, dshow, from 'video=XI100DUSB-HDMI Video':
     Duration: N/A, start: 777552.702000, bitrate: N/A
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1920x1080, 50 fps, 50 tbr, 10000k tbn, 10000k tbc
    [swscaler @ 0000000001c8c940] deprecated pixel format used, make sure you did set range correctly
    [mjpeg @ 0000000001c7ea60] removing common factors from framerate
    Output #0, image2, to '%Y-%m-%d_%H-%M-%S_thumb%04d.jpg':
     Metadata:
       encoder         : Lavf57.56.100
       Stream #0:0: Video: mjpeg, yuvj422p(pc), 1920x1080, q=2-31, 200 kb/s, 50 fps, 50 tbn, 50 tbc
       Metadata:
         encoder         : Lavc57.64.100 mjpeg
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    [image2 @ 0000000001c7afe0] Could not get frame filename with strftime
    av_interleaved_write_frame(): Invalid argument
    frame=    1 fps=0.0 q=7.9 Lsize=N/A time=00:00:00.02 bitrate=N/A speed=0.687x
    video:101kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    [dshow @ 0000000001c728a0] real-time buffer [XI100DUSB-HDMI Video] [video input] too full or near too full (136% of size: 3041280 [rtbufsize parameter])! frame dropped!
    Conversion failed!