Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (77)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8087)

  • video not playing on Android (chrome) and iOS (safari)

    26 mars 2019, par lviggiani

    Hi I have a few video that DOES NOT play in Android (directly on Chrome) and on iOS (directly on Safari) but plays on Windows, Mac and Linux on any browser.

    Here is the ffprobe output

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'intro_sequence_01.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       date            : 2018-10-08T08:15:57.948731
       encoder         : Lavf58.18.104
     Duration: 00:00:08.00, start: 0.000000, bitrate: 259 kb/s
       Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 1920x1080, 257 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler

    and here is the ffprobe output of another video that DOES play on Android and Chrome :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Torcia_960x540.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2017-02-10T16:14:10.000000Z
     Duration: 00:00:11.52, start: 0.000000, bitrate: 10585 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 960x540 [SAR 1:1 DAR 16:9], 10576 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
       Metadata:
         creation_time   : 2017-02-10T16:14:10.000000Z
         handler_name    : Mainconcept MP4 Video Media Handler
         encoder         : AVC Coding

    Both are .mp4 format and are using h264 codec.
    As far as I can see, I notice a difference in codec profile h264 (High 4:4:4 Predictive) vs Video: h264 (Main) and yuv444p vs yuv420p(tv) and on metadata section.

    I tried re-encoding the first video with ffmpeg but without success.
    Does anyone know why video1 is not compatible with Android and iOS and how to re-ffmpeg it to make it play ?
    Thanks !

  • ffmpeg created timelapse won't play on other players than VLC

    27 février 2019, par theFeiter

    I am creating a Timelapse Video with the following ffmpeg command :

    ffmpeg -r 24 -start_number 7754 -i IMG_%d.JPG -pix_fmt yuv420p -s 1920x1080 Output.mp4

    This works without errors, but when I try to play the .mp4 on my Android Phone it shows an Error : "Unable to play file. Not enough resources"

    With the VLC App : "Currently unable to play this video. Stop the other video and try again"

    When I put the Video through Handbrake It plays fine on all players.

    I tried out changing some ffmpeg options, but nothing helped.

    When I compare the output of ffmpeg -i Output.mp4 from the original with the output from the video out of handbrake it differs only in the video bitrate.

    Are there any other options I can try to change ?

    This is the ffmpeg output :

    ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    Input #0, image2, from 'PIC_%d.jpg':
     Duration: 00:00:02.24, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 720x1280 [SAR 1:1 DAR 9:16], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [swscaler @ 0x56059fe911a0] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0x56059f9b4180] using SAR=1/1
    [libx264 @ 0x56059f9b4180] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x56059f9b4180] profile High, level 3.1
    [libx264 @ 0x56059f9b4180] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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=2 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 'ttyffmpeg.mp4':
     Metadata:
       encoder         : Lavf57.83.100
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], q=-1--1, 2 fps, 16384 tbn, 2 tbc
       Metadata:
         encoder         : Lavc57.107.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=   56 fps= 11 q=-1.0 Lsize=    5242kB time=00:00:26.50 bitrate=1620.4kbits/s speed=5.38x    
    video:5241kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.025511%
    [libx264 @ 0x56059f9b4180] frame I:9     Avg QP:14.75  size:111662
    [libx264 @ 0x56059f9b4180] frame P:35    Avg QP:17.14  size: 90885
    [libx264 @ 0x56059f9b4180] frame B:12    Avg QP:17.74  size: 98312
    [libx264 @ 0x56059f9b4180] consecutive B-frames: 62.5% 21.4% 16.1%  0.0%
    [libx264 @ 0x56059f9b4180] mb I  I16..4:  2.6% 96.8%  0.6%
    [libx264 @ 0x56059f9b4180] mb P  I16..4:  1.0% 93.5%  1.2%  P16..4:  1.6%  1.1%  0.4%  0.0%  0.0%    skip: 1.1%
    [libx264 @ 0x56059f9b4180] mb B  I16..4:  0.6% 66.7%  2.1%  B16..8: 10.1% 10.6%  3.0%  direct: 4.8%  skip: 2.0%  L0:35.3% L1:34.6% BI:30.0%
    [libx264 @ 0x56059f9b4180] 8x8 transform intra:97.3% inter:91.2%
    [libx264 @ 0x56059f9b4180] coded y,uvDC,uvAC intra: 94.3% 79.0% 44.3% inter: 77.2% 76.9% 31.3%
    [libx264 @ 0x56059f9b4180] i16 v,h,dc,p: 59% 25% 14%  2%
    [libx264 @ 0x56059f9b4180] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 18% 42%  3%  2%  2%  4%  4%  6%
    [libx264 @ 0x56059f9b4180] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 27% 10%  3%  5%  5%  8%  5%  7%
    [libx264 @ 0x56059f9b4180] i8c dc,h,v,p: 40% 24% 29%  7%
    [libx264 @ 0x56059f9b4180] Weighted P-Frames: Y:8.6% UV:5.7%
    [libx264 @ 0x56059f9b4180] ref P L0: 67.0% 15.7% 14.0%  3.2%  0.1%
    [libx264 @ 0x56059f9b4180] ref B L0: 88.0% 11.4%  0.6%
    [libx264 @ 0x56059f9b4180] kb/s:1533.05
  • ffmpeg slideshow on raspberry pi raspbian

    29 novembre 2017, par mysterious_guy

    i’m trying to make slideshow video from few (in this case 3) .jpgs. To do this i’m using

       ffmpeg -r 1/5 -i bat%03d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p proba12.mp4

    and actually it works on windows (it plays every image for 5seconds) but on raspbian it doesnt work neither on omxplayer nor hello_video.bin (in h264).

    Here is what console shows :

    pi@raspberrypi:~/Downloads $ ffmpeg -r 1/5 -i bat%03d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p proba12.mp4
    ffmpeg version N-89047-g54f8ac199f Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
     configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
     libavutil      56.  0.100 / 56.  0.100
     libavcodec     58.  3.101 / 58.  3.101
     libavformat    58.  2.100 / 58.  2.100
     libavdevice    58.  0.100 / 58.  0.100
     libavfilter     7.  0.101 /  7.  0.101
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    Input #0, image2, from 'bat%03d.jpg':
     Duration: 00:00:00.12, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1920x1080            
    [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
     Press [q] to stop, [?] for help
    [swscaler @ 0x31ac620] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0x30fef00] using SAR=1/1
    [libx264 @ 0x30fef00] using cpu capabilities: ARMv6 NEON
    [libx264 @ 0x30fef00] profile High, level 4.0
    [libx264 @ 0x30fef00] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC codec     - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 r               ef=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 fa               st_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=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
    Output #0, mp4, to 'proba12.mp4':
     Metadata:
    encoder         : Lavf58.2.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 15360 tbn, 30 tbc
    Metadata:
     encoder         : Lavc58.3.101 libx264
    Side data:
     cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=  449 fps=8.0 q=-1.0 Lsize=    1341kB time=00:00:14.86 bitrate= 738.9kbits/s dup=446 drop=0 speed=0.265x
    video:1335kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.457740%
    [libx264 @ 0x30fef00] frame I:3     Avg QP:15.58  size:442255
    [libx264 @ 0x30fef00] frame P:113   Avg QP:18.36  size:   130
    [libx264 @ 0x30fef00] frame B:333   Avg QP:27.00  size:    74
    [libx264 @ 0x30fef00] consecutive B-frames:  1.1%  0.0%  0.0% 98.9%
    [libx264 @ 0x30fef00] mb I  I16..4:  2.0% 94.5%  3.5%
    [libx264 @ 0x30fef00] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.4%  0.0%  0.0%  0.0%  0.0%    skip:99.6%
    [libx264 @ 0x30fef00] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0:19.2% L1:80.8% BI: 0.0%
    [libx264 @ 0x30fef00] 8x8 transform intra:94.5% inter:61.3%
    [libx264 @ 0x30fef00] coded y,uvDC,uvAC intra: 85.4% 31.7% 25.4% inter: 0.0% 0.1% 0.0%
    [libx264 @ 0x30fef00] i16 v,h,dc,p: 43% 20%  9% 29%
    [libx264 @ 0x30fef00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 11% 33%  5%  7%  6%  8%  5%  8%
    [libx264 @ 0x30fef00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 14% 15%  7% 11%  8%  9%  9%  6%
    [libx264 @ 0x30fef00] i8c dc,h,v,p: 82%  8%  7%  3%
    [libx264 @ 0x30fef00] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x30fef00] ref P L0: 99.5%  0.0%  0.4%  0.1%
    [libx264 @ 0x30fef00] ref B L0: 71.2% 28.6%  0.3%
    [libx264 @ 0x30fef00] ref B L1: 99.1%  0.9%
    [libx264 @ 0x30fef00] kb/s:730.29

    what is also strange if im trying to concatenate those files using text file and i set duration to 5 for every single file it makes different display time... in this example first one displays for 15 seconds, second one for 5seconds and the last one for 10seconds... of course this way of merging images doesnt work under raspbian either

    i’m using raspberry pi 3b with latest raspbian noobs on board

    can you guys please direct me on a solution ? im ran out of ideas... cheers