Hi all,
My board is based beagle board, we have DM3730 + TVP5150 for video capture.
and I used dvsdk_dm3730-evm_04_03_00_06_setuplinux , My kernel is linux 2.6.37.
My video source is from a DV, which output is PAL format.
I set the video path by media-ctl.
media-ctl -r -l '"tvp5150 2-005d":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'
media-ctl -v --set-format '"tvp5150 2-005d":0 [UYVY 720x576]'
media-ctl -v --set-format '"OMAP3 ISP CCDC":0 [UYVY 720x576]'
media-ctl -v --set-format '"OMAP3 ISP CCDC":1 [UYVY 720x576]'
and I can got 720x576 video normally with gstreamer by follow command:
gst-launch -v v4l2src device=/dev/video2 !\
ffmpegcolorspace ! videoscale! videorate ! \
video/x-raw-yuv,format=\(fourcc\)UYVY, width=720, height=576, framerate=25/1!\
TIVidenc1 rateControlPreset=3 codecName=h264enc engineName=codecServer !\
rtph264pay pt=96 ! udpsink host=192.168.2.25 port=9000 sync=false async=false
But when I resized video resolution and I found there are some black or green lines in my video as follow:
Resize to VGA:
gst-launch -v v4l2src device=/dev/video2 !\
ffmpegcolorspace ! videoscale! videorate ! \
video/x-raw-yuv,format=\(fourcc\)UYVY, width=640, height=480, framerate=25/1!\
TIVidenc1 rateControlPreset=3 codecName=h264enc engineName=codecServer !\
rtph264pay pt=96 ! udpsink host=192.168.2.25 port=9000 sync=false async=false
and resize to 720P there are some green lines in the bottom.
gst-launch -v v4l2src device=/dev/video2 !\
ffmpegcolorspace ! videoscale! videorate ! \
video/x-raw-yuv,format=\(fourcc\)UYVY, width=1280, height=720, framerate=25/1!\
TIVidenc1 rateControlPreset=3 codecName=h264enc engineName=codecServer !\
rtph264pay pt=96 ! udpsink host=192.168.2.25 port=9000 sync=false async=false
Is there anything wrong with my command?
I want to resize video to other format by gstreamer, could someone told me how to do.
Any help will be appreciate.
BR.
Paul Chen