3251af9037 
								
							
								 
							
						 
						
							
							
								
								v4l2: set default standard to NULL  
							
							It was errouneously changed to "NTSC" by the recent merge commit. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c6fb9f032 
								
							
								 
							
						 
						
							
							
								
								v4l2: do not force NTSC as standard  
							
							Setting a standard is meaningful only for analog capture devices. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								367732832f 
								
							
								 
							
						 
						
							
							
								
								lavf,lavc: free avoptions in a generic way.  
							
							It's simpler and less error-prone.
Fixes some memleaks along the way. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a3b15e411d 
								
							
								 
							
						 
						
							
							
								
								fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fefa67d536 
								
							
								 
							
						 
						
							
							
								
								v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c21324eeb6 
								
							
								 
							
						 
						
							
							
								
								v4l2: add a framerate private option.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7533a727f9 
								
							
								 
							
						 
						
							
							
								
								v4l2: rewrite code iterating the supported standards  
							
							Simplify/clarify the code logic and error reporting. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d48515eb7 
								
							
								 
							
						 
						
							
							
								
								v4l2: perform minor style fixes  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b017086d4 
								
							
								 
							
						 
						
							
							
								
								v4l2: replace memset() with explicit struct initialization  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a70e01b26 
								
							
								 
							
						 
						
							
							
								
								v4l2: don't leak video standard string on error.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								895e4de8d5 
								
							
								 
							
						 
						
							
							
								
								v4l2: create file  @doxy  from text in the copyright header  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72c60f3ecd 
								
							
								 
							
						 
						
							
							
								
								v4l2: remove pointless empty lines  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af344a69f3 
								
							
								 
							
						 
						
							
							
								
								v4l2: set default standard to NULL  
							
							Avoid a failure with the default value of "NTSC". Not all drivers
support a standard. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8f3f6c40b 
								
							
								 
							
						 
						
							
							
								
								v4l2: use OFFSET macro when setting options  
							
							Improve readability. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d576bbf3eb 
								
							
								 
							
						 
						
							
							
								
								v4l2: add a pixel_format private option.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b899e16de 
								
							
								 
							
						 
						
							
							
								
								lavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.h  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8fe7b6443f 
								
							
								 
							
						 
						
							
							
								
								v4l2: add video_size private option.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								82b5aa0add 
								
							
								 
							
						 
						
							
							
								
								v4l2: factorize returning error codes.  
							
							This will be useful in the following commit. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d20576d01b 
								
							
								 
							
						 
						
							
							
								
								lavf: deprecate AVFormatParameters.channel.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d2a418605 
								
							
								 
							
						 
						
							
							
								
								v4l2: reindent.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a02fd06ab7 
								
							
								 
							
						 
						
							
							
								
								v4l2: add a private option for channel.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fc68a8f703 
								
							
								 
							
						 
						
							
							
								
								lavf: deprecate AVFormatParameters.standard.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b3da269211 
								
							
								 
							
						 
						
							
							
								
								v4l2: add a private option for video standard.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ffe76e540 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							Done to keep ABI compatible. Otherwise this is just silly 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								737eb5976f 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66355be3c3 
								
							
								 
							
						 
						
							
							
								
								Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.  
							
							This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
