Part Number: AM5728
Tool/software: Linux
Hello,
I tried the command :gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=50000io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! queue ! ducatih264enc bitrate = 10000 level=level-51 profile=high ! queue ! h264parse ! avimux ! filesink location = x.avi
And I tried the command :gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=50000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! vpe num-input-buffers=128 ! queue ! ducatih264enc bitrate = 10000 level=level-51 profile=high ! queue ! h264parse ! avimux ! filesink location = x.avi
It accured the same problem.
However, I used the command :gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=-1 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! videoconvert ! queue ! ducatih264enc bitrate = 10000 level=level-51 profile=high ! queue ! h264parse ! avimux ! filesink location = x.avi
It workded well!
So I think that it is because of the vpe plugin which account for the problem?
And another problem is that I set the ducatih264enc's property bitrate=10000.But I found that the encode file bitrate was not 10000.
The bitrate was not steady.Sometimes it was more than 10000,and at some time it was less than 10000.
So could u help to set the encode file to set the corret bitrate .
I tried these commands on the AM5728 evm with sdk4.1.
And I have saw the website which have the so similar problem as me.
but it did not help my issues.
So could u help me to solve these problems?
Thanks&Regards!
