Video size is only 595

cancel
Showing results for 
Search instead for 
Did you mean: 

Video size is only 595

Jump to solution
264 Views
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

Labels (1)
1 Solution
202 Views
toanjunifer
Senior Contributor I

I solved this problem by adding h264parse element. 

View solution in original post

0 Kudos
3 Replies
203 Views
toanjunifer
Senior Contributor I

I solved this problem by adding h264parse element. 

View solution in original post

0 Kudos
202 Views
joanxie
NXP TechSupport
NXP TechSupport

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

202 Views
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 Kudos