Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (72)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (2829)

  • I tried to make an avi file from images using ffmpeg but the avi file is very small why ?

    13 mai 2013, par Yaron Cohen Minz

    I tried this :

    In C# i'm creating 100 bitmap files :

    for (int i = 0; i < 100; i++)
               {

                   t.Save(@"D:\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots\" + "Screenshot" + i.ToString("D6") + ".Bmp",ImageFormat.Bmp);
               }

    Then i'm using the ffmpeg.exe command line to create an avi file movie of all the bitmaps.

    D :\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots>ffmpeg -
    f image2 -r 5 -i Screenshot000099.bmp -c:v libx264 -r 30 out.mp4

    And before it i tried :

    D :\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots>ffmpeg -
    f image2 -r 1/5 -i Screenshot000099.bmp -c:v libx264 -r 30 out.mp4

    When i tried to use jpg files i got an error say jpeg is not supported.
    Then when the files were 1920X1080 i got an error say this resolution is not supported.

    Now i did it again and hot this :

    D:\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots>ffmpeg -
    f image2 -r 1/5 -i Screenshot000099.bmp -c:v libx264 -r 30 out.mp4
    ffmpeg version N-52941-g13cb6ed Copyright (c) 2000-2013 the FFmpeg developers
     built on May  9 2013 17:18:28 with gcc 4.7.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrn
    b --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libr
    tmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
    ra --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
    bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
    ble-zlib
     libavutil      52. 30.100 / 52. 30.100
     libavcodec     55.  7.100 / 55.  7.100
     libavformat    55.  4.101 / 55.  4.101
     libavdevice    55.  0.100 / 55.  0.100
     libavfilter     3. 63.101 /  3. 63.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    [image2 @ 02532b00] Stream #0: not enough frames to estimate rate; consider incr
    easing probesize
    Input #0, image2, from 'Screenshot000099.bmp':
     Duration: 00:00:05.00, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: bmp, bgra, 1920x1080, 0.20 tbr, 0.20 tbn, 0.20 tbc
    File 'out.mp4' already exists. Overwrite ? [y/N] y
    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0253e180] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 0253e180] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
    [libx264 @ 0253e180] 264 - core 132 r2309 3b1f1f7 - H.264/MPEG-4 AVC codec - Cop
    yleft 2003-2013 - http://www.videolan.org/x264.html - options:  cabac=1 ref=3 de
    block=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 chr
    oma_qp_offset=4 threads=12 lookahead_threads=2 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 scene
    cut=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 'out.mp4':
     Metadata:
       encoder         : Lavf55.4.101
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1920x1
    080, q=-1--1, 15360 tbn, 30 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (bmp -> libx264)
    Press [q] to stop, [?] for help
    frame=    1 fps=0.0 q=29.0 Lsize=      74kB time=00:00:00.03 bitrate=18159.5kbit
    s/s
    video:73kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.014632%
    [libx264 @ 0253e180] frame I:1     Avg QP:29.34  size: 74174
    [libx264 @ 0253e180] mb I  I16..4: 77.5%  4.0% 18.6%
    [libx264 @ 0253e180] 8x8 transform intra:4.0%
    [libx264 @ 0253e180] coded y,u,v intra: 13.7% 8.5% 8.4%
    [libx264 @ 0253e180] i16 v,h,dc,p: 66% 34%  0%  0%
    [libx264 @ 0253e180] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 29% 55%  1%  0%  0%  0%
    0%  2%
    [libx264 @ 0253e180] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 38% 14%  2%  2%  3%  3%
    2%  3%
    [libx264 @ 0253e180] kb/s:17801.76

    D:\ffmpegtorun\ffmpeg-20130509-git-13cb6ed-win32-static\bin\Screenshots>

    The results are a very small out.mp4 or if it was jpg and avi before files.
    For now the out.mp4 file on the hard disk is : 73.8KB

    What i want is to create in the CSHARP 100 jpg files then make one avi file of them using the ffmpeg with h264 of mpeg4 .

  • Where can I find my output video file after execution of ffmpeg command

    7 août 2019, par Giri Aakula

    I run this command to capture my screen

    ffmpeg -video_size 1366x768 -framerate 60 -f gdigrab -i desktop -c:v libx264 -crf 0 -preset ultrafast output.mp4

    I didn’t find the output.mp4 file anywhere in my HDD. I checked in the bin folder of ffmpeg it is not there.
    I searched the whole PC I didn’t find it anywhere. Can anyone please help me out to find the file.
    The console output is

    C:\Users\USER>ffmpeg -video_size 1366x768 -framerate 60 -f gdigrab -i desktop -c:v libx264 -crf 0 -preset ultrafast output.mp4
    ffmpeg version N-94405-g43891ea8ab Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.1.1 (GCC) 20190716
     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-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-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 32.100 / 56. 32.100
     libavcodec     58. 55.100 / 58. 55.100
     libavformat    58. 30.100 / 58. 30.100
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 58.100 /  7. 58.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    [gdigrab @ 0000020d04e3b280] Capturing whole desktop as 1366x768x32 at (0,0)
    [gdigrab @ 0000020d04e3b280] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, gdigrab, from 'desktop':
     Duration: N/A, start: 1565202714.962639, bitrate: 2014274 kb/s
       Stream #0:0: Video: bmp, bgra, 1366x768, 2014274 kb/s, 60 fps, 1000k tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (bmp (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [libx264 @ 0000020d04e3edc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 0000020d04e3edc0] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
    [libx264 @ 0000020d04e3edc0] 264 - core 157 r2970 5493be8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 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=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0
    Output #0, mp4, to 'output.mp4':
     Metadata:
       encoder         : Lavf58.30.100
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 1366x768, q=-1--1, 60 fps, 15360 tbn, 60 tbc
       Metadata:
         encoder         : Lavc58.55.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    More than 1000 frames duplicated   5632kB time=00:00:19.86 bitrate=2322.4kbits/s dup=981 drop=0 speed=1.01x
    More than 10000 frames duplicated 53504kB time=00:03:39.21 bitrate=1999.4kbits/s dup=9978 drop=0 speed=   1x
    frame=58906 fps= 60 q=-1.0 Lsize=  234800kB time=00:16:21.75 bitrate=1959.2kbits/s dup=45257 drop=0 speed=   1x
    video:234566kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.099927%
    [libx264 @ 0000020d04e3edc0] frame I:236   Avg QP: 0.00  size:230265
    [libx264 @ 0000020d04e3edc0] frame P:58670 Avg QP: 0.00  size:  3168
    [libx264 @ 0000020d04e3edc0] mb I  I16..4: 100.0%  0.0%  0.0%
    [libx264 @ 0000020d04e3edc0] mb P  I16..4: 52.9%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:47.1%
    [libx264 @ 0000020d04e3edc0] coded y,u,v intra: 0.2% 0.2% 0.2% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0000020d04e3edc0] i16 v,h,dc,p: 100%  0%  0%  0%
    [libx264 @ 0000020d04e3edc0] kb/s:1957.25
  • ffmpeg slideshow video from images creating empty mp4

    27 novembre 2017, par greenthumbtack

    I’m trying to use ffmpeg to create an .mp4 from a set of .JPG files. This is the ffmpeg line I’m using :

    ffmpeg -framerate 1/5 -i image-%03d.JPG output.mp4

    which returns :

    ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 5.2.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-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    [mjpeg @ 04ee8ca0] Changeing bps to 8
    Input #0, image2, from 'image-%03d.JPG':
     Duration: 00:01:05.00, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 4608x3072, 0.20 tbr, 0.20 tbn, 0.20 tbc
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    No pixel format specified, yuvj422p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 04ef4a40] frame MB size (288x192) > level limit (36864)
    [libx264 @ 04ef4a40] DPB size (4 frames, 221184 mbs) > level limit (3 frames, 184320 mbs)
    [libx264 @ 04ef4a40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 04ef4a40] profile High 4:2:2, level 5.2, 4:2:2 8-bit
    [libx264 @ 04ef4a40] 264 - core 148 r2638 7599210 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=1 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 'output.mp4':
     Metadata:
       encoder         : Lavf56.40.101
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuvj422p(pc), 4608x3072, q=-1--1, 0.20 fps, 16384 tbn, 0.20 tbc
       Metadata:
         encoder         : Lavc56.60.100 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=   13 fps=0.9 q=-1.0 Lsize=   18249kB time=00:00:55.00 bitrate=2718.2kbits/s
    video:18249kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.005057%
    [libx264 @ 04ef4a40] frame I:1     Avg QP:13.94  size:1564617
    [libx264 @ 04ef4a40] frame P:12    Avg QP:13.68  size:1426766
    [libx264 @ 04ef4a40] mb I  I16..4:  2.6% 79.2% 18.2%
    [libx264 @ 04ef4a40] mb P  I16..4:  2.2% 82.9% 14.6%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip: 0.2%
    [libx264 @ 04ef4a40] 8x8 transform intra:82.9% inter:79.9%
    [libx264 @ 04ef4a40] coded y,uvDC,uvAC intra: 95.0% 80.5% 67.2% inter: 33.6% 27.6% 11.4%
    [libx264 @ 04ef4a40] i16 v,h,dc,p: 16%  9%  5% 69%
    [libx264 @ 04ef4a40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 20% 24%  6%  8%  6%  8%  6% 10%
    [libx264 @ 04ef4a40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 22% 10%  8% 11%  8% 11%  6%  9%
    [libx264 @ 04ef4a40] i8c dc,h,v,p: 52% 20% 20%  7%
    [libx264 @ 04ef4a40] Weighted P-Frames: Y:8.3% UV:8.3%
    [libx264 @ 04ef4a40] ref P L0: 64.6%  9.0% 11.8%  5.8%  8.8%
    [libx264 @ 04ef4a40] kb/s:2299.79

    and a output.mp4. When I run this file, it ends immediately without showing any images. I don’t see any errors or problems in the code, so I’m not sure what I’m doing wrong. Do I need to increase the video framerate or something else ?