deep-learning-with-pytorch / dlwpt-code

Code for the book Deep Learning with PyTorch by Eli Stevens, Luca Antiga, and Thomas Viehmann.

Home Page:https://www.manning.com/books/deep-learning-with-pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

p1ch4/X_video_cockatoo.ipynb issue

danli349 opened this issue · comments

Hi,

import imageio

reader = imageio.get_reader('../data/p1ch4/video-cockatoo/cockatoo.mp4')
meta = reader.get_meta_data()
meta
{'plugin': 'ffmpeg',
 'nframes': inf,
 'ffmpeg_version': '4.2.2 built with gcc 9.2.1 (GCC) 20200122',
 'codec': 'h264',
 'pix_fmt': 'yuv444p',
 'audio_codec': 'mp3',
 'fps': 20.0,
 'source_size': (1280, 720),
 'size': (1280, 720),
 'rotate': 0,
 'duration': 14.0}

Can anyone tell me why the 'nframes': inf, is inf?
Thanks a lot.