Hi TI Experts,
We are using PSDK 8.4.0.6 (for both TDA4VM and TDA4AL(J721S2) ) and followed a demo sample code of Multi Camera + Codec Application using gstreamer.
[https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/vision_apps/docs/user_guide/group_apps_basic_demos_app_multi_cam_codec.html?utm_source=pocket_saves]
As a results, we have been able to successfully apply that nv12 encode to h264 or mkv.
In addition, we would like to apply encoding from nv12 to mjpeg format.
We have already tried to utilize that [Multi Camera + Codec Application] but the results were not good.
For example we changed cmdline string as below, but gstreamer was not woking well.
void construct_gst_strings(app_gst_wrapper_params_t* params, uint8_t srcType, uint8_t sinkType, GstAppObj* obj)
{
// NV12 to H264
params->m_cmdString = "appsrc format=GST_FORMAT_TIME is-live=true do-timestamp=true block=false name=myAppSrc0 ! queue ! video/x-raw, width=1920, height=1080, framerate=(fraction)30/1, format=NV12, interlace-mode=(string)progressive, colorimetry=(string)bt601 ! v4l2h264enc bitrate=10000000 ! filesink location=/run/media/sda1/"
// NV12 to JPEG
params->m_cmdString = "appsrc format=GST_FORMAT_TIME is-live=true do-timestamp=true block=false name=myAppSrc0 ! queue ! video/x-raw, width=1920, height=1080, framerate=(fraction)30/1, format=NV12, interlace-mode=(string)progressive, colorimetry=(string)bt601 ! videoconvert ! jpegenc ! filesink location=/run/media/sda1/"
}
We have a question of gstreamer.
Can we apply a function of encoding from nv12 to mjpeg using [Multi Camera + Codec Application]?
If possible, we would be very grateful if you could tell me how to do that.
Thanks.