Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (79)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (5536)

  • Revision 37406 : Le cron toute les minutes Amélioration de pleins de petites choses ...

    18 avril 2010, par kent1@… — Log

    Le cron toute les minutes
    Amélioration de pleins de petites choses
    Incrément mineur de la version

  • H.264 encoded stream in MP4 container does not play right in WMP12 Windows 7

    13 décembre 2019, par remus

    I’d like to figure out why my H.264 encoded stream in a MP4 container does not play back correctly in Window Media Player 12 in Windows 7. The file plays well in VLC and other players including WMP from Windows 10 but I’m just wondering why WMP12 from Win 7 does not play it.

    It seems that only I-type frames are displayed and blank black frames are shown instead of all P-type frames in between. If I force my device encoder to produce only I-type frames then the file plays back ok in WMP12 (Win 7) but the size of the file increases too much. What are the limits of H.264 decoder in Windows 7 ?

    I’m adding below ffprobe -show_frames video.mp4 (just a few frames but there are no reported errors by ffprobe) :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.83.100
     Duration: 00:00:05.51, start: 0.024000, bitrate: 513 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 510 kb/s, 30.11 fps, 59.94 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         handler_name    : VideoHandler
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=1
    pkt_pts=2160
    pkt_pts_time=0.024000
    pkt_dts=2160
    pkt_dts_time=0.024000
    best_effort_timestamp=2160
    best_effort_timestamp_time=0.024000
    pkt_duration=2340
    pkt_duration_time=0.026000
    pkt_pos=48
    pkt_size=2979
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=I
    coded_picture_number=0
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=4500
    pkt_pts_time=0.050000
    pkt_dts=4500
    pkt_dts_time=0.050000
    best_effort_timestamp=4500
    best_effort_timestamp_time=0.050000
    pkt_duration=4320
    pkt_duration_time=0.048000
    pkt_pos=3027
    pkt_size=1662
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=1
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=8820
    pkt_pts_time=0.098000
    pkt_dts=8820
    pkt_dts_time=0.098000
    best_effort_timestamp=8820
    best_effort_timestamp_time=0.098000
    pkt_duration=3060
    pkt_duration_time=0.034000
    pkt_pos=4689
    pkt_size=1073
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=2
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=11880
    pkt_pts_time=0.132000
    pkt_dts=11880
    pkt_dts_time=0.132000
    best_effort_timestamp=11880
    best_effort_timestamp_time=0.132000
    pkt_duration=2970
    pkt_duration_time=0.033000
    pkt_pos=5762
    pkt_size=829
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=3
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=14850
    pkt_pts_time=0.165000
    pkt_dts=14850
    pkt_dts_time=0.165000
    best_effort_timestamp=14850
    best_effort_timestamp_time=0.165000
    pkt_duration=3060
    pkt_duration_time=0.034000
    pkt_pos=6591
    pkt_size=987
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=4
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=17910
    pkt_pts_time=0.199000
    pkt_dts=17910
    pkt_dts_time=0.199000
    best_effort_timestamp=17910
    best_effort_timestamp_time=0.199000
    pkt_duration=2970
    pkt_duration_time=0.033000
    pkt_pos=7578
    pkt_size=1344
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=5
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=20880
    pkt_pts_time=0.232000
    pkt_dts=20880
    pkt_dts_time=0.232000
    best_effort_timestamp=20880
    best_effort_timestamp_time=0.232000
    pkt_duration=2970
    pkt_duration_time=0.033000
    pkt_pos=8922
    pkt_size=1850
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=6
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=23850
    pkt_pts_time=0.265000
    pkt_dts=23850
    pkt_dts_time=0.265000
    best_effort_timestamp=23850
    best_effort_timestamp_time=0.265000
    pkt_duration=3060
    pkt_duration_time=0.034000
    pkt_pos=10772
    pkt_size=1972
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=7
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]

    Please let me know if you spot any errors in these frames that might affect playback.

    The encoded H.264 stream is created using Freescale libimxvpuapi and the MP4 container using ffmpeg.

    More information on the file :

    exiftool video.mp4
    ExifTool Version Number         : 10.10
    File Name                       : video.mp4
    Directory                       : .
    File Size                       : 346 kB
    File Modification Date/Time     : 2018:10:02 11:27:20+02:00
    File Access Date/Time           : 2018:10:02 11:41:14+02:00
    File Inode Change Date/Time     : 2018:10:02 11:27:21+02:00
    File Permissions                : rw-r--r--
    File Type                       : MP4
    File Type Extension             : mp4
    MIME Type                       : video/mp4
    Major Brand                     : MP4  Base Media v1 [IS0 14496-12:2003]
    Minor Version                   : 0.2.0
    Compatible Brands               : isom, iso2, avc1, mp41
    Movie Data Size                 : 351479
    Movie Data Offset               : 48
    Movie Header Version            : 0
    Create Date                     : 0000:00:00 00:00:00
    Modify Date                     : 0000:00:00 00:00:00
    Time Scale                      : 1000
    Duration                        : 5.51 s
    Preferred Rate                  : 1
    Preferred Volume                : 100.00%
    Preview Time                    : 0 s
    Preview Duration                : 0 s
    Poster Time                     : 0 s
    Selection Time                  : 0 s
    Selection Duration              : 0 s
    Current Time                    : 0 s
    Next Track ID                   : 2
    Track Header Version            : 0
    Track Create Date               : 0000:00:00 00:00:00
    Track Modify Date               : 0000:00:00 00:00:00
    Track ID                        : 1
    Track Duration                  : 5.51 s
    Track Layer                     : 0
    Track Volume                    : 0.00%
    Matrix Structure                : 1 0 0 0 1 0 0 0 1
    Image Width                     : 720
    Image Height                    : 480
    Media Header Version            : 0
    Media Create Date               : 0000:00:00 00:00:00
    Media Modify Date               : 0000:00:00 00:00:00
    Media Time Scale                : 90000
    Media Duration                  : 5.51 s
    Media Language Code             : und
    Handler Description             : VideoHandler
    Graphics Mode                   : srcCopy
    Op Color                        : 0 0 0
    Compressor ID                   : avc1
    Source Image Width              : 720
    Source Image Height             : 480
    X Resolution                    : 72
    Y Resolution                    : 72
    Bit Depth                       : 24
    Video Frame Rate                : 30.109
    Handler Type                    : Metadata
    Handler Vendor ID               : Apple
    Encoder                         : Lavf57.83.100
    Avg Bitrate                     : 510 kbps
    Image Size                      : 720x480
    Megapixels                      : 0.346
    Rotation                        : 0

    Many thanks !

    Please find a video sample here :

    https://www.dropbox.com/s/zehqgqhd8ychy0t/video.mp4?dl=0

  • encoding with ffmpeg libx265 -pix_fmt gray gives unplayable vid

    9 juin 2017, par netjiro

    What am I missing ?
    I encode an old black and white film clip with ffmpeg libx265 passing -pix_fmt gray. The output is unplayable in both vlc and mplayer (linux), so I assume I’m missing something...

    encoding :

    ffmpeg -i clip.mkv \
       -c:v libx265 -preset slow -x265-params "crf=24" -pix_fmt gray \
       -c:a libopus -b:a 64k \
       -c:s copy \
       out.mkv

    vlc errors :

    [00007f8a3ddfe328] blend blend error: no matching alpha blending routine (chroma: RGBA -> GREY)
    [00007f8a3ddfe328] core blend error: blending RGBA to GREY failed
    ... repeated ...

    mplayer errors :

    Unexpected decoder output format Planar Y800
    ... repeated ...

    ffmpeg encoding output :

    ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.9.4 (Gentoo 4.9.4 p1.0, pie-0.6.4)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-3.2.4/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --enable-version3 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --enable-lzma --enable-network --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --enable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --enable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --enable-openal --enable-opengl --enable-libv4l2 --disable-libpulse --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libfdk-aac --enable-libopenjpeg --enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --disable-mmal --enable-libmodplug --enable-libopus --disable-libilbc --disable-librtmp --enable-libssh --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-chromaprint --disable-libebur128 --disable-libflite --disable-frei0r --disable-libfribidi --enable-fontconfig --disable-ladspa --disable-libass --enable-libfreetype --disable-librubberband --disable-libzimg --enable-libsoxr --enable-pthreads --enable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --disable-libopenh264 --enable-libsnappy --enable-libtheora --enable-libtwolame --enable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=host --disable-doc --disable-htmlpages --enable-manpages
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    x265 [info]: HEVC encoder version 2.2
    x265 [info]: build info [Linux][GCC 4.9.4][64 bit] 8bit+10bit+12bit
    x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
    x265 [info]: Unknown profile, Level-3.1 (Main tier)
    x265 [warning]: No thread pool allocated, --wpp disabled
    x265 [warning]: No thread pool allocated, --lookahead-slices disabled
    x265 [info]: Slices                              : 1
    x265 [info]: frame threads / pool features       : 3 / none
    x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
    x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
    x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
    x265 [info]: Keyframe min / max / scenecut / bias: 23 / 250 / 40 / 5.00
    x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
    x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
    x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
    x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
    x265 [info]: Rate Control / qCompress            : CRF-24.0 / 0.60
    x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
    x265 [info]: tools: rskip signhide tmvp strong-intra-smoothing deblock sao
    Output #0, matroska, to 'out.mkv':
     Metadata:
       encoder         : Lavf57.56.101
       Metadata:
       Stream #0:0(eng): Video: hevc (libx265), gray, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 1k tbn, 23.98 tbc (default)
       Metadata:
         encoder         : Lavc57.64.101 libx265
       Stream #0:1(eng): Audio: opus (libopus) ([255][255][255][255] / 0xFFFFFFFF), 48000 Hz, stereo, flt, 64 kb/s (default)
       Metadata:
         encoder         : Lavc57.64.101 libopus
       Stream #0:2(eng): Subtitle: subrip (default)
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
     Stream #0:1 -> #0:1 (eac3 (native) -> opus (libopus))
     Stream #0:3 -> #0:2 (copy)
    Press [q] to stop, [?] for help
    frame= 1439 fps=7.0 q=-0.0 Lsize=    5356kB time=00:01:00.01 bitrate= 731.1kbits/s speed=0.294x    
    video:4940kB audio:382kB subtitle:1kB other streams:0kB global headers:2kB muxing overhead: 0.629434%
    x265 [info]: frame I:      9, Avg QP:22.27  kb/s: 6064.82
    x265 [info]: frame P:    340, Avg QP:23.62  kb/s: 1950.21
    x265 [info]: frame B:   1090, Avg QP:29.65  kb/s: 230.75  
    x265 [info]: Weighted P-Frames: Y:0.9% UV:0.0%
    x265 [info]: consecutive B-frames: 2.9% 0.3% 1.4% 72.5% 22.9%