1

(449 replies, posted in Using SVP)

Chainik wrote:

run mpv from console, see the output

[user@user-PC 敦克爾克大行動]$ mpv --no-config --hwdec=vaapi-copy --input-ipc-server=/tmp/mpvsocket movie.mkv 
Playing: movie.mkv
 (+) Video --vid=1 (*) (hevc 3840x2160 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) (dts 6ch 48000Hz)
     Subs  --sid=1 --slang=eng 'SDH' (hdmv_pgs_subtitle)
     Subs  --sid=2 --slang=fre (hdmv_pgs_subtitle)
     Subs  --sid=3 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=4 --slang=dut (hdmv_pgs_subtitle)
     Subs  --sid=5 --slang=chi (hdmv_pgs_subtitle)
     Subs  --sid=6 --slang=chi (hdmv_pgs_subtitle)
     Subs  --sid=7 --slang=chi (hdmv_pgs_subtitle)
     Subs  --sid=8 --slang=kor (hdmv_pgs_subtitle)
     Subs  --sid=9 --slang=ara (hdmv_pgs_subtitle)
     Subs  --sid=10 --slang=hrv (hdmv_pgs_subtitle)
     Subs  --sid=11 --slang=cze (hdmv_pgs_subtitle)
     Subs  --sid=12 --slang=dan (hdmv_pgs_subtitle)
     Subs  --sid=13 --slang=fin (hdmv_pgs_subtitle)
     Subs  --sid=14 --slang=gre (hdmv_pgs_subtitle)
     Subs  --sid=15 --slang=heb (hdmv_pgs_subtitle)
     Subs  --sid=16 --slang=hun (hdmv_pgs_subtitle)
     Subs  --sid=17 --slang=nor (hdmv_pgs_subtitle)
     Subs  --sid=18 --slang=pol (hdmv_pgs_subtitle)
     Subs  --sid=19 --slang=por (hdmv_pgs_subtitle)
     Subs  --sid=20 --slang=rum (hdmv_pgs_subtitle)
     Subs  --sid=21 --slang=rus (hdmv_pgs_subtitle)
     Subs  --sid=22 --slang=swe (hdmv_pgs_subtitle)
     Subs  --sid=23 --slang=tha (hdmv_pgs_subtitle)
     Subs  --sid=24 --slang=tur (hdmv_pgs_subtitle)
Using hardware decoding (vaapi-copy).
AO: [pulse] 48000Hz 5.1(side) 6ch s16
VO: [gpu] 3840x2160 p010
AV: 00:00:02 / 01:46:38 (0%) A-V:  0.000
[autoconvert] Converting p010 -> yuv420p10
程式記憶體區段錯誤 (核心已傾印)

The last line means "Segmentation fault (core dumped)"

2

(449 replies, posted in Using SVP)

