Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Max_L_
Beginner
49 Views

H264 requirements for IMSDK samples: baseline/main/etc.

I have installed Centos, Intel media sdk 2015R6 and trying to launch samples now.

Sample h264 file #1:

$ ffmpeg -i bunny.264 
ffmpeg version n2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
...
Input #0, h264, from 'bunny.264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 240x160, 24 fps, 24 tbr, 1200k tbn, 48 tbc

 

Sample h264 file #2:

$ ffmpeg -i black.264 
ffmpeg version n2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
...
Input #0, h264, from 'black.264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuv420p, 1280x718 [SAR 1:1 DAR 640:359], 24 fps, 23.98 tbr, 1200k tbn, 47.95 tbc

 

I have compiled mediasdk-tutorials-0.0.3 and trying to launch simple_decode:

 

[root@localhost _build]# pwd
/root/mediasdk-tutorials-0.0.3/_build
[root@localhost _build]# ./simple_decode -hw /root/bunny.264 
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0

Execution time: 0.27 s (5360.67 fps)

[root@localhost _build]# ./simple_decode -hw /root/black.264 
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0

 Incompatible video parameters. src/simple_decode.cpp 197

 

What is the problem with Main profile h264 video?  Why is it incompatible?

 

0 Kudos
1 Reply
Surbhi_M_Intel
Employee
49 Views

Hi Max, 

That's a strange behavior, I don't see this problem at our end, have used same command with an the input which is a main profile h264 bitstream. Can you please check two things here -

1. Try another main profile input and decode using the tutorial and confirm the result.
2. Try the same input with ffmpeg or samples instead of tutorials and confirm the result. 

If you still see this issue, please send a short input to replicate the problem at our end. 

Thanks,
Surbhi

Reply