Closed Obegg closed 2 years ago
Closing this issue since I learned a bit about m2ts
MPV DOESN'T add the rest of the streams (episodes) to the playlist
I solved it by adding this script (autoload.lua) with the modification of adding
m2ts
to the extensions (see pull request: https://github.com/mpv-player/mpv/pull/9404)Manually navigating to the STREAM folder and searching the right episode. This "solution" will work, but won't provide the proper MediaInfo such as:
Yes, that is correct since
m2ts
has no index, there's no way to counter this issue and it's not mpv fault. Unless I remux it to mkv, but I rather not.
Regarding those errors:
[ 0.054][d][ffmpeg/demuxer] mpegts: parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid. [ 0.054][d][ffmpeg/demuxer] mpegts: parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid. [ 0.082][w][ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size [ 0.082][w][ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options [ 0.082][w][ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size [ 0.082][w][ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
I did change the values to their maximum:
demuxer-lavf-probe-info=yes demuxer-lavf-probescore=100 demuxer-lavf-probesize=999999999 demuxer-lavf-analyzeduration=3600
It does seem the solve the errors, but for some files, it doesn't solve it
Also this error:
[ 0.365][e][ffmpeg/audio] dca: Residual encoded channels are present without core [ 0.365][e][ad] Error decoding audio.
Can't figure out how to solve it, probably FFmpeg fault...
Important Information
Reproduction steps
1) Buy (or download) any BDMV that has multiple stream files and playlists (such as any TV Series Bluray). 2) Open
MovieObject.bdmv
Expected behavior
MPV plays the first stream (episode). MPV adds the rest of the streams (episodes) to the playlist.
Actual behavior
MPV ONLY plays the first stream (episode). MPV DOESN'T add the rest of the streams (episodes) to the playlist.
Log file
BDMV log.txt
Sample files
Cannot provide sample files due to large file sizes.
More information
1) Even if it's a Movie BDMV (single stream) or a TV Series BDMV (multiple streams), there are always the following errors:
How do I fix those errors? Even when those errors show up, the video, audio, and subtitles are working.
2) When using
DTS-HD Master Audio
tracks there are always the following errors:How do I fix those errors? Even when those errors show up, the video, audio, and subtitles are working.
3) MPV does detect multiple playlists:
So why does it only plays a single stream (episode)? Is it possible to switch between playlists?
4) In order to play different streams (episodes) from the BDMV using MPV, I found a temporary solution, which itself introduces another issue: Manually navigating to the
STREAM
folder and searching the right episode. This "solution" will work, but won't provide the proper MediaInfo such as:5) MPV doesn't open MPLS files:
8627
1982
625
6) MPV BDMV Playback:
9397