Recherche avancée

Médias (91)

Autres articles (8)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (4365)

  • ffmpeg on fb0 from Nexus Galaxy error : "could not get frame filename number 2"

    3 mars 2012, par user848106

    I use ffmpeg to convert fb0 files from Androids and produce screenshots. For some reason this does not work with the Nexus Galaxy.

    I get this error :

    [image2 @ 0000000001E0E350] Could not get frame filename number 2 from pattern '
    image.png'
    av_interleaved_write_frame(): Invalid argument

    Here is the process :

       C:\dev\scripts>adb pull /dev/graphics/fb0
    3292 KB/s (16777216 bytes in 4.976s)

    C:\dev\scripts>ffmpeg -vframes 1 -vcodec rawvideo -f rawvideo -pix
    _fmt rgb32 -s 720x1080 -i fb0 -f image2 -vcodec png image.png
    ffmpeg version N-36635-gceb0dd9 Copyright (c) 2000-2012 the FFmpeg developers
     built on Jan  9 2012 17:45:55 with gcc 4.6.2
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
    ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
    ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
    able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
    -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
    c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
    libxvid --enable-zlib
     libavutil      51. 34.100 / 51. 34.100
     libavcodec     53. 54.100 / 53. 54.100
     libavformat    53. 29.100 / 53. 29.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 58.100 /  2. 58.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    51.  2.100 / 51.  2.100
    [rawvideo @ 000000000037D5A0] Estimating duration from bitrate, this may be inac
    curate
    Input #0, rawvideo, from 'fb0':
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 720x1080, 25 tbr, 25
    tbn, 25 tbc
    [buffer @ 000000000037D420] w:720 h:1080 pixfmt:bgra tb:1/1000000 sar:0/1 sws_pa
    ram:
    Output #0, image2, to 'image.png':
     Metadata:
       encoder         : Lavf53.29.100
       Stream #0:0: Video: png, bgra, 720x1080, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> png)
    Press [q] to stop, [?] for help
    [image2 @ 0000000001E0E350] Could not get frame filename number 2 from pattern '
    image.png'
    av_interleaved_write_frame(): Invalid argument
  • Use opencv to encode into flv, playable by flash player

    13 février 2012, par Hemang Shah

    I've compiled ffmpeg with libx264 using configure options given at 1.

    This results in the following codecs being available in ffmpeg :

    $ ffmpeg -codecs | grep "264\|flv"
    ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
    built on Feb 10 2012 13:54:15 with gcc 4.6.1
    configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
    libavutil      51. 34.101 / 51. 34.101
    libavcodec     53. 60.100 / 53. 60.100
    libavformat    53. 31.100 / 53. 31.100
    libavdevice    53.  4.100 / 53.  4.100
    libavfilter     2. 60.100 /  2. 60.100
    libswscale      2.  1.100 /  2.  1.100
    libswresample   0.  6.100 /  0.  6.100
    libpostproc    52.  0.100 / 52.  0.100
    DEVSD  flv             Flash Video (FLV) / Sorenson Spark / Sorenson H.263
    D V D  h264            H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    D V D  h264_vdpau      H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
    EV    libx264         libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    EV    libx264rgb      libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB

    After this, I compiled opencv. Here is partial cmake result :

    --   Video I/O:
    --     DC1394 1.x:                 NO
    --     DC1394 2.x:                 NO
    --     FFMPEG:                     YES
    --       codec:                    YES
    --       format:                   YES
    --       util:                     YES
    --       swscale:                  YES
    --       gentoo-style:             YES
    --     GStreamer:                  YES
    --     UniCap:                     NO
    --     PvAPI:                      NO
    --     V4L/V4L2:                   /1
    --     Xine:                       NO

    Now, using opencv's VideoWriter, I tried to encode into flv with the following FOURCC codes :
    FLV1, X264

    While the FLV1 results in a video file not playable by flash player, but playabe by vlc ; X264 produces no results at all.
    Here is the console output for X264, resulting in a 0 byte file.

    Output #0, flv, to 'd.flv' :
    Stream #0.0 : Video : [0][0][0][0] / 0x0000, yuv420p, 320x240, q=2-31, 4915 kb/s, 90k tbn, 24 tbc

    Do you see anything amiss or incorrect ?
    thanks,

  • Use opencv to encode into flv, playable by flash player

    13 février 2012, par Hemang Shah

    I've compiled ffmpeg with libx264 using configure options given at 1.

    This results in the following codecs being available in ffmpeg :

    $ ffmpeg -codecs | grep "264\|flv"
    ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
    built on Feb 10 2012 13:54:15 with gcc 4.6.1
    configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
    libavutil      51. 34.101 / 51. 34.101
    libavcodec     53. 60.100 / 53. 60.100
    libavformat    53. 31.100 / 53. 31.100
    libavdevice    53.  4.100 / 53.  4.100
    libavfilter     2. 60.100 /  2. 60.100
    libswscale      2.  1.100 /  2.  1.100
    libswresample   0.  6.100 /  0.  6.100
    libpostproc    52.  0.100 / 52.  0.100
    DEVSD  flv             Flash Video (FLV) / Sorenson Spark / Sorenson H.263
    D V D  h264            H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    D V D  h264_vdpau      H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
    EV    libx264         libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    EV    libx264rgb      libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB

    After this, I compiled opencv. Here is partial cmake result :

    --   Video I/O:
    --     DC1394 1.x:                 NO
    --     DC1394 2.x:                 NO
    --     FFMPEG:                     YES
    --       codec:                    YES
    --       format:                   YES
    --       util:                     YES
    --       swscale:                  YES
    --       gentoo-style:             YES
    --     GStreamer:                  YES
    --     UniCap:                     NO
    --     PvAPI:                      NO
    --     V4L/V4L2:                   /1
    --     Xine:                       NO

    Now, using opencv's VideoWriter, I tried to encode into flv with the following FOURCC codes :
    FLV1, X264

    While the FLV1 results in a video file not playable by flash player, but playabe by vlc ; X264 produces no results at all.
    Here is the console output for X264, resulting in a 0 byte file.

    Output #0, flv, to 'd.flv' :
    Stream #0.0 : Video : [0][0][0][0] / 0x0000, yuv420p, 320x240, q=2-31, 4915 kb/s, 90k tbn, 24 tbc

    Do you see anything amiss or incorrect ?
    thanks,