well it gets better. h.264 avc still does not work but mpeg4 part2 does. although it takes 5 times more cpu cycles to play the video compared to normal rendering.
julius@r850:~$ gst-launch-0.10 -vv filesrc location='/media/1.5TB/Filme/Blood.Diamond.German.2006.AC3.5.1.HD2DVDRip.XviD-Ms89.avi' ! decodebin ! x264enc ! vaapidecode ! vaapisink Setting pipeline to PAUSED ... libva: VA-API version 0.32.0 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva: va_openDriver() returns 0 /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/x-msvideo Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstAviDemux:avidemux0.GstPad:sink: caps = video/x-msvideo /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:sink: caps = video/x-xvid, framerate=(fraction)25/1, width=(int)720, height=(int)304 /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:src: caps = video/x-xvid, framerate=(fraction)25/1, width=(int)720, height=(int)304 /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:src: caps = video/x-xvid, framerate=(fraction)25/1, width=(int)720, height=(int)304 /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:src: caps = video/x-xvid, framerate=(fraction)25/1, width=(int)720, height=(int)304 /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_mpeg4:ffdec_mpeg40.GstPad:sink: caps = video/x-xvid, framerate=(fraction)25/1, width=(int)720, height=(int)304 /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstAc3Parse:ac3parse0.GstPad:src: caps = audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)6, alignment=(string)frame /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstA52Dec:a52dec0.GstPad:sink: caps = audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)6, alignment=(string)frame /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src1: caps = audio/x-raw-float, endianness=(int)1234, width=(int)32, channels=(int)6, rate=(int)48000, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT > /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src1: caps = audio/x-raw-float, endianness=(int)1234, width=(int)32, channels=(int)6, rate=(int)48000, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT > /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstA52Dec:a52dec0.GstPad:src: caps = audio/x-raw-float, endianness=(int)1234, width=(int)32, channels=(int)6, rate=(int)48000, channel-positions=(GstAudioChannelPosition)< GST_AUDIO_CHANNEL_POSITION_LFE, GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT, GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER, GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT > /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps = video/x-h264, width=(int)720, height=(int)304, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, codec_data=(buffer)014d401effe10017674d401eeca05a13d8088000000300bb9aca00078b16cb01000468ebecb2, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = video/x-raw-yuv, width=(int)720, height=(int)304, framerate=(fraction)25/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1 /GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0.GstProxyPad:proxypad1: caps = video/x-raw-yuv, width=(int)720, height=(int)304, framerate=(fraction)25/1, format=(fourcc)I420, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1 /GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0.GstPad:src: caps = video/x-surface, width=(int)720, height=(int)304, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, type=(string)vaapi, opengl=(boolean)true /GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0.GstPad:sink: caps = video/x-h264, width=(int)720, height=(int)304, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, codec_data=(buffer)014d401effe10017674d401eeca05a13d8088000000300bb9aca00078b16cb01000468ebecb2, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main /GstPipeline:pipeline0/GstVaapiSink:vaapisink0.GstPad:sink: caps = video/x-surface, width=(int)720, height=(int)304, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, type=(string)vaapi, opengl=(boolean)true Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock
well it gets better. h.264 avc still does not work but mpeg4 part2 does. although it takes 5 times more cpu cycles to play the video compared to normal rendering.
julius@r850:~$ gst-launch-0.10 -vv filesrc location= '/media/ 1.5TB/Filme/ Blood.Diamond. German. 2006.AC3. 5.1.HD2DVDRip. XviD-Ms89. avi' ! decodebin ! x264enc ! vaapidecode ! vaapisink x86_64- linux-gnu/ dri/i965_ drv_video. so pipeline0/ GstDecodeBin: decodebin0/ GstTypeFindElem ent:typefind. GstPad: src: caps = video/x-msvideo pipeline0/ GstDecodeBin: decodebin0/ GstAviDemux: avidemux0. GstPad: sink: caps = video/x-msvideo pipeline0/ GstDecodeBin: decodebin0/ GstQueue: queue0. GstPad: sink: caps = video/x-xvid, framerate= (fraction) 25/1, width=(int)720, height=(int)304 pipeline0/ GstDecodeBin: decodebin0/ GstQueue: queue0. GstPad: src: caps = video/x-xvid, framerate= (fraction) 25/1, width=(int)720, height=(int)304 pipeline0/ GstDecodeBin: decodebin0/ GstQueue: queue0. GstPad: src: caps = video/x-xvid, framerate= (fraction) 25/1, width=(int)720, height=(int)304 pipeline0/ GstDecodeBin: decodebin0/ GstQueue: queue0. GstPad: src: caps = video/x-xvid, framerate= (fraction) 25/1, width=(int)720, height=(int)304 pipeline0/ GstDecodeBin: decodebin0/ ffdec_mpeg4: ffdec_mpeg40. GstPad: sink: caps = video/x-xvid, framerate= (fraction) 25/1, width=(int)720, height=(int)304 pipeline0/ GstDecodeBin: decodebin0/ GstAc3Parse: ac3parse0. GstPad: src: caps = audio/x-ac3, framed= (boolean) true, rate=(int)48000, channels=(int)6, alignment= (string) frame pipeline0/ GstDecodeBin: decodebin0/ GstA52Dec: a52dec0. GstPad: sink: caps = audio/x-ac3, framed= (boolean) true, rate=(int)48000, channels=(int)6, alignment= (string) frame pipeline0/ GstDecodeBin: decodebin0. GstGhostPad: src1: caps = audio/x-raw-float, endianness= (int)1234, width=(int)32, channels=(int)6, rate=(int)48000, channel- positions= (GstAudioChanne lPosition) < GST_AUDIO_ CHANNEL_ POSITION_ LFE, GST_AUDIO_ CHANNEL_ POSITION_ FRONT_LEFT, GST_AUDIO_ CHANNEL_ POSITION_ FRONT_CENTER, GST_AUDIO_ CHANNEL_ POSITION_ FRONT_RIGHT, GST_AUDIO_ CHANNEL_ POSITION_ REAR_LEFT, GST_AUDIO_ CHANNEL_ POSITION_ REAR_RIGHT > pipeline0/ GstDecodeBin: decodebin0. GstGhostPad: src1: caps = audio/x-raw-float, endianness= (int)1234, width=(int)32, channels=(int)6, rate=(int)48000, channel- positions= (GstAudioChanne lPosition) < GST_AUDIO_ CHANNEL_ POSITION_ LFE, GST_AUDIO_ CHANNEL_ POSITION_ FRONT_LEFT, GST_AUDIO_ CHANNEL_ POSITION_ FRONT_CENTER, GST_AUDIO_ CHANNEL_ POSITION_ FRONT_RIGHT, GST_AUDIO_ CHANNEL_ POSITION_ REAR_LEFT, GST_AUDIO_ CHANNEL_ POSITION_ REAR_RIGHT > pipeline0/ GstDecodeBin: decodebin0/ GstA52Dec: a52dec0. GstPad: src: caps = audio/x-raw-float, endianness= (int)1234, width=(int)32, channels=(int)6, rate=(int)48000, channel- positions= (GstAudioChanne lPosition) < GST_AUDIO_ CHANNEL_ POSITION_ LFE, GST_AUDIO_ CHANNEL_ POSITION_ FRONT_LEFT, GST_AUDIO_ CHANNEL_ POSITION_ FRONT_CENTER, GST_AUDIO_ CHANNEL_ POSITION_ FRONT_RIGHT, GST_AUDIO_ CHANNEL_ POSITION_ REAR_LEFT, GST_AUDIO_ CHANNEL_ POSITION_ REAR_RIGHT > pipeline0/ GstX264Enc: x264enc0. GstPad: src: caps = video/x-h264, width=(int)720, height=(int)304, framerate= (fraction) 25/1, pixel-aspect- ratio=( fraction) 1/1, codec_data= (buffer) 014d401effe1001 7674d401eeca05a 13d808800000030 0bb9aca00078b16 cb01000468ebecb 2, stream- format= (string) avc, alignment= (string) au, level=(string)3, profile= (string) main pipeline0/ GstX264Enc: x264enc0. GstPad: sink: caps = video/x-raw-yuv, width=(int)720, height=(int)304, framerate= (fraction) 25/1, format= (fourcc) I420, interlaced= (boolean) false, pixel-aspect- ratio=( fraction) 1/1 pipeline0/ GstDecodeBin: decodebin0. GstGhostPad: src0.GstProxyPa d:proxypad1: caps = video/x-raw-yuv, width=(int)720, height=(int)304, framerate= (fraction) 25/1, format= (fourcc) I420, interlaced= (boolean) false, pixel-aspect- ratio=( fraction) 1/1 pipeline0/ GstVaapiDecode: vaapidecode0. GstPad: src: caps = video/x-surface, width=(int)720, height=(int)304, framerate= (fraction) 25/1, pixel-aspect- ratio=( fraction) 1/1, type=(string)vaapi, opengl= (boolean) true pipeline0/ GstVaapiDecode: vaapidecode0. GstPad: sink: caps = video/x-h264, width=(int)720, height=(int)304, framerate= (fraction) 25/1, pixel-aspect- ratio=( fraction) 1/1, codec_data= (buffer) 014d401effe1001 7674d401eeca05a 13d808800000030 0bb9aca00078b16 cb01000468ebecb 2, stream- format= (string) avc, alignment= (string) au, level=(string)3, profile= (string) main pipeline0/ GstVaapiSink: vaapisink0. GstPad: sink: caps = video/x-surface, width=(int)720, height=(int)304, framerate= (fraction) 25/1, pixel-aspect- ratio=( fraction) 1/1, type=(string)vaapi, opengl= (boolean) true
Setting pipeline to PAUSED ...
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/
libva: va_openDriver() returns 0
/GstPipeline:
Pipeline is PREROLLING ...
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock