07th-mod / higurashi-rei

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Native Linux movie playback doesn't work

drojf opened this issue · comments

We had a report that linux movie playback doesn't work.

While I tested this on my own .ogv file, I'm not sure I tested it using the .ogv file that we're currently using in the mod....so I'm pretty sure it's just the encoding settings preventing playback from working. I'll try some different encodings and see if it fixes it.

ModPlayMovie: Beginning Movie Playback of [/home/[USERNAME]/.local/share/Steam/steamapps/common/Higurashi When They Cry Hou - Rei/HigurashiEp09_Data/StreamingAssets/movies/mv11.ogv].... 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

VideoPlayer Error: Can't play movie [/home/[USERNAME]/.local/share/Steam/steamapps/common/Higurashi When They Cry Hou - Rei/HigurashiEp09_Data/StreamingAssets/movies/mv11.ogv] 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Did some testing just now, and the current video format (theora + vorbis in a .ogv container) does not work on Ubuntu 20.04

I couldn't get the .ogv container to work - only .webm.

The following ffmpeg command worked for me: ffmpeg -i mv11.mp4 -c:a libvorbis -c:v libvpx -crf 20 -b:v 10M mv11.webm

I'll add a detailed description about video encoding to the higurashi-assembly repo later

OK, documented here:

The user who reported this confirmed this works, so closing this issue.