9a26ba9713 
								
							
								 
							
						 
						
							
							
								
								v4l2: Add support for h264  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								619d5e7db8 
								
							
								 
							
						 
						
							
							
								
								v4l2: Use the codec descriptor facility  
							
							The encoder or decoder might be disabled but the format would be
supported for at least remuxing. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b776113e5d 
								
							
								 
							
						 
						
							
							
								
								v4l2: Unify one instance of reading/storing errno  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								09f25533a5 
								
							
								 
							
						 
						
							
							
								
								v4l2: Preserve errno values  
							
							av_log usually resets it. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a1a259881f 
								
							
								 
							
						 
						
							
							
								
								v4l2: Use av_strerror  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f929ab0569 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Write NULL pointer equality checks more compactly  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71bf6b41d9 
								
							
								 
							
						 
						
							
							
								
								libavdevice: use avpriv_open()  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7950e519bb 
								
							
								 
							
						 
						
							
							
								
								Disable deprecation warnings for cases where a replacement is available  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5f8873620 
								
							
								 
							
						 
						
							
							
								
								silly typo fixes  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1afddbe59e 
								
							
								 
							
						 
						
							
							
								
								avpacket: use AVBuffer to allow refcounting the packets.  
							
							This will allow us to avoid copying the packets in many cases.
This breaks ABI. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								49dc82eef7 
								
							
								 
							
						 
						
							
							
								
								v4l2: do not assert on a value received from outside of Libav  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								838b849e70 
								
							
								 
							
						 
						
							
							
								
								v4l2: set the average framerate instead of codec timebase.  
							
							Codec timebase is supposed to be set by decoders only. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								246da0b135 
								
							
								 
							
						 
						
							
							
								
								v4l2: avoid pointless indirection.  
							
							v4l2_read_header() does no cleanup, so it can return directly, without
any need for goto. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6153f173a 
								
							
								 
							
						 
						
							
							
								
								avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								124134e424 
								
							
								 
							
						 
						
							
							
								
								avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6501dcfb5e 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary inclusions of [sys/]time.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9651d106 
								
							
								 
							
						 
						
							
							
								
								lavf: remove AVFormatParameters from AVFormatContext.read_header signature  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b6db385922 
								
							
								 
							
						 
						
							
							
								
								v4l2: use C99 struct initializer  
							
							Remove some unneeded memsets. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0efd48dfd1 
								
							
								 
							
						 
						
							
							
								
								v4l2: poll the file descriptor  
							
							Instead of busy waiting use poll(); 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b8c310cb0a 
								
							
								 
							
						 
						
							
							
								
								v4l2: support compressed formats  
							
							Let pass the codec name to -pixel_format and introduce -input_format. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f13a9ca906 
								
							
								 
							
						 
						
							
							
								
								v4l2: use V4L2_FMT_FLAG_EMULATED only if it is defined  
							
							V4L2_FMT_FLAG_EMULATED was added in 2.6.32. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6a4793d04 
								
							
								 
							
						 
						
							
							
								
								v4l2: list available formats  
							
							Make use of the experimental framesize enumeration ioctl if available. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd2bbad303 
								
							
								 
							
						 
						
							
							
								
								v4l2: set the proper codec_tag  
							
							Unbreak direct streamcopy. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb89b4fc09 
								
							
								 
							
						 
						
							
							
								
								v4l2: refactor device_open  
							
							Check capabilities directly in the function, further simplify the code. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								246007d370 
								
							
								 
							
						 
						
							
							
								
								v4l2: simplify away io_method  
							
							Only mmap is supported. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a896d7f45a 
								
							
								 
							
						 
						
							
							
								
								v4l2: cosmetics  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21aa6ae4fb 
								
							
								 
							
						 
						
							
							
								
								v4l2: uniform and format options  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af7123b2ad 
								
							
								 
							
						 
						
							
							
								
								v4l2: do not force interlaced mode  
							
							Video4linux2 supports both interlaced and non-interlaced mode, do not
ask for interlaced if not necessary. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1adba23cec 
								
							
								 
							
						 
						
							
							
								
								v4l2: remove unneded linux specific asm/types.h include  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb3244dee2 
								
							
								 
							
						 
						
							
							
								
								Replace all usage of strcasecmp/strncasecmp  
							
							All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b3bbdd3e6 
								
							
								 
							
						 
						
							
							
								
								lavf,lavd: replace av_new_stream->avformat_new_stream part I.  
							
							Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/' 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								145f741e11 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30b4ee7901 
								
							
								 
							
						 
						
							
							
								
								Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c14fe6bc99 
								
							
								 
							
						 
						
							
							
								
								lavf,lavd: remove all usage of AVFormatParameters from demuxers.  
							
							AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41b68dce4d 
								
							
								 
							
						 
						
							
							
								
								lavdev: improve feedback in case of invalid frame rate/size  
							
							Show the invalid string in the error message.
While at it also prefer "Could not" over "Couldn't", plain forms are
preferred over contractions (simplify readability, especially for non
English-savvy people).
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e60068baeb 
								
							
								 
							
						 
						
							
							
								
								v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters()  
							
							The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a70e01b26 
								
							
								 
							
						 
						
							
							
								
								v4l2: don't leak video standard string on error.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d576bbf3eb 
								
							
								 
							
						 
						
							
							
								
								v4l2: add a pixel_format private option.  
							
							
								
							
							
						 
						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