tijul1973 / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
0 stars 0 forks source link

Webcam at reslution higher or lower than 320x240 doesn't play. #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open WS
2. Set mixer to a resolution different than 320x240 
3. add a webcam video device and play it

What is the expected output? What do you see instead?
Expect to See the webcam playing.
No video is shown.
Please use labels and text to provide additional information.

Original issue reported on code.google.com by soylent...@gmail.com on 23 Jun 2013 at 9:07

GoogleCodeExporter commented 9 years ago
Thanks to Sal Idarityfirst.

I forgot to set the videoscale method.
In webcam.propierties the correct command is:

video=gst-launch-0.10 v4l2src device=@FILE ! *videoscale method=1* ! videorate 
! video/x-raw-yuv,framerate=@RATE/1!ffmpegcolorspace! 
video/x-raw-rgb,width=@CWIDTH,height=@CHEIGHT,depth=24,bpp=24,blue_mask=255,gree
n_mask=65280,red_mask=16711680!  tcpclientsink port=@VPORT

I will update the command in the next build :)

Original comment by soylent...@gmail.com on 23 Jun 2013 at 9:09

GoogleCodeExporter commented 9 years ago
The change for this is done now.

Original comment by soylent...@gmail.com on 23 Jun 2013 at 9:10