Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

stanleystf

macrumors regular
Original poster
Apr 24, 2022
213
36
IINA is my absolute favorite player on Mac. It can handle everything, however, I've been experiencing issues with m2ts(bluray) videos.

They look like this sometimes:

Screenshot 2023-01-09 at 4.08.13 PM.png


The video is played fine, however when I rewind or skip forward, the image turns to something like that!

Any ideas how to solve this?
 
Try to disable all: hardware decoder, Force dedicated GPU, Load ICC profile and Enable HDR support.
Then switch between Disabled, Auto and Auto (Copy).
 
  • Like
Reactions: stanleystf
Try to disable all: hardware decoder, Force dedicated GPU, Load ICC profile and Enable HDR support.
Then switch between Disabled, Auto and Auto (Copy).
Thank you!

I tried those but still the image is fuzzy when I rewind or skip forward.
 
I tried those but still the image is fuzzy when I rewind or skip forward.
If it‘s just some seconds and not the whole movie from that point on, it can be expected/related to the codec/profile and the number of reference frames it uses:
Modern codecs don‘t save each individual frame in whole but rather the changes to previous ones (up to 16 for H.264) and reconstruct the current frame from that (and some other smart prediction stuff).
After skipping in the timeline, it can take several frames until there is enough information to fully reconstruct each pixel.
I think I experienced remuxing the movie to mkv can help as its header handles skipping differently.
I use MKVToolNix.
 
Last edited:
  • Like
Reactions: stanleystf
If it‘s just some seconds and not the whole movie from that point on, it can be expected/related to the codec/profile and the number of reference frames it uses:
Modern codecs don‘t save each individual frame in whole but rather the changes to previous ones (up to 16 for H.264) and reconstruct the current frame from that (and some other smart prediction stuff).
After skipping in the timeline, it can take several frames until there is enough information to fully reconstruct each pixel.
I think I experienced remuxing the movie to mkv can help as its header handles skipping differently.
I use MKVToolNix.
I don't have the same issue when I play m2ts videos with VLC Player.
Can I add newer more powerful codecs to IINA?

I don't want to remux them.
 
  • Like
Reactions: arw
I remembered about mpv https://mpv.io and its options that can be used in IINA
Playback Control - --hr-seek=
“Select when to use precise seeks that are not limited to keyframes. Such seeks require decoding video from the previous keyframe up to the target position and so can take some time depending on decoding performance. For some video formats, precise seeks are disabled. This option selects the default choice to use for seeks; it is possible to explicitly override that default in the definition of key bindings and in input commands.”
 
  • Like
Reactions: arw and stanleystf
I remembered about mpv https://mpv.io and its options that can be used in IINA
Playback Control - --hr-seek=
“Select when to use precise seeks that are not limited to keyframes. Such seeks require decoding video from the previous keyframe up to the target position and so can take some time depending on decoding performance. For some video formats, precise seeks are disabled. This option selects the default choice to use for seeks; it is possible to explicitly override that default in the definition of key bindings and in input commands.”
I'm a bit confused. Do you mean I can choose this option in IINA or would I need to install mpv?

I couldn't find playback control in the preferences of IINA.
 
I couldn't find playback control in the preferences of IINA.
I'm not 100% sure about the exact formatting/value, but I think this is the place.

no:Never use precise seeks.
absolute:Use precise seeks if the seek is to an absolute position in the file, such as a chapter seek, but not for relative seeks like the default behavior of arrow keys.
default:Like absolute, but enable hr-seeks in audio-only cases. The exact behavior is implementation specific and may change with new releases (default).
yes:Use precise seeks whenever possible.
always:Same as yes (for compatibility).
 

Attachments

  • IINA.png
    IINA.png
    107.5 KB · Views: 68
Last edited:
Last edited:
  • Like
Reactions: stanleystf
I did that but still the image is fuzzy after rewinding/skipping forward!

I installed mpv also and it has the same problem.

I think I have to hope they fix this in future updates.
 
There is already a bug report related to seek in m2ts files https://github.com/iina/iina/issues/3448
But there are many variables involved, the first one being the file (audio/video format, bitrates).
Other variables:
- seek options (defined in Key bindings for Left/Right Arrow): seconds, relative (default), absolute, absolute-percent, relative-percent, keyframes, exact
- index default or recreate
- decoder hwdec-extra-frames
- framedrop
 
  • Like
Reactions: stanleystf
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.