INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Selected chapter is incorrect in "Jump to"  (Read 316 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Selected chapter is incorrect in "Jump to"
« on: June 18, 2023, 02:03:41 pm »

this is slightly obscure but still a bug so reporting it

the attached video has a chapter every 200ms

I can navigate through the chapters using the right click > jump to menu without problems but as soon as you select a chapter in the last second, MC moves the "selected chapter" tick to the last chapter hence this view is no longer correct
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: Selected chapter is incorrect in "Jump to"
« Reply #1 on: July 30, 2023, 03:56:28 pm »

the Spears & Munsil UHD Benchmark contains many mpls and m2ts files, the playlists frequently contain a number of v short chapters which exist as individual m2ts files.

This presents a problem for playback by MC without using BD menus (i.e. importing individual items into my library) for 2 reasons

1) if I import the m2ts, there's no way to start playback in a paused state so playback immediately exits
2) if I import the mpls, MC is unable to reliably jump chapters (pick chapter x and it will move to a chapter greater than x)

here's an excerpt from one chapter list (after extracting as mkv)

Code: [Select]
[CHAPTER]
id=-8718111315209485041
time_base=1/1000000000
start=0
start_time=0.000000
end=375375000
end_time=0.375375
TAG:title=Chapter 01
[/CHAPTER]
[CHAPTER]
id=5504911915215349334
time_base=1/1000000000
start=375375000
start_time=0.375375
end=750750000
end_time=0.750750
TAG:title=Chapter 02
[/CHAPTER]
[CHAPTER]
id=-7832369743382511034
time_base=1/1000000000
start=750750000
start_time=0.750750
end=1126125000
end_time=1.126125
TAG:title=Chapter 03
[/CHAPTER]
[CHAPTER]
id=-5291003763297117494
time_base=1/1000000000
start=1126125000
start_time=1.126125
end=1501500000
end_time=1.501500
TAG:title=Chapter 04
[/CHAPTER]

in this example, if I pick chapter x then it consistently lands on chapter x+2

it would be good to fix both issues
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: Selected chapter is incorrect in "Jump to"
« Reply #2 on: July 31, 2023, 02:43:46 am »

an example

start playback
pause
jump to chapter 1 (aka position 0)

Code: [Select]
$ curl http://localhost:52129/MCWS/v1/Playback/Position                                                                                                                               
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="OK">
<Item Name="Position">2739</Item>
</Response>


jump to chapter 3

Code: [Select]
$ curl http://localhost:52129/MCWS/v1/Playback/Position                                                                                                                               
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="OK">
<Item Name="Position">751</Item>
</Response>

(but it shows chapter 5 in the list)

jump to chapter 1 again

Code: [Select]
curl http://localhost:52129/MCWS/v1/Playback/Position                                                                                                                               
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="OK">
<Item Name="Position">1877</Item>
</Response>

on closer inspection I think the actual position is correct but the information reported from MCWS and via the UI is frequently wrong (MCWS only for chapter 1, the UI inc OSD at all times)


Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4231
Re: Selected chapter is incorrect in "Jump to"
« Reply #3 on: August 01, 2023, 02:12:17 am »

I'd forgotten I had previously raised https://yabb.jriver.com/interact/index.php/topic,136330.msg944415.html#msg944415 which seems likely to be a different manifestation of the same bug
Logged
Pages: [1]   Go Up