2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								9202218e5d 
								
							
								 
							
						 
						
							
							
								
								Use the correct type for the V4L2 format.  
							
							Originally committed as revision 20856 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								158aa9f2db 
								
							
								 
							
						 
						
							
							
								
								Return pkt->size in v4l2_read_packet().  
							
							mmap_read_frame() takes care of ensuring that the packet size
is correct.
Originally committed as revision 20855 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c787b1043 
								
							
								 
							
						 
						
							
							
								
								Cast a __u64 variable to uint64_t so that it can be printed without warnings  
							
							Originally committed as revision 17325 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5449a787c9 
								
							
								 
							
						 
						
							
							
								
								If AVPacket->data == NULL, the packet does not contain any buffer to  
							
							be freed.
This fixes a double free on exit.
Originally committed as revision 16857 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								406792e7b0 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove pointless period after copyright statement non-sentences.  
							
							Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b250f9c66d 
								
							
								 
							
						 
						
							
							
								
								Change semantic of CONFIG_*, HAVE_* and ARCH_*.  
							
							They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7b987dc2f 
								
							
								 
							
						 
						
							
							
								
								Remove the frame rate from struct video_data, and allow using a variable  
							
							frame rate for video4linux2 input
Originally committed as revision 16464 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d91e92853 
								
							
								 
							
						 
						
							
							
								
								Use avcodec_check_dimensions() for checking the frame size validity.  
							
							The v4l.c check is moved after the eventual automatic size detection,
so the check in that case is performed on the new set values.
Originally committed as revision 16370 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df2a3f2714 
								
							
								 
							
						 
						
							
							
								
								Use more descriptive long_names for Video4Linux input devices.  
							
							Originally committed as revision 16322 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37d3e0667a 
								
							
								 
							
						 
						
							
							
								
								uses FF_ARRAY_ELEMS() where appropriate  
							
							Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d0d9a5e3b 
								
							
								 
							
						 
						
							
							
								
								The v4l2 driver can silently change the pixel format in the  
							
							VIDIOC_S_FMT ioctl(). In this case, device_init() should fail so that
a different pixel format is tried.
Patch by Jens Rosenboom (jens DOT rosenboom AT eu DOT panasonic DOT com)
Originally committed as revision 15660 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b6e8b734c 
								
							
								 
							
						 
						
							
							
								
								V4L2 support for OpenBSD, patch by Brad, brad comstyle com  
							
							Originally committed as revision 15376 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								92d04e765e 
								
							
								 
							
						 
						
							
							
								
								Add support for the RGB32 pixel format in video4linux2 devices  
							
							Patch by Jean Delvare (khali AT linux-fr DOT org)
Originally committed as revision 15219 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97a290efcb 
								
							
								 
							
						 
						
							
							
								
								Add support for the PIX_FMT_RGB555 and PIX_FMT_RGB565 pixel formats in  
							
							video4linux2 devices.
Patch by Jean Delvare (khali AT linux-fr DOT org)
Originally committed as revision 15218 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9d4b8a533 
								
							
								 
							
						 
						
							
							
								
								Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.  
							
							Originally committed as revision 14852 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea452b54f0 
								
							
								 
							
						 
						
							
							
								
								strcasecmp() requires #include <strings.h>  
							
							Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3241ec1d6f 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: make a v4l2 error message consistent with r14647.  
							
							Originally committed as revision 14664 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								99423fa0ee 
								
							
								 
							
						 
						
							
							
								
								Distinguish the error reporting for the cases of wrong size and wrong  
							
							timebase in the video4linux2 v4l2_read_header() function.
Originally committed as revision 14647 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								deaab5fc32 
								
							
								 
							
						 
						
							
							
								
								Make v4l2_read_header() don't free a stream in case of failure when  
							
							reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.
Originally committed as revision 14247 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bde15e74de 
								
							
								 
							
						 
						
							
							
								
								Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.  
							
							patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eacced45c4 
								
							
								 
							
						 
						
							
							
								
								Replace some occurrences of -1 with PIX_FMT_NONE.  
							
							Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								245976da2a 
								
							
								 
							
						 
						
							
							
								
								Use full path for #includes from another directory.  
							
							Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e58bf670d 
								
							
								 
							
						 
						
							
							
								
								Remove #ifdef HAVE_SYS_MMAN_H around sys/mman.h #include.  
							
							Without the #include compilation fails.
Originally committed as revision 12568 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b00675499c 
								
							
								 
							
						 
						
							
							
								
								Only #include sys/mman.h if configure set HAVE_SYS_MMAN_H.  
							
							Originally committed as revision 12521 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48f7e1aeee 
								
							
								 
							
						 
						
							
							
								
								Clarify the error message when video width, height, or framerate are not  
							
							specified.
Patch by Michel Bardiaux (mbardiaux AT mediaxim DOT be)
Originally committed as revision 11551 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago