vaapidecode / vaapisink

Bernhard Graaf bernhard.graaf at gmx.de
Thu May 10 07:53:37 PDT 2012


Hi,

 

I’ve a problem with the elements vaapidecode and vaapisink.

 

My pipe looks like:

gst-launch-0.10 filesrc location=20120502\ 0122\ -\ 3sat\ -\ Simply\ Red_\
Farewell.mpg ! mpegtsdemux name=demux ! queue ! mpeg2dec ! xvimagesink
demux. ! queue ! mad ! alsasink

and it’s running fine.

If I change it to:

gst-launch-0.10 filesrc location=20120502\ 0122\ -\ 3sat\ -\ Simply\ Red_\
Farewell.mpg ! mpegtsdemux name=demux ! queue ! vaapidecode ! vaapisink
demux. ! queue ! mad ! alsasink

 

If got following messages:

 

Leitung wird auf PAUSIERT gesetzt ...

libva: VA-API version 0.32.0

Xlib:  extension "XFree86-DRI" missing on display ":0".

libva: va_getDriverName() returns 0

libva: Trying to open /usr/lib/i386-linux-gnu/dri/nvidia_drv_video.so

libva: va_openDriver() returns 0

Leitung läuft vor 


gst-launch-0.10: vdpau_decode.c:1264: vdpau_EndPicture: Assertion
`obj_buffer' failed.

Abgebrochen (Speicherabzug geschrieben)

 

I’m using following environment:

 

vaapidecode / -sink are version 0.3.6

NVIDIA Driver Version: 295.40

 

Vainfo:

libva: VA-API version 0.32.0

Xlib:  extension "XFree86-DRI" missing on display ":0".

libva: va_getDriverName() returns 0

libva: Trying to open /usr/lib/i386-linux-gnu/dri/nvidia_drv_video.so

libva: va_openDriver() returns 0

vainfo: VA-API version: 0.32 (libva 1.0.15)

vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API -
0.7.3

vainfo: Supported profile and entrypoints

      VAProfileMPEG2Simple            :    VAEntrypointVLD

      VAProfileMPEG2Main              :     VAEntrypointVLD

      VAProfileMPEG4Simple            :    VAEntrypointVLD

      VAProfileMPEG4AdvancedSimple    :         VAEntrypointVLD

      VAProfileH264Main               :        VAEntrypointVLD

      VAProfileH264High               :        VAEntrypointVLD

      VAProfileVC1Simple              :       VAEntrypointVLD

      VAProfileVC1Main                :        VAEntrypointVLD

      VAProfileVC1Advanced            :    VAEntrypointVLD

 

 

-vvv --gst-debug-level=5:

0:00:14.710030239  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2528:gst_mpegts_demux_parse_stream:<demux> Packet payload
184 bytes, PID 0x00d2

0:00:14.710043845  4459  0x9f6b550 DEBUG                  vaapi
../../../../gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:827:decode_slice:
slice 35 @ 0xace4a4d9, 833 bytes)

0:00:14.710058164  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2655:gst_mpegts_demux_parse_stream:<demux> Elementary
packet of size 184 for PID 0x00d2

0:00:14.710080337  4459  0x9f6b550 LOG               GST_BUFFER
gstbuffer.c:203:gst_buffer_finalize: finalize 0xace1f540

0:00:14.710082773  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2502:gst_mpegts_demux_parse_stream:<demux> afc 0x1, pusi 0,
PID 0x00d2 datalen 184

0:00:14.710095841  4459  0x9f6b550 LOG               GST_BUFFER
gstbuffer.c:203:gst_buffer_finalize: finalize 0xace2a920

0:00:14.710110472  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2528:gst_mpegts_demux_parse_stream:<demux> Packet payload
184 bytes, PID 0x00d2

0:00:14.710135698  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2655:gst_mpegts_demux_parse_stream:<demux> Elementary
packet of size 184 for PID 0x00d2

0:00:14.710126612  4459  0x9f6b550 LOG                  adapter
gstadapter.c:504:gst_adapter_flush_unchecked:<GstAdapter at 0xace07d50>
flushing 4 bytes

0:00:14.710151168  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2502:gst_mpegts_demux_parse_stream:<demux> afc 0x1, pusi 0,
PID 0x00d2 datalen 184

0:00:14.710165472  4459  0x9f6b550 LOG                  adapter
gstadapter.c:669:gst_adapter_take_buffer:<GstAdapter at 0xace07d50> taking
buffer of 5 bytes

0:00:14.710178409  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2528:gst_mpegts_demux_parse_stream:<demux> Packet payload
184 bytes, PID 0x00d2

0:00:14.710191758  4459  0x9f6b550 LOG                  adapter
gstadapter.c:689:gst_adapter_take_buffer:<GstAdapter at 0xace07d50> providing
buffer of 5 bytes via sub-buffer

0:00:14.710204856  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2655:gst_mpegts_demux_parse_stream:<demux> Elementary
packet of size 184 for PID 0x00d2

0:00:14.710218649  4459  0x9f6b550 LOG               GST_BUFFER
gstbuffer.c:480:gst_buffer_init: init 0xace2d318

0:00:14.710232048  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2502:gst_mpegts_demux_parse_stream:<demux> afc 0x3, pusi 0,
PID 0x00de datalen 184

0:00:14.710243356  4459  0x9f6b550 LOG               GST_BUFFER
gstbuffer.c:505:gst_buffer_new: new 0xace2d318

0:00:14.710258251  4459  0x9f6b5b0 DEBUG            mpegtsdemux
gstmpegtsdemux.c:1947:gst_mpegts_demux_parse_adaptation_field:<demux>
parsing adaptation field, length 47

0:00:14.710269736  4459  0x9f6b550 LOG               GST_BUFFER
gstbuffer.c:766:gst_buffer_create_sub: new subbuffer 0xace2d318 (parent
0xace2d078)

0:00:14.710284604  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:1952:gst_mpegts_demux_parse_adaptation_field:<demux> flags
0x40

0:00:14.710298149  4459  0x9f6b550 LOG                  adapter
gstadapter.c:504:gst_adapter_flush_unchecked:<GstAdapter at 0xace07d50>
flushing 5 bytes

0:00:14.710311085  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2523:gst_mpegts_demux_parse_stream:<demux> consumed: 48
datalen: 136

0:00:14.710323363  4459  0x9f6b550 DEBUG                  vaapi
../../../../gst-libs/gst/vaapi/gstvaapidecoder_objects.c:277:gst_vaapi_pictu
re_decode: decode picture 0x03000000

0:00:14.710337213  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2528:gst_mpegts_demux_parse_stream:<demux> Packet payload
136 bytes, PID 0x00de

0:00:14.710361551  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2655:gst_mpegts_demux_parse_stream:<demux> Elementary
packet of size 136 for PID 0x00de

0:00:14.710374055  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2502:gst_mpegts_demux_parse_stream:<demux> afc 0x1, pusi 0,
PID 0x00d2 datalen 184

0:00:14.710386160  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2528:gst_mpegts_demux_parse_stream:<demux> Packet payload
184 bytes, PID 0x00d2

0:00:14.710397645  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2655:gst_mpegts_demux_parse_stream:<demux> Elementary
packet of size 184 for PID 0x00d2

0:00:14.710409100  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2502:gst_mpegts_demux_parse_stream:<demux> afc 0x1, pusi 0,
PID 0x00d2 datalen 184

0:00:14.710420754  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2528:gst_mpegts_demux_parse_stream:<demux> Packet payload
184 bytes, PID 0x00d2

0:00:14.710431954  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2655:gst_mpegts_demux_parse_stream:<demux> Elementary
packet of size 184 for PID 0x00d2

0:00:14.710443296  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2502:gst_mpegts_demux_parse_stream:<demux> afc 0x1, pusi 0,
PID 0x00d2 datalen 184

0:00:14.710455067  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2528:gst_mpegts_demux_parse_stream:<demux> Packet payload
184 bytes, PID 0x00d2

0:00:14.710466315  4459  0x9f6b5b0 LOG              mpegtsdemux
gstmpegtsdemux.c:2655:gst_mpegts_demux_parse_stream:<demux> Elementary
packet of size 184 for PID 0x00d2

0:00:14.710477755  4459  0x9f6b5b0 DEBUG            mpegtsdemux
gstmpegtsdemux.c:3331:gst_mpegts_demux_chain:<demux> flushing 3948/4116

0:00:14.710490138  4459  0x9f6b5b0 LOG                  adapter
gstadapter.c:504:gst_adapter_flush_unchecked:<GstAdapter at 0xa13a410> flushing
3948 bytes

0:00:14.710501886  4459  0x9f6b5b0 LOG                  adapter
gstadapter.c:522:gst_adapter_flush_unchecked:<GstAdapter at 0xa13a410> flushing
out head buffer

0:00:14.710512724  4459  0x9f6b5b0 LOG               GST_BUFFER
gstbuffer.c:203:gst_buffer_finalize: finalize 0xace03820

gst-launch-0.10: vdpau_decode.c:1264: vdpau_EndPicture: Assertion
`obj_buffer' failed.

Abgebrochen (Speicherabzug geschrieben)

 

Any idea?

 

Thanks for help!

Regards

Bernhard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120510/ec0fc1fe/attachment-0001.htm>


More information about the gstreamer-devel mailing list