[Bug 765693] New: vaapidecode -> vaapih264enc pipeline failure

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 27 19:03:19 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765693

            Bug ID: 765693
           Summary: vaapidecode -> vaapih264enc pipeline failure
    Classification: Platform
           Product: GStreamer
           Version: 1.8.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: kprugh at vela.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

Created attachment 326888
  --> https://bugzilla.gnome.org/attachment.cgi?id=326888&action=edit
GST_DEBUG=5 pipeline log

Hello, I have an h264 ts file that is being streamed over the network and
received by a GStreamer Pipeline but fails to run. 

The pipeline: gst-launch-1.0 -v udpsrc port=5000 ! tsdemux ! h264parse !
vaapidecode ! vaapih264enc ! fakesink

(also fails with vaapidecode -> vaapipostproc -> vaapih264enc)

Replacing vaapidecode with avdec_h264 allows the pipeline to run. The only
thing that I've spotted is avdec_h264 outputs 30000/1001 for the framerate
while vaapidecode outputs 0/1. 

(Happens on both GStreamer 1.6.3 [gstreamer-vaapi tag 1.6.0] and 1.8.1
[gstreamer-vaapi tag 1.8.1])

libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.0)
vainfo: Driver version: Intel i965 driver for Intel(R) CherryView - 1.7.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD

Here's a mediainfo dump of the file:
General
ID/String                        : 1 (0x1)
CompleteName                     : foo.ts
Format                           : MPEG-TS
FileSize/String                  : 5.72 GiB
Duration/String                  : 3h 21mn
OverallBitRate_Mode/String       : Constant
OverallBitRate/String            : 4 061 Kbps

Video
ID/String                        : 481 (0x1E1)
MenuID/String                    : 1 (0x1)
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format_Profile                   : Main at L3.1
Format_Settings_CABAC/String     : Yes
Format_Settings_RefFrames/String : 2 frames
Format_Settings_GOP              : M=3, N=90
CodecID                          : 27
Duration/String                  : 3h 21mn
BitRate_Mode/String              : Constant
BitRate_Nominal/String           : 3 400 Kbps
Width/String                     : 1 280 pixels
Height/String                    : 720 pixels
DisplayAspectRatio/String        : 16:9
FrameRate/String                 : 29.970 fps
ColorSpace                       : YUV
ChromaSubsampling                : 4:2:0
BitDepth/String                  : 8 bits
ScanType/String                  : Progressive
Bits-(Pixel*Frame)               : 0.123

Audio
ID/String                        : 482 (0x1E2)
MenuID/String                    : 1 (0x1)
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format_Version                   : Version 4
Format_Profile                   : LC
MuxingMode                       : ADTS
CodecID                          : 15
Duration/String                  : 3h 21mn
BitRate_Mode/String              : Variable
Channel(s)/String                : 2 channels
ChannelPositions                 : Front: L R
SamplingRate/String              : 48.0 KHz
Compression_Mode/String          : Lossy
Video_Delay/String               : -21ms

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list