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 reading high resolution videos #48

Closed
identidata opened this issue Aug 1, 2017 · 4 comments
Closed

error reading high resolution videos #48

identidata opened this issue Aug 1, 2017 · 4 comments

Comments

@identidata
Copy link

identidata commented Aug 1, 2017

I am getting some runtime errors with high resolution videos. Code I am using is:

videogen = skvideo.io.vread('video.avi')

And what I get is:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/sk_video-1.1.8-py2.7.egg/skvideo/io/io.py", line 148, in vread
for idx, frame in enumerate(reader.nextFrame()):
File "/usr/local/lib/python2.7/dist-packages/sk_video-1.1.8-py2.7.egg/skvideo/io/ffmpeg.py", line 293, 
in nextFrame yield self._readFrame()
File "/usr/local/lib/python2.7/dist-packages/sk_video-1.1.8-py2.7.egg/skvideo/io/ffmpeg.py", line 277, 
in_readFrame
s = self._read_frame_data()
File "/usr/local/lib/python2.7/dist-packages/sk_video-1.1.8-py2.7.egg/skvideo/io/ffmpeg.py", line 271, 
in _read_frame_data
raise RuntimeError("%s" % (err1,))
RuntimeError
@beyondmetis
Copy link
Member

I tested scikit-video with up to 4k resolution. What resolutions are you loading?

@identidata
Copy link
Author

identidata commented Aug 7, 2017

apologies for the delay, it is not that much:

(u'@height', u'1280'), (u'@coded_width', u'720')

but I still get the error thread above.`

@beyondmetis
Copy link
Member

Alright, it's probably not related to resolution, but it is a problem I have never encountered with my videos. Care to link me to a problem file? My email is tgoodall@utexas.edu

@identidata
Copy link
Author

hi Tom, yes of course - I have sent videos before (alejandro@identidata.io)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants