[FFmpeg-user] bt2020 colorspace in ffplay

Gonzalo Garramuño ggarra13 at gmail.com
Fri Aug 10 02:26:47 EEST 2018


I am trying to get a video with bt2020 colorspace to reproduce 
correctly.  Currently, the one tool that seems to do the job is mpv.

I am linking two pictures (one captured from mpv and one from ffplay 
with the colorspace filter on).

The 4K demo in bt2020 glory:

https://drive.google.com/uc?export=download&id=0Bxj6TUyM3NwjaWxUd2UwbmtZLXM

mpv screen capture:

https://mega.nz/#!R9QXVKqb!_9FKkyPsDPDyn_JuxDWECvK0ucaD7SOlWiFZLDXDSNw

ffplay screen capture:

https://mega.nz/#!N8JF2IyC!ORYN_9BhxuSLAXl8m8JWhMem8C-tH6UmxB_uCJjo-_o

The ffplay picture was created by doing:

$ ffplay -vf colorspace=iall=bt2020:all=bt709 Samsung\ Wonderland\ Demo.ts

ffplay version N-91456-g0b2c14c797 Copyright (c) 2003-2018 the FFmpeg 
developers
   built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
   configuration: --enable-pic --enable-gpl --enable-gray 
--enable-shared --enable-bzlib --enable-libfreetype --enable-libmp3lame 
--enable-libtheora --enable-libvorbis --enable-libopus --enable-libass 
--enable-libvpx --enable-libx264 --enable-libwebp --enable-zlib
   libavutil      56. 18.102 / 56. 18.102
   libavcodec     58. 21.104 / 58. 21.104
   libavformat    58. 17.101 / 58. 17.101
   libavdevice    58.  4.101 / 58.  4.101
   libavfilter     7. 25.100 /  7. 25.100
   libswscale      5.  2.100 /  5.  2.100
   libswresample   3.  2.100 /  3.  2.100
   libpostproc    55.  2.100 / 55.  2.100
[mpegts @ 0x7ff680000b80] start time for stream 1 is not set in 
estimate_timings_from_pts
[mpegts @ 0x7ff680000b80] Could not find codec parameters for stream 1 
(Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
Input #0, mpegts, from 'Samsung Wonderland Demo.ts':
   Duration: 00:02:41.16, start: 1.166822, bitrate: 51772 kb/s
   Program 1
     Stream #0:0[0x101]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), 
yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 
16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
     Stream #0:1[0x102](und): Audio: aac ([15][0][0][0] / 0x000F), 0 
channels
    3.41 M-V:  0.028 fd=  10 aq=    0KB vq= 6348KB sq=    0B f=0/0


-- 
Gonzalo Garramuño



More information about the ffmpeg-user mailing list