Skip to content

Audio interrupts/frame skips when playing mp4 ts streams

Description

When I play a ts stream (mp4) downloaded from a streaming site, the audio gets interrupted/skips frames consistently every 5-10 seconds. The video plays normally afaik no artifact or gray frames but the audio skips frames and it's very annoying when it is persistent. I tried playing the file using mpv and it plays normally. VLC desktop (v3.0.17.4) has the same problem.

And also vlc doesn't seem to know much about the audio, it reports 0 channel and a sample rate of 0 Hz. But mpv recognizes the audio as having 2 channels and a sample rate of 44100 Hz. Screenshots are attached below.

logs: vlc_logcat_20220623_004530.log

Expected behavior

The file plays without audio interruption/frame skipping

Actual behavior

The audio is interrupted/skips frames

Steps to reproduce

  1. Download the sample video Google Drive
  2. Play the video
  3. Wait for it to start interrupting the audio

Screenshot / video

Screenshot_20220623-091137_VLC

Screenshot_20220623-094354_mpv

Context

App version

3.4.4

Android version

11

Device model

Samsung A21s SM-A217F

App mode

Smartphone

Edited by Samfun