Project

General

Profile

Using Exiv2 to read large video files

Added by Michael McGrath over 8 years ago

Trying to read a large video file takes up a lot of memory and a long time. Is there a way to limit the read of the file to just the header? I'm not too familiar where XMP data is actually stored in the file but if reading the first megabyte of a file is enough can the read be limited to just that?

Thanks


Replies (5)

RE: Using Exiv2 to read large video files - Added by Robin Mills over 8 years ago

Michael

I know that this issue has been identified and understood by Abhinav. I have to defer to him on this question.

Returning to you questions last week about 0.24, I've done work on Visual Studio 2012 in preparation for the 0.24 release. It should be working well on the trunk from the new 'msvc2012' directory. msvc has been renamed msvc2003 and msvc64 has been renamed msvc2005.

Robin

RE: Using Exiv2 to read large video files - Added by Michael McGrath over 8 years ago

Robin,

Thanks for the quick reply; I will wait for Abhinav's answer on that.

I look forward to trying out the new release! I think will have time to try it out tomorrow and will get back to you with the results.

Thanks,
Michael

RE: Using Exiv2 to read large video files - Added by Abhinav Badola over 8 years ago

Michael McGrath wrote:

Trying to read a large video file takes up a lot of memory and a long time. Is there a way to limit the read of the file to just the header? I'm not too familiar where XMP data is actually stored in the file but if reading the first megabyte of a file is enough can the read be limited to just that?

Thanks

Hi Michael,

I am pretty sure that I optimized the code to read large video files, fast and quick. Please can you provide more details about the video, or a link, if I can download it for testing purposes.

Thanks in Advance,
Abhinav

RE: Using Exiv2 to read large video files - Added by Michael McGrath over 8 years ago

Hi Ahbinav,

I am working with 0.23 that I got on 7/15/2013 is this before you added that optimization? Where should I send the video?

Thanks,
Michael

RE: Using Exiv2 to read large video files - Added by Abhinav Badola over 8 years ago

Hi Michael,

Michael McGrath wrote:

Hi Ahbinav,

I am working with 0.23 that I got on 7/15/2013 is this before you added that optimization? Where should I send the video?

I am not sure if the bug was fixed in version 0.23. It might be that the bug is still alive, and I may have not been able to test it properly.

I do not have a hosting space. My suggestion, would be to use services like dropbox.
Even Google Drive offers such facility, I mean uploading a file, and sharing its link with others.

There are other services as well, which allow you to send big files as email attachments or links.
https://www.filestofriends.com/
https://www.transferbigfiles.com/

Thanks,
Michael

    (1-5/5)