For some reasons, hardware acceleration is not working properly on my development machine (and apparently on 3 other machines, with various video cards, I have tested my solution on) ; I get the same situation if I try to do the transcoding directly from vlc.exe by calling it with
Code: Select all
vlc.exe rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov :network-caching=1000 :sout=#transcode{vcodec=VP80,vb=2000,acodec=vorb,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=webm,dst=:4000/stream} :no-sout-all :sout-keep"
On the other hand, if I add the --avcodec-hw=none parameter to the command line, it works flawlessly.
Now, my problem is that it appears that said parameter is ignored by libVNC. I have been using both Vlc.DotNet.Core and LibVLCSharp and in both cases I still get the hardware accelerated, green video; which brings me to think that somehow libVNC is ignoring the parameter? (looking at the source code, it appears it's overwriting the value with "" if libvlc_media_player_set_hwnd is being called, but I don't know if this is the case).
These are the logs I get, if they can be of help (not max verbosity)
Code: Select all
10:20:47.466|Info|Open
10:20:49.418|Warn|decoded zero sample
10:20:49.642|Info|Using D3D11VA (AMD Radeon HD 6570, vendor 1002(ATI), device 6759, revision 0) for hardware decoding
Is there something else I should be doing?
Thanks in advance