Hi,I am use dm368 (codec version is "H264ENC.version.02.20.00.01.wizardversion.0.5.2" & there is no aac encoder version in dvsdk 4_02_00_00,and I just used it. ).
my settings:
bootargs given 80M mem to kernel, that i can have 5 video queue buffers for vpfe capture. then i reduce CMEM mem to (0x8540 0000 - 0x8800 0000)
gstreamer pipeline(used rtsp-server):
lt-test-launch --gst-debug=2 "(v4l2src always-copy=FALSE queue-size=5 ! video/x-raw-yuv,format=(fourcc)NV12,width=1920,height=1088,framerate=30/1 ! TIVidenc1 bitRate=10000000 codecName=h264enc engineName=codecServer contiguousInputFrame=TRUE byteStream=FALSE encodingPreset=3 ! rtph264pay pt=96 name=pay0 alsasrc audio/x-raw-int,rate=48000,channels=2,depth=16,width=16 ! TIAudenc1 bitRate=128000 codecName=aaclcenc engineName=codecServer ! rtpmp4apay pt=97 name=pay1)"
the result of above settings. video framerate will keep about 20fps while encoding static images. but framerate would down to 15-18 when input video image become dynamic image.
and the audio will become noise when video framerate changed.i think maybe gstreamer syncing audio stream to video stream.
If i just use video stream without audio . the framerate can keep at 25fps stable.
===============================================
my question
1. Is dm368 can encoding 1080p video at 30fps and encoding audio at the sametime?
2. Gstreamer Plugin "TIVidenc1" can config "encodingPreset" to 3 to set codec works in high speed mode.
I tried 1,3 ,but it makes no efffect to image quality nor framerate. is this param really useful?
3.how do i keep my dm368 to keep 1080p@30fps while encoding aac audio?
=============
my english is poor ,i wish you can read it.. :)
I really appreciate if somebody answer me.