Hi, if you are using any of the mpeg4 codecs, you will need a rather powerful cpu for encoding at high frame rates, specially at any decent resolution. As an example I don't have any special problems with the following configuration:
device input: MJPEG 800x600@25 fps video codec - mpeg 4 - avc (h264) audio codec - mpeg2 container - matroska 2.8.38 - 64bit kernel hardware: intel QuadCore 2,8 Ghz (45nm), 4 GB ram but if I increase the input to 30 fps I'll only get about 28 when encoding. If you changed the codec to MJPEG, and still have issues then there could be something wrong with your setup, is the audio OK except for the sync issues? As for the sync issues, do you get the audio before the video or vice versa ? Regards, Paulo 2011/9/7 Steffen <stes...@googlemail.com>: > Hi Paolo, > > Thank you for your answer! > > I reduced the frame rate, resolution and changed the video codec. But > still the same. Sound and audio is still unsyncron in guvcview. Cheese > records all well but in 15 fps. > > Steffen > > > Am Mittwoch, den 07.09.2011, 09:35 +0100 schrieb Paulo Assis: >> Hi, >> guvcview detects some sync issues, it seems although you select 30 >> fps, for that resolution (1280x720) your hardware is just not powerful >> enough to decode the MJPG stream and re-encode it with whatever coded >> you are using. >> Some solutions: >> -reduce the fps >> -reduce the resolution >> -try using a less resource demanding video codec (MJPG will save the >> video stream directly to disk, no compression is done in this case, >> but it generates a huge file if compared with any of the mpeg codecs) >> -use the matroska container instead of avi, it is much better since >> individual frames are timed stamped. Avi only sets a average fps (15 >> according to your log) >> >> Regards, >> Paulo >> >> 2011/9/7 Steffen <stes...@googlemail.com>: >> > Hello, >> > >> > I am testing Microsoft Lifecam Cinema now, but I am not able to record >> > audio and video syncronusely with that cam and guvcview. The Logitech >> > C525 works but has a crappy image. Also cheese works with both cams but >> > has a little frame rate. Skype works for both. >> > >> > Do you have any ideas? I have already installed that medibuild version >> > of uvc and the latest guvcview from the ppa. But the same result even >> > with the old ubuntu natty versions. >> > >> > Steffen >> > >> > >> > >> > >> > _______________________________________________ >> > Linux-uvc-devel mailing list >> > Linux-uvc-devel@lists.berlios.de >> > https://lists.berlios.de/mailman/listinfo/linux-uvc-devel >> > >> > > > > _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel