Read mp4 file using gstreamer pipeline
Hi Team,
I have one "Now_You_See_Me.mp4" file and I need to read a frame from that file through GStreamer. Because, when I tried to read .mp4 directly on my edge device (board) I got an invalid frame with colored lining (maybe decoder issue).
Can anyone help me on this? How I can read .mp4 file in opencv through gstreamer pipeline? I have tried with followings:
playbin uri=file:///home/root/big_buck_bunny.mp4
playbin uri=file:///home/root/big_buck_bunny.mp4 ! appsink
filesrc location=big_buck_bunny.mp4 ! decodebin ! videoconvert ! kmssink
filesrc location=big_buck_bunny.mp4 ! decodebin ! videoconvert ! kmssink ! appsink
filesrc location=big_buck_bunny.mp4 ! decodebin ! videoconvert ! appsink
filesrc location=big_buck_bunny.mp4 ! decodebin ! videoconvert ! autovideosink
uridecodebin uri=file:///home/root/big_buck_bunny.mp4 ! videoconvert ! autovideosink
Thanks, --Anil
uridecodebin uri=file:///home/root/big_buck_bunny.mp4 ! videoconvert ! appsink
orfilesrc location=big_buck_bunny.mp4 ! matroskademux ! decodebin ! videoconvert ! appsink
?