Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (29)

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

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

Sur d’autres sites (3663)

  • Displaying the current frame of a video after skipping using drawtext/start_number not evaluation any variables

    30 mars 2017, par DJ Quardaboff

    I would like to display the current frame number on a video while playing it with ffplay. I have already seen this solution, but when I seek to any part of the video, the counter resets. There’s a variable, start_number, which the ffplay documentation says is The starting frame number for the n/frame_num variable. The default value is "0". It seems that n is set to that when starting the video or seeking between I-frames. I thought setting this variable to %{floor(t*60)} would solve my problem, but after running this :

    ffplay -i "video.mp4" -vf drawtext="fontsize=30:box=1:boxcolor=white:fontcolor=black:fontfile=/Windows/Fonts/arial.ttf:start_number=floor(t*60):text=%{n}"

    I got the following console output :

    ffplay version N-84679-gd65b595 Copyright (c) 2003-2017 the FFmpeg developers
     built with gcc 6.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --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-libopenjpeg --enable-libopus --enable-librtmp --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-zlib
     libavutil      55. 51.100 / 55. 51.100
     libavcodec     57. 86.103 / 57. 86.103
     libavformat    57. 67.100 / 57. 67.100
     libavdevice    57.  3.101 / 57.  3.101
     libavfilter     6. 78.100 /  6. 78.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':=    0B f=0/0
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 2017-03-30T02:49:20.000000Z
       encoder         : Open Broadcaster Software v0.659b
     Duration: 00:05:36.85, start: 0.000000, bitrate: 72636 kb/s
       Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 162 kb/s (default)
       Metadata:
     creation_time   : 2017-03-30T02:49:20.000000Z
     handler_name    : Sound Media Handler
    Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/iec61966-2-1), 2560x1440, 72465 kb/s, 60 fps, 60 tbr, 1k tbn, 120 tbc (default)
    Metadata:
     creation_time   : 2017-03-30T02:49:20.000000Z
     handler_name    : Video Media Handler
     encoder         : AVC Coding
    [drawtext @ 00000000122770e0] [Eval @ 0000000008f3eb60] Undefined constant or missing '(' in 't*60)'
    [drawtext @ 00000000122770e0] Unable to parse option value "floor(t*60)"
    [drawtext @ 00000000122770e0] [Eval @ 0000000008f3ebd0] Undefined constant or missing '(' in 't*60)'
    [drawtext @ 00000000122770e0] Unable to parse option value "floor(t*60)"
    [drawtext @ 00000000122770e0] Error setting option start_number to value floor(t*60).
    [Parsed_drawtext_0 @ 000000000263eca0] Error applying options to the filter.
    Error initializing filter 'drawtext' with args 'fontsize=30:box=1:boxcolor=white:fontcolor=black:fontfile=/Windows/Fonts/arial.ttf:start_number=floor(t*60):text=%{n}'
      0.01 A-V:    nan fd=   0 aq=   22KB vq= 5866KB sq=    0B f=0/0

    In fact, any variable in start_number’s assignment invokes this error. I don’t know if I have the correct syntax, but does this mean it doesn’t evaluate expressions ? Or maybe it doesn’t accept variables for some reason ?

    After that downer I tried just setting the text to %{t}, which played the video, but repeatedly gave this error and had no text in the top left corner :

    [Parsed_drawtext_0 @ 0000000003e54ea0] %{t} is not known 0B f=0/0

    So does the current time variable just not work in drawtext ?
    Is there another way to write the current frame on the video or even on the console window ?

    Using Windows 10 Enterprise and the latest build of ffplay for windows at this time.

  • can i speedup text watermarking on ffmpeg ?

    3 juin 2020, par Easy Tricks For Android

    This command i used ffmpeg -i "1.mp4" -vf "drawtext=text='watermak_name':x=w-tw-50:y=h-th-50:fontfile=/Windows/fonts/calibri.ttf:fontsize=20:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2" "output.mp4". watermark is working with this command, but it takes more time up-to 3 hours +

    



    this is the log i got from cmd


    

D :>ffmpeg -i "1.mp4" -vf "drawtext=text='watermak_name':x=w-tw-50:y=h/2-th:fontfile=/Windows/fonts/
    courbd.ttf:fontsize=20:fontcolor=white" -max_muxing_queue_size 9999 "1_out.mp4"
    


    
