Orientation-Aware Video Stream Resolution Switching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The challenge of playing landscape video streams on terminal screens in portrait mode results in a reduced display area, leading to wasted bandwidth and video stuttering due to inefficient resolution adjustment methods that do not account for terminal and video stream orientations.
Innovation Solution
A method that dynamically adjusts video stream resolution based on the playback display state, switching to appropriate definitions when the terminal orientation changes, ensuring smooth playback and efficient bandwidth use by detecting and satisfying preset conditions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the terminal plays the landscape video stream with default definition in portrait state, then the viewing experience is maintained, but bandwidth is wasted and video stuttering occurs
Solution Approach 1:
The patent implements dynamic definition switching based on terminal orientation state. When the terminal rotates from landscape to portrait mode, the system automatically switches from high definition to low definition playback, and vice versa. This dynamic adaptation resolves the contradiction by adjusting bandwidth consumption to match actual display needs while maintaining playback stability.
Solution Approach 2:
The system changes the video definition parameter according to the terminal's display state. By detecting orientation changes and correspondingly adjusting the video stream definition (resolution), the system optimizes bandwidth usage without compromising viewing experience, thereby resolving the bandwidth waste issue while maintaining reliable playback.
2Reliability
If the terminal plays the landscape video stream with default definition in portrait state, then the playback is continuous, but video stuttering occurs due to mismatched resolution
Solution Approach 1:
The system dynamically adjusts video definition based on terminal orientation. When portrait mode is detected, it switches to low definition to match the smaller display area, preventing stuttering while maintaining continuous playback. This dynamic adaptation resolves the contradiction between playback continuity and viewing experience.
Solution Approach 2:
The system implements feedback mechanisms by continuously monitoring terminal orientation state and adjusting video definition accordingly. This closed-loop control ensures that the video playback parameters always match the current display state, eliminating stuttering and optimizing viewing experience while maintaining continuous playback.
3Manufacturing precision
If the video stream uses high definition in portrait state, then the viewing quality is maintained, but bandwidth cost increases
Solution Approach 1:
The patent applies local quality adaptation by adjusting video definition according to the specific display context. In portrait state with limited display area, low definition is sufficient and appropriate. The system applies the right quality level locally matched to each orientation state, avoiding unnecessary high definition transmission and reducing bandwidth cost while maintaining adequate video quality.
Solution Approach 2:
The system changes the video definition parameter based on terminal orientation state. By switching between high and low definition according to actual display needs, the system optimizes the balance between video quality and bandwidth consumption, ensuring adequate quality while minimizing bandwidth cost.
Data Source
Figure 1~2
Figure 3~5
Figure 6~7
AI summary
Embodiments of the disclosure provide a method, a device, a storage medium and a program product for playing a video stream. The method includes: detecting whether a playback display state of a video stream is changed; in response to the playback display state of the video stream being changed, determining whether a preset definition switching condition is satisfied; and in accordance with a determination that the preset definition switching condition is satisfied, acquiring the video stream with a switched definition, and playing the video stream with the switched definition. According to embodiments of the present disclosure, by switching to an appropriate definition, the stuttering in the process of playing a video stream is reduced, the bandwidth cost is reasonably used, and the viewing experience of the video stream is guaranteed.