[Libav-user] Grabbing video from webcam

2012-01-24 Thread Ognen Duzlevski
Hello, I am just beginning to dabble with video and sound programming on Linux. For starters I just want to make a simple program to grab a video from a webcam and record it. Can ffmpeg be used for this? Where do I find documentation on the API involved and, in general, where do I start? :) Thank

Re: [Libav-user] Compressed h264 avc1 frames to transport stream

2012-01-24 Thread Carl Eugen Hoyos
Valérian writes: > I directly receive compressed h264 avc1 frames that I want to write to a > transport stream. Does it work with ffmpeg (the application)? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinf

Re: [Libav-user] Encoding in PIX_FMT_YUYV422

2012-01-24 Thread Carl Eugen Hoyos
writes: the comment is not clear > too. It says : > > ///< planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples) > > even though the two Croma are inverted, the difference will be in colors. > If they are swapped (little endian instead of big endian due to the fact > that is in 16 bi

[Libav-user] Compressed h264 avc1 frames to transport stream

2012-01-24 Thread Valérian
Hi, I directly receive compressed h264 avc1 frames that I want to write to a transport stream. I have compiled ffmpeg without x264 as I can't use GPL stuff. I added h264_mp4toannexb to my bitstream filters and when calling av_bitstream_filter_filter I get a 0 which basically means nothing happene