Jump to content

Playback Speed Problem


Recommended Posts

767300909
Posted

Hi, there is a bug in the new version of the client, which prevents many movies from being played in fast forward (only normal speed playback is available)

767300909
Posted

Hi, Luke

Title: Playback speed silently reverts to 1.0× on E-AC-3 titles because the client forces Sonic time-stretching

Media details

Affected: MP4, DirectStream — the server 302-redirects to remote storage and passes the original bitstream through unchanged; there is no transcoding, no remuxing, and no server-side audio conversion. Video: HEVC Main 10, Level 5.0 (L150), 3840×1632, 24 fps, 10-bit yuv420p10le, refFrames 1, ~5.0 Mbps. Audio: E-AC-3 2.0, 48 kHz, 96 kbps, single track. 3.36 GB, 94 min.

Control (1.5× works): MKV, DirectStream, same no-transcode path. Video: HEVC Main 10, L150, 1920×804, 24 fps, 10-bit yuv420p10le, refFrames 1, ~9.3 Mbps. Audio: AC-3 5.1, 48 kHz, 640 kbps. 6.75 GB, 104 min.

Because both titles are DirectStream, the client receives the untouched container and the original audio track; no server-side conversion exists anywhere in the path. The control also carries the higher bitrate, so bandwidth and decode throughput are not the constraint. The only material difference is the audio format.

Issue

LocalPlaybackExoPlayer calls setEnableAudioTrackPlaybackParams(false), forcing every speed change through the Sonic software time-stretcher. On E-AC-3 decoded locally to float PCM, the Sonic path does not take effect: 1.5× is accepted by the UI, the effective rate stays 1.0×, and the selection is silently reverted to default. AC-3 5.1 works correctly on the identical path. Switching to setEnableAudioTrackPlaybackParams(true), which routes through AudioTrack.setPlaybackParams, restores 1.5× selection and the press-and-hold 2× gesture on the affected title. Verified server-side: PlaybackRate stayed at 1.0 while PositionTicks advanced at real-time.

Suggested fix

Allow the AudioTrack playback-parameter path, or fall back to it when the Sonic path produces a no-op. The software path fails silently, so from the user's side the speed control simply appears to be ignored.

Posted

We actually had to set that to false due to problems that it causes with some formats and devices.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...