CPC H04N 21/440272 (2013.01) [H04N 21/44008 (2013.01); H04N 21/47205 (2013.01); H04N 21/4858 (2013.01)] | 10 Claims |
1. An electronic device comprising:
a display;
a processor; and
a memory operatively connected with the processor,
wherein the memory stores instructions that, when executed, cause the processor to:
based on a request related to playing of a video content, play the video content,
obtain time information corresponding to a detection period of a black bar in the video content, wherein the detection period of the black bar is set based on at least one of a remaining capacity of a battery of the electronic device or whether there exists a subtitle file related to the video content,
while the video content is being played, detect the black bar using at least one image frame of the video content corresponding to the detection period based on the time information,
based on the detection of the black bar, display an icon indicating that the black bar has been detected,
based on receiving an user input for the icon, adjust a size of an image area of the video content being played based on the detected black bar in the video content and a resolution of the display,
while the video content of which the size of the image area is adjusted is being played, based on detecting a change an aspect ratio of the video content of which the size of the image area is adjusted, re-detect the black bar included in the video content of which the aspect ratio is changed,
while re-detecting the black bar, restore the size of the adjusted image area, and
re-adjust the size of the image area of the video content based on the re-detected black bar in the video content and the resolution of the display.
|