lu-zero / bmdtools

Basic capture and play programs for Blackmagic Design Decklink
Boost Software License 1.0
198 stars 74 forks source link

bmdplay 3840x2160 HDMI out problem #68

Closed ggnull35 closed 8 years ago

ggnull35 commented 8 years ago

Hello,

I have Blackmagic Decklink 12G Extreme Card. I can push out HDMI video with 1080p resolution without any problem. However, same video with UHD resolution makes problem. Such like upper 2K frames and lower 2K frames do not place on right areas.

1080p test: avconv -re -i test.mp4 -c:v rawvideo -c:a pcm_s16le -ac 2 -f nut -s 1920x1080 - | bmdplay -f pipe:0 -m 10 -C 0 -O 3

image

image

2160p test: avconv -re -i test.mp4 -c:v rawvideo -c:a pcm_s16le -ac 2 -f nut -s 3840x2160 - | bmdplay -f pipe:0 -m 24 -C 0 -O 3

image

image

Test video was HEVC & AAC encodded in YUV 4:2:0 at 50 fps. I tested different framerates on 3840x2160 always same problem.

lu-zero commented 8 years ago

Can you please provide me the sample file? bmdplay is really simple: it copies what it gets in. Are you 100% sure the video mode is the correct one for that content?

ggnull35 commented 8 years ago

Yes, video mode 24 means 3840x2160 at 50 fps. So the video is same. Please download and see the test file.

lu-zero commented 8 years ago

Can you please try the TestPattern program?

ggnull35 commented 8 years ago

Yes i tested it. TestPattern works fine at 3840x2160@50.

lu-zero commented 8 years ago

I know that might be stupid but... maybe you forgot to pass -pix_fmt uyvy422 ?

ggnull35 commented 8 years ago

I tried adding -pix_fmt uyvy422 and result is same. Output video broken again as given images on 1st post.

lu-zero commented 8 years ago

After spending a good deal of the day on it I guess we can point our finger to the hardware.

Let see if bmd can help you about it.