Tool/software: Linux
1、I use the following command to decode h264 into yuv format
gst-launch-1.0 -v filesrc location=airshow_p352x288_nv12.h264 num-buffers=600 ! queue ! h264parse ! ducatih264dec ! queue ! filesink location=1.yuv
2、debug information is as follows
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, width=(int)352, height=(int)288, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au
/GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)512, height=(int)384, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)512, height=(int)384, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:sink: caps = video/x-h264, width=(int)352, height=(int)288, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)512, height=(int)384, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)512, height=(int)384, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstDucatiH264Dec:ducatih264dec0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)512, height=(int)384, framerate=(fraction)0/1, max-ref-frames=(int)19
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)512, height=(int)384, framerate=(fraction)0/1, max-ref-frames=(int)19
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)512, height=(int)384, framerate=(fraction)0/1, max-ref-frames=(int)19
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)512, height=(int)384, framerate=(fraction)0/1, max-ref-frames=(int)19
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:01.493697666
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
I found in ducatih264dec when the resolution from 352x288 into 512x284, this is what reason?