Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (107)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6997)

  • ffprobe or avprobe returning plain text errors in JSON output

    19 avril 2018, par Justin Jenkins

    I’m running avprobe to get stream infomation about a video in JSON ...

    avprobe -loglevel quiet -show_format -show_streams file.m4v -of json

    This is basically the exact same thing as ffprobe or ffmpeg -i (and I get the same error.)

    ffprobe -loglevel quiet -show_format -show_streams file.m4v -print_format json

    The command works most of the time ... however, on occation I’ll have a video that has an odd stream in it that is "unsupported" and I’ll get back something like this (abbreviated.)

    Unsupported codec with id 94213 for input stream 2
    {  "format" : {
       "filename" : "file.m4v",
       "nb_streams" : 3,
       "format_name" : "mov,mp4,m4a,3gp,3g2,mj2" ...

    When I run the command I get back JSON + an error in plain text, which makes the result invalid JSON and I have to "clean it up" later.

    I’m suppressing errors from the output -loglevel quiet but the error still show up.

    How can I tell avprobe/ffprobe to not show this error and hence get back a proper JSON object ?


    Longer Output Examples

    ffprobe, from source, MacOS

    ffprobe version 0.9.1-subsplash, Copyright (c) 2007-2012 the FFmpeg developers
     built on Feb  5 2012 01:35:36 with gcc 4.2.1 (Apple Inc. build 5664)
     configuration: --prefix=/Volumes/Ramdisk/sw --as=yasm --extra-version=subsplash --disable-shared --enable-static --disable-ffplay --disable-ffserver --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect --enable-nonfree
     libavutil    51. 32. 0 / 51. 32. 0
     libavcodec   53. 42. 4 / 53. 42. 4
     libavformat  53. 24. 2 / 53. 24. 2
     libavdevice  53.  4. 0 / 53.  4. 0
     libavfilter   2. 53. 0 /  2. 53. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.m4v':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42isomavc1
       creation_time   : 2012-01-01 06:38:43
       encoder         : HandBrake 0.9.5 2011010300
     Duration: 00:30:47.53, start: 0.000000, bitrate: 1558 kb/s
       Chapter #0.0: start -0.066733, end 17.784433
       Metadata:
         title           : Chapter  1

    ...

       Stream #0:2(und): Subtitle: mov_text (text / 0x74786574)
       Metadata:
         creation_time   : 2012-01-01 06:38:43
         handler_name    :
    Unsupported codec with id 94213 for input stream 2
    {

    ...

    avprobe, from source, Ubuntu Linux

    avprobe version 10_alpha1-6:10~~git20130307.4be368b-1~quantal1, Copyright (c) 2007-2013 the Libav developers
     built on Mar  7 2013 22:12:44 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.m4v':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42isomavc1
       creation_time   : 2012-01-01 06:38:43
       encoder         : HandBrake 0.9.5 2011010300
     Duration: 00:30:47.53, start: 0.000000, bitrate: 1558 kb/s
       Chapter #0.0: start -0.066733, end 17.784433
       Metadata:
         title           : Chapter  1

    ...

       Stream #0.2(und): Subtitle: text / 0x74786574
       Metadata:
         creation_time   : 2012-01-01 06:38:43
    Unsupported codec with id 94213 for input stream 2
    {

    ...
  • avformat/movenc : fix recognization of cover image streams

    4 juin 2018, par Timo Teräs
    avformat/movenc : fix recognization of cover image streams
    

    For chapter images, the mov demux produces streams with disposition set
    to attached_pic+timed_thumbnails. This patch fixes to properly recognize
    streams that should be encoded as cover image (ones with only and only
    attached_pic disposition set).

    Signed-off-by : Timo Teräs <timo.teras@iki.fi>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/movenc.c
  • aadec : add chapters and seeking

    8 juillet 2018, par Karsten Otto
    aadec : add chapters and seeking
    

    read_packet reads content in chunks. Thus seek must be clamped to valid
    chunk positions in the file, which in turn are relative to chapter start
    positions.

    So in read_header, scan for chapter headers once by skipping through the
    content. Set stream time_base based on bitrate in bytes/s, for easy
    timestamp to position conversion.

    Then in read_seek, find the chapter containing the seek position, calculate
    the nearest chunk position, and reinit the read_seek state accordingly.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/aadec.c