Closed danielhuangsw closed 3 years ago
Check if your build of mpv supports image encoding.
mpv 'test_video.mkv' --loop-file=no --frames=1 -o='test_image.jpg'
If it succeeds, it's a bug in mpvacious. If not, you have to install a build of mpv with the appropriate support.
Here is the output from terminal:
Disabling audio (not supported by target format).
(+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
Audio --aid=1 --alang=jpn (*) (eac3 2ch 48000Hz)
Subs --sid=1 --slang=jpn (subrip)
[autoconvert] Converting yuv420p -> yuvj422p
mpv: ../video/zimg.c:241: repack_entrypoint: Assertion `!(i & (mp_repack_get_align_y(r->repack) - 1))' failed.
mpv: ../video/zimg.c:241: repack_entrypoint: Assertion `!(i & (mp_repack_get_align_y(r->repack) - 1))' failed.
Aborted
This test has failed, thus it's not a bug in mpvacious.
Thanks for the test case!
I solved the issue by reinstalling mpv from Ubuntu PPA listed in https://mpv.io/installation/
I believe the bug from https://github.com/mpv-player/mpv/issues/8433 is contributing to the issue. I've updated the the dependency libzimg2 from 2.9.1 to 3.0.1 which can be downloaded from https://launchpad.net/~savoury1/+archive/ubuntu/multimedia/+build/20145772 for Ubuntu 18.04.
Successful output is as follow:
(Paused) AV: 00:06:39 / 00:22:52 (29%) A-V: 0.000
[modules] Note #1614781383665 updated.
(Paused) AV: 00:06:39 / 00:22:52 (29%) A-V: 0.000
A: 00:06:39 / 00:22:52 (29%) {0.0min 18.08x 0.0MB}
[modules] File stored: 'BeastarsS208_06m38s564ms-06m39s774ms.ogg'.
[modules] File stored: 'BeastarsS208_06m39s065ms.jpg'.
(Paused) AV: 00:06:39 / 00:22:52 (29%) A-V: 0.000
I'm happy to see the issue resolved. To prevent it in the future I'll add a note in the readme.
Environment:
Describe the bug image_field fail to export to anki when updating the last added card with binding
m
.sub2srs.conf file:
output from terminal:
To Reproduce Steps to reproduce the behavior:
a
,c
andm
Expected behavior Anki browse window pop up with sentence_field, audio_field and image_field imported.
Screenshots