I am using below command to record mp4 video using gstreamer.
gst-launch-1.0 -e imxv4l2videosrc device=/dev/video0 imx-capture-mode=3 ! imxipuvideotransform ! imxvpuenc_h264 ! filesink location=/home/root/sample.mp4
When I'm playing the video file in media player its not showing start and end duration.
Even gst-play-1.0 sample.mp4 also not showing duration.
I have tried in many ways but none worked for me. Hope you helps me.
Thanks and Regards,