Seeking back to the beginning of the file in scanFileAndUpdateMetadataAndIndex
#455
Labels
help wanted
Extra attention is needed
scanFileAndUpdateMetadataAndIndex
#455
In
scanFileAndUpdateMetadataAndIndex
, we first scan the entire file by receiving all packets in the container, callingav_read_frame()
until the end of the video:torchcodec/src/torchcodec/decoders/_core/VideoDecoder.cpp
Line 551 in d26bfbc
After this scan, we call
av_seek_file
to go back to the beginning of the file:torchcodec/src/torchcodec/decoders/_core/VideoDecoder.cpp
Lines 593 to 594 in d26bfbc
(docs)
Specifically we pass:
I wonder if we should instead pass:
The text was updated successfully, but these errors were encountered: