Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

AM5728: converted h264 video doesn't playing?

$
0
0

Part Number: AM5728

Hai sir,

I am using Beagleboard x15 and am572x sdk.

i am referring the below website:


I made same changes in the encoding pipeline.
Here are the steps:
1.Decoding
gst-launch-1.0 filesrc location=TearOfSteel-Short-720x420.264 num-buffers=400 ! queue ! h264parse ! 'video/x-h264' ! ducatih264decvpe ! 'video/x-raw,format=(string)NV12,width=720,height=420' ! queue ! filesink location=jp-h264dec-720.yuv
2.Encoding
gst-launch-1.0 filesrc location=jp-h264dec-720.yuv ! videoparse width=720 height=420 format=nv12 ! vpe ! ducatih264enc ! filesink location=output.h264
3.Decode->Display
gst-launch-1.0 filesrc location=output.h264 ! typefind ! h264parse ! ducatih264decvpe ! kmssink -v

1st and 2nd options properly converting.

in 3 option Decode->Display, below showed error occurring

ssive, framerate=(fraction)0/1
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer encountered a general resource error.
Additional debug info:
../../../gst-plugins-bad-1.14.4/sys/kms/gstkmssink.c(1625): gst_kms_sink_show_frame (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
drmModeSetPlane failed: Permission denied (-13)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
root@am57xx-evm:~/video-samples# uname -a
Linux am57xx-evm 4.19.38-g4dae378bbe #1 SMP PREEMPT Sun Jul 7 03:51:33 UTC 2019 armv7l GNU/Linux
thanking you sir,

Regards,

Ramachandra,


Viewing all articles
Browse latest Browse all 262198

Trending Articles