hi,all,
I want to set ducatih264enc encoder output 720P,the input image size is 1080P,how to set params?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi,all,
I want to set ducatih264enc encoder output 720P,the input image size is 1080P,how to set params?
Hi, what application are you trying to use,
For example if you capture to file in 720p you may use videoscale
videoscale ! "video/x-raw-yuv,width=1282,height=720 in this example sequence
gst-launch -e v4l2src ! "video/x-raw-yuv, width=1920 , height= 1080,framerate=30/1" ! queue ! ffmpegcolorspace !
ducatih264enc < > ! h264parse ! qtmux ! filesink location=sample.mp4
Regards,
Boyko
My application needs to switch between 720p and 1080p during running, so I only allocate the 1080p memory, 720p also uses this memory, but I do not know how to set the ducatih264 parameters when the resolution is 720p.I know this need to crop,how to?
Hi Achun,
What you need to do is not crop but scale, as I showed in my previous post.
Regards,
Boyko