Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux client crashes while viewing h265 stream #317

Open
astafyev opened this issue Aug 11, 2020 · 0 comments
Open

Linux client crashes while viewing h265 stream #317

astafyev opened this issue Aug 11, 2020 · 0 comments

Comments

@astafyev
Copy link

Client crashes when trying to play stream from h265 camera:

1  audio devices detected by SDL audio subsystem 
AudioPlayer: setting sample format to  s16  channels:  2 sample rate:  44100 
void UpdateChecker::performVersionCheck() Performing update check 
VAAPI - using X11 display  ":0" 
trying to create VAAPI device context " :0 " 
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so has no function __vaDriverInit_0_32
libva info: va_openDriver() returns -1
[AVHWDeviceContext @ 0xf17c40] Failed to initialise VAAPI connection: -1 (unknown libva error).
Failed to create VAAPI device context 
static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower. 
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
ServerRequestManager "192.168.130.114" : Status 1 message "" 
DVRServer: Requesting cameras list 
void UpdateChecker::versionInfoReceived() Latest version info:  "2.2.6" 
DVRServer: Received cameras list reply 
void RtspStreamThread::start(const QUrl&, bool) "rtsp://Admin:***@192.168.1.1:7002/live/1/mode=keyframe" 
[rtsp @ 0x7f84880041c0] Could not find codec parameters for stream 0 (Video: hevc, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
processing stream id  0 
RtspStream: cannot find decoder for stream 0 codec 174 
video stream index:  -1 
audio steam index:  -1 
Segmentation fault (core dumped)

mpv plays this stream without any issues using VAAPI.

Here is vainfo output:

libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD

Client installed from bluecherry-client_2.2.6-1_amd64.deb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant