Hi , My Bsp is imx6q_L3_14_52.
gst-launch videotestsrc ! 'video/x-raw-rgb, width=(int)640,height=(int)480' ! ximagesink is OK, but i want to create the application,for example Video Record,Video Play , but i don't know how to link the gstreamer lib in my application ? can you support the reference of Using gstreamer lib ? for example in my application have some sub functions from gstreamer,
/* Create gstreamer elements */
pipeline = gst_pipeline_new ("media-player");
source = gst_element_factory_make ("filesrc","file-source");
demuxer = gst_element_factory_make ("mfw_mp4demuxer","avi-demuxer");
decvd = gst_element_factory_make ("mfw_vpudecoder", "video-decoder");
decad = gst_element_factory_make ("mad", "mp3-decoder");
vdsink = gst_element_factory_make ("mfw_v4lsink", "video-sink");
vdqueue = gst_element_factory_make ("queue", "video-queue");
adqueue = gst_element_factory_make ("queue", "audio-queue");
adsink = gst_element_factory_make ("fakesink", "audio-sink");
g_object_set (decvd, "codec-type", "std_avc", NULL);
and so on, when compile the program, some Errors are show.
Thanks!
Hello
it is required to build target system, including multimedia recipes (with GST) of NXP Linux BSP,
and then - build SDK for application design.
https://community.nxp.com/docs/DOC-95254
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri,
Yes, i add add the following code to my local.conf:
LICENSE_FLAGS_WHITELIST = "commercial"
COMMERCIAL_AUDIO_PLUGINS ?= " \
gst-plugins-ugly-mad \
gst-plugins-ugly-mpegaudioparse \
"
COMMERCIAL_VIDEO_PLUGINS ?= " \
gst-plugins-ugly-mpeg2dec \
gst-plugins-ugly-mpegstream \
gst-plugins-bad-mpegvideoparse \
"
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-fsl-gstreamer \
gst-plugins-base-videotestsrc \
gst-plugins-bad-fbdevsink \
gst-ffmpeg alsa-utils \
gst-plugins-good-isomp4 \
"
and can i use tnem for my application design ?
Thanks!
Have You generated the SDK ?
~Yuri.
No , I don't know how to generated the SDK ,can you support the steps for generated the SDK? thanks!
Hi Yuri,
i read the "How to build the yocto SDK? " ,but i don't know how to build or add the yocto SDK in my linux ? can you tell me the steps ? thanks!
Hello,
the following may be helpful regarding Yocto approach :
Yocto Project Software Development Kit (SDK) Developer's Guide
Regards,
Yuri.
Hi Yuri,
tmp/deploy/sdk
in the Build Directory." thanks !As for NXP BSPs specifics, please use NXP Linux documentation;
in particular "i.MX_Yocto_Project_User's_Guide.pdf" and"i.MX_BSP_Porting_Guide.pdf".
Summary Page :
i.MX 6 Series Software and Development Tool|NXP
~Yuri.