mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.21k stars 2.89k forks source link

Add option for improved MPEG-TS seeking #13345

Open low-batt opened 8 months ago

low-batt commented 8 months ago

Expected behavior of the wanted feature

Seeking when playing a MPEG-TS encoded video displays fully formed frames like VLC.

This is a feature request to add an option that does whatever it is VLC is doing in order to overcome the limitations of the MPEG-TS encoding and provide a better user experience when seeking.

This request originated via Telegram from an IINA user (issue https://github.com/iina/iina/issues/4785).

This problem has been discussed in the past in mpv issues (#9639, #9645), but the possibility of doing whatever VLC is doing was not discussed.

The following is a specific example of the difference in behavior. I ran this test under macOS 13.6.3.

Using the file ChID_voices_1920x1080p_2997fps_h265_6ch_640kbps_ddp_joc.mts from Dolby I started playing that video using mpv 0.37.0 (brew installed). As soon as the window appeared I pressed the space bar to pause playback and then I pressed the → key to seek forward. The mpv window displayed a partially formed frame:

mpeg-ts-mpv

Playing the same video in VLC 3.0.20, pausing and then seeking displays a fully formed frame:

mpeg-ts-vlc

Alternative behavior of the wanted feature

Any sort of improvement in behavior is fine.

Log file

mpv.log

Solarunit commented 7 months ago

I hope to see improvements with seeking too. At the moment seeking bluray movie is very painful :cry: