Recherche avancée

Médias (91)

Autres articles (80)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (10712)

  • FFmpeg saving rtmp live stream cuts off after 3 minutes

    20 janvier 2013, par user1636922

    I was playing with ffmpeg and was able to save a live stream to a file. The command to do so is :

    ffmpeg -re -i "rtmp://<ip addr="addr">/livestream live=1" -f h264 test.flv
    </ip>

    However, I have tested this twice, and both times ffmpeg stops after grabbing 3:28 worth of live video.

    The entire output is here :

    bash-4.2$ ffmpeg -re -i "rtmp://<ip addr="addr">/livestream live=1" -vcodec libx264 -f h264 test.flv
    WARNING: gnome-keyring:: couldn&#39;t connect to: /home/me/.cache/keyring-bpajcJ/pkcs11: No such file or directory
    ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jul 20 2012 22:01:52 with gcc 4.7.0 20120507 (Red Hat 4.7.0-5)
     configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i686 --extra-cflags=&#39;-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables&#39; --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect
     libavutil      51. 35.100 / 51. 35.100
     libavcodec     53. 61.100 / 53. 61.100
     libavformat    53. 32.100 / 53. 32.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 61.100 /  2. 61.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    52.  0.100 / 52.  0.100
    WARNING: gnome-keyring:: couldn&#39;t connect to: /home/me/.cache/keyring-bpajcJ/pkcs11: No such file or directory
    Metadata:
     videocodecid          avc1
     width                 320.00
     height                240.00
     frameWidth            320.00
     frameHeight           240.00
     displayWidth          320.00
     displayHeight         240.00
     framerate             29.97
    trackinfo:
     timescale             90000.00
     language              eng
    sampledescription:
     sampletype            H264
     type                  video
     profile-level-id      42e00c
     sprop-parameter-sets  Z0LgDNoFB+wEQAAC7sAAr8gh,aM4zyA==
     description           {H264CodecConfigInfo: profile: "Baseline", level: 1.2, frameSize: 320x240, displaySize: 320x240, PAR: 1:1, frameRate: 29.97}
    rtpsessioninfo:
     name                  H264 Stream 1
     origin                - 1486490083 118668671 IN IP4 10.93.183.3
     timing                0 0
     protocolversion       0
    attributes:
     range                 npt=now-
    [flv @ 0x9578ee0] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from &#39;rtmp://<ip addr="addr">/livestream live=1&#39;:
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 14.99 tbr, 1k tbn, 59.94 tbc
    [buffer @ 0x99ee900] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [libx264 @ 0x9584540] using SAR=1/1
    [libx264 @ 0x9584540] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x9584540] profile High, level 1.2
    Output #0, h264, to &#39;test.flv&#39;:
     Metadata:
       encoder         : Lavf53.32.100
       Stream #0:0: Video: h264, yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 90k tbn, 14.99 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
    Press [q] to stop, [?] for help
    RTMP_ReadPacket, failed to read RTMP packet body. len: 16582bitrate= 212.1kbits/s    
    frame= 3111 fps= 15 q=-2.0 Lsize=    5385kB time=00:03:27.47 bitrate= 212.6kbits/s    
    video:5385kB audio:0kB global headers:0kB muxing overhead 0.000000%
    [libx264 @ 0x9584540] frame I:13    Avg QP:18.70  size: 31866
    [libx264 @ 0x9584540] frame P:1908  Avg QP:22.29  size:  2392
    [libx264 @ 0x9584540] frame B:1190  Avg QP:29.24  size:   451
    [libx264 @ 0x9584540] consecutive B-frames: 39.5% 24.0% 13.0% 23.4%
    [libx264 @ 0x9584540] mb I  I16..4:  0.2%  1.2% 98.6%
    [libx264 @ 0x9584540] mb P  I16..4:  0.0%  0.0%  0.7%  P16..4: 22.0%  3.5%  2.6%  0.0%  0.0%    skip:71.2%
    [libx264 @ 0x9584540] mb B  I16..4:  0.0%  0.0%  0.2%  B16..8: 15.6%  2.8%  1.1%  direct: 1.3%  skip:78.9%  L0:47.0% L1:42.2% BI:10.8%
    [libx264 @ 0x9584540] 8x8 transform intra:2.2% inter:8.5%
    [libx264 @ 0x9584540] coded y,uvDC,uvAC intra: 98.0% 94.9% 73.9% inter: 14.5% 16.0% 11.3%
    [libx264 @ 0x9584540] i16 v,h,dc,p:  0% 50% 17% 33%
    [libx264 @ 0x9584540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 21% 11%  3% 13%  6% 21%  4% 14%
    [libx264 @ 0x9584540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 21% 14%  5% 11%  7% 14%  5% 12%
    [libx264 @ 0x9584540] i8c dc,h,v,p: 65% 15% 10% 10%
    [libx264 @ 0x9584540] Weighted P-Frames: Y:0.5% UV:0.1%
    [libx264 @ 0x9584540] ref P L0: 80.8% 10.4%  7.6%  1.2%  0.0%
    [libx264 @ 0x9584540] ref B L0: 94.9%  4.8%  0.2%
    [libx264 @ 0x9584540] ref B L1: 96.4%  3.6%
    [libx264 @ 0x9584540] kb/s:212.48
    </ip></ip>

    Although I don't see any errors. It just looks like ffmpeg thought the stream had ended ? But that's not possible since it's a live stream.

  • How to convert video formats of av3 to wmv/mpeg using FFMPEG

    5 août 2022, par Nandha

    I'm trying to convert a av3 format video into wmv format to allow it be playable in web browser. To do the conversion I'm using FFMPEG to create thumbnail & low res wmv file. But I'm getting the below errors. I have the AVHash for the video file as well.

    &#xA;

    Video codec using MediaInfo

    &#xA;

    &#xA;

    FFMPEG version & libraries

    &#xA;

    &#xA;

    Followings are the different options I tried,

    &#xA;

    1st command&#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    [root@dems-otmm Installer]# ffmpeg -i oja00039_20191218070243e0_20191218070113_01_000v.av3 -f framehash out.sha256&#xA;ffmpeg version 4.2.6 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with gcc 8 (GCC)&#xA;  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags=&#x27;-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection&#x27; --extra-ldflags=&#x27;-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld &#x27; --extra-cflags=&#x27; &#x27; --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564ccd01ef00] invalid STSD entries 0&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564ccd01ef00] error reading header&#xA;oja00039_20191218070243e0_20191218070113_01_000v.av3: Invalid data found when processing input

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    2nd command

    &#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    [root@dems-otmm Installer]# ffmpeg -loglevel warning -y -i oja00039_20191218070243e0_20191218070113_01_000v.av3 -r 1/10 -vf scale=&#x27;min(500,iw)&#x27;:-2 -f image2 oja00039_20191218070243e0_20191218070113_01_000v%4d.jpg -vf scale=&#x27;min(640,iw)&#x27;:-2 -r 29.97 -b:v 800000 -b:a 96000 -ar 48000 oja00039_20191218070243e0_20191218070113_01_000v.wmv&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5631fc2bd140] invalid STSD entries 0&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5631fc2bd140] error reading header&#xA;oja00039_20191218070243e0_20191218070113_01_000v.av3: Invalid data found when processing input&#xA;[root@dems-otmm Installer]#

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    And few others, but with everything I'm getting the same errors attached below,

    &#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5631fc2bd140] invalid STSD entries 0&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5631fc2bd140] error reading header&#xA;oja00039_20191218070243e0_20191218070113_01_000v.av3: Invalid data found when processing input

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

  • Revision 37455 : Une meilleure vérification... On ne disposait pas encore de l’id_orig ici

    20 avril 2010, par kent1@… — Log

    Une meilleure vérification... On ne disposait pas encore de l’id_orig ici