Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error by portrait videos #19

Closed
babaknaderi opened this issue Jul 13, 2023 · 1 comment
Closed

Error by portrait videos #19

babaknaderi opened this issue Jul 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@babaknaderi
Copy link

For portrait videos (in mp4) get the following error. However, If I convert them to y4m, I do not get this error. Note about the shape.

File "c:\my\repo\siti-tools\siti_env3.8\lib\site-packages\siti_tools\file.py", line 81, in read_container
raise RuntimeError(
RuntimeError: Cannot decode frame. Have you specified the bit depth correctly? Original error: cannot reshape array of size 2211840 into shape (1920,1080)

@slhck
Copy link
Collaborator

slhck commented Jul 13, 2023

This is related to #17 — seems to have to do with the Display Aspect Ratio (DAR) attribute? We haven't fully figured out the root cause of this. For now, please use Y4M.

@slhck slhck closed this as completed Jul 13, 2023
@slhck slhck added the bug Something isn't working label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants