Placeshifting Video Encoder Latency Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing place shifting technologies face significant latency issues when starting or restarting live video streams, especially during trick play operations, due to the need for real-time encoding and network adaptation, which hinders a seamless viewing experience.
Innovation Solution
A system and method where a placeshifting device pre-encodes a portion of the media program in a low-bandwidth format before receiving an instruction from the media player, allowing immediate playback and subsequent live encoding to adapt to current network conditions, thereby reducing latency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If real-time encoding is used to adapt to current network conditions, then the video stream can be transmitted efficiently over the network, but significant latency is introduced when starting or restarting playback
Solution Approach 1:
The system pre-encodes a portion of the media program before receiving the playback instruction. This preliminary encoding creates a ready-to-play buffer that can be immediately transmitted when playback is requested, eliminating the need to wait for real-time encoding to complete before starting playback.
Solution Approach 2:
The media program is divided into two portions: a pre-encoded portion that is prepared in advance and can be immediately transmitted, and a remaining portion that is encoded in real-time. This segmentation allows the system to provide both low-latency startup (using pre-encoded content) and ongoing network adaptation (using real-time encoding).
2Manufacturing precision
If real-time encoding is performed at the best possible quality, then video quality is optimized for current network conditions, but it takes time to encode, transfer, and buffer content before playback can begin
Solution Approach 1:
The encoder performs preliminary encoding of a portion of the media program in advance, creating a quality-optimized buffer that is ready for immediate transmission. This pre-encoded content maintains high quality standards while being prepared beforehand, so when playback is requested, the high-quality content can be transmitted without delay.
Solution Approach 2:
The system applies different encoding strategies to different portions of the media program: the initial portion is pre-encoded with high quality optimization, while subsequent portions are encoded in real-time with adaptation to current network conditions. This allows the system to guarantee high quality startup while maintaining quality throughout the streaming session.
3Productivity
If the system waits for user instruction before encoding, then encoding resources are not wasted on unrequested content, but the user experience suffers due to latency during playback startup
Solution Approach 1:
The encoder proactively pre-encodes a portion of the media program before receiving the playback instruction, anticipating that the user will want to play back the content. This preliminary action trades some resource usage for significantly improved user experience by eliminating startup latency, while still being more efficient than continuously encoding the entire program.
Data Source
AI summary
Before receiving an instruction from a media player to encode a media program, a placeshifting device or other video encoder pre-encodes at least a portion of the media program to a low-bandwidth format that can be readily transmitted to the media player upon request. When the media player does instruct the placeshifting device to encode the media program, the placeshifting device initially provides the pre-encoded portion of the media program to thereby allow the media player to begin immediate playback of the pre-encoded portion. After providing the preencoded portion of the media program, the placeshifting device live encodes the remaining portions of the media program according to then-current network conditions to thereby provide the placeshifted video stream to the media player.


