Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (78)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (7489)

  • FFMPEG resizing ouputs 0B file

    26 octobre 2016, par Rahul Kumar

    I am trying to resize a .mp4 file to different resolutions.
    This is the command I’m using :

    /c E:\videos\manage\ffmpeg.exe -i "E:\media\SampleVideo1280x7201mb.mp4" -s 800x600 -ar 22050 "E:\media\encoded\med_SampleVideo1280x7201mb.mp4" 2>&1

    This works for most of the files but for some input files, the file that outputs is 0B in size and This is the message I get :

    ffmpeg version N-69422-gf5722ba Copyright (c) 2000-2015 the FFmpeg developers built on Jan 30 2015 22:13:10 with gcc 4.9.2 (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-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. 18.100 / 54. 18.100 libavcodec 56. 21.101 / 56. 21.101 libavformat 56. 19.100 / 56. 19.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 9.102 / 5. 9.102 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\media\SampleVideo1280x7201mb.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 1970-01-01 00:00:00 encoder : Lavf53.24.2 Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: creation_time : 1970-01-01 00:00:00 handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default) Metadata: creation_time : 1970-01-01 00:00:00 handler_name : SoundHandler [libx264 @ 00000000036e00a0] using SAR=4/3 [libx264 @ 00000000036e00a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 00000000036e00a0] profile High, level 3.1 [libx264 @ 00000000036e00a0] 264 - core 144 r2525 40bb568 - 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=-2 threads=36 lookahead_threads=4 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 [libvo_aacenc @ 0000000002cca5c0] Unable to set encoding parameters Output #0, mp4, to 'E:\media\encoded\med_SampleVideo1280x7201mb.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf53.24.2 Stream #0:0(und): Video: h264 (libx264), yuv420p, 800x600 [SAR 4:3 DAR 16:9], q=-1--1, 25 fps, 25 tbn, 25 tbc (default) Metadata: creation_time : 1970-01-01 00:00:00 handler_name : VideoHandler encoder : Lavc56.21.101 libx264 Stream #0:1(und): Audio: aac, 0 channels, 128 kb/s (default) Metadata: creation_time : 1970-01-01 00:00:00 handler_name : SoundHandler encoder : Lavc56.21.101 libvo_aacenc Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (aac (native) -> aac (libvo_aacenc)) Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    What am I doing wrong ? How do I fix this ?

  • ffmpeg drops all frames after 6 seconds

    25 juin 2014, par user2099107

    New to FFMPEG, I’m trying to create a video from a set of png.

    I have 96 png and I’m looking to 4 FPS (24 seconds of video)

    I use the following command :

    /Applications/ffmpeg -y -r 4 -pattern_type glob -i './images/*.png' -c:v libx264 -pix_fmt yuv420p out.mp4

    my out.mp4 always commes out as roughly 6 seconds with 24 frames, the last 70 frames being dropped.

    here is the full output :

       ffmpeg version 2.2.3-tessus Copyright (c) 2000-2014 the FFmpeg developers
     built on Jun  4 2014 21:31:51 with clang version 3.3 (tags/RELEASE_33/final)
     configuration: --cc=/opt/local/bin/clang-mp-3.3 --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, image2, from './images/*.png':
     Duration: 00:00:03.84, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: png, rgba, 1280x1024, 25 fps, 25 tbr, 25 tbn, 25 tbc
    [libx264 @ 0x103000600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x103000600] profile High, level 3.2
    [libx264 @ 0x103000600] 264 - core 142 - 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=-2 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=4 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 '/Users/adrien/code/encoding/out.mp4':
     Metadata:
       encoder         : Lavf55.33.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x1024, q=-1--1, 16384 tbn, 4 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (png -> libx264)
    Press [q] to stop, [?] for help
    Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
    Input stream #0:0 frame changed from size:1280x1024 fmt:rgb24 to size:1280x1024 fmt:rgba
    Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
    Input stream #0:0 frame changed from size:1280x1024 fmt:rgb24 to size:1280x1024 fmt:rgba
    Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
    Input stream #0:0 frame changed from size:1280x1024 fmt:rgb24 to size:1280x1024 fmt:rgba
    Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
    frame=   26 fps= 21 q=-1.0 Lsize=     165kB time=00:00:06.00 bitrate= 224.9kbits/s dup=0 drop=70    
    video:164kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.661924%
    [libx264 @ 0x103000600] frame I:1     Avg QP: 9.66  size:100467
    [libx264 @ 0x103000600] frame P:8     Avg QP:14.08  size:  7610
    [libx264 @ 0x103000600] frame B:17    Avg QP:18.26  size:   322
    [libx264 @ 0x103000600] consecutive B-frames: 11.5%  0.0% 11.5% 76.9%
    [libx264 @ 0x103000600] mb I  I16..4: 23.4% 49.5% 27.1%
    [libx264 @ 0x103000600] mb P  I16..4:  3.6%  3.7%  1.3%  P16..4:  1.0%  0.1%  0.2%  0.0%  0.0%    skip:90.1%
    [libx264 @ 0x103000600] mb B  I16..4:  0.1%  0.0%  0.1%  B16..8:  1.3%  0.0%  0.0%  direct: 0.0%  skip:98.4%  L0:46.1% L1:53.9% BI: 0.0%
    [libx264 @ 0x103000600] 8x8 transform intra:45.8% inter:25.7%
    [libx264 @ 0x103000600] coded y,uvDC,uvAC intra: 46.0% 62.8% 42.9% inter: 0.1% 0.2% 0.1%
    [libx264 @ 0x103000600] i16 v,h,dc,p: 58% 25% 15%  2%
    [libx264 @ 0x103000600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 44% 22% 24%  3%  1%  1%  3%  1%  1%
    [libx264 @ 0x103000600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48% 20% 12%  3%  3%  4%  3%  3%  3%
    [libx264 @ 0x103000600] i8c dc,h,v,p: 49% 20% 28%  3%
    [libx264 @ 0x103000600] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x103000600] ref P L0: 86.0%  5.3%  7.2%  1.5%
    [libx264 @ 0x103000600] ref B L0: 61.7% 35.8%  2.5%
    [libx264 @ 0x103000600] ref B L1: 95.8%  4.2%
    [libx264 @ 0x103000600] kb/s:205.33
  • avconv : from multiple png to movie not exporting correctly

    13 avril 2016, par abhra

    I am trying to generate a mp4 movie from a set of pngs using avconv on my debian8 system. The mp4 file its generating basically looping over the first figure for some time. Here is the command I am using

    avconv -r 10 -start_number 8 -i images_%06d.png -b:v 1000k -vf scale=640 :-1 test.mp4

    Output is

    avconv version 11.6-6:11.6-1 deb8u1, Copyright (c) 2000-2014 the Libav developers built on Mar 2 2016 23:00:02 with gcc 4.9.2
    (Debian 4.9.2-10) Input #0, image2, from ’images_%06d.png’ :
    Duration : 00:00:16.00, start : 0.000000, bitrate : N/A
    Stream #0.0 : Video : png, rgb24, 2400x1801, 25 fps, 25 tbn File ’test.mp4’ already exists. Overwrite ? [y/N] y [scale @ 0x820c60] The
    ::flags= option syntax is deprecated. Use either
    : : or w=:h=:flags=. [libx264 @ 0x837760]
    using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT
    BMI2 [libx264 @ 0x837760] profile High, level 2.2 [libx264 @ 0x837760]
    264 - core 142 r2431 a5831aa - 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=-2 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=10 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr
    mbtree=1 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
    ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to ’test.mp4’ : Metadata :
    encoder : Lavf56.1.0
    Stream #0.0 : Video : libx264, yuv420p, 640x480, q=-1—1, 1000 kb/s, 10 fps, 10 tbn, 10 tbc
    Metadata :
    encoder : Lavc56.1.0 libx264 Stream mapping : Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Press ctrl-c to stop encoding frame= 17 fps= 0 q=0.0 size= 0kB time=10000000000.00
    bitrate= 0.0kbitframe= 34 fps= 32 q=0.0 size= 0kB
    time=10000000000.00 bitrate= 0.0kbitframe= 51 fps= 32 q=0.0 size=
    0kB time=10000000000.00 bitrate= 0.0kbitframe= 393 fps= 32 q=0.0
    Lsize= 139kB time=39.00 bitrate= 29.2kbits/s video:132kB
    audio:0kB other streams:0kB global headers:0kB muxing overhead :
    5.284794% [libx264 @ 0x837760] frame I:2 Avg QP : 3.69 size : 51320 [libx264 @ 0x837760] frame P:99 Avg QP : 0.32 size : 242 [libx264
    @ 0x837760] frame B:292 Avg QP : 0.15 size : 26 [libx264 @
    0x837760] consecutive B-frames : 0.8% 0.5% 0.0% 98.7% [libx264 @
    0x837760] mb I I16..4 : 45.5% 19.2% 35.3% [libx264 @ 0x837760] mb P
    I16..4 : 0.0% 0.0% 0.0% P16..4 : 0.9% 0.0% 0.0% 0.0% 0.0%
    skip:99.0% [libx264 @ 0x837760] mb B I16..4 : 0.0% 0.0% 0.0%
    B16..8 : 0.2% 0.0% 0.0% direct : 0.0% skip:99.8% L0:22.3% L1:77.7%
    BI : 0.0% [libx264 @ 0x837760] final ratefactor : -21.09 [libx264 @
    0x837760] 8x8 transform intra:18.9% inter:41.7% [libx264 @ 0x837760]
    coded y,uvDC,uvAC intra : 34.1% 0.0% 0.0% inter : 0.1% 0.0% 0.0%
    [libx264 @ 0x837760] i16 v,h,dc,p : 81% 14% 5% 0% [libx264 @
    0x837760] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 49% 14% 36% 0% 0% 0% 0%
    0% 0% [libx264 @ 0x837760] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 36% 28% 19%
    3% 3% 2% 4% 2% 3% [libx264 @ 0x837760] i8c dc,h,v,p : 100% 0% 0%
    0% [libx264 @ 0x837760] Weighted P-Frames : Y:0.0% UV:0.0% [libx264 @
    0x837760] ref P L0 : 99.3% 0.0% 0.6% 0.1% [libx264 @ 0x837760] ref B
    L0 : 4.2% 95.8% [libx264 @ 0x837760] ref B L1 : 99.8% 0.2% [libx264 @
    0x837760] kb/s:27.34

    I have also tried

    cat *.png | avconv -f image2pipe -i - -b:v 1000k -vf scale=640 :-1 test2.mp4

    output shows

    avconv version 11.6-6:11.6-1 deb8u1, Copyright (c) 2000-2014 the Libav developers built on Mar 2 2016 23:00:02 with gcc 4.9.2
    (Debian 4.9.2-10) Codec AVOption b (set bitrate (in bits/s)) specified
    for output file #0 (test2.mp4) has not been used for any stream. The
    most likely reason is either wrong type (e.g. a video option with no
    video streams) or that it is a private option of some encoder which
    was not actually used for any stream. Output #0, image2pipe, to
    ’test2.mp4’ : Output file #0 does not contain any stream

    When getting frames fromtest.mp4

    avconv -i test.mp4 -r 30 -f image2 %04d.png

    I found 1000 or more copies of the images_000001.png.

    Would you please help, whether I have made any mistake in commands ? Or am I missing some codec options ? Thanks for the help.