(cherry picked from commit c6610a216e 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6610a216e 
								
							
								 
							
						 
						
							
							
								
								Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.  
							
							This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d3d238f82 
								
							
								 
							
						 
						
							
							
								
								Factorize common code in v4l2_set_parameters().  
							
							Originally committed as revision 26225 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8621a37d9f 
								
							
								 
							
						 
						
							
							
								
								In video4linux2, in the case the timebase value in ap is 0/0, read the  
							
							timebase value already set in the driver, and set it back in the codec
stream, rather than leaving the invalid value of 0/0.
In particular, fix ffmpeg grabbing timestamps when the timebase value
is not set through the CLI.
Originally committed as revision 26224 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd7d9e45a4 
								
							
								 
							
						 
						
							
							
								
								In the video4linux2 output device, log an error description in case of  
							
							ioctl failure in mmap_release_buffer().
Originally committed as revision 26214 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70f77361d8 
								
							
								 
							
						 
						
							
							
								
								Allow to set the frame rate in v4l2 devices  
							
							Patch by José Miguel Gonçalves (jose DOT goncalves AT inov DOT pt)
Originally committed as revision 25159 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0105889358 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: simplify layout of fmt_conversion_table, make it shorter  
							
							and more readable.
Originally committed as revision 25108 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								680861ca73 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: apply minor style fixes.  
							
							Originally committed as revision 25106 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e16f217ceb 
								
							
								 
							
						 
						
							
							
								
								Use new imgutils.h API names, fix deprecation warnings.  
							
							Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b4f81b7429 
								
							
								 
							
						 
						
							
							
								
								Add a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 for  
							
							video4linux2 devices. This is used by Sensoray Model 2253 cards.
Patch by Pete Eberlein (pete AT sensoray DOT com)
Originally committed as revision 24759 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ce9b4310c 
								
							
								 
							
						 
						
							
							
								
								Remove use of the deprecated function avcodec_check_dimensions(), use  
							
							av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50f852186f 
								
							
								 
							
						 
						
							
							
								
								Make device_open() store the VIDIOC_QUERYCAP ioctl errno, and in case  
							
							of failure return the stored value rather than the current errno,
which may be overwritten by a following call to close().
Originally committed as revision 23001 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b01dba14f3 
								
							
								 
							
						 
						
							
							
								
								Check the return value of device_try_init() immediately after calling such a  
							
							function. Avoids the following warning:
libavdevice/v4l2.c: In function ‘v4l2_read_header’:
libavdevice/v4l2.c:586: warning: ‘codec_id’ may be used uninitialized in this function
Originally committed as revision 22986 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e25b78001 
								
							
								 
							
						 
						
							
							
								
								Fix weird brace placement.  
							
							Originally committed as revision 22982 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1ace15f58c 
								
							
								 
							
						 
						
							
							
								
								Reduce the verbosity of the v4l2 input device  
							
							Originally committed as revision 22980 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4f54d924bc 
								
							
								 
							
						 
						
							
							
								
								Simplify some output messages in the v4l2 input device  
							
							Originally committed as revision 22979 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								932d775fa2 
								
							
								 
							
						 
						
							
							
								
								Implement v4l2 input size autodetection in v4l2_read_header().  
							
							Move check on frame size after the device is opened and after
device_try_init() is attempted. If the provided size value is 0x0,
perform a VIDIOC_G_FMT ioctl() on the device, which sets size to the
current settings.
Originally committed as revision 22971 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c57a8fefd9 
								
							
								 
							
						 
						
							
							
								
								Return meaningful error codes, rather than always -1.  
							
							Originally committed as revision 22966 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								18225025ff 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary width and height variables from v4l2_read_header().  
							
							Originally committed as revision 22963 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72415b2adb 
								
							
								 
							
						 
						
							
							
								
								Define AVMediaType enum, and use it instead of enum CodecType, which  
							
							is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90d0379f5e 
								
							
								 
							
						 
						
							
							
								
								Avoid using deprecated AVFormatParameters::[audio|video]_codec_id field.  
							
							Originally committed as revision 21511 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8040c3b250 
								
							
								 
							
						 
						
							
							
								
								Define device_try_init() as static in libavdevice/v4l2.c.  
							
							Patch by Reinhard Tartler (siretart AT tauware DOT de).
Originally committed as revision 21004 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3db77ccf38 
								
							
								 
							
						 
						
							
							
								
								Support compressed formats in the V4L2 input device.  
							
							Patch by klchxbec AT freenet DOT de.
Originally committed as revision 20858 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9eb6e9d9d3 
								
							
								 
							
						 
						
							
							
								
								Add support for V4L2 compressed formats in the table used for converting  
							
							between V4L2 formats and ffmpeg's formats/codecs.
Patch by klchxbec AT freenet DOT de.
Originally committed as revision 20857 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago