Howto Enable Intel Quick Sync H.264 GPU Encoding ?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
edf
New Cone
New Cone
Posts: 2
Joined: 21 May 2015 16:50

Re: Howto Enable Intel Quick Sync H.264 GPU Encoding ?

Postby edf » 29 May 2015 21:31

To capture a single raw video, stream output to multicast address and display locally:

vlc -vvv dshow:// --dshow-vdev="Video FC1" --dshow-adev=none --live-caching=0 --sout=#transcode{vcodec=h264,venc=qsv,scale=Auto,acodec=none}:duplicate{dst=rtp{dst=239.0.0.10,port=5004,mux=ts},dst=display} --sout-keep

messages: (subset)
avcodec warning: More than 4 late frames, dropping frame
core warning: late buffer for mux input (1713244)
core warning: late buffer for mux input (1713877)
avcodec warning: More than 4 late frames, dropping frame
core warning: late buffer for mux input (1718511)
core warning: late buffer for mux input (1713144)
avcodec warning: More than 4 late frames, dropping frame
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)

modules tree: (subset)
encoder "x264" (0x4c7de9c)

observed:
window frozen on local screen
clients are slow and poor quality



vlc -vvv dshow:// --dshow-vdev="Video FC1" --dshow-adev=none --live-caching=0 --sout=#transcode{venc=qsv{vcodec=h264},scale=Auto,acodec=none}:duplicate{dst=rtp{dst=239.0.0.10,port=5004,mux=ts},dst=display} --sout-keep


messages:
core debug: VLC media player - 2.2.1 Terry Pratchett (Weatherwax)
core debug: Copyright © 1996-2015 the VideoLAN team
core debug: revision 2.2.1-0-ga425c42
core debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=i686-w64-mingw32' '--disable-debug' 'host_alias=i686-w64-mingw32'
core error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 2 ms)
core error: ES_OUT_RESET_PCR called
rawvideo warning: invalid frame size (128
core debug: Buffering 0%
core debug: Stream buffering done (33 ms in 34 ms)
core debug: Decoder wait done in 0 ms
core debug: picture might be displayed late (missing 7 ms)
core debug: auto hiding mouse cursor
core debug: auto hiding mouse cursor

modules tree: (subset)
encoder (0x2b4bd34)
generic (0x2b4b9ec)


observed:
window on local screen works well
no network stream

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Howto Enable Intel Quick Sync H.264 GPU Encoding ?

Postby Jean-Baptiste Kempf » 16 Jul 2015 23:59

I believe dshow is borken in 2.2.1
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

joshi42
New Cone
New Cone
Posts: 6
Joined: 22 Jan 2011 22:32

Re: Howto Enable Intel Quick Sync H.264 GPU Encoding ?

Postby joshi42 » 16 Sep 2015 15:30

I have trouble transcoding live UDP stream on Windows 8.1 with VLC 2.2.1 installed:

Code: Select all

vlc -I dummy udp://@224.0.16.23:16023 --sout #transcode{threads=4,width=720,height=576,fps=25,vcodec=h264,vb=2048,venc=qsv{h264-profile=high,level=42},acodec=mpga,ab=96,channels=2}:duplicate{dst=std{select={es=0,es=2},access=udp,mux=ts,dst=239.1.1.1:1111}}
Error message is:

Code: Select all

[02a5bb04] qsv encoder error: Framerate and picture dimensions must be non-zero
Incoming stream is played by VLC fine otherwise without any error messages.

Thanks in advance for any help.

joshi42
New Cone
New Cone
Posts: 6
Joined: 22 Jan 2011 22:32

Re: Howto Enable Intel Quick Sync H.264 GPU Encoding ?

Postby joshi42 » 16 Sep 2015 16:31

I tried it on file sources to the same effect. MSDK is installed, Handbrake QSV encoder and other QSV software works fine on that PC. CPU is i7 3370K.

joshi42
New Cone
New Cone
Posts: 6
Joined: 22 Jan 2011 22:32

Re: Howto Enable Intel Quick Sync H.264 GPU Encoding ?

Postby joshi42 » 17 Sep 2015 15:57

It feels like monologue, but I'll continue anyway.

Following string seems to work, but it outputs MPEG2 instead of H.264:

Code: Select all

vlc -I dummy udp://@224.0.16.23:16023 --http-host=94.137.191.158 --sout #transcode{venc=qsv{vcodec=h264},width=352,height=288,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=94.137.191.158:1111}}

korsanovix
New Cone
New Cone
Posts: 5
Joined: 04 Dec 2014 13:08

Re: Howto Enable Intel Quick Sync H.264 GPU Encoding ?

Postby korsanovix » 11 Oct 2017 00:29

I still can't let the venc=qsv work with VLC versions above 2.1.3
After 2.1.3 I get always this error: "qsv error: Framerate and picture dimensions must be non-zero"


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests