Screenly Forum

Cannot Play Video or Large PNG file

I am running into an issue when uploading large png files(30mb) or video file to screenly. I have created a new application using balenahub, added raspberry pi 4 and still running into the issue. Smaller png and jpg are getting displayed as expected, but for larger png it should white screen and for videos it shows black screen. I can see an error while playing video but don’t know how to resolve it? While displaying large png I don’t see any errors. I have also tried to increase gpu_mem to 256mb.

Please let me know how can I resolve this?

28.04.21 00:40:43 (-0500) Generating asset-list...
28.04.21 00:40:43 (-0500) Showing asset 02_gran_dillama_1080p.mp4 (video)
28.04.21 00:40:43 (-0500) Current url is null
28.04.21 00:40:43 (-0500) [f210f560] mmal_codec decoder: VCSM init succeeded: CMA
28.04.21 00:40:43 (-0500) [f210f560] main decoder error: buffer deadlock prevented
28.04.21 00:40:43 (-0500) error: XDG_RUNTIME_DIR not set in the environment.
28.04.21 00:40:43 (-0500) error: XDG_RUNTIME_DIR not set in the environment.
28.04.21 00:40:43 (-0500) [ed611e48] gles2 generic error: parent window not available
28.04.21 00:40:43 (-0500) [ed619978] mmal_xsplitter vout display error: Failed to open Xsplitter:opengles2 module
28.04.21 00:40:43 (-0500) [ed611e48] xcb generic error: window not available
28.04.21 00:40:43 (-0500) [ed619978] mmal_xsplitter vout display error: Failed to open Xsplitter:xcb_x11 module
28.04.21 00:41:41 (-0500) Unable to get Git branch
28.04.21 00:41:41 (-0500) Unable to get latest version from GitHub
28.04.21 00:42:30 (-0500) [2021-04-28 05:42:30,650: INFO/Beat] Scheduler: Sending due task display_power (server.get_display_power)
28.04.21 00:42:30 (-0500) [2021-04-28 05:42:30,661: INFO/MainProcess] Received task: server.get_display_power[d6c0275f-4668-43e7-ade6-4a2ab45312ff]  
28.04.21 00:43:10 (-0500) Unable to get Git branch
28.04.21 00:43:10 (-0500) Unable to get latest version from GitHub
28.04.21 00:43:10 (-0500) Generating asset-list...
28.04.21 00:43:10 (-0500) Showing asset menu.png (image)
28.04.21 00:43:11 (-0500) Current url is /data/screenly_assets/05969a4e4d4f49638b9ee025ae4ec007.png
28.04.21 00:43:11 (-0500) Sleeping for 10

30MB PNGs!? Yeah I’m not surprised the Pi will be choking on that. Many desktops would have a hard time loading that swiftly. Scale them down and try again.

Also, make sure you’re following the Balena instructions.