mpv-player / mpv-player/mpv

Rtsp live stream freeze after 1 minute

Open
#14,521 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

os:win
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

mpv Information
mpv v0.38.0-601-gf470b63a Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Jul 12 2024 00:08:04
libplacebo version: v7.349.0 (v7.349.0-dirty)
FFmpeg version: N-116241-g70c6b904b
FFmpeg library versions:
   libavcodec      61.10.100
   libavdevice     61.2.100
   libavfilter     10.2.102
   libavformat     61.5.101
   libavutil       59.28.100
   libswresample   5.2.100
   libswscale      8.2.100
Other Information
Reproduction Steps

the following rtsp live stream:
rtsp://userlive:userlive@rcvi.spotnet.cv:5545/h264major
freeze after exactly 1 minute of playback.
The same problem doesn't happen with ffplay or vlc

Expected Behavior

uninterrupted playback

Actual Behavior

stream stop after 1 minute

Log File

output.txt

Sample Files

rtsp://userlive:userlive@rcvi.spotnet.cv:5545/h264major

I carefully read all instruction and confirm that I did the following:
  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing playback with the provided RTSP URL and inspect output.txt from the matching mpv run. Trace the RTSP playback path implicated by the log and compare the one-minute freeze with ffplay or VLC. Done means the stream continues playing without stopping after one minute.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.