IENT / YUView

The Free and Open Source Cross Platform YUV Viewer with an advanced analytics toolset
http://ient.github.io/YUView
Other
1.79k stars 354 forks source link

Error opening file: unable to obtain frame size from file #505

Closed xyz1001 closed 1 year ago

xyz1001 commented 1 year ago

Describe the bug YUView fail to open a h264 file generated by ffmpeg. ffplay is ok.

To Reproduce Steps to reproduce the behavior:

  1. Generate a h264 file by command ffmpeg -f lavfi -i testsrc=duration=10:size=1281x721:rate=30 test.h264
  2. Open the file with YUView.

Expected behavior YUView can open the file normally.

Screenshots image

Version (please complete the following information):

** attachment

ChristianFeldmann commented 1 year ago

I was able to reproduce this behavior on the latest develop version. Thx for the file and the report ...

ChristianFeldmann commented 1 year ago

Alright this is fixed. The issue was that the h264 bitstream was in 4:4:4 subsampling and there were two tiny bugs hiding in the code. We are overdue again for a release so I will do one.