This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
On our custom board we have cvbs interface for video input. We designed our board based on AM/DM37x EVM. We are using TVP5146 Video decoder IC with DM3730 processor.
We used DVD player as input to our board andcaptured video into a file using gstreamer.
The problem is
1. while playing the captured video file video on VLC player, video is coming as four screans. Please refer the the attached screen shot.
2. Video is coming on Black and White. It should be colour video.
And we used the following command to capture video.
Command:
gst-launch -v v4l2src ! 'video/x-raw-yuv,width=720,height=576,format=(fourcc)UYVY'! queue ! TIVidResize !'video/x-raw-yuv,width=320,height=240'! queue ! TIVidenc1 codecName=h264enc engineName=codecServer bitRate=100000 rateControlPreset=3 ! mpegtsmux ! filesink location=/media/sda1/test2.ts
Is there any problem with pipeline?
Please help us to solve these issues.
Thanks Regards
Eswar
Hello,
You could check here for examples:
http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines
v4l2src (Capture) example:
gst-launch -v v4l2src always-copy=FALSE num-buffers=2000 ! TIVidenc1 codecName=mpeg4enc engineName=codecServer contiguousInputFrame=TRUE ! filesink location=output.m4v
Could you provide more detail about the video source as format and etc?
Best Regards,
Margarita
Hi,
We tried with both NTSC and PAL input. And we tried saMmapLoopback application. It is also showing same result (four screen and Black & White).
root@beagleboard-dvsdk:~# /usr/share/ti/linux-driver-examples/video/saMmapLoopback
[ 64.032897] clock: Could not find divisor for target rate 0 for clock dpll4_m5_ck parent dpll4_ck
[ 64.042572] omap3isp omap3isp: clk_set_rate for dpll4_m5_ck failed
We are using TVP5146 decoder and DM3730 processor on a custom board with BeagleXM RevC reference software.
PS: BeagleXM board doesn't have TVP5146 in platform so added the same from EVM
we are not sure if bootargs will make a difference.
Our bootargs
bootargs=console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootfstype=ext3 rw mem=55M@0x80000000 mem=128M@0x88000000 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:8M rootwait
Please let us know if some things need to be added in X-loader/U-boot/Kernel
we are using ti-dvsdk_dm3730-evm_4_01_00_09
Regards
Eswar