ffmpeg version git-2020-05-23-26b4509 Copyright (c) 2000-2020 the FFmpeg developers
    
 built with gcc 9.3.1 (GCC) 20200523
    
 configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv
    —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame
    —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine
    —enable-libsnappy —enable-libsoxr —enable-libsrt —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-libvmaf —enable-libvorbis
    —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom
    —disable-w32threads —enable-libmfx —enable-ffnvcodec —enable-cuda-llvm —enable-cuvid —enable-d3d11va
    —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt —enable-amf
    
 libavutil 56. 48.100 / 56. 48.100
    
 libavcodec 58. 87.101 / 58. 87.101
    
 libavformat 58. 43.100 / 58. 43.100
    
 libavdevice 58. 9.103 / 58. 9.103
    
 libavfilter 7. 83.100 / 7. 83.100
    
 libswscale 5. 6.101 / 5. 6.101
    
 libswresample 3. 6.100 / 3. 6.100
    
 libpostproc 55. 6.100 / 55. 6.100
    
Truncating packet of size 95 to 83
    
Input #0, matroska,webm, from 'Uriyadi.mkv' :
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Downloaded From ABCD
    
 creation_time : 2020-05-22T16:44:46.000000Z
    
 Duration : 02:11:50.86, start : 0.000000, bitrate : 750 kb/s
    
 Stream #0:0(mal) : Video : h264 (High), yuv420p(progressive), 720x304 [SAR 1:1 DAR 45:19], 25 fps, 25 tbr, 1k
    tbn, 50 tbc (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
 Stream #0:1(mal) : Audio : mp3, 48000 Hz, stereo, fltp, 65 kb/s (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
Stream mapping :
    
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    
 Stream #0:1 -> #0:1 (mp3 (mp3float) -> vorbis (libvorbis))
    
Press [q] to stop, [?] for help
    
Fontconfig error : Cannot load default config file
    
[Parsed_drawtext_0 @ 000001a470fe3f00] Using "C :/Windows/fonts/mingliub.ttc"
    
[libx264 @ 000001a470a10600] using SAR=1/1
    
[libx264 @ 000001a470a10600] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    
[libx264 @ 000001a470a10600] profile High, level 3.0, 4:2:0, 8-bit
    
[libx264 @ 000001a470a10600] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 -
    http://www.videolan.org/x264.html - options : cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
    psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1
    chroma_qp_offset=-2 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
    constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
    keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69
    qpstep=4 ip_ratio=1.40 aq=1:1.00
    
Output #0, matroska, to '1_out.mp4' :
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Lavf58.43.100
    
 Stream #0:0(mal) : Video : h264 (libx264) (H264 / 0x34363248), yuv420p, 720x304 [SAR 1:1 DAR 45:19], q=-1—1,
    25 fps, 1k tbn, 25 tbc (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Lavc58.87.101 libx264
    
 Side data :
    
 cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : N/A
    
 Stream #0:1(mal) : Audio : vorbis (libvorbis) (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Lavc58.87.101 libvorbis
    
frame=35791 fps=308 q=28.0 size= 107264kB time=00:23:52.10 bitrate= 613.6kbits/s speed=12.3x
    


  • FFmpeg 3.3.4 avfoundation to record only a specific section of the screen on macOS Sierra using the command line

    16 octobre 2017, par antedesk

    I’m using FFmpeg version 3.3.4 (installed via brew) through the command line to record my desktop during some automated tests on my macOS Sierra (10.12.6).

    I would like to record only a specific section of the screen but, unfortunately, I’m not able to find the proper options in the documentation to reach my goal.

    According to the FFmpeg documentation for avfoundation, this is the command I use :

    ffmpeg
    -f avfoundation    // avfoundation
    -pix_fmt uyvy422   // pixel format
    -i 1               // input: desktop
    -r 30              // framerate for output
    [PATH]/test.mp4      // filename

    When I run this command I have the following output :

    ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 9.0.0 (clang-900.0.37)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-videotoolbox --enable-openssl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 --enable-nonfree --enable-vda
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    [avfoundation @ 0x7fb7d4005800] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, avfoundation, from '1':
     Duration: N/A, start: 7263.782833, bitrate: N/A
       Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1920x1080, 1000k tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    No pixel format specified, yuv422p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0x7fb7d4028400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x7fb7d4028400] profile High 4:2:2, level 4.0, 4:2:2 8-bit
    [libx264 @ 0x7fb7d4028400] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '[PATH]/test.mp4':
     Metadata:
       encoder         : Lavf57.71.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv422p, 1920x1080, q=-1--1, 30 fps, 15360 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.89.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=   83 fps= 28 q=-1.0 Lsize=     525kB time=00:00:02.66 bitrate=1612.6kbits/s dup=1 drop=0 speed=0.889x

    I tried to use the -video_size option to set the video frame size, but it doesn’t work.