I can successfully play an mp4 file with gplay on imx6, and I am wondering how gplay calculates the framerate.
Metadata says Framerate is 0 but gplay plays it smootly at 10 frames per second.
I would like to use a gstreamer pipe instead of gplay e.g.:
gst-launch filesrc location=/home/user/test.mkv ! video/mpeg,mpegversion=4,systemstream=true,framerate=XX/X ! vpudec ! mfw_isink
how can I find the right value of framerate?
see logs:
Metadata of File:
Title:
Aritist:
Album:
Year:
Genre:
Duration: 17 seconds
Video:
Width: 0
Height: 0
Frame Rate: 0
Bitrate: 0
Codec:
Audio:
Channels: 0
Sample Rate: 0
Bitrate: 0
Codec:
[Playing ][Vol=01][00:00:17/00:00:17][fps:10]EOS Found!
Add –v to your pipeline and check the caps shown on the log. For example:
gst-launch filesrc location=big_buck_bunny_1080p_h264.mov typefind=true ! aiurdemux ! vpudec ! mfw_v4lsink –v
Leo