Commit Graph

19 Commits

Author SHA1 Message Date
Limin Wang f5ad81f527 Allow setting v4l2 input and video standard.
Patch by Limin Wang (lance.lmwang AT gmail DOT com)

Originally committed as revision 8542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 06:32:54 +00:00
Ramiro Polla cc58300e30 implement new grabbing interface, as described here:
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface

Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 17:01:32 +00:00
Luca Abeni 41536a6078 Pass the v4l2 buffer into the AVPacket, instead of allocating a new buffer
and copying the frame into it (remove a memcpy())

Originally committed as revision 7981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 13:25:24 +00:00
François Revol 8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.

Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
Luca Abeni c7238c72cb Pass a proper context to av_log()
Originally committed as revision 7946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 13:38:14 +00:00
Diego Biurrun 71e445fca3 Replace deprecated PIX_FMT names by the newer variants.
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Måns Rullgård 8da9266cea use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 23:46:11 +00:00
Luca Abeni 7c7e7464e3 Make read_packet fail is the v4l2 driver returns an unexpected frame size
(driver's bug? If not, we will have to support this in some way)

Originally committed as revision 6756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 09:56:08 +00:00
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Måns Rullgård ff70e60176 allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 21:14:37 +00:00
Måns Rullgård d2a067d1d9 give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
R. Brian Anderson eaddc4717b Fix segfault
Patch by R. Brian Anderson (andersrb AT cliftonlabs DOT com)

Originally committed as revision 5480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-15 15:15:20 +00:00
Luca Abeni f743a06236 Include the correct video4linux2 header
Originally committed as revision 5430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 13:04:18 +00:00
Luca Abeni 60023e3234 Do not be too verbose
Originally committed as revision 5161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 09:48:32 +00:00
Michael Niedermayer c04c3282b4 simplify AVFormatParameters NULL checks
Originally committed as revision 5146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:22:21 +00:00
Luca Abeni 24300af416 Add support for drivers that can change the capture size on VIDIOC_S_FMT
Originally committed as revision 5076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 11:28:09 +00:00
Flavio Pimentel Duarte 2b63c22255 Error path fix: close the video device on failure
Original patch by Flavio Pimentel Duarte (flaviop AT land DOT ufrj DOT br)

Originally committed as revision 5075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 11:14:59 +00:00
Alex Beregszaszi c16601bb8e print a hint when trying V4L2 on V4L device
Originally committed as revision 5065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-26 13:22:32 +00:00
Luca Abeni 0a7b514f13 video4linux2 input support
patch by Luca Abeni, lucabe72 $$at$$ email $$dot$$ it

Originally committed as revision 4916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-01 11:31:33 +00:00