INTERACT FORUM

Please login or register.

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

Author Topic: Jerky video playback on RPI4  (Read 724 times)

Facel

  • World Citizen
  • ***
  • Posts: 198
Jerky video playback on RPI4
« on: March 21, 2023, 01:33:59 am »

I can't get any smooth reading on video (apart on very low definition ones)

My config: Library hosted on MC29 running on windows 10
                video files located on NAS
                RPI4 - 8Go running MC29 (very last version) on Bulleyes 64 Bits
                RJ45 only (no wifi)
 
lot of jerkiness when playing a 1920x1080 video (MPEG 1/2) audio codec AC3 - the RPI4 CPU goes up to 230% !!
I have no problem when playing this file via an Nvidia Shield or a Windows PC.
I have no problem when playing audio files with RPI4

I do not know if it is related to the RPI4 config or JRiver config.


I
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10710
Re: Jerky video playback on RPI4
« Reply #1 on: March 21, 2023, 01:59:11 am »

You are using the legacy OpenGL renderer, have you tried using JRVR instead?

Otherwise its likely that the RPi4 is not fast enough to process the video, partly because we don't support HW decoding on the Pi, which is something we're investigating to improving.
Logged
~ nevcairiel
~ Author of LAV Filters

Facel

  • World Citizen
  • ***
  • Posts: 198
Re: Jerky video playback on RPI4
« Reply #2 on: March 21, 2023, 02:19:28 am »

OpenGL or JRVR have the same behaviour ...

When do you plan to release a version that wil support the HW decoding on PI ? ...

Being able to play audio and video flawlessly on an RPI4 is the only real advantage of JRiver.

I have just made a new test : running VLC on the rpi4 with the same file is Ok ... the CPU goes up to 120 % (instead of 240% with JRiver) but the sound and image is Ok !!
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13487
Re: Jerky video playback on RPI4
« Reply #3 on: March 28, 2023, 05:06:48 pm »

What's the storage device on the pi4?
Logged

Facel

  • World Citizen
  • ***
  • Posts: 198
Re: Jerky video playback on RPI4
« Reply #4 on: March 29, 2023, 12:42:47 am »

No local storage on the RPI4, only its SD Card running Debian and JRiver

The video are stored on a NAS (Synology), the library and JRiver is hosted on a NUC (windows 10)
(ethernet link only- no wifi)

I have no problem playing video with OSMC, via DLNA on the same RPI4, or playing the video via NFS neither (OSMC or Librelec)
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13487
Re: Jerky video playback on RPI4
« Reply #5 on: March 29, 2023, 09:03:55 am »

No local storage on the RPI4, only its SD Card running Debian and JRiver

The video are stored on a NAS (Synology), the library and JRiver is hosted on a NUC (windows 10)
(ethernet link only- no wifi)

I have no problem playing video with OSMC, via DLNA on the same RPI4, or playing the video via NFS neither (OSMC or Librelec)
On MC29, the default for video is to buffer to "disc", in your case, the SDCard. That will really hamper performance.
Try disabling buffering in MC in Media Network.
You'll lose seeking capabilities on some files but it should be faster.
mp4 files will need to have the MOOV atom at the front of the file. Some do by default, others don't.
There are utilities to do that.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10710
Re: Jerky video playback on RPI4
« Reply #6 on: March 29, 2023, 09:17:52 am »

Disk Buffering should probably be turned off entirely when playing on a local network. Its really not needed, as you can just request what you need from the fast network.
Logged
~ nevcairiel
~ Author of LAV Filters

Facel

  • World Citizen
  • ***
  • Posts: 198
Re: Jerky video playback on RPI4
« Reply #7 on: March 29, 2023, 12:42:32 pm »

Turning off Disk Buffering does not change anything ... still Jerking ith proc at 280% ...
Logged
Pages: [1]   Go Up