nextcloud / previewgenerator

Nextcloud app to do preview generation in the background.
https://apps.nextcloud.com/apps/previewgenerator
GNU Affero General Public License v3.0
455 stars 57 forks source link

MKV video preview generation crashes the process #306

Closed ralfi closed 5 months ago

ralfi commented 2 years ago

Hi there,

on my NC24 setup everything including mp4 video preview generation works but using mkv container (e.g. generated by tvheadend or converted with ffmpeg) crashes the process. Is mkv container supported?

Thanks a lot.

st3iny commented 2 years ago

It should work as long as you have the OC\Preview\Movie provider enabled. It could be caused by an unsupported video codec inside the container.

Please provide more information (e. g. relevant config sections, nextcloud log) if you want me to debug this further.

ralfi commented 2 years ago

Hi @st3iny thanks for reply,

this is the relevant preview section from config.php ...

ksnip_20221004-114039

and here is a the mediainfo output from a sample record...

ksnip_20221004-114437

Thanks a lot in advance.

joshtrichards commented 5 months ago

crashes the process.

Crashes in what way precisely?

OC\Preview\MKV

Try OC\Preview\Movie

Though I'm still interested in the specifics of the crash you're seeing.

ralfi commented 5 months ago

Hi josh, never seen this, pls close the issue