It crashes when I open the 4K HDR movie with it.
OS: Manjaro Linux
GPU: AMD RX580
vainfo: VA-API version: 1.4 (libva 2.4.1)
vainfo: Driver version: Mesa Gallium driver 19.0.4 for Radeon RX 580 Series (POLARIS10, DRM 3.30.0, 5.1.3-2-MANJARO, LLVM 8.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileVC1Simple              :    VAEntrypointVLD
      VAProfileVC1Main                :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointEncSlice
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointEncSlice
      VAProfileHEVCMain               :    VAEntrypointVLD
      VAProfileHEVCMain               :    VAEntrypointEncSlice
      VAProfileHEVCMain10             :    VAEntrypointVLD
      VAProfileJPEGBaseline           :    VAEntrypointVLD
      VAProfileNone                   :    VAEntrypointVideoProc

vaapi is better.

4

(449 replies, posted in Using SVP)

Can't open SVP4 after update opencl-amd

/opt/amdgpu-pro/share/libdrm/amdgpu.ids: no such file or directory

They've changed the location of amdgpu.ids, it is at "/usr/share/libdrm" now

error from gdb:

#0  0x00007fc92d1b2d41 in amdgpu_query_gpu_info () at /usr/lib/libdrm_amdgpo.so.1
#1  0x00007fc92de1217e in  () at /usr/lib/libamdocl64.so
#2  0x00007fc92de1273f in  () at /usr/lib/libamdocl64.so
#3  0x00007fc92de15059 in  () at /usr/lib/libamdocl64.so
#4  0x00007fc92ddf0018 in  () at /usr/lib/libamdocl64.so
#5  0x00007fc92da78f58 in  () at /usr/lib/libamdocl64.so
#6  0x00007fc92de362e9 in  () at /usr/lib/libamdocl64.so
#7  0x00007fc92de3635f in  () at /usr/lib/libamdocl64.so
#8  0x00007fc92de370e7 in  () at /usr/lib/libamdocl64.so
#9  0x00007fc92da32f1a in  () at /usr/lib/libamdocl64.so
#10 0x00007fc92da34427 in  () at /usr/lib/libamdocl64.so
#11 0x00007fc92da345b6 in  () at /usr/lib/libamdocl64.so
#12 0x00007fc92da19457 in  () at /usr/lib/libamdocl64.so
#13 0x00007fc92d9e6522 in clIcdGetPlatformIDsKHR () at /usr/lib/libamdocl64.so
#14 0x00007fc946dfa022 in  () at /opt/cuda/lib64/libOpenCL.so.1
#15 0x00007fc946dfbd42 in  () at /opt/cuda/lib64/libOpenCL.so.1
#16 0x00007fc946dfb4d0 in clGetPlatformIDs () at /opt/cuda/lib64/libOpenCL.so.1
#17 0x00000000004d74b4 in _init ()
#18 0x00000000012ee02e in  ()
#19 0x000000000047f3ab in _init ()
#20 0x00000000012eba80 in  ()
#21 0x00000000012e82f3 in  ()
#22 0x00007fc965a5f4ca in __libc_start_main () at /usr/lib/libc.so.6
#23 0x00000000012e98e5 in  ()

5

(449 replies, posted in Using SVP)

Chainik wrote:

> It just doesn't work for some videos with mpv-git

Did you built it yourself? Maybe you forget about "--enable-vapoursynth" option?

> Why did it set the framerate to X2 when I was playing a 1920*1080 23.976fps video, even I had set the target framerate to 60?

I can say nothing w/o the log.

Unsupported output format by vapoursynth with the new version mpv
It happens when playing 10bit video and allowing the output in 10bit color depth.

21:45:13.282 [i]: VideoPlayer: mpv connected, waiting for the video info...
VO: [opengl] 1920x1080 yuv420p10
21:45:13.818 [i]: VideoPlayer: mpv 0.26.0-15-gbbfd9b5a29
21:45:13.852 [i]: Media: video 1920x1080 [PAR 1.000] at 23.976 fps [constant]
21:45:13.852 [i]: Media: codec type is HEVC, YUV/4:2:0/10 bits
21:45:13.862 [i]: Playback: starting up...
21:45:13.871 [i]: Playback [669bd95b]: resulting video frame 1920x1080
21:45:13.871 [i]: Playback [669bd95b]: 3 acceptible profiles, best is '啟用' [100]
21:45:13.877 [i]: Playback [669bd95b]: enabled while video is playing
21:45:13.892 [i]: Playback [669bd95b]: playing at 59.94 [23.976 *5/2] /10 bit
Opening video filter: [vapoursynth file=/home/laichiaheng/.local/share/SVP4/scripts/669bd95b.py buffered-frames=4 concurrent-frames=7]
Using conversion filter.
[vapoursynth] Unsupported output format.
Image formats incompatible or invalid.
Video filter chain:
  [in] 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=unknown
  [scale] 1920x1080 yuv420p16 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=unknown [a]
  [vapoursynth] "vapoursynth.00" ???   <---
  [out] ???
21:45:14.464 [E]: Playback [669bd95b]: VS - Unsupported output format.
VO: [opengl] 1920x1036 yuv420p10
21:49:41.643 [i]: VideoPlayer: mpv connected, waiting for the video info...
21:49:42.172 [i]: VideoPlayer: mpv 0.26.0-15-gbbfd9b5a29
21:49:42.214 [i]: Media: video 1920x1036 [PAR 1.000] at 23.976 fps [constant]
21:49:42.214 [i]: Media: codec type is AVC, YUV/4:2:0/10 bits
21:49:42.233 [i]: Playback: starting up...
21:49:42.242 [i]: Playback [52f329f2]: resulting video frame 1920x1036
21:49:42.242 [i]: Playback [52f329f2]: 3 acceptible profiles, best is '啟用' [99]
21:49:42.249 [i]: Playback [52f329f2]: enabled while video is playing
21:49:42.263 [i]: Playback [52f329f2]: playing at 59.94 [23.976 *5/2] /10 bit
Opening video filter: [vapoursynth file=/home/laichiaheng/.local/share/SVP4/scripts/52f329f2.py buffered-frames=4 concurrent-frames=7]
Using conversion filter.
[vapoursynth] Unsupported output format.
Image formats incompatible or invalid.
Video filter chain:
  [in] 1920x1036 yuv420p10 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
  [scale] 1920x1036 yuv420p16 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264 [a]
  [vapoursynth] "vapoursynth.00" ???   <---
  [out] ???
21:49:42.845 [E]: Playback [52f329f2]: VS - Unsupported output format.

10bit is no longer supported by SVP4, help!!!
They are all that I can give you.

Here is the information for the X2 problem, it says that source frame rate is unknown.

23:01:27.984 [i]: VideoPlayer: mpv 0.26.0-15-gbbfd9b5a29
23:01:28.014 [i]: Media: video 1920x1080 [PAR 1.000] at 0.000 fps [variable]
23:01:28.014 [W]: Media: source frame rate is unknown!
23:01:28.014 [i]: Media: codec type is HEVC
23:01:28.024 [i]: Playback: starting up...
23:01:28.033 [i]: Playback [e388e555]: resulting video frame 1920x1080
23:01:28.033 [i]: Playback [e388e555]: 3 acceptible profiles, best is '啟用' [100]
23:01:28.040 [i]: Playback [e388e555]: enabled while video is playing
23:01:28.051 [W]: Playback [e388e555]: playing at double rate, source frame rate unknown
Opening video filter: [vapoursynth file=/home/laichiaheng/.local/share/SVP4/scripts/e388e555.py buffered-frames=4 concurrent-frames=5]
Using conversion filter.
[Thread 0x7fffd5e1b700 (LWP 6096) exited]
VO: [opengl] 1920x1080 yuv420p
[vo/opengl] after creating framebuffer texture: OpenGL error INVALID_VALUE.

6

(449 replies, posted in Using SVP)

Chainik wrote:

> It just doesn't work for some videos with mpv-git

Did you built it yourself? Maybe you forget about "--enable-vapoursynth" option?

> Why did it set the framerate to X2 when I was playing a 1920*1080 23.976fps video, even I had set the target framerate to 60?

I can say nothing w/o the log.

It only happens to the HEVC 10bit, but OK with AVC
It seems to be caused by this issue: https://github.com/mpv-player/mpv/commi … 8c7e00fa64

Opening video filter: [vapoursynth file=/home/user/.local/share/SVP4/scripts/a0f4bbcf.py buffered-frames=4 concurrent-frames=7]
Using conversion filter.
[vapoursynth] Unsupported output format.
Image formats incompatible or invalid.
Video filter chain:
  [in] 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=unknown
  [scale] 1920x1080 yuv420p16 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=unknown [a]
  [vapoursynth] "vapoursynth.00" ???   <---
  [out] ???

7

(449 replies, posted in Using SVP)

Chainik wrote:

> It isn't compatible with the newer mpv-git build.

why?

It just doesn't work for some videos with mpv-git, but work perfectly with the older version of mpv player,such as mpv-vapoursynth, except the problem that I've mentioned before.

s9209122222 wrote:

>Why did it set the framerate to X2 when I was playing a 1920*1080 23.976fps video, even I had set the target framerate to 60?

8

(449 replies, posted in Using SVP)

It isn't compatible with the newer mpv-git build.

9

(449 replies, posted in Using SVP)

Why did it set the framerate to X2 when I was playing a 1920*1080 23.976fps video, even I had set the target framerate to 60?

I have installed the "opencl-mesa", but it doesn't work.

11

(21 replies, posted in Using SVP)

The SVPtube doesn't work on Arch Linux with python 3.6 installed.

Is there any way to open SVP at startup and auto minimize the window to tray bar?

I have added "input-ipc-server=/tmp/mpvsocket" to mpv.conf, but I still have to open the SVP-Manager to activate the SVP process.