Part Number: AM5728
Other Parts Discussed in Thread: BEAGLEBOARD-X15,
Tool/software: TI C/C++ Compiler
Hai Sir,
I am using Beagleboard-X15 (AM5728) with Arago 2019.05 am57xx-evm SDK and i have some doubts.
1.Can i use beagleboard-x15(Arago 2019.05 am57xx-evm SDK arago loaded through BalenaEtcher ) sd card in AM5728EVM Board it will works or not.
2.while decoding AM5728 i am using Below commands(HIKVISION IP CAMERA (O/P:H264 Compressed video) to AM5728 Decoder Unit) and some frames are missing in decoder output where as camera output speed is 8Mbps through wireshark calculated around 6.5Mbps any changes to insert for in command for frames missing
HIKVISION camera:1920x1080(25fps)
a. sudo ifconfig eth1 10.10.11.85 netmask 255.255.254.0 up
b.export RTSP_PATH=rtsp://admin:password@10.10.11.84:554
c.Less delay(80ms) & less frmaes missing command: Gst-launch-1.0 -v rtsp location="$RTSP_PATH" latency=0 ! rtpjitterbuffer ! rtph264depay ! h264parse ! ducatih264dec ! vpe ! videoconvert ! kmssink
d.More delay(200ms) & More frmaes missing command: Gst-launch-1.0 -v rtsp location="$RTSP_PATH" latency=0 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' ! rtpjitterbuffer ! rtph264depay ! h264parse ! ducatih264dec ! vpe ! 'video/x-raw, width=1920, height=1080, framerate=25/1, videoconvert ! kmssink
could you tell me any changes in command for less frame rate and i added queue also same thing showing
3.all a,b,c commands i want insert and run through c code using below things but error occurs
code:
#include <gst/gst.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
GstElement *pipeline;
GstBus *bus;
GstMessage *msg;
const gchar *nano_str;
guint major, minor, micro, nano;
/* Initialize GStreamer */
gst_init (&argc, &argv);
gst_version (&major, &minor, µ, &nano);
printf ("GStreamer Version: %d.%d.%d\n",major, minor, micro);
/* Build the pipeline */
pipeline = gst_parse_launch("rtsp location="rtsp://admin:password@10.10.11.84:554" latency=0 ! rtpjitterbuffer ! rtph264depay ! h264parse ! ducatih264dec ! vpe ! videoconvert ! kmssink", NULL);
/* Start playing */
gst_element_set_state (pipeline, GST_STATE_PLAYING);
/* Wait until error or EOS */
bus = gst_element_get_bus (pipeline);
msg = gst_bus_timed_pop_filtered (bus, GST_CLOCK_TIME_NONE, GST_MESSAGE_ERROR | GST_MESSAGE_EOS);
/* Free resources */
if (msg != NULL)
gst_message_unref (msg);
gst_object_unref (bus);
gst_element_set_state (pipeline, GST_STATE_NULL);
gst_object_unref (pipeline);
return 0;
}
This is how you could build it on the board in case your .c is named capture.c
gcc capture.c -o capture `pkg-config --libs --cflags gstreamer-1.0`
this is how to run it:
/etc/init.d/weston stop
./capture
not working error occurs beagleboard-X15:
error: gcc: error: pkg-config --libs --cflags gstreamer-1.0: no such file or Directory
4.actually how to run program on power on only without any login and password of arago sdk (poweron how to run ./capture (/etc/init.d/)