Recherche avancée

Médias (91)

Autres articles (106)

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (10644)

  • Frame rate very high for a muxer not efficiently supporting it

    23 avril 2014, par DevDave

    I got an error when trying to run the following command with FFMpeg :

    -i "file1.mp4" -s 506x406 -b:v 2000k -ar 22050 "file2.mp4"

    FFMpeg was stuck converting this video, which was just a 7Mb .mp4 file, for hours and eventually I had to kill the process.

    The output error from FFMpeg is as follows :

    Converter Error Message:
    ffmpeg version N-42069-g3233ad4 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jun 30 2012 13:18:20 with gcc 4.7.1
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      51. 63.100 / 51. 63.100
     libavcodec     54. 31.100 / 54. 31.100
     libavformat    54. 14.100 / 54. 14.100
     libavdevice    54.  0.100 / 54.  0.100
     libavfilter     3.  0.100 /  3.  0.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'File1.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42mp41
       creation_time   : 2013-07-18 15:38:11
     Duration: 00:02:02.23, start: -7.105889, bitrate: 518 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 718x574 [SAR 64:45 DAR 22976:12915], 361 kb/s, 24.97 fps, 90k tbr, 90k tbn, 180k tbc
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Video Media Handler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 129 kb/s
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Sound Media Handler
    [graph 0 input from stream 0:0 @ 0259cee0] w:718 h:574 pixfmt:yuv420p tb:1/90000 fr:90000/1 sar:64/45 sws_param:flags=2
    [output stream 0:0 @ 0259cda0] No opaque field provided
    [scaler for output stream 0:0 @ 0259c0e0] w:718 h:574 fmt:yuv420p sar:64/45 -> w:506 h:406 fmt:yuv420p sar:666304/466785 flags:0x4
    **[mp4 @ 02599020] Frame rate very high for a muxer not efficiently supporting it.
    Please consider specifying a lower framerate, a different muxer or -vsync 2**
    [graph 1 input from stream 0:1 @ 02b88200] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
    [auto-inserted resampler 0 @ 024e44e0] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:s16 r:22050Hz
    [libx264 @ 02407200] using SAR=895/627
    [libx264 @ 02407200] MB rate (74880000) > level limit (2073600)
    [libx264 @ 02407200] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
    [libx264 @ 02407200] profile High, level 5.2
    [libx264 @ 02407200] 264 - core 125 r2200 999b753 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - 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=3 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=abr mbtree=1 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'File2.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42mp41
       encoder         : Lavf54.14.100
       Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 506x406 [SAR 666304:466785 DAR 22976:12915], q=-1--1, 2000 kb/s, 180k tbn, 90k tbc
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Video Media Handler
       Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 22050 Hz, stereo, s16, 128 kb/s
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Sound Media Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
    Press [q] to stop, [?] for help
    DTS -3600, next:-79995 st:0 invalid dropping
    frame= 7201 fps=768 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=7198 drop=0    
    frame=10801 fps=575 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=10797 drop=0    
    frame=14401 fps=516 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=14396 drop=0    
    frame=18001 fps=484 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=17995 drop=0    
    frame=21601 fps=464 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=21594 drop=0    
    frame=25201 fps=454 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=25193 drop=0    
    .....

    And it just pretty much carries on like that until when I killed the process.

    Can anyone explain to me what is going on here and what I can do to fix this ?

  • Frame rate very high for a muxer not efficiently supporting it

    24 décembre 2018, par DevDave

    I got an error when trying to run the following command with FFMpeg :

    -i "file1.mp4" -s 506x406 -b:v 2000k -ar 22050 "file2.mp4"

    FFMpeg was stuck converting this video, which was just a 7Mb .mp4 file, for hours and eventually I had to kill the process.

    The output error from FFMpeg is as follows :

    Converter Error Message:
    ffmpeg version N-42069-g3233ad4 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jun 30 2012 13:18:20 with gcc 4.7.1
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      51. 63.100 / 51. 63.100
     libavcodec     54. 31.100 / 54. 31.100
     libavformat    54. 14.100 / 54. 14.100
     libavdevice    54.  0.100 / 54.  0.100
     libavfilter     3.  0.100 /  3.  0.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'File1.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42mp41
       creation_time   : 2013-07-18 15:38:11
     Duration: 00:02:02.23, start: -7.105889, bitrate: 518 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 718x574 [SAR 64:45 DAR 22976:12915], 361 kb/s, 24.97 fps, 90k tbr, 90k tbn, 180k tbc
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Video Media Handler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 129 kb/s
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Sound Media Handler
    [graph 0 input from stream 0:0 @ 0259cee0] w:718 h:574 pixfmt:yuv420p tb:1/90000 fr:90000/1 sar:64/45 sws_param:flags=2
    [output stream 0:0 @ 0259cda0] No opaque field provided
    [scaler for output stream 0:0 @ 0259c0e0] w:718 h:574 fmt:yuv420p sar:64/45 -> w:506 h:406 fmt:yuv420p sar:666304/466785 flags:0x4
    **[mp4 @ 02599020] Frame rate very high for a muxer not efficiently supporting it.
    Please consider specifying a lower framerate, a different muxer or -vsync 2**
    [graph 1 input from stream 0:1 @ 02b88200] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
    [auto-inserted resampler 0 @ 024e44e0] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:s16 r:22050Hz
    [libx264 @ 02407200] using SAR=895/627
    [libx264 @ 02407200] MB rate (74880000) > level limit (2073600)
    [libx264 @ 02407200] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
    [libx264 @ 02407200] profile High, level 5.2
    [libx264 @ 02407200] 264 - core 125 r2200 999b753 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - 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=3 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=abr mbtree=1 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'File2.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 1
       compatible_brands: mp42mp41
       encoder         : Lavf54.14.100
       Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 506x406 [SAR 666304:466785 DAR 22976:12915], q=-1--1, 2000 kb/s, 180k tbn, 90k tbc
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Video Media Handler
       Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 22050 Hz, stereo, s16, 128 kb/s
       Metadata:
         creation_time   : 2013-07-18 15:38:11
         handler_name    : Apple Sound Media Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> libvo_aacenc)
    Press [q] to stop, [?] for help
    DTS -3600, next:-79995 st:0 invalid dropping
    frame= 7201 fps=768 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=7198 drop=0    
    frame=10801 fps=575 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=10797 drop=0    
    frame=14401 fps=516 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=14396 drop=0    
    frame=18001 fps=484 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=17995 drop=0    
    frame=21601 fps=464 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=21594 drop=0    
    frame=25201 fps=454 q=69.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=25193 drop=0    
    .....

    And it just pretty much carries on like that until when I killed the process.

    Can anyone explain to me what is going on here and what I can do to fix this ?

  • Recording desktop with gdigrab ffmeg to mp4 file with too high video_size don't working

    4 juillet 2016, par tagry

    I try to recording my desktop with ffmpeg using the command :

    ffmpeg -f gdigrab -framerate 10 -video_size 1920x1200 -i desktop -pix_fmt yuv420p -vcodec libx264 -preset ultrafast output.mp4

    The problem is when the video_size option is higher than some size, (for example height higher 1089), the video can’t be read with Windows Media. I noticed that with this high size, the video which be recorded doesn’t have informations about size. I don’t understand why the record don’t work with a too big size. If somebody can help me.
    Thank you very much and very sorry for my English.

    [edit]

       ffmpeg version N-78758-g5156578 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --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. 19.100 / 55. 19.100
     libavcodec     57. 27.100 / 57. 27.100
     libavformat    57. 26.100 / 57. 26.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 37.100 /  6. 37.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    [gdigrab @ 00861860] Capturing whole desktop as 1920x1200x16 at (0,0)
    Input #0, gdigrab, from 'desktop':
     Duration: N/A, start: 1467631308.011542, bitrate: 368644 kb/s
       Stream #0:0: Video: bmp, rgb555le, 1920x1200, 368644 kb/s, 10 tbr, 1000k tbn, 10 tbc
    [libx264 @ 00863fe0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 00863fe0] profile Constrained Baseline, level 5.0
    [libx264 @ 00863fe0] 264 - core 148 r2665 a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=10 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    Output #0, mp4, to 'output.mp4':
     Metadata:
       encoder         : Lavf57.26.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1920x1200, q=-1--1, 10 fps, 10240 tbn, 10 tbc
       Metadata:
         encoder         : Lavc57.27.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream mapping:
     Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=    6 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
    frame=   11 fps= 11 q=10.0 size=     277kB time=00:00:00.40 bitrate=5664.4kbits/s speed=0.396x    
    frame=   16 fps= 11 q=9.0 size=     393kB time=00:00:00.90 bitrate=3578.8kbits/s speed=0.595x    
    frame=   21 fps= 10 q=9.0 size=     429kB time=00:00:01.40 bitrate=2507.4kbits/s speed=0.695x    
    frame=   26 fps= 10 q=9.0 size=     429kB time=00:00:01.90 bitrate=1849.3kbits/s speed=0.754x    
    frame=   31 fps= 10 q=18.0 size=     430kB time=00:00:02.40 bitrate=1466.1kbits/s speed=0.793x    
    frame=   36 fps= 10 q=10.0 size=     511kB time=00:00:02.90 bitrate=1442.6kbits/s speed=0.823x    
    frame=   41 fps= 10 q=10.0 size=     562kB time=00:00:03.40 bitrate=1353.0kbits/s speed=0.844x    
    frame=   46 fps= 10 q=10.0 size=     565kB time=00:00:03.90 bitrate=1185.9kbits/s speed=0.861x    
    frame=   51 fps= 10 q=9.0 size=     575kB time=00:00:04.40 bitrate=1070.8kbits/s speed=0.874x    
    frame=   56 fps= 10 q=12.0 size=     582kB time=00:00:04.90 bitrate= 972.3kbits/s speed=0.885x    
    frame=   61 fps= 10 q=10.0 size=     598kB time=00:00:05.40 bitrate= 907.7kbits/s speed=0.893x    
    frame=   66 fps= 10 q=10.0 size=     601kB time=00:00:05.90 bitrate= 834.5kbits/s speed=0.901x    
    frame=   71 fps= 10 q=10.0 size=     603kB time=00:00:06.40 bitrate= 772.3kbits/s speed=0.907x    
    frame=   76 fps= 10 q=12.0 size=     606kB time=00:00:06.90 bitrate= 719.8kbits/s speed=0.913x    
    frame=   81 fps= 10 q=10.0 size=     625kB time=00:00:07.40 bitrate= 691.8kbits/s speed=0.917x    
    frame=   86 fps= 10 q=10.0 size=     629kB time=00:00:07.90 bitrate= 652.2kbits/s speed=0.922x    
    frame=   91 fps= 10 q=12.0 size=     634kB time=00:00:08.40 bitrate= 618.2kbits/s speed=0.926x    
    frame=   97 fps= 10 q=10.0 size=     757kB time=00:00:09.00 bitrate= 689.3kbits/s speed=0.94x    
    frame=  100 fps= 10 q=-1.0 Lsize=     772kB time=00:00:10.00 bitrate= 632.8kbits/s speed=0.998x    
    video:771kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.153975%
    [libx264 @ 00863fe0] frame I:1     Avg QP:20.00  size:242961
    [libx264 @ 00863fe0] frame P:99    Avg QP:10.67  size:  5517
    [libx264 @ 00863fe0] mb I  I16..4: 100.0%  0.0%  0.0%
    [libx264 @ 00863fe0] mb P  I16..4:  0.8%  0.0%  0.0%  P16..4:  2.9%  0.0%  0.0%  0.0%  0.0%    skip:96.3%
    [libx264 @ 00863fe0] coded y,uvDC,uvAC intra: 23.6% 15.1% 13.9% inter: 1.2% 1.3% 0.8%
    [libx264 @ 00863fe0] i16 v,h,dc,p: 65% 33%  1%  1%
    [libx264 @ 00863fe0] i8c dc,h,v,p: 61% 25% 13%  0%
    [libx264 @ 00863fe0] kb/s:631.31