Hardware (QSV) encoding not working (Framerate and picture dimensions must be non-zero)

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.
131
New Cone
New Cone
Posts: 1
Joined: 13 Jan 2010 18:47

Hardware (QSV) encoding not working (Framerate and picture dimensions must be non-zero)

Postby 131 » 02 Jun 2017 10:07

Hi !
I'm having hard time using venc=qsv
I'm ending up with [02a088f4] qsv encoder error: Framerate and picture dimensions must be non-zero
I try the same line in 2.1.2 and i do not get any error (yet the file seems corrupted and is unplayable)

Source code state : https://github.com/videolan/vlc/commit/ ... 90e602a7da
So i guess enc->fmt_in.video.i_visible_height is poorly/wrongly defined (as it's the only check changing between 2.1.2 and latest)

i do not understand how to set this parameter though CLI args
Is there a dev that could help me ?

Code: Select all

vlc.exe --no-screen-follow-mouse --ignore-config --no-plugins-cache --verbose=10 --no-media-library --config=NUL --intf=dummy --screen-fps=20 --screen-top=0 --screen-left=0 --screen-width=160 --screen-height=160 --run-time=10 --width=160 --height=160 --no-crashdump --sout=#transcode{vcodec=x264,fps=30,acodec=none,scale=0,width=160,height=160,venc=qsv{vcodec=h264,scale=1}}:duplicate{dst=std{access=file,mux=mp4,dst="test.mp4"}} screen:// vlc://quit
vlc-2.1.2-log.txt : https://gist.github.com/131/d036a75f815 ... cce30c1571
vlc-2.2.6-log.txt : https://gist.github.com/131/9ea6ae117ff ... 8913e91ccf

(qsv is properly installed and working in OSC)

Thank you all for your help !

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

Re: Hardware (QSV) encoding not working (Framerate and picture dimensions must be non-zero)

Postby korsanovix » 11 Oct 2017 00:32

I have also the same question: https://forum.videolan.org/viewtopic.ph ... 15#p461715
I don't know what to do.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 66 guests