Internal data flow error

Yogesh Tyagi yogesh.bit2006 at gmail.com
Tue Jun 4 05:17:56 PDT 2013


Hi,

Here is what "gst-inspect MixVideoEncoderH264"  returns:

#gst-inspect MixVideoEncoderH264

libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/emgd_drv_video.so
Intel(R) Embedded Media and Graphics Driver 1.18 Build 3398
Using XCB based dispatch table.
libva: va_openDriver() returns 0
Factory Details:
  Long name: HW accelerated H.264 Video Encoder
  Class: Codec/Encoder/Video
  Description: Hardware-accelerated Video Encoding
  Author(s): Weian Chen <weian.chen at intel.com>
  Rank: primary (256)

Plugin Details:
  Name: gstmixvideoplugin
  Description: MI-X gst video plugin
  Filename: /usr/lib/gstreamer-0.10/libgstmixvideoplugin.so
  Version: 0.10.39
  License: Proprietary
  Source module: gst-plugins-mixvideo
  Binary package:
  Origin URL: http://www.intel.com/

GObject
 +----GstObject
       +----GstElement
             +----MixVideoEncoderH264

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-raw-va
      video/x-raw-yuv
                 format: I420
              framerate: [ 0/1, 2147483647/1 ]
                  width: [ 16, 2147483647 ]
                 height: [ 16, 2147483647 ]
      video/x-raw-yuv
                 format: NV12
              framerate: [ 0/1, 2147483647/1 ]
                  width: [ 16, 2147483647 ]
                 height: [ 16, 2147483647 ]

  SRC template: 'src_04'
    Availability: Sometimes
    Capabilities:
      video/x-va
              framerate: [ 0/1, 2147483647/1 ]
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]

  SRC template: 'src_01'
    Availability: Always
    Capabilities:
      video/x-h264


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: 0x11b4c0
  Has custom save_thyself() function: gst_element_save_thyself
  Has custom restore_thyself() function: gst_element_restore_thyself

Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.

Pads:
  SRC: 'src_01'
    Implementation:
      Has custom eventfunc(): gst_mix_video_encoder_pad_src_event_handler
      Has acceptcapsfunc(): gst_pad_acceptcaps_default
    Pad Template: 'src_01'
  SINK: 'sink'
    Implementation:
      Has chainfunc(): gst_mix_video_encoder_chain
      Has custom eventfunc(): gst_mix_video_encoder_pad_sink_event_handler
      Has bufferallocfunc(): gst_mix_video_encoder_pad_buffer_alloc
      Has setcapsfunc(): gst_mix_video_encoder_set_caps
      Has acceptcapsfunc(): gst_pad_acceptcaps_default
    Pad Template: 'sink'

Element Properties:
  name                : The name of the object
                        flags: readable, writable
                        String. Default: null Current:
"mixvideoencoderh2640"
  silent              : Produce verbose output ?
                        flags: readable, writable
                        Boolean. Default: false Current: false
  Display             : X11 Display Pointer
                        flags: readable, writable
                        Pointer.
  init-qp             : Initialization QP for H264
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 51 Default: 24
Current: 24
  min-qp              : Minimum QP for H264
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 51 Default: 1 Current:
1
  slice-num           : Slice number for H264,Number of slices to be
encoded for each frame
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 10000 Default: 1
Current: 1
  basic-unit-size     : Basic Unit Size for H264, used for rate control
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 10000 Default: 0
Current: 0
  codec-data          : Set codec_data to caps? Also means avc stream format
                        flags: readable, writable
                        Boolean. Default: true Current: true
  rate-control        : Rate Control Modes supported: NONE, CBR and VBR
                        flags: readable, writable
                        String. Default: "NONE" Current: null
  profile             : Select the  profile for H.264 encoder, Currently
only baseline and main profiles are supported
                        flags: readable, writable
                        Unsigned Integer. Range: 5 - 6 Default: 5 Current: 5
  level               : Select the  level for H.264 encoder, up to level 4.1
                        flags: readable, writable
                        Unsigned Integer. Range: 10 - 41 Default: 30
Current: 30
  bit-rate            : Encoding bitrate when rate control is enabled
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 52428800 Default:
64000 Current: 64000
  intra-period        : I frame frequency for Encoder
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 1000 Default: 30
Current: 30
  dlk                 : Disable deblocking filter idc or not
                        flags: readable, writable
                        Boolean. Default: false Current: false
  pool-size           : The size of buffer pool
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 100 Default: 8
Current: 8
  need-display        : Enable or disable video/x-va output for preview
                        flags: readable, writable
                        Boolean. Default: true Current: true

Thanks,
Yogesh



On Tue, Jun 4, 2013 at 5:30 PM, Stefan Sauer <ensonic at hora-obscura.de>wrote:

>  On 06/04/2013 01:31 PM, Yogesh Tyagi wrote:
>
> Hi,
>
>  Thanks for your help but suggested command is generating the same error:
>
>  gst-launch filesrc location=/root/videoEncode/176x144_Barcelona.raw
> blocksize=38016 ! videoparse ! video/x-raw-yuv, width=176, height=144,
> format=\(fourcc\)I420, framerate=15/1 ! MixVideoEncoderH264 ! filesink
> location=temp.h264
>
> libva: libva version 0.32.0
> libva: va_getDriverName() returns 0
> libva: Trying to open /usr/lib/dri/emgd_drv_video.so
> Intel(R) Embedded Media and Graphics Driver 1.18 Build 3398
> Using XCB based dispatch table.
> libva: va_openDriver() returns 0
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /GstPipeline:pipeline0/GstVideoParse:videoparse0:
> Internal data stream error.
> Additional debug info:
> gstrawparse.c(429): gst_raw_parse_loop (): /GstPipeline:pipeline0/
> GstVideoParse:videoparse0:
> stream stopped, reason not-negotiated
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
> Run gst-inspect MixVideoEncoderH264 to check that MixVideoEncoderH264 can
> take the caps you use on the capsfilter. Also double-check the capsfilter,
> you add the type for format, but not for framerate:
>  ... format=\(fourcc\)I420, framerate=\(fraction\)15/1
>
> Stefan
>
>
>
>  Thanks,
> Yogesh
>
>
> On Tue, Jun 4, 2013 at 3:38 PM, Stefan Sauer <ensonic at hora-obscura.de>wrote:
>
>>  On 06/04/2013 09:56 AM, Yogesh Tyagi wrote:
>>
>> sorry the complete command I used is this:
>>
>>  gst-launch filesrc location=/root/videoEncode/176x144_Barcelona.raw
>> blocksize=38016 !  video/x-raw-yuv, width=176, height=144,
>> format=\(fourcc\)I420, framerate=15/1 ! MixVideoEncoderH264 ! filesink
>> location=temp.h264
>>
>>  can you try:
>>
>> gst-launch filesrc location=/root/videoEncode/176x144_Barcelona.raw
>> blocksize=38016 !  videoparse ! video/x-raw-yuv, width=176, height=144,
>> format=\(fourcc\)I420, framerate=15/1 ! MixVideoEncoderH264 ! filesink
>> location=temp.h264
>>
>> Stefan
>>
>>
>>
>> On Tue, Jun 4, 2013 at 12:42 PM, Yogesh Tyagi <yogesh.bit2006 at gmail.com>wrote:
>>
>>> Hi,
>>>
>>>  I am getting following error while I am trying transcoding with
>>> gst-launch:
>>>
>>>  gst-launch filesrc location=/root/videoEncode/176x144_Barcelona.raw
>>> blocksize=38016 !  video/x-raw-yuv, width=176, height=144,
>>> format=\(fourcc\)I420, framerate=15/1 ! MixVideoEncoderH264 ! filesink
>>>
>>>  location=temp.h264libva: libva version 0.32.0
>>> libva: va_getDriverName() returns 0
>>> libva: Trying to open /usr/lib/dri/emgd_drv_video.so
>>> Intel(R) Embedded Media and Graphics Driver 1.18 Build 3398
>>> Using XCB based dispatch table.
>>> libva: va_openDriver() returns 0
>>> Setting pipeline to PAUSED ...
>>> Pipeline is PREROLLING ...
>>> Pipeline is PREROLLED ...
>>> Setting pipeline to PLAYING ...
>>> New clock: GstSystemClock
>>> ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0:
>>> Internal data flow error.
>>> Additional debug info:
>>> gstbasesrc.c(2563): gst_base_src_loop (): /GstPipeline:pipeline0/
>>> GstFileSrc:filesrc0:
>>> streaming task paused, reason not-linked (-1)
>>> Execution ended after 2037829 ns.
>>> Setting pipeline to PAUSED ...
>>> Setting pipeline to READY ...
>>> Setting pipeline to NULL ...
>>> Freeing pipeline ...
>>>
>>>
>>>  Am I missing something in the command?
>>>
>>>  Thanks,
>>> Yogesh
>>>
>>
>>
>>
>>  _______________________________________________
>> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130604/cdb19ccb/attachment-0001.html>


More information about the gstreamer-devel mailing list