VLC fails to play x264 4:4:4 lossless in mkv
VLC fails to play x264 4:4:4 lossless in mkv
Broken frames on linux 2.2 git, playback just stops on mac 2.1.2
VLC Mac version 2.1.2 and Linux VLC version 2.2.0-git Weatherwax (2.1.0-git-1320-g7fc3ea2f) both fail. File plays fine in avplay with the same libraries checkout. The same stream seems to play back OK in an MP4 container.
Downscaling before encoding seems to solve the problem and even the first 5 seconds of the file are very large
The file was created with
$ wget http://media.xiph.org/video/derf/y4m/park_joy_444_720p50.y4m
$ x264 --version
x264 0.140.2377 1ca7bb9
built on Dec 7 2013, gcc: 4.6.3
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
$ x264 --preset veryslow --crf 0 --output-csp i444 -o x.mkv park_joy_444_720p50.y4m
VLC log
main debug: processing request item: x.mkv, node: Playlist, skip: 0
main debug: resyncing on x.mkv
main debug: x.mkv is at 0
main debug: starting playback of the new playlist item
main debug: resyncing on x.mkv
main debug: x.mkv is at 0
main debug: creating new input thread
main debug: Creating an input for 'x.mkv'
main debug: using timeshift granularity of 50 MiB, in path '/tmp'
main debug: `file:///usr/local/google/home/aconverse/video/x.mkv' gives access `file' demux `' path `/usr/local/google/home/aconverse/video/x.mkv'
main debug: creating demux: access='file' demux='' location='/usr/local/google/home/aconverse/video/x.mkv' file='/usr/local/google/home/aconverse/video/x.mkv'
main debug: looking for access_demux module matching "file": 12 candidates
main debug: no access_demux modules matched
main debug: creating access 'file' location='/usr/local/google/home/aconverse/video/x.mkv', path='/usr/local/google/home/aconverse/video/x.mkv'
main debug: looking for access module matching "file": 18 candidates
filesystem debug: opening file `/usr/local/google/home/aconverse/video/x.mkv'
main debug: using access module "filesystem"
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 62500 KiB/s
main debug: looking for stream_filter module matching "any": 9 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_filter module matching "record": 9 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='' location='/usr/local/google/home/aconverse/video/x.mkv' file='/usr/local/google/home/aconverse/video/x.mkv'
main debug: looking for demux module matching "mkv": 56 candidates
avformat debug: trying url: /usr/local/google/home/aconverse/video/x.mkv
avformat debug: detected format: matroska,webm
qt4 debug: IM: Setting an input
main debug: selecting program id=0
avformat debug: adding es: video codec = h264 (28)
avformat debug: AVFormat supported stream
avformat debug: - format = matroska,webm (Matroska / WebM)
avformat debug: - start time = 0
avformat debug: - duration = 10000000
main debug: using demux module "avformat"
main debug: looking for a subtitle file in /usr/local/google/home/aconverse/video/
main debug: looking for decoder module matching "any": 30 candidates
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
main debug: using decoder module "avcodec"
main debug: looking for meta reader module matching "any": 0 candidates
main debug: no meta reader modules
main debug: `file:///usr/local/google/home/aconverse/video/x.mkv' successfully opened
main debug: Buffering 0%
main debug: Buffering 6%
main debug: Buffering 13%
main debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Building font databases.
freetype debug: Took 0 microseconds
main debug: Buffering 20%
main debug: Buffering 26%
freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: looking for video filter2 module matching "any": 57 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: looking for video filter2 module matching "any": 57 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "xcb_glx": 11 candidates
main debug: looking for vout window xid module matching "qt4,any": 3 candidates
qt4 debug: requesting video window...
main debug: Buffering 33%
main debug: Buffering 40%
main debug: Buffering 46%
main debug: Buffering 53%
main debug: Buffering 60%
main debug: Buffering 66%
main debug: Buffering 73%
main debug: Buffering 80%
main debug: Buffering 86%
main debug: Buffering 93%
main debug: Buffering 100%
main debug: Stream buffering done (320 ms in 37 ms)
qt4 debug: Video was requested 0, 0
main debug: using vout window xid module "qt4"
main debug: looking for inhibit module matching "any": 1 candidates
main debug: using inhibit module "xdg"
xcb debug: connected to X11.0 server
xcb debug: vendor : The X.Org Foundation
xcb debug: version: 11103000
xcb debug: using screen 0x2f8
xcb_glx debug: using GLX extension version 1.4
xcb_glx debug: using X11 window 04e00000
main debug: VoutDisplayEvent 'fullscreen' 0
main debug: VoutDisplayEvent 'resize' 1280x720 window
main debug: using vout display module "xcb_glx"
main debug: original format sz 1280x738, of (0,0), vsz 1280x720, 4cc I444, sar 1:1, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Building font databases.
freetype debug: Took 0 microseconds
freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
avcodec debug: enabling direct rendering
xcb debug: display is visible
main debug: SOURCE sz 1280x738, of (0,0), vsz 1280x720, 4cc I444, sar 1:1, msk r0x0 g0x0 b0x0
main debug: CROPPED sz 1280x738, of (0,0), vsz 1280x720, 4cc I444, sar 1:1, msk r0x0 g0x0 b0x0
main error: Failed to resize display
main debug: End of video preroll
main debug: Received first picture
main debug: Decoder buffering done in 391 ms
main warning: picture is too late to be displayed (missing 37 ms)
main debug: picture might be displayed late (missing 17 ms)
main warning: picture is too late to be displayed (missing 38 ms)
main warning: picture is too late to be displayed (missing 77 ms)
main warning: picture is too late to be displayed (missing 57 ms)
main warning: picture is too late to be displayed (missing 37 ms)
main warning: picture is too late to be displayed (missing 77 ms)
main warning: picture is too late to be displayed (missing 116 ms)
main warning: picture is too late to be displayed (missing 96 ms)
main warning: picture is too late to be displayed (missing 76 ms)
main warning: picture is too late to be displayed (missing 176 ms)
main debug: auto hiding mouse cursor
main warning: picture is too late to be displayed (missing 46 ms)
main debug: picture might be displayed late (missing 6 ms)
main warning: picture is too late to be displayed (missing 30 ms)
main debug: picture might be displayed late (missing 10 ms)
main warning: picture is too late to be displayed (missing 54 ms)
main warning: picture is too late to be displayed (missing 98 ms)
main warning: picture is too late to be displayed (missing 78 ms)
main warning: picture is too late to be displayed (missing 58 ms)
main warning: picture is too late to be displayed (missing 103 ms)
main warning: picture is too late to be displayed (missing 86 ms)
main warning: picture is too late to be displayed (missing 46 ms)
main warning: picture is too late to be displayed (missing 73 ms)
main warning: picture is too late to be displayed (missing 53 ms)
main warning: picture is too late to be displayed (missing 101 ms)
main warning: picture is too late to be displayed (missing 81 ms)
main warning: picture is too late to be displayed (missing 128 ms)
main warning: picture is too late to be displayed (missing 108 ms)
main warning: picture is too late to be displayed (missing 156 ms)
main warning: picture is too late to be displayed (missing 92 ms)
main warning: picture is too late to be displayed (missing 52 ms)
main debug: picture might be displayed late (missing 12 ms)
main warning: picture is too late to be displayed (missing 62 ms)
main warning: picture is too late to be displayed (missing 113 ms)
main warning: picture is too late to be displayed (missing 93 ms)
main warning: picture is too late to be displayed (missing 73 ms)
main warning: picture is too late to be displayed (missing 53 ms)
main warning: picture is too late to be displayed (missing 174 ms)
main warning: picture is too late to be displayed (missing 98 ms)
main warning: picture is too late to be displayed (missing 58 ms)
main debug: picture might be displayed late (missing 18 ms)
main warning: picture is too late to be displayed (missing 124 ms)
main warning: picture is too late to be displayed (missing 104 ms)
main warning: picture is too late to be displayed (missing 84 ms)
main warning: picture is too late to be displayed (missing 64 ms)
main warning: picture is too late to be displayed (missing 188 ms)
main warning: picture is too late to be displayed (missing 26 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main debug: picture might be displayed late (missing 19 ms)
main debug: picture might be displayed late (missing 1 ms)
main warning: picture is too late to be displayed (missing 52 ms)
main warning: picture is too late to be displayed (missing 32 ms)
main debug: picture might be displayed late (missing 12 ms)
main warning: picture is too late to be displayed (missing 65 ms)
main warning: picture is too late to be displayed (missing 119 ms)
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: finished input
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "avformat"
main debug: removing module "record"
main debug: removing module "filesystem"
main debug: Program doesn't contain anymore ES
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "xcb_glx"
qt4 debug: IM: Deleting the input
main debug: removing module "xdg"
qt4 debug: releasing video...
qt4 debug: Video is not needed anymore
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"