mpv-player / mpv-player/mpv

When playing two identical rtsp streams at the same time, one of them stops playing

Open
#10,870 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I utilize mpv to play rtsp stream, when I execute the following command for the first time, rtsp plays fine.
mpv rtsp://192.168.1.217:554/stream1
When I execute the same command above for the second time, the first playback window will stop playing, but the second playback window will play normally.
why is that?
ubuntu20.04
mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
ffmpeg library versions:
libavutil 56.31.100
libavcodec 58.54.100
libavformat 58.29.100
libswscale 5.5.100
libavfilter 7.57.100
libswresample 3.5.100
ffmpeg version: 4.2.7

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 the issue on Ubuntu 20.04 with mpv 0.32.0 using two simultaneous instances of mpv rtsp://192.168.1.217:554/stream1. Compare the first and second playback behavior and inspect the reported FFmpeg versions; done means identifying why the first stream stops and documenting or fixing the confirmed cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
ubuntu
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.