300ca0763b 
								
							
								 
							
						 
						
							
							
								
								examples/filtering_audio: fix frame leak.  
							
							The frame is not used after being added to the filter
graph, there is no need to keep the reference. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5644313c5 
								
							
								 
							
						 
						
							
							
								
								examples/filtering_audio: get rid of AVABufferSinkParams  
							
							AVABufferSinkParams are ignored by avfilter_graph_create_filter,
therefore the example is misleading.  Use av_opt_set_int_list to
configure abuffersink directly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2619cbd61 
								
							
								 
							
						 
						
							
							
								
								examples/filtering_audio: enable ref counted frames  
							
							Fixes accessing freed memory
Signe-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ab221f8d8 
								
							
								 
							
						 
						
							
							
								
								lavfi: deprecate aconvert.  
							
							This filter is not required anymore with aformat. Drop it at next bump. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66c92a1575 
								
							
								 
							
						 
						
							
							
								
								examples/resampling_audio: make use of av_samples_alloc_array_and_samples()  
							
							Simplify. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9bb25dbd13 
								
							
								 
							
						 
						
							
							
								
								examples/filtering_*: constify AVFrame * for print_frame() and display_frame() functions  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9076a6a943 
								
							
								 
							
						 
						
							
							
								
								examples/filtering_audio: update to new API  
							
							In particular, fix crash. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0da370a52 
								
							
								 
							
						 
						
							
							
								
								examples/filtering_video: update to new API  
							
							In particular, fix crash. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ceac5c54dd 
								
							
								 
							
						 
						
							
							
								
								Remove references to the "ff" variant of buffersink.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e4bc96415 
								
							
								 
							
						 
						
							
							
								
								doc: fix examples.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b211c43dc 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: fix memory leak.  
							
							Do not re-call avcodec_get_context_defaults3(), it is already
called by avformat_new_stream() and it leaks the codec
priv_data that was already allocated.
Use avformat_free_context() instead of freeing (not)
everything manually.
Fix trac ticket #2322 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5ade6bfb03 
								
							
								 
							
						 
						
							
							
								
								doc/examples/demuxing: use AVFrame accessor functions  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dcc73aaaa9 
								
							
								 
							
						 
						
							
							
								
								doc/examples: do not allocate AVFrame directly.  
							
							The size of the AVFrame structure is not part of the ABI;
it can grow with later versions. Therefore, applications
are not supposed to allocate AVFrame directly, they are
supposed to use avcodec_alloc_frame() instead. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								772b949d8e 
								
							
								 
							
						 
						
							
							
								
								examples/scaling_video: fix typo  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7a39e163d 
								
							
								 
							
						 
						
							
							
								
								examples/demuxing: free AVPacket after usage  
							
							Fix leak. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48a7981e6f 
								
							
								 
							
						 
						
							
							
								
								doc/examples: fix assignments in if()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e4f14c32b9 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: improve error messages.  
							
							Illustrate the use of return values, av_err2str and
avcodec_get_name. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55b243cade 
								
							
								 
							
						 
						
							
							
								
								doc/examples/resampling_audio.c: fix path  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89920387da 
								
							
								 
							
						 
						
							
							
								
								examples: add resampling_audio.c file  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8c0b6710c 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: fix typo: allocated -> allocate  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f6f8f642c 
								
							
								 
							
						 
						
							
							
								
								examples/demuxing: fix braino  
							
							s/video/audio/ in a log message. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								794cea588c 
								
							
								 
							
						 
						
							
							
								
								examples/demuxing: dump input information *after* trying to open audio stream  
							
							Implement more logical code flow. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca28cb5f83 
								
							
								 
							
						 
						
							
							
								
								examples: fix doxy so they appear on the example page  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33c4535db7 
								
							
								 
							
						 
						
							
							
								
								examples/decoding_encoding: add and use the decode_write_frame function  
							
							Allow to factorize code in video_decode_example(), simplify. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3b8d56e06 
								
							
								 
							
						 
						
							
							
								
								examples/decoding_encoding: prefer 'frame' over 'picture' for an AVFrame  
							
							Decrease confusion. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								935ecfb002 
								
							
								 
							
						 
						
							
							
								
								examples/scaling_video: remove unnecessary intermediary variable in fill_yuv_frame()  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b116a94af 
								
							
								 
							
						 
						
							
							
								
								examples/decoding_encoding: fix misc typos in the usage text  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c4753f7f5 
								
							
								 
							
						 
						
							
							
								
								examples/decoding_encoding: remove misplaced and confusing comment  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d6ccbae4c 
								
							
								 
							
						 
						
							
							
								
								examples/decoding_encoding: add missing checks on avcodec_alloc_context3()  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eebde404bc 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: merge add_audio_stream() and add_video_stream()  
							
							Factorize. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eda0a52bf1 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: check on frame  
							
							Fix crash in case frame is not defined (e.g. with muxing out.wav). 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d6196d9421 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: fix bogus setting of st->id  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5ca298df2d 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: remove misleading comment about pending API change  
							
							The API was never changed since 2003. Replace with a comment about the
performed operation. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1f7962625c 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: remove video_outbuf unused and useless code  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b8fd29816 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: fix video pts  
							
							Fixes Ticket1801
Based on suggestion from AztecC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ca102a7d7 
								
							
								 
							
						 
						
							
							
								
								examples: add README file with simple compilation instructions  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a726ac9a11 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: extend usage notice  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59e31aa2ca 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: provide more information in case of avcodec_open2 failure  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6133149e0c 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: add missing error checks  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e56b3a5ebb 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: fix case inconsistency in message  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								51fa653829 
								
							
								 
							
						 
						
							
							
								
								examples/decoding_encoding: clarify operations in the usage message  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bcf93f78a5 
								
							
								 
							
						 
						
							
							
								
								examples/decoding_encoding: replace "picture" with "frame" in encode_example()  
							
							The use of "picture" in place of "frame" is confusing. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70b671a283 
								
							
								 
							
						 
						
							
							
								
								examples/decoding_encoding: apply various message log fixes  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34b5b735f9 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: add check on avformat_write_header() result  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b3e2975ab3 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: apply misc fixes to log messages  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d0048cfe3 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: rename img_convert_ctx to sws_ctx  
							
							The new name is more consistent with the codebase, and more
self-consistent with the libswscale API. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								976bb42aca 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: merge some declarations and definitions  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bdd9bfbbab 
								
							
								 
							
						 
						
							
							
								
								examples/muxing: prefer AVPicture to AVFrame, when feasible  
							
							Favor the use of plain AVPicture over AVFrame, especially when the use of
AVFrame is not required like in the case of tmp_picture.
Also adopt more straightforward names, to avoid frame/picture confusion. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fe8fd3948 
								
							
								 
							
						 
						
							
							
								
								examples/demuxing: add audio decoding/demuxing  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b34cbce19 
								
							
								 
							
						 
						
							
							
								
								examples/scaling_video: write to rawvideo file  
							
							This is more useful for testing purposes. Also allow to specify the name
of the output file. 
							
						 
						13 years ago