TPESystem/Media/VideoThumbnail: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Background == Currently video thumbnail generation is not a good way described as below. <br>") |
|||
| Line 1: | Line 1: | ||
== Background == | == Background == | ||
Currently video thumbnail generation is not a good way described as below. | Currently video thumbnail generation is not a good way and there are some room to improve as described as below. | ||
# Seek to 1/10th of the duration | |||
* 1/10th may not be a good choice | |||
A better choice may be to pick the biggest I-frame of the first 10 I frames as Android does, since that frame should contain much information | |||
* Sometimes seeking takes time | |||
#Use Canvas to draw image and save it as a file | |||
Revision as of 05:56, 18 February 2014
Background
Currently video thumbnail generation is not a good way and there are some room to improve as described as below.
- Seek to 1/10th of the duration
- 1/10th may not be a good choice
A better choice may be to pick the biggest I-frame of the first 10 I frames as Android does, since that frame should contain much information
- Sometimes seeking takes time
- Use Canvas to draw image and save it as a file