vlc backend does not enable vaapi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Me TV |
New
|
Undecided
|
Unassigned |
Bug Description
me-tv 1.4 using vlc as video player backend,
when I watch dvb-t with Full HD channel, the video performance is poor and laggy
I try to record by Me-TV, and play stream by VLC, the video play smoothly
So I doubt that me-tv disable somthing when client call vlc
I've download source to check it,
(something weird that I m using linux mint 17, me-tv version from apt repository is 1.4.0.58,
but the source latest version is 1.4.0.54? and version define is still 1.4.0.12 in the source)
I've rebuild from source, to check does that issue same as previous. the answer is Yes
so I've check it.
In client folder, vlc_engine.cc
line 41
vlc_argv[i++] = "--ignore-config"
will set vlc ignore original configuration
and does not have other config to enable video acceleration
(assume vlc will enable video acceleration by default?)
I've try execute vlc with --ignore-config argument, the vlc will disable HW video acceleration by default
But I can't find the correct argument to enable Video acceleration
(add "--avcodec-
but When I add into vlc_engine.cc, the HW acceleration will fail and dump error message by vlc)
so I 've comment out vlc_argv[i++] = "--ignore-config"
then rebuild and try it, it worked perfectly now(at least I don't find anything wrong now...:D)
I've modify to add an option to allow user enable this function