Tool/software: Linux
Hi,
I am using AM571x Industrial Development kit and linux SDK 05.01.00.11. I am trying to encode 1920x1200 video.
Below is the gstreamer command I am using:
# gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 \
! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)60/1' \
! vpe num-input-buffers=16 \
! 'video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1200, framerate=(fraction)30/1' \
! ducatih264enc bitrate=10000 \
! filesink location=/home/root/1200_1.h264
I am capturing 720p video. Upscaling it to 1920x1200. Then trying to encode the video. I am getting following error;
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0: Could not encode stream.
Additional debug info:
gstducatividenc.c(752): gst_ducati_videnc_handle_frame (): /GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0
Execution ended after 0:00:00.137288063
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
But I am able to display it properly using following command:
gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=4 \
! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)60/1' \
! vpe num-input-buffers=16 \
! 'video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1200, framerate=(fraction)30/1' \
! kmssink
From this I know VPE and DSS is capable of handling 1920x1200. Is there any issue with command or encoder will not support 1920x1200 ?
Regards,
Pranay kumar