6d1009cb9d 
								
							
								 
							
						 
						
							
							
								
								doc/examples/decode_video: add input file format information for usage  
							
							Signed-off-by: Steven Liu <lq@chinaffmpeg.org> 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								10bcc41bb4 
								
							
								 
							
						 
						
							
							
								
								examples: Don't call deprecated functions which don't do anything  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23edd41a0d 
								
							
								 
							
						 
						
							
							
								
								doc/examples/decode_video: Fix format string vulnerability  
							
							Fixes: CID1404843
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7ab0eb305 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: allocate the packet dynamically  
							
							AVPackets on stack are discouraged. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								728ea23cce 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: switch to the new decoding API  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f78d360bba 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: use a parser for splitting the input  
							
							Do not rely on the decoder handling this, as it's not guaranteed to
work. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								636515c324 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: remove a stray unrelated comment  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8191f960a6 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: constify the AVCodec instance  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b1f03477f 
								
							
								 
							
						 
						
							
							
								
								examples/avcodec: split the remaining two examples into separate files  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5df897c4b 
								
							
								 
							
						 
						
							
							
								
								examples/avcodec: split audio decoding into a separate example  
							
							The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								40aaa8dadf 
								
							
								 
							
						 
						
							
							
								
								examples/avcodec: split audio encoding into a separate example  
							
							The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9833a406d3 
								
							
								 
							
						 
						
							
							
								
								examples: Properly free AVCodecContext  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41ed7ab45f 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Fix spelling mistakes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce70f28a17 
								
							
								 
							
						 
						
							
							
								
								avpacket: Replace av_free_packet with av_packet_unref  
							
							`av_packet_unref` matches the AVFrame ref-counted API and can be used as
a drop in replacement.
Deprecate `av_free_packet`. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								059a934806 
								
							
								 
							
						 
						
							
							
								
								lavc: Consistently prefix input buffer defines  
							
							Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								def97856de 
								
							
								 
							
						 
						
							
							
								
								lavc: AV-prefix all codec capabilities  
							
							Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7c6eb0a1b7 
								
							
								 
							
						 
						
							
							
								
								lavc: AV-prefix all codec flags  
							
							Convert doxygen to multiline and express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf411fffd4 
								
							
								 
							
						 
						
							
							
								
								examples: rename avcodec.c to decoding_encoding.c  
							
							Restore the old name, which was more meaningful and consistent with the
names of the other examples. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d25e90262 
								
							
								 
							
						 
						
							
							
								
								doc/examples/avcodec: information regarding gop_size ignored if frame->pic-type is AV_PICTURE_TYPE_I  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b339182eba 
								
							
								 
							
						 
						
							
							
								
								Move all example programs to doc/examples  
							
							Also drop support for building examples in library directories. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48d17ee6dc 
								
							
								 
							
						 
						
							
							
								
								api-example: remove an unneeded call to avcodec_get_frame_defaults().  
							
							avcodec_decode_audio4() resets the frame itself. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb891b3114 
								
							
								 
							
						 
						
							
							
								
								Replace all uses of avcodec_free_frame with av_frame_free().  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b9c3b4505 
								
							
								 
							
						 
						
							
							
								
								Replace all instances of avcodec_alloc_frame() with av_frame_alloc().  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfcbe8cbd7 
								
							
								 
							
						 
						
							
							
								
								doc: Fix best_nb_channells typo  
							
							Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a903f8f087 
								
							
								 
							
						 
						
							
							
								
								Include libavutil/channel_layout.h instead of libavutil/audioconvert.h  
							
							Also reorder some other #include when applicable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								11d1ca4b2c 
								
							
								 
							
						 
						
							
							
								
								Use avcodec_free_frame() to free AVFrames.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								661454aa28 
								
							
								 
							
						 
						
							
							
								
								api-example: use new video encoding API.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5702c8670e 
								
							
								 
							
						 
						
							
							
								
								api-example: update to new audio encoding API.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aac63cef20 
								
							
								 
							
						 
						
							
							
								
								examples: unbreak compilation  
							
							Update api so it will compile again. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0bafe04917 
								
							
								 
							
						 
						
							
							
								
								api-example: update to use avcodec_decode_audio4()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71a861cf40 
								
							
								 
							
						 
						
							
							
								
								lavc: make avcodec_alloc_context3 officially public.  
							
							Deprecate avcodec_alloc_context/2. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d7537a6fce 
								
							
								 
							
						 
						
							
							
								
								doxygen: Include libavcodec and libavformat examples into the documentation  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9362b50941 
								
							
								 
							
						 
						
							
							
								
								examples: move API examples to a dedicated dir in doc  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8ac942d8f5 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: reindent after the previous commit  
							
							Originally committed as revision 23324 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								11f6181af1 
								
							
								 
							
						 
						
							
							
								
								api-example: Try to avoid decoding incomplete frames  
							
							Use a larger input audio buffer, refill it when it has less than 4 KB data
left.
Originally committed as revision 23323 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba87f0801d 
								
							
								 
							
						 
						
							
							
								
								Remove explicit filename from Doxygen  @file  commands.  
							
							Passing an explicit filename to this command is only necessary if the
documentation in the @file  block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c38da85e6 
								
							
								 
							
						 
						
							
							
								
								Allow building api-example from outside of libavcodec and also  
							
							make it more consistent with libavformat/output-example.
Originally committed as revision 20176 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4f313925ec 
								
							
								 
							
						 
						
							
							
								
								Use the new avcodec_decode_* API.  
							
							Patch by Thilo Borgmann name.surname AT googlemail.com.
Originally committed as revision 18409 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								504ffed19f 
								
							
								 
							
						 
						
							
							
								
								Mark non-exported functions in test and example programs as static.  
							
							Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7c17abaf9d 
								
							
								 
							
						 
						
							
							
								
								Rename apiexample.c --> api-example.c to be consistent with other example files.  
							
							Originally committed as revision 18216 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								29e455081f 
								
							
								 
							
						 
						
							
							
								
								Update apiexample.c to use the newer avcodec_decode_audio2() API. This also  
							
							fixes compilation.
Originally committed as revision 18176 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bad5537e2c 
								
							
								 
							
						 
						
							
							
								
								Use full internal pathname in doxygen  @file  directives.  
							
							Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14660b0814 
								
							
								 
							
						 
						
							
							
								
								Use M_PI from libavutil/mathematics.h instead of defining PI ourselves  
							
							in libavcodec/apiexample.c.
Originally committed as revision 15520 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9823f0577 
								
							
								 
							
						 
						
							
							
								
								Improve understanding ofavcodec_find_decoder()  
							
							patch by Carl Eugen Hoyos: ! cehoyos ag or at !
Originally committed as revision 9301 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								755bfeabcc 
								
							
								 
							
						 
						
							
							
								
								misc spelling fixes  
							
							Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b24daebf22 
								
							
								 
							
						 
						
							
							
								
								The memsetting of the end of buffer is not needed for audio.  
							
							Originally committed as revision 8070 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago