Re: [FFmpeg-trac] #5859(ffmpeg:new): ffmpeg does not work with QSV/MSS2017

2016-09-27 Thread FFmpeg
#5859: ffmpeg does not work with QSV/MSS2017
+--
 Reporter:  milanc  |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  ffmpeg
  Version:  git-master  |   Resolution:
 Keywords:  qsv, mfx|   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by milanc):

 Test command is conversion from hevc to h264.

 {{{
 ffmpeg -y -i ./test_out.h265.mp4 -c:v h264_qsv ffmpeg_out.qsv.mp4
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5859(ffmpeg:new): ffmpeg does not work with QSV/MSS2017

2016-09-22 Thread FFmpeg
#5859: ffmpeg does not work with QSV/MSS2017
+--
 Reporter:  milanc  |Owner:
 Type:  defect  |   Status:  new
 Priority:  normal  |Component:  ffmpeg
  Version:  git-master  |   Resolution:
 Keywords:  qsv, mfx|   Blocked By:
 Blocking:  |  Reproduced by developer:  0
Analyzed by developer:  0   |
+--

Comment (by milanc):

 Linux test.local 4.4.0 #1 SMP Tue Sep 20 20:45:27 CEST 2016 x86_64 x86_64
 x86_64 GNU/Linux
 Ubuntu 16.04.1 LTS
 Media Server Studio 2017

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


[FFmpeg-trac] #5859(ffmpeg:new): ffmpeg does not work with QSV/MSS2017

2016-09-22 Thread FFmpeg
#5859: ffmpeg does not work with QSV/MSS2017
--+--
 Reporter:  milanc| Type:  defect
   Status:  new   | Priority:  normal
Component:  ffmpeg|  Version:  git-master
 Keywords:  qsv, mfx  |   Blocked By:
 Blocking:|  Reproduced by developer:  0
Analyzed by developer:  0 |
--+--
 QSV on my machine works, for example:

 {{{
 #/opt/intel/mediasdk/samples/sample_multi_transcode -i::h264
 /opt/intel/mediasdk/samples/streams/test_stream.264 -o::h264
 ./test_out.h264 -hw

 Multi Transcoding Sample Version 7.0.16053497

 libva info: VA-API version 0.99.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
 Pipeline surfaces number (DecPool): 20
 MFX HARDWARE Session 0 API ver 1.19 parameters:
 Input  video: AVC
 Output video: AVC

 Session 0 was NOT joined with other sessions

 Transcoding started
 ..
 Transcoding finished

 Common transcoding time is  0.12 sec
 MFX session 0 transcoding PASSED:
 Processing time: 0.12 sec
 Number of processed frames: 101

 The test PASSED

 # vainfo
 libva info: VA-API version 0.99.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
 vainfo: VA-API version: 0.99 (libva 1.67.0.pre1)
 vainfo: Driver version: 16.5.55964-ubit
 vainfo: Supported profile and entrypoints
   VAProfileH264ConstrainedBaseline: VAEntrypointVLD
   VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
   VAProfileH264ConstrainedBaseline: 
   VAProfileH264ConstrainedBaseline: 
   VAProfileH264Main   : VAEntrypointVLD
   VAProfileH264Main   : VAEntrypointEncSlice
   VAProfileH264Main   : 
   VAProfileH264Main   : 
   VAProfileH264High   : VAEntrypointVLD
   VAProfileH264High   : VAEntrypointEncSlice
   VAProfileH264High   : 
   VAProfileH264High   : 
   VAProfileMPEG2Simple: VAEntrypointEncSlice
   VAProfileMPEG2Simple: VAEntrypointVLD
   VAProfileMPEG2Main  : VAEntrypointEncSlice
   VAProfileMPEG2Main  : VAEntrypointVLD
   VAProfileVC1Advanced: VAEntrypointVLD
   VAProfileVC1Main: VAEntrypointVLD
   VAProfileVC1Simple  : VAEntrypointVLD
   VAProfileJPEGBaseline   : VAEntrypointVLD
   VAProfileJPEGBaseline   : VAEntrypointEncPicture
   VAProfileVP8Version0_3  : VAEntrypointEncSlice
   VAProfileVP8Version0_3  : VAEntrypointVLD
   VAProfileVP8Version0_3  : 
   VAProfileHEVCMain   : VAEntrypointVLD
   VAProfileHEVCMain   : VAEntrypointEncSlice
   VAProfileVP9Profile0: 
  : VAEntrypointVideoProc
   VAProfileNone   : VAEntrypointVideoProc
   VAProfileNone   : 
 }}}

 Ffmpeg is compiled with mfx without errors.

 Summary of the bug:
 How to reproduce:
 {{{
 # ffmpeg -loglevel debug -y -i
 /opt/intel/mediasdk/samples/streams/test_stream.264 -c:v h264_qsv
 -preset:v faster ffmpeg_out.qsv.mp4

 ffmpeg version N-81724-g88d79db Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
   configuration: --prefix=/FFMPEG --pkg-config-flags=--static
 --bindir=/root/bin --enable-gpl --enable-nonfree --enable-libfdk-aac
 --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-nvenc
 --enable-libmfx --enable-version3 --enable-pthreads --enable-runtime-
 cpudetect --disable-ffserver --enable-libfreetype --enable-filter=drawtext
   libavutil  55. 30.100 / 55. 30.100
   libavcodec 57. 57.101 / 57. 57.101
   libavformat57. 50.100 / 57. 50.100
   libavdevice57.  0.102 / 57.  0.102
   libavfilter 6. 62.100 /  6. 62.100
   libswscale  4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'debug'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option '-i' ... matched as input file with argument
 '/opt/intel/mediasdk/samples/streams/test_stream.264'.
 Reading option '-c:v' ... matched as option 'c' (codec name) with argument
 'h264_qsv'.