Hi Ajay, On Thursday 03 November 2011 13:43:17 Ajay Bhargav wrote: > > Thank you taking charge on the MPEG2-TS support. I was thinking that > MPEG2-TS container format may contain video stream encoded differently > other than H.264. So is it good to take out the container part and > exposing the raw stream?
I'm not sure about that. Demuxing should really be done in userspace, not inside the kernel. If we need something uvcvideo-specific, it should probably live in libv4l. > I faced problem when I was storing H.264 stream only using gstreamer. Video > was running too fast with no timing information and VLC was unable to play > that stream. > > how did you deal with the FID problem? coz MPEG2-TS does not provide such > information. What I did was to count certain number of packets and toggle > FID forcefully so that buffer is ready for reading. It looks like you are > missing some packets coz of which video is bad. I faced the same problem > untill i added that FID hack. Please see the patches I've just pushed to the uvcvideo-wip-mpeg branch git://linuxtv.org/pinchartl/uvcvideo.git, and especially patch "uvcvideo: Fix FID and EOF handling for stream-based formats" which deals with this problem. > I hope this will help you. Please let me know if I can help you in this. Could you please test the patches ? -- Regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel