Re: The new SVP-cast is awesome! But why only cpu usage?

Tsubajashi
subtitles are tricky... but they are obviously in the todo list

FYI, the next version won't need secondary ffmpeg process to run so it will fix your issue, hopefully

Duckers
Where do i paste that?

if you're asking this - just don't do anything big_smile

Re: The new SVP-cast is awesome! But why only cpu usage?

Chainik wrote:

Tsubajashi
subtitles are tricky... but they are obviously in the todo list

FYI, the next version won't need secondary ffmpeg process to run so it will fix your issue, hopefully

Duckers
Where do i paste that?

if you're asking this - just don't do anything big_smile

But you need the program report right?

I found the setting for it on my own.



No image on the tv, cpu at 100% gpu at 11% barely reaching up to 25-26 fps. Encoder is nvenc x264, software was just at 2 fps lol

Post's attachments

2017-12-26 21_41_41-active.log - Notepad.png 23.52 kb, 161 downloads since 2017-12-26 

ACOTrFl.png, 25.83 kb, 855 x 271
ACOTrFl.png 25.83 kb, 609 downloads since 2017-12-26 

Re: The new SVP-cast is awesome! But why only cpu usage?

> I found the setting for it on my own.

good for you! now look in SVP's Events log...

and play some "normal" video, not 4K
your hardware obviously is too slow for streaming 4K

29 (edited by Duckers 26-12-2017 21:47:01)

Re: The new SVP-cast is awesome! But why only cpu usage?

Chainik wrote:

> I found the setting for it on my own.

good for you! now look in SVP's Events log...

and play some "normal" video, not 4K
your hardware obviously is too slow for streaming 4K

Too slow for streaming? Then what's the nvenc encoder for then? Since the streamer uses the cpu rather than the gpu. Thought Nvenc was the encoder to use cuda for acceleration.

Re: The new SVP-cast is awesome! But why only cpu usage?

http://www.svp-team.com/forum/viewtopic … 376#p67376

Re: The new SVP-cast is awesome! But why only cpu usage?

Chainik wrote:

Tsubajashi
subtitles are tricky... but they are obviously in the todo list

FYI, the next version won't need secondary ffmpeg process to run so it will fix your issue, hopefully

Duckers
Where do i paste that?

if you're asking this - just don't do anything big_smile

i actually found the issue.
i should not deactivate hwdec in mpv, without it it crashes it seems.
still yield bad performance cause of my cpu, but thats fine, i wait for amf

32 (edited by Duckers 27-12-2017 02:21:16)

Re: The new SVP-cast is awesome! But why only cpu usage?

Alrighty, so it's mostly cpu based for streaming apparently.

Wonder how the 8700k i'm getting some time next year will compare to the ryzen 7 as it has 2 cores less, but much stronger singlecore speed. And is also 20% better than my 4790k

33 (edited by Duckers 27-12-2017 02:22:54)

Re: The new SVP-cast is awesome! But why only cpu usage?

Alrighty, so it's mostly cpu based for streaming apparently.

Wonder how the 8700k i'm getting some time next year will compare to the ryzen 7 as it has 2 cores less, but much stronger singlecore speed. And is also 20% better than my 4790k

So until then, then i will use normal VLC to play off 4k movies and just use the "motion plus" my tv has.

Re: The new SVP-cast is awesome! But why only cpu usage?

nothing can stop you from streaming via SVPcast with frame interpolation off

Re: The new SVP-cast is awesome! But why only cpu usage?

True, but for that i just use videostream with chrome tongue

Re: The new SVP-cast is awesome! But why only cpu usage?

...and stream 720p only...

===

I'm wrong, it can do "native resolution", at least for 1080p...
but no NVENC smile

and 5M bitrate at maximum

37 (edited by Duckers 27-12-2017 23:27:59)

Re: The new SVP-cast is awesome! But why only cpu usage?

Chainik wrote:

...and stream 720p only...

===

I'm wrong, it can do "native resolution", at least for 1080p...
but no NVENC smile

and 5M bitrate at maximum

My shield tv has a "chromecast ultra" in it, so it can stream a bit higher than 5Mbit wink

Nvenc doesn't matter as my gpu isn't being used when streaming anyways, mostly just the cpu.

So i'm probably not gonna use svpcast until it has gpu acceleration with 4k. or maybe use it for 1080p 60 fps, but it stutters a bit, so rather just "gamestream" with the shield tv then use normal mpc hc with svp.

I also find it weird that mpv doesn't interpolate when playing off a 4k movie. Also vlc i have given up on as it and  svp won't co-operate at all for me.

Re: The new SVP-cast is awesome! But why only cpu usage?

Videostream encodes video for streaming with 5M bitrate.

> Nvenc doesn't matter as my gpu isn't being used when streaming anyways, mostly just the cpu.

You didn't read what I wrote sad Interpolation uses "mostly the cpu" and NVENC works just fine.

Re: The new SVP-cast is awesome! But why only cpu usage?

Try the new .130 build.

- should be a little bit less CPU demanding
- added AMD AMF option (*)


(*) I can't check how good or bad it works, so please leave your comments wink
See the encoder options in "All settings": cast.encode.opts.h264_amf and cast.encode.opts.hevc_amf

40 (edited by Tsubajashi 28-12-2017 16:16:49)

Re: The new SVP-cast is awesome! But why only cpu usage?

Chainik wrote:

Try the new .130 build.

- should be a little bit less CPU demanding
- added AMD AMF option (*)


(*) I can't check how good or bad it works, so please leave your comments wink
See the encoder options in "All settings": cast.encode.opts.h264_amf and cast.encode.opts.hevc_amf

