Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (105)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (9005)

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

  • make video from image file using ffmpeg

    4 août 2014, par Roylisto Putra Pradana

    i have 64 images sequence and i want to make a video using that images.

    you can download the images here

    i use ffmpeg in ubuntu.
    here’s my command

    ffmpeg -r 60 -f image2 -s 1360x768 -i "/home/roylisto/Documents/Tugas Akhir/JAva version/UAVSystem/UAVSystem/tmp/result%d.png" -vcodec libx264 -crf 20 "/home/roylisto/Documents/Tugas Akhir/JAva version/UAVSystem/UAVSystem/render/test.mp4"

    it works but only 39 images has generated to a video. My question is why ffmpeg not render all images in that folder into a video, what is my mistake and how to solve it ?

    Output Command :

       ffmpeg version 2.2.git-73d820e Copyright (c) 2000-2014 the FFmpeg developers
     built on Jun 16 2014 10:08:12 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-x11grab --enable-libpulse --enable-libx264 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr
     libavutil      52. 89.100 / 52. 89.100
     libavcodec     55. 66.101 / 55. 66.101
     libavformat    55. 43.100 / 55. 43.100
     libavdevice    55. 13.101 / 55. 13.101
     libavfilter     4.  8.100 /  4.  8.100
     libavresample   1.  3.  0 /  1.  3.  0
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 19.100 /  0. 19.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, image2, from '/home/roylisto/Documents/Tugas Akhir/JAva version/UAVSystem/UAVSystem/tmp/result%d.png':
     Duration: 00:00:00.62, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: png, rgb24, 320x240, 60 fps, 60 tbr, 60 tbn, 60 tbc
    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0x2bccce0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
    [libx264 @ 0x2bccce0] profile High 4:4:4 Predictive, level 2.1, 4:4:4 8-bit
    [libx264 @ 0x2bccce0] 264 - core 142 r2431 ac76440 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=4 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=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/home/roylisto/Documents/Tugas Akhir/JAva version/UAVSystem/UAVSystem/render/test.mp4':
     Metadata:
       encoder         : Lavf55.43.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 320x240, q=-1--1, 60 fps, 15360 tbn, 60 tbc
       Metadata:
         encoder         : Lavc55.66.101 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    Input stream #0:0 frame changed from size:320x240 fmt:rgb24 to size:480x360 fmt:rgb24
    frame=   35 fps=0.0 q=-1.0 Lsize=      18kB time=00:00:00.55 bitrate= 264.7kbits/s dup=0 drop=2    
    video:17kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.355630%
    [libx264 @ 0x2bccce0] frame I:1     Avg QP:14.45  size:  1829
    [libx264 @ 0x2bccce0] frame P:12    Avg QP:20.02  size:   908
    [libx264 @ 0x2bccce0] frame B:22    Avg QP:24.15  size:   161
    [libx264 @ 0x2bccce0] consecutive B-frames: 14.3%  5.7%  0.0% 80.0%
    [libx264 @ 0x2bccce0] mb I  I16..4:  3.3% 84.3% 12.3%
    [libx264 @ 0x2bccce0] mb P  I16..4:  0.6%  2.9%  1.9%  P16..4:  7.6%  6.0%  2.8%  0.0%  0.0%    skip:78.3%
    [libx264 @ 0x2bccce0] mb B  I16..4:  0.0%  0.1%  0.0%  B16..8: 10.1%  3.2%  0.5%  direct: 0.3%  skip:85.8%  L0:36.3% L1:56.4% BI: 7.3%
    [libx264 @ 0x2bccce0] 8x8 transform intra:72.3% inter:49.0%
    [libx264 @ 0x2bccce0] coded y,u,v intra: 34.4% 16.0% 10.7% inter: 3.6% 0.5% 0.3%
    [libx264 @ 0x2bccce0] i16 v,h,dc,p: 76% 21%  3%  0%
    [libx264 @ 0x2bccce0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 22% 50%  2%  2%  1%  5%  2%  3%
    [libx264 @ 0x2bccce0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 30% 32%  2%  8%  3% 11%  3%  5%
    [libx264 @ 0x2bccce0] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x2bccce0] ref P L0: 64.9% 22.6%  9.7%  2.8%
    [libx264 @ 0x2bccce0] ref B L0: 86.1% 12.2%  1.7%
    [libx264 @ 0x2bccce0] ref B L1: 94.3%  5.7%
    [libx264 @ 0x2bccce0] kb/s:223.06
  • ffmpeg only processes first image

    8 septembre 2020, par Michael Price

    I have a directory of .png images (I had previously tried .jpg until I read somewhere ffmpeg prefers .png).

    


    The images share a file numbering format cof000.png - cof358.png.

    


    I want to convert those images into a moving picture format. MPG or MP4 will be fine.

    


    The command I have tried is

    


    ffmpeg.exe -framerate 25 -i cof%03d.png -r 6 output.mp4


    


    I adapted the command from this post, here :

    


    https://stackoverflow.com/questions/53778503/ffmpeg-video-slideshow-only-takes-first-image


    


    Even after trying numerous different permutations of the command the final file only has the first image in it. I am using windows.

    


    What ffmpeg command do I need to use on Windows to compile all 180 image files into a single moving image ?

    


    Here is the output from using the command :

    


    $ ffmpeg.exe -framerate 25 -i cof%03d.png -r 6 output.mp4
ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200621
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enabl
e-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enabl
e-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-l
ibvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11
va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, image2, from 'cof%03d.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgb24(pc), 1200x1200 [SAR 2834:2834 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
File 'output.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000001f7da6985c0] using SAR=1/1
[libx264 @ 000001f7da6985c0] using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
[libx264 @ 000001f7da6985c0] profile High 4:4:4 Predictive, level 4.0, 4:4:4, 8-bit
[libx264 @ 000001f7da6985c0] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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_rang
e=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 s
liced_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=6 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbt
ree=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         : Lavf58.45.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 1200x1200 [SAR 1:1 DAR 1:1], q=-1--1, 6 fps, 12288
tbn, 6 tbc
    Metadata:
      encoder         : Lavc58.91.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=    1 fps=0.0 q=23.0 Lsize=      26kB time=00:00:00.00 bitrate=2662518.5kbits/s speed=0.000541x
video:26kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.137195%
[libx264 @ 000001f7da6985c0] frame I:1     Avg QP:16.42  size: 25465
[libx264 @ 000001f7da6985c0] mb I  I16..4:  2.1% 85.2% 12.7%
[libx264 @ 000001f7da6985c0] 8x8 transform intra:85.2%
[libx264 @ 000001f7da6985c0] coded y,u,v intra: 9.1% 0.9% 1.0%
[libx264 @ 000001f7da6985c0] i16 v,h,dc,p: 42% 39% 19%  0%
[libx264 @ 000001f7da6985c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 11% 52%  0%  0%  0%  0%  0%  0%
[libx264 @ 000001f7da6985c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 17% 13%  5%  4%  6%  6%  6%  5%
[libx264 @ 000001f7da6985c0] kb/s:1222.32