Hi Robert,

On Monday 21 November 2011 16:49:46 Robert Krakora wrote:
> On Thu, Nov 10, 2011 at 3:34 PM, Robert Krakora wrote:
> > On Thu, Nov 3, 2011 at 7:55 AM, Laurent Pinchart wrote:
> >> On Thursday 03 November 2011 12:34:55 Robert Krakora wrote:
> >> > Hi Guys,
> >> > 
> >> > I did not see audio in the MPEG2 TS stream that I was able to get out
> >> > of the FaceVsion camera. I purchased one for Laurent for development
> >> > purposes.
> >> >
> >> > It sounds like he has been working with it some.
> >> 
> >> Yes I've finally started working on it. Thanks for the hardware.
> >> 
> >> I'll post prototype patches to the list. I've been able to get a video
> >> stream out of the device, but it looks pretty bad when played in mplayer.
> >> I'm not sure who is at fault that.
> >> 
> >> > I wish these vendors would come to some kind of consensus on how to
> >> > expose H.264 via USB interface.
> >> 
> >> The latest version of the UVC 1.1 specification includes an H.264
> >> payload format. Unfortunately Microsoft, Logitech and Skype designed
> >> something really horrible, without much input from anyone else.
> >> 
> >> > It seems like it would make life easier for the UVC developers such as
> >> > Laurent.
> >> 
> >> I should come up with my own H.264 UVC payload specification :-)
> >> 
> >> > If Laurent needs any more makes/models of H.264 cameras for
> >> > development, I will accommodate.
> >> 
> >> Thank you. I will first try to finish the Facevsion support.
> > 
> > Let me know when you have some patches available for FaceVsion.  In my
> > hacking, I was able to get MPEG2 TS H.264, but the video looked very
> > washed out although motion was fluid (not jerky).
> 
> Have you had time to work on the FaceVsion support lately?  ;-)

Not as much as I would have liked, but yes, I have :-)

I've pushed patches to the uvcvideo-wip-mpeg branch in 
git://linuxtv.org/pinchartl/uvcvideo.git. The last patch is still work in 
progress, and I'm not totally happy with the "psize * 500" heuristic.

I've also updated yavta to support writing all frames to a single file. 
Capturing 100 frames with yavta to a single file produces something I can play 
with mplayer, but not without issues. The video doesn't look very good, and 
mplayer prints lots of error messages:

$ mplayer mpeg.bin 
MPlayer SVN-r33094-4.4.5 (C) 2000-2011 MPlayer Team

Playing mpeg.bin.
TS file format detected.
VIDEO H264(pid=68) NO AUDIO!  NO SUBS (yet)!  PROGRAM N. 1
FPS seems to be: 29.970030
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12 
V:   0.1   1/  1 ??% ??% ??,?% 0 0 
[h264 @ 0xae68a0]out of range intra chroma pred mode at 28 19
[h264 @ 0xae68a0]error while decoding MB 28 19
[h264 @ 0xae68a0]concealing 2101 DC, 2101 AC, 2101 MV errors
V:   0.1   3/  3 ??% ??% ??,?% 0 0 
[h264 @ 0xae68a0]mb_type 109 in P slice too large at 19 16
[h264 @ 0xae68a0]error while decoding MB 19 16
[h264 @ 0xae68a0]concealing 2350 DC, 2350 AC, 2350 MV errors
V:   0.2   5/  5 ??% ??% ??,?% 0 0 
[h264 @ 0xae68a0]P sub_mb_type 22 out of range at 47 7
[h264 @ 0xae68a0]error while decoding MB 47 7
[h264 @ 0xae68a0]concealing 3042 DC, 3042 AC, 3042 MV errors
V:   0.3   7/  7 ??% ??% ??,?% 0 0 
[h264 @ 0xae68a0]out of range intra chroma pred mode at 60 3
[h264 @ 0xae68a0]error while decoding MB 60 3
[h264 @ 0xae68a0]concealing 3349 DC, 3349 AC, 3349 MV errors
V:   0.3   9/  9 ??% ??% ??,?% 0 0 
[h264 @ 0xae68a0]P sub_mb_type 28 out of range at 50 20
[h264 @ 0xae68a0]error while decoding MB 50 20
[h264 @ 0xae68a0]concealing 1999 DC, 1999 AC, 1999 MV errors
[...]

-- 
Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to