Video size is only 595

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Video size is only 595

跳至解决方案
1,335 次查看
toanjunifer
Senior Contributor I

Hi, 

I'm using FLEX-iMX8MM with Yocto image. I tried to record video with gstreamer framework but after recording. Video size is only 595. Note that while recording, no any error or warning occur. 

This is output.

Setting pipeline to PAUSED ...
====== VPUENC: 4.4.5 build on Jun 5 2019 05:23:07. ======
wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Jun 5 2019 04:59:56)
vpulib: 1.1.1
firmware: 1.1.1.65535
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:38.061187864
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

This is video detail:

File: video.mp4
Size: 595       Blocks: 8       IO Block: 4096 regular file
Device: b302h/45826d Inode: 38814       Links: 1
Access: (0644/-rw-r--r--)       Uid: ( 0/ root)       Gid: ( 0/ root)
Access: 2020-05-25 04:16:30.935834380 +0000
Modify: 2020-05-25 04:22:30.606858813 +0000
Change: 2020-05-25 04:22:30.606858813 +0000
Birth: -

[UPDATE] I got this message when debug:

WARN  v4l2src gstv4l2src.c:976:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 3 - ts

I don't know what happened ? Can you figure out this problem ?

Thank you so much,

Toan

标签 (1)
1 解答
1,273 次查看
toanjunifer
Senior Contributor I

I solved this problem by adding h264parse element. 

在原帖中查看解决方案

0 项奖励
3 回复数
1,274 次查看
toanjunifer
Senior Contributor I

I solved this problem by adding h264parse element. 

0 项奖励
1,273 次查看
joanxie
NXP TechSupport
NXP TechSupport

did you playback the file you recorded? any issue about this?

1,273 次查看
toanjunifer
Senior Contributor I

Yes. I did. I can't play it. I got this error:

streaming stopped, reason error, state 1
Reached end of play list.

0 项奖励