ultravideo / kvazaar

An open-source HEVC encoder
BSD 3-Clause "New" or "Revised" License
831 stars 178 forks source link

convert seems success but cannot play video #406

Open TimYao18 opened 5 months ago

TimYao18 commented 5 months ago

I built the Windows kvazaar cli and used below command to convert video:

.\kvazaar.exe --input test_406x720_30.mp4 --output out.hevc

The log shows as below:

Compiled: INTEL, flags: MMX SSE SSE2 SSSE3 SSE41 SSE42
Detected: INTEL, flags: MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX AVX2
Available: avx2(55) sse2(2) sse41(4)
In use: avx2(55) sse2(1)
--owf=auto value set to 4.
--threads=auto value set to 12.
Input: test_406x720_30.mp4, output: out.hevc
  Video size: 408x720 (input=406x720)
POC    0 QP 21 AVG QP 21.0 (I-frame)    2582032 bits PSNR Y 41.5382 U 41.0789 V 41.0950
POC    1 QP 25 AVG QP 23.0 (P-frame)    2235384 bits PSNR Y 37.6956 U 36.8877 V 36.8728 [L0 0 ] [L1 ]
 Processed 2 frames,    4817416 bits AVG PSNR Y 39.6169 U 38.9833 V 38.9839
 Total CPU time: 0.432 s.
 Encoding time: 0.421 s.
 Encoding wall time: 0.421 s.
 Encoding CPU usage: 99.93%
 FPS: 4.75
 Bitrate: 57.428 Mbps
 AVG QP: 23.0

But I cannot watch the video using VLC or Windows Media Player with HEVC codec.

The attached file is the converted video. I changed its extension name to mov.

https://github.com/ultravideo/kvazaar/assets/15173100/f24d47b9-b0d3-4b0f-84b2-ef7049844539

Jovasa commented 5 months ago

Please see https://github.com/ultravideo/kvazaar/issues/322