The ouptput files are played by ffplay and MPlayer. The quality is not good with h.265 and h.264 with either ffplay or Mplayer. sample_encode is build upon intel media server studio 2017 community edition.
Is it because that the input file is not NV12? I tried to use fmmpeg to convert it to NV12. The results are still the same. Can anyone tell me what I missed? any good input file?