Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Srinivas Mandavilli
Hi Robert, Can you please share you plugins-good  patch? Thanks and Regards, Srini --- On Wed, 31/8/11, Ajay Bhargav ajay.bhar...@einfochips.com wrote: From: Ajay Bhargav ajay.bhar...@einfochips.com Subject: Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist To: Robert Krakora

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Ajay Bhargav
Hi Srinivas, Patches are attached here... There are more modifications I did to uvc_video to set size of buffer + fid bit toggle after 44 MPEG2-TS packets. What kind of camera are you using? Regards, Ajay Bhargav - Srinivas Mandavilli srinivas.mandavi...@lucivid.com wrote: Hi

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Srinivas Mandavilli
Thanks Ajay! I just got a B990, and am trying to stream out H264. Srini --- On Fri, 9/9/11, Ajay Bhargav ajay.bhar...@einfochips.com wrote: From: Ajay Bhargav ajay.bhar...@einfochips.com Subject: Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist To: Srinivas Mandavilli

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Ajay Bhargav
Hi Srinivas, UVC fixes wont be needed for you to get your cam output.. You can build gstreamer0.10-ffmpeg to decode H.264 stream, Robert has used fluendo package for decoding. --Ajay - Max Lapshin max.laps...@gmail.com wrote: On Fri, Sep 9, 2011 at 11:01 AM, Srinivas Mandavilli

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Hi, I would like to add support for H.264 stream format in guvcview, Could you post some stream info, or even better an example of raw data output (does the capture buffer contains an exact frame like in MJPEG ?) Regards, Paulo 2011/9/9 Ajay Bhargav ajay.bhar...@einfochips.com Hi Srinivas,

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Ajay Bhargav
Hi Paulo, I am not having H.264 camera, My camera is similar to Facevision's Touchcam E1. It sends out MPEG2-TS stream encoded with H.264. I have recorded some videos during my testing if that is fine for you I can send across... it would be great if guvcview can show compressed streams :) we

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Hi, I was thinking on using ffmpeg (libavcodec) since this is already a guvcview dependency for enconding the streams, decoding them shouldn't be to hard, I just need to understand how they are handled by the driver. This is the reason I need the raw data, you should be able to use the v4l2

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Hi, have you tried the open svc decoder ( http://sourceforge.net/projects/opensvcdecoder/ ) ? It would probably be easier to add as dependency. Regards, Paulo 2011/9/9 Alexey Fisher bug-tr...@fisher-privat.net: Hi Paulo, i have video dump from Robert, not v4l2... The problem with it is

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Ajay Bhargav
Hi Paulo, for me ffdec_h264 worked perfectly... I used current stable release of gstreamer-ffmpeg. It has many more formats... --Ajay Bhargav - Paulo Assis pj.as...@gmail.com wrote: Hi, have you tried the open svc decoder ( http://sourceforge.net/projects/opensvcdecoder/ ) ? It

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Ajay Bhargav
Hi Robert, As you know its a development camera... I think my camera need some fixing.. my hardware decoder does not work with H.264 stream directly... I added h264parse element before h264 decoder in gstreamer pipeline to make it work. Regards, Ajay Bhargav - Robert Krakora

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Well one important thing to notice is the pixel format returned by the driver, will it differentiate between avc and svc streams, or even mpeg2 ? If not maybe then it becomes harder for generic apps to decode it, unless we use a bunch of switch cases for the different cameras (something like this

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Hi, see attached a patched capture example, for saving the driver output buffer into raw files (200). I haven't been able to test build it, but the changes are minimal so it should work. You just need to change the resolution, and maybe the pixel format to whatever the driver expects. see lines

Re: [Linux-uvc-devel] Webcam with H264 encoder not in Devicelist

2011-09-09 Thread Paulo Assis
Just remember to set the -o option when grabbing the frames (the output will be redirected to the files and not stdout as displayed in the help message) These files should allow me to add support for the camera in guvcview. Regards, Paulo 2011/9/9 Robert Krakora