Hi all,
I am trying a displaying of H.264 elementary stream on i.MX6Q Sabre board using Freescale Yocto Project BSP code (imx-3.14.52-1.1.0_ga).
But, I can not set the display frame rate.
I try folloing command.
gst-launch-1.0 filesrc location=input.es ! video/x-h264,framerate=15/1,alignment=au,stream-format=avc ! vpudec ! overlaysink
However, this is displayed in 30fps. I would like to display in 15fps.
Do you know how to resolve?
Best Regards,
Kenji
Dear jimmychan,
Thank you so much for your advice.
But, I recieved folloing message.
no property "framerate-nu" in element "vpudec0"
I am using version 4.0.8 for "vpudec". This version don't have this property.
Could you give me some advice about this?
Best Regards,
Kenji
the player can adjust the media clock rate for such use case. For example, you can use gplay-1.0 to play the video file, then select "[c]Setting play rate" to set the play rate to 0.5X, then for 30fps video file, it can be played in 15fps.
The gplay code can be found from the released "gst1.0-fsl-plugins-x.x.x.tar.gz".
Dear jimmychan,
Thank you so much for your advice.
I can use "gplay-1.0". But I don't know how to use "[c]Setting play rate".
Could you show sample command?
Best Regards,
Kenji
Dear jimmychan,
I found "[c]Setting play rate".
And, the following command was successful.
gplay-1.0 input_h264_es.bin
But I don't know how to use "[c]Setting play rate".
I tried a following command, but not work.
gplay-1.0 -c=0.5 input_h264_es.bin
Best Regards,
Kenji
Dear jimmychan,
I succeeded. Thank you so much.
However, I would like to know the solution of using "filesrc" or "vpudec".
Please tell me about this if you know.
Best Regards,
Kenji