Recherche avancée

Médias (91)

Autres articles (79)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (5806)

  • Fatal error detected by JRE : libavcodec involved

    16 novembre 2015, par hdf

    I’m experiencing this issue whenever I’m trying to run my java program. Could someone give me a clues on how to fix it ?

    EDIT : the issue only occurs after a new environment has been set up.

    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #
    #
    # JRE version: OpenJDK Runtime Environment (7.0_85-b01) (build 1.7.0_85-b01)
    # Java VM: OpenJDK 64-Bit Server VM (24.85-b03 mixed mode linux-amd64 compressed oops)
    # Derivative: IcedTea 2.6.1
    # Distribution: Ubuntu 14.04 LTS, package 7u85-2.6.1-5ubuntu0.14.04.1
    # Problematic frame:
    # C  [libavcodec.so.52.123.0+0x442060]
    #
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #
    # If you would like to submit a bug report, please include
    # instructions on how to reproduce the bug and visit:
    #   http://icedtea.classpath.org/bugzilla
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #

    ---------------  T H R E A D  ---------------

    Current thread (0x00007f8f70141800):  JavaThread "threadpool-14" daemon [_thread_in_native, id=14508, stack(0x00007f8fa73a0000,0x00007f8fa74a1000)]

    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=128 (), si_addr=0x0000000000000000

    Registers:
    RAX=0x00007f8f701d2110, RBX=0x00007f8fa65030d0, RCX=0x00007f8fa688efd0, RDX=0x00007f8fa68904b0
    RSP=0x00007f8fa749f380, RBP=0x00007f8fa749f3d8, RSI=0x000000000000000c, RDI=0x00007f8f701d2110
    R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x00007f8fc5eb56e0, R11=0x00007f8fc591af50
    R12=0x0000000000000000, R13=0x00007f8f701419d8, R14=0x00007f8fa749f578, R15=0x00007f8f70141800
    RIP=0x00007f8fa688f060, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000000
    TRAPNO=0x000000000000000d

    Top of Stack: (sp=0x00007f8fa749f380)
    0x00007f8fa749f380:   00007f8fa688f1a5 00007f8fa688ffe5
    0x00007f8fa749f390:   00007f8fa6890025 00007f8fa6890065
    0x00007f8fa749f3a0:   00007f8fa68900a5 00007f8fa68900e5
    0x00007f8fa749f3b0:   00007f8fa6890125 00007f8fa68904b5
    0x00007f8fa749f3c0:   00007f8fa6890678 00007f8fa7198f31
    0x00007f8fa749f3d0:   0000000000000000 00007f8f70158540
    0x00007f8fa749f3e0:   00007f8fa749f468 00007f8fa71966ae
    0x00007f8fa749f3f0:   0000000776cfa560 0000000776cfa560

    ...

    Instructions: (pc=0x00007f8fa688f060)
    0x00007f8fa688f040:   c4 e3 5d 0c c0 55 c5 e4 5c c8 c5 e4 58 c0 c5 fc
    0x00007f8fa688f050:   29 07 c5 fc 29 4f 20 c3 0f 1f 84 00 00 00 00 00
    0x00007f8fa688f060:   c5 fc 28 57 40 c5 fc 28 5f 60 c5 ec 5c fb c5 ec
    0x00007f8fa688f070:   58 d3 c5 c4 57 3d 26 e0 13 00 c5 ec c6 df be c5

    Register to memory mapping:

    RAX=0x00007f8f701d2110 is an unknown value
    RBX=0x00007f8fa65030d0: av_fft_calc+0 in /usr/local/lib/libavcodec.so.52.123.0 at 0x00007f8fa644d000
    RCX=0x00007f8fa688efd0: <offset 0x441fd0="0x441fd0"> in /usr/local/lib/libavcodec.so.52.123.0 at 0x00007f8fa644d000
    RDX=0x00007f8fa68904b0: <offset 0x4434b0="0x4434b0"> in /usr/local/lib/libavcodec.so.52.123.0 at 0x00007f8fa644d000
    RSP=0x00007f8fa749f380 is pointing into the stack for thread: 0x00007f8f70141800
    RBP=0x00007f8fa749f3d8 is pointing into the stack for thread: 0x00007f8f70141800
    RSI=0x000000000000000c is an unknown value
    RDI=0x00007f8f701d2110 is an unknown value
    R8 =0x0000000000000000 is an unknown value
    R9 =0x0000000000000000 is an unknown value
    R10=0x00007f8fc5eb56e0: <offset 0xe006e0="0xe006e0"> in /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so at 0x00007f8fc50b5000
    R11=0x00007f8fc591af50: <offset 0x865f50="0x865f50"> in /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so at 0x00007f8fc50b5000
    R12=0x0000000000000000 is an unknown value
    R13=0x00007f8f701419d8 is an unknown value
    R14=0x00007f8fa749f578 is pointing into the stack for thread: 0x00007f8f70141800
    R15=0x00007f8f70141800 is a thread


    Stack: [0x00007f8fa73a0000,0x00007f8fa74a1000],  sp=0x00007f8fa749f380,  free space=1020k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [libavcodec.so.52.123.0+0x442060]
    </offset></offset></offset></offset>

    This occurs on different physical instances so chances are pretty low it’s hardware issue. Thanks !

  • Video Created By FFMPEG is Blank [on hold]

    11 octobre 2015, par Larry Holze

    New to FFMPEG and trying to use it very simplistically. I have a sequence of images that I want to make into a video. Using this command :

    ffmpeg -framerate 30 -i "fr_%05d.jpg" out.mp4

    Creates the out.mp4 file OK, but when I play it back it is just blank.
    Pictures in the .jpg sequence are definitely not blank.

    Am I missing some option(s) ?

    Command window output :

    ffmpeg version N-74700-g628a73f Copyright (c) 2000-2015 the FFmpeg developers

    Built with gcc 4.9.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-libbs2b --enable-libcaca --

    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l

    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab

    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en

    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena

    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc

    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl

    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena

    ble-decklink --enable-zlib

     libavutil      54. 31.100 / 54. 31.100

     libavcodec     56. 59.100 / 56. 59.100

     libavformat    56. 40.101 / 56. 40.101

     libavdevice    56.  4.100 / 56.  4.100

     libavfilter     5. 39.100 /  5. 39.100

     libswscale      3.  1.101 /  3.  1.101

     libswresample   1.  2.101 /  1.  2.101

     libpostproc    53.  3.100 / 53.  3.100

    Input #0, image2, from 'fr_%05d.jpg':

     Duration: 00:00:30.03, start: 0.000000, bitrate: N/A

       Stream #0:0: Video: mjpeg, gray(bt470bg/unknown/unknown), 300x200 [SAR 90:90

    DAR 3:2], 30 fps, 30 tbr, 30 tbn, 30 tbc

    [swscaler @ 0000000002f88c60] deprecated pixel format used, make sure you did se

    t range correctly

    No pixel format specified, yuvj444p for H.264 encoding chosen.

    Use -pix_fmt yuv420p for compatibility with outdated media players.

    [libx264 @ 000000000589b0c0] using SAR=1/1

    [libx264 @ 000000000589b0c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2

    AVX

    [libx264 @ 000000000589b0c0] profile High 4:4:4 Predictive, level 1.3, 4:4:4 8-b

    it

    [libx264 @ 000000000589b0c0] 264 - core 148 r2597 e86f3a1 - H.264/MPEG-4 AVC cod

    ec - Copyleft 2003-2015 - 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 fast_pski

    p=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decim

    ate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_a

    dapt=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 'out.mp4':

     Metadata:

       encoder         : Lavf56.40.101

       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuvj444p(pc), 3

    00x200 [SAR 1:1 DAR 3:2], q=-1--1, 30 fps, 15360 tbn, 30 tbc

       Metadata:

         encoder         : Lavc56.59.100 libx264

    Stream mapping:

     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))

    Press [q] to stop, [?] for help

    Input stream #0:0 frame changed from size:300x200 fmt:gray to size:300x200 fmt:y

    uvj444p

    Input stream #0:0 frame changed from size:300x200 fmt:yuvj444p to size:300x200 f

    mt:gray

    [swscaler @ 00000000095b75c0] deprecated pixel format used, make sure you did se

    t range correctly

    Input stream #0:0 frame changed from size:300x200 fmt:gray to size:300x200 fmt:y

    uvj444p

    Input stream #0:0 frame changed from size:300x200 fmt:yuvj444p to size:300x200 f

    mt:gray

    [swscaler @ 00000000095b75c0] deprecated pixel format used, make sure you did se

    t range correctly

    Input stream #0:0 frame changed from size:300x200 fmt:gray to size:300x200 fmt:y

    uvj444p

    frame=  244 fps=0.0 q=29.0 size=      15kB time=00:00:06.40 bitrate=  19.6kbits/

    Input stream #0:0 frame changed from size:300x200 fmt:yuvj444p to size:300x200 f

    mt:gray

    [swscaler @ 00000000095b75c0] deprecated pixel format used, make sure you did se

    t range correctly

    Input stream #0:0 frame changed from size:300x200 fmt:gray to size:300x200 fmt:y

    uvj444p

    frame=  325 fps=316 q=29.0 size=      23kB time=00:00:09.10 bitrate=  20.4kbits/

    frame=  382 fps=247 q=29.0 size=      34kB time=00:00:11.00 bitrate=  25.1kbits/

    frame=  417 fps=203 q=29.0 size=      36kB time=00:00:12.16 bitrate=  24.5kbits/

    frame=  482 fps=187 q=29.0 size=      38kB time=00:00:14.33 bitrate=  21.7kbits/

    frame=  541 fps=175 q=29.0 size=      39kB time=00:00:16.30 bitrate=  19.8kbits/

    frame=  611 fps=170 q=29.0 size=      41kB time=00:00:18.63 bitrate=  18.1kbits/

    frame=  881 fps=214 q=29.0 size=      54kB time=00:00:27.63 bitrate=  15.9kbits/

    frame=  901 fps=214 q=-1.0 Lsize=      66kB time=00:00:29.96 bitrate=  18.1kbits

    /s

    video:55kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ov

    erhead: 20.648893%

    [libx264 @ 000000000589b0c0] frame I:8     Avg QP:18.01  size:  2331

    [libx264 @ 000000000589b0c0] frame P:239   Avg QP:22.95  size:    91

    [libx264 @ 000000000589b0c0] frame B:654   Avg QP:33.33  size:    23

    [libx264 @ 000000000589b0c0] consecutive B-frames:  2.9%  0.7%  1.0% 95.4%

    [libx264 @ 000000000589b0c0] mb I  I16..4: 36.6% 53.8%  9.6%

    [libx264 @ 000000000589b0c0] mb P  I16..4:  0.1%  0.4%  0.2%  P16..4:  0.6%  0.0

    %  0.0%  0.0%  0.0%    skip:98.6%

    [libx264 @ 000000000589b0c0] mb B  I16..4:  0.0%  0.9%  0.0%  B16..8:  1.7%  0.0

    %  0.0%  direct: 0.0%  skip:97.4%  L0:55.9% L1:44.1% BI: 0.0%

    [libx264 @ 000000000589b0c0] 8x8 transform intra:70.8% inter:12.0%

    [libx264 @ 000000000589b0c0] coded y,u,v intra: 5.9% 4.9% 5.0% inter: 0.0% 0.0%

    0.0%

    [libx264 @ 000000000589b0c0] i16 v,h,dc,p: 54% 46%  0%  0%

    [libx264 @ 000000000589b0c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13%  5% 83%  0%  0%

    0%  0%  0%  0%

    [libx264 @ 000000000589b0c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 47% 15% 10%  4%  6%

    5%  4%  4%  4%

    [libx264 @ 000000000589b0c0] Weighted P-Frames: Y:0.0% UV:0.0%

    [libx264 @ 000000000589b0c0] ref P L0: 47.6%  2.6% 44.9%  5.0%

    [libx264 @ 000000000589b0c0] ref B L0: 55.9% 40.1%  4.0%

    [libx264 @ 000000000589b0c0] ref B L1: 93.3%  6.7%

    [libx264 @
  • Encode input stream mpg2 to output stream h264 CBR

    23 juillet 2016, par Azz Kawa

    Output should be :

    - 2,5 Mbit/s CBR H.264/mpeg4

    - Audio 128kbit/s joint stereo mpeg2

    Command i am using as last looks like this, and stream is not CBR.

    ffmpeg.exe "udp://xxx.xx.xxx.x:xxxx?fifo_size=700000&amp;buffer_size=12000k&amp;pkt_size=1316"
    -vf "hqdn3d" -c:v libx264 -refs 4
    -minrate:v 2500k -me_method hex -maxrate 2500k -sc_threshold 45 -bufsize 300k -b:v 2500k-bsf
    h264_mp4toannexb -flags +ilme+ildct+loop+mv4+cgop -profile:v baseline
    -x264opts 8x8dct -x264opts mixed-refs -x264opts weightp=0 -g 100
    -c:a mp2 -ab 128k -ar 48000 -fflags +igndts+genpts+sortdts -f mpegts
    "udp://@xxx.xxx.x.x:xxxx?buffer_size=100k&amp;pkt_size=1316" -threads 0 -v 0