Change frame rate failed and lead to lose frames

Allan xuefagm at gmail.com
Mon Oct 23 12:34:46 UTC 2017


Hi,

I got a .h264 video file, and I try to display it with gstreamer-1.0.
The pipeline likes: gst-launch-1.0 filesrc location=abc.h264 ! decodebin !
imxv4l2sink
After execute the pipeline the result reported as:
/Setting pipeline to PAUSED ...
display(/dev/fb0) resolution is (1024x600).
====== OVERLAYSINK: 4.1.4 build on Oct 10 2017 19:25:41. ======
display(/dev/fb0) resolution is (1024x600).
display(/dev/fb0) resolution is (1024x600).
Pipeline is PREROLLING ...
[INFO]	Product Info: i.MX6Q/D/S
[INFO]	Product Info: i.MX6Q/D/S
====== VPUDEC: 4.1.4 build on Oct 10 2017 19:25:43. ======
	wrapper: 1.0.68 (VPUWRAPPER_ARM_LINUX Build on Oct 10 2017 19:19:47)
	vpulib: 5.4.35
	firmware: 3.1.1.46072
[INFO]	bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
[WARN]	VPU iram is less than needed, some parts don't use iram
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:03.732863667
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
*Total showed frames (110), display master blited (110), playing for
(0:00:03.734385667), fps (29.456).*
Setting pipeline to NULL ...
Freeing pipeline .../

As a result, it seems faster than it should be. Actually, the abc.h264 is
supposed to display with fps of 10.
So I tried to change the framerate by: gst-launch-1.0 filesrc
location=abc.h264 ! decodebin ! videorate ! video/x-raw,framerate=10/1 !
imxv4l2sink
But it doesn't work. Even though it displayed while 90% frames lost.

Can anyone help me?
 



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list