Other Parts Discussed in Thread: BEAGLEBOARD-X15,
I have AM57xx evaluation board of following model(boot log entries).
Model: TI AM5728 BeagleBoard-X15
Board: AM572x EVM REV A.20
Followed below steps to verify H.264 encoding on AM57xx evaluation board using IVA-HD subsystem. As the evaluation board doesn't have display and camera module, used filesrc and filesink to verify H.264 encoding.
Step 1: Downloaded video files from downloads.ridgerun.com/.../video_examples_AM5728.tar.gz
Step 2: Executed below command to decode H.264 encoded video:
root@am57xx-evm:~# gst-launch-1.0 filesrc location=am5728-gst-tests/video-samples/TearOfSteel-Short-720x420.h264 num-buffers=600 ! queue ! h264parse ! ducatih264dec ! queue ! filesink location=am5728-gst-tests/tests-outputs/jp-h264dec-720.yuv -v
Observation: Decoded video was played using vooya player(in ubuntu PC) but output video was in gray scale mode and all rgb color was aligned on the edges of video frame.
Step 3: By using the decoded video in step 2 as filesrc, executed below command to encode yuv raw video using H.264 encoder :
root@am57xx-evm:~# gst-launch-1.0 filesrc location=am5728-gst-tests/tests-outputs/jp-h264dec-720.yuv ! videoparse width=896 height=528 format=nv12 ! ducatih264enc intra-interval=4 ! queue ! filesink location=am5728-gst-tests/tests-outputs/jp-test-yuvfile-h264enc.h264
Observation: Encoded video was played using VLC player(in ubuntu PC) but output video was seen as rgb horizonatal and inclined bars only.
Can you tell me why the video data is not proper after decoding and encoding.
gstreamer pipeline which I have used for encoding and decoding is not proper?