17:13:36.065: ===== Starting transcoding ======
17:13:36.065: Command line: C:\Program Files (x86)\SVP 4\mpv64\mpv.exe C:/Users/jonni/Videos/Legends Never Die (ft. Against The Current) Worlds 2017 - League of Legends.mp4 --aid=1 --sid=no --no-sub-auto --o=C:/Users/jonni/AppData/Local/Temp/svpcast/stream/svp%04d.ts --input-ipc-server=mpvstreampipe --vf=vapoursynth:[C:\Users\jonni\AppData\Roaming\SVP4\scripts\fffe.py]:4:15 --ofps 60.000 --oharddup --ovc=h264_amf --ovfirst --ovcopts=b=4700000,quality=quality,profile=high,rc=cbr,g=60,keyint_min=60,refs=1,sc_threshold=0,threads=8 --oac=aac --of=ssegment --ofopts=segment_time=4,segment_format=mpegts,segment_list_size=10,segment_start_number=0,segment_list_flags=+live,segment_list=C:/Users/jonni/AppData/Local/Temp/svpcast/stream/svp.m3u8
17:13:36.155: Warning: option --opengl-backend was replaced with --gpu-context and might be removed in the future.
17:13:36.156: Playing: C:/Users/jonni/Videos/Legends Never Die (ft. Against The Current) Worlds 2017 - League of Legends.mp4
17:13:36.156: (+) Video --vid=1 (*) (h264 1280x720 24.000fps)
17:13:36.156: (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
17:13:36.156: Subs --sid=1 --slang=und (*) (mov_text)
17:13:36.156: Opening video filter: [vapoursynth file=C:\Users\jonni\AppData\Roaming\SVP4\scripts\fffe.py buffered-frames=4 concurrent-frames=15]
17:13:36.193: [encode-lavc] ao-lavc: preallocated video stream for later use
17:13:36.194: [encode-lavc] Opening audio encoder: AAC (Advanced Audio Coding) [aac]
17:13:36.196: AO: [lavc] 44100Hz stereo 2ch floatp
17:13:36.926: VO: [lavc] 1280x720 yuv420p
17:13:36.926: [encode-lavc] Opening video encoder: AMD AMF H.264 Encoder [h264_amf]
17:13:36.994: [ffmpeg] h264_amf: encoder->Init() failed with error 1
17:13:37.004: [encode-lavc] unable to open encoder (see above for the cause)
17:13:37.004: [encode-lavc] vo-lavc: encoded 0 bytes
17:13:37.004: [encode-lavc] ao-lavc: encoded 0 bytes
17:13:37.004: Could not initialize video chain.
17:13:37.067: ===== mpv exited with code 62097 =====

last streaming log says that the encoder was not able to be initialized. Software encoder still works perfectly though.
EDIT: SVPCode works aswell with amf.

Re: The new SVP-cast is awesome! But why only cpu usage?

Prerequisites

Windows® 7 (SP1 with the Platform Update), Windows® 8.1, or Windows® 10
Version 1.4.6: AMD Radeon Software Crimson Edition 17.12.1 (17.50.02) or newer

Re: The new SVP-cast is awesome! But why only cpu usage?

Chainik wrote:

Prerequisites

Windows® 7 (SP1 with the Platform Update), Windows® 8.1, or Windows® 10
Version 1.4.6: AMD Radeon Software Crimson Edition 17.12.1 (17.50.02) or newer

i have windows 10 1709 fully updated, and amd crimson adrenalin 17.12.2. svpcode DOES work but not SVPCast

Re: The new SVP-cast is awesome! But why only cpu usage?

ah! the only difference I can see is different default encoder params:

svpcode:  "code.simple.opts.h264_amf" = "b=$B,quality=quality,profile=high,rc=vbr_peak"
svpcast: "cast.encode.opts.h264_amf" = "b=$B,quality=quality,profile=high,rc=cbr"

in fact you can try to put all the svpcast's params into svpcode's encoding profile (under "advanced" button):
b=4700000,quality=quality,profile=high,rc=cbr,g=60,keyint_min=60,refs=1,sc_threshold=0

44 (edited by Tsubajashi 28-12-2017 20:42:54)

Re: The new SVP-cast is awesome! But why only cpu usage?

Chainik wrote:

ah! the only difference I can see is different default encoder params:

svpcode:  "code.simple.opts.h264_amf" = "b=$B,quality=quality,profile=high,rc=vbr_peak"
svpcast: "cast.encode.opts.h264_amf" = "b=$B,quality=quality,profile=high,rc=cbr"

even if i replace it, it still doesnt wanna work.
cant go back to 17.12.1 either, as i have serious issues with netflix on it, 5 seconds in and pc is freezing for every second after every 5 seconds
wait, gonna try the other one you put in your edit
2nd edit: then svpcode dies.
3rd edit: screenshot if i have done something wrong please let me know https://imgur.com/a/wCiS4

Re: The new SVP-cast is awesome! But why only cpu usage?

right
now remove params one by one

46 (edited by Tsubajashi 28-12-2017 20:48:47)

Re: The new SVP-cast is awesome! But why only cpu usage?

kicking out refs=1, and then it works.
b=4700000,quality=quality,profile=high,rc=cbr,g=60,keyint_min=60,sc_threshold=0
basically that one is working completely fine with svpcode, as soon as refs=1 is back in it it dies.

Re: The new SVP-cast is awesome! But why only cpu usage?

This was copied from Videostream ffmpeg args... I have no idea if we really need it hmm probably not...

Re: The new SVP-cast is awesome! But why only cpu usage?

Chainik wrote:

This was copied from Videostream ffmpeg args... I have no idea if we really need it hmm probably not...

well, since its just referencing, we probably wont need it in most cases.

Re: The new SVP-cast is awesome! But why only cpu usage?

try this

Post's attachments

svpcast.dll 640.5 kb, 972 downloads since 2017-12-28 

50 (edited by Tsubajashi 28-12-2017 20:58:47)

Re: The new SVP-cast is awesome! But why only cpu usage?

Chainik wrote:

try this

Works!
a tiny bit slower than cpu only, but works!
also, cpu is completely chill. 10% usage!
uhm, even if it works, my mobile which gets the videofile begins to lag sometimes, or completely fucks up video output.
im gonna check if thats on my end though!
nope, not on my end. cpu works perfectly fine with a little buffer here and there, but gpu completely destroys it for some reason. gonna check why