UltraTV
1st April 2011, 07:53
Hi All,
We're setting up encoding for HTTP Live Streaming and I was wondering if anybody has a method they can recommend for aligning iframes across multiple streams. For example, if I have a single source file and encode to multiple bitrates, how can I guarantee each iframe will occur at the same frame at each bitrate?
My instinct is to use the same .stats file from pass 1 of x264 for each of the different bitrates. The .stats would be produced at a medium resolution/bitrate and then repurposed at the other resolutions and bitrates. This should cause a loss of compression efficiency, but the trade off is much more reliable playback on a wider variety of HLS implementations.
Any thoughts are greatly appreciated.
We're setting up encoding for HTTP Live Streaming and I was wondering if anybody has a method they can recommend for aligning iframes across multiple streams. For example, if I have a single source file and encode to multiple bitrates, how can I guarantee each iframe will occur at the same frame at each bitrate?
My instinct is to use the same .stats file from pass 1 of x264 for each of the different bitrates. The .stats would be produced at a medium resolution/bitrate and then repurposed at the other resolutions and bitrates. This should cause a loss of compression efficiency, but the trade off is much more reliable playback on a wider variety of HLS implementations.
Any thoughts are greatly appreciated.