3b80f73b18 
								
							
								 
							
						 
						
							
							
								
								doc/examples/transcoding: convert to codecpar  
							
							Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64b5539985 
								
							
								 
							
						 
						
							
							
								
								doc/examples/extract_mvs: switch to codecpar  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a946aca7c 
								
							
								 
							
						 
						
							
							
								
								doc/examples/remuxing: switch to codecpar  
							
							Also limits remuxing to audio, video and subtitle streams. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e3e0f87e6 
								
							
								 
							
						 
						
							
							
								
								doc/examples/muxing: re-indent block  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3706bc255 
								
							
								 
							
						 
						
							
							
								
								doc/examples/filtering_*: switch to codecpar  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e05d2dd86a 
								
							
								 
							
						 
						
							
							
								
								doc/examples/decoder_targeted: move to tools/target_dec_fuzzer.c  
							
							Name and purpose are more appropriate there since the code isn't
an ideal example.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bbd4d92304 
								
							
								 
							
						 
						
							
							
								
								doc/examples/decoder_targeted: Disable error concealment after 20 frames  
							
							This allows testing EC and non EC. Avoids spending most time in EC on
high res samples and reduces the likelyhood of hitting timeouts
Fixes: Timeout in 467/fuzz-2-ffmpeg_VIDEO_AV_CODEC_ID_H263_fuzzer
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg 
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89d4d7d759 
								
							
								 
							
						 
						
							
							
								
								doc/examples/http_multiclient: Fix resource leak  
							
							Fixes CID1396269
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								99af260d0b 
								
							
								 
							
						 
						
							
							
								
								doc/examples/decoder_targeted: Limit max pixels for fuzzing  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3aa1ff30f3 
								
							
								 
							
						 
						
							
							
								
								doc/examples/transcode_aac: fix a typo  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3115550abe 
								
							
								 
							
						 
						
							
							
								
								doc/examples/muxing: Fix av_frame_make_writable usage  
							
							This patch moves the av_frame_make_writable() call from fill_yuv_image
to get_video_frame so that its argument can be the actual frame that
will be sent to the encoder.
This fixes data corruption issues in codecs that keep references on
one or several previous frames.
Signed-off-by: Sam Hocevar <sam@hocevar.net>
Reviewed-by: wm4
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb265b764a 
								
							
								 
							
						 
						
							
							
								
								examples/transcode_aac: Drop pointless return value const qualifier  
							
							doc/examples/transcode_aac.c:52:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bfe92dfe60 
								
							
								 
							
						 
						
							
							
								
								Ignore all generated example binaries  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								905cdcaa9d 
								
							
								 
							
						 
						
							
							
								
								examples/decode_audio: Add missing header for av_free()  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c06d923410 
								
							
								 
							
						 
						
							
							
								
								doc/examples: add fuzz target for individual ffmpeg APIs for in-process fuzzing with libFuzzer, AFL, and similar fuzzing engines.  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b4d7ac7ae 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: use the AVFrame API for allocating the frame  
							
							It is more efficient and so preferred over allocating the buffers
manually. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0a603a534 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: set the framerate  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e02524025b 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: constify the AVCodec instance  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b1f03477f 
								
							
								 
							
						 
						
							
							
								
								examples/avcodec: split the remaining two examples into separate files  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90265814f9 
								
							
								 
							
						 
						
							
							
								
								examples/decode_audio: constify the AVCodec instance  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f76698e759 
								
							
								 
							
						 
						
							
							
								
								examples/encode_audio: use the AVFrame API for allocating the data  
							
							It is simpler and more efficient. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c00a11ab38 
								
							
								 
							
						 
						
							
							
								
								examples/encode_audio: constify AVCodec instances  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2bd9956454 
								
							
								 
							
						 
						
							
							
								
								doc/examples/demuxing_decoding: Drop AVFrame->pts use  
							
							This code is not correct for git master
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ba7b96dd3 
								
							
								 
							
						 
						
							
							
								
								doc/examples/http_multiclient: Fix "doc/examples/http_multiclient.c:43:9: warning: passing argument 4 of av_opt_get from incompatible pointer type"  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a9b4bc4c7 
								
							
								 
							
						 
						
							
							
								
								doc/examples: build http_multiclient example  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e647d200f 
								
							
								 
							
						 
						
							
							
								
								doc/examples/gitignore: add forgotten qsvdec entry  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2579f7ee2 
								
							
								 
							
						 
						
							
							
								
								doc/examples/http_multiclient: fix mixed declarations and code  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb5e58cd77 
								
							
								 
							
						 
						
							
							
								
								doc/examples/http_multiclient: fix compilation  
							
							Fixes error: no previous prototype for ‘process_client’ [-Werror=missing-prototypes] 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67d28f4a0f 
								
							
								 
							
						 
						
							
							
								
								examples/output: switch to the new encoding API  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bba6a03b28 
								
							
								 
							
						 
						
							
							
								
								examples/demuxing_decoding: convert to codecpar  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9833a406d3 
								
							
								 
							
						 
						
							
							
								
								examples: Properly free AVCodecContext  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3bc060f366 
								
							
								 
							
						 
						
							
							
								
								doc/examples/transcoding: Use the decoders pixel format if the encoder does not list which are supported  
							
							This affects rawvideo and wraped_avframe, no others are affected atm
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								257f00ec1a 
								
							
								 
							
						 
						
							
							
								
								Split global .gitignore file into per-directory files  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41ed7ab45f 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Fix spelling mistakes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c79c96cf2 
								
							
								 
							
						 
						
							
							
								
								doc/examples/muxing: Add support to pass flags to muxer as since codecpar the codec flags are not available to the muxer anymore  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06eef96b69 
								
							
								 
							
						 
						
							
							
								
								fix some a/an typos  
							
							Signed-off-by: Lou Logan <lou@lrcd.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac6d53589f 
								
							
								 
							
						 
						
							
							
								
								examples/transcode_aac: convert to codecpar  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9e1f2cc61 
								
							
								 
							
						 
						
							
							
								
								examples/qsvdec: convert to codecpar  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9897d9f4e0 
								
							
								 
							
						 
						
							
							
								
								examples/output: convert to codecpar  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c2f861ca42 
								
							
								 
							
						 
						
							
							
								
								Replace remaining occurances of av_free_packet with av_packet_unref  
							
							
								
							
							
						 
						10 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								83fc0b9d48 
								
							
								 
							
						 
						
							
							
								
								doc/examples/muxing: Fix mixed declaration and code  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34ed5c2e4d 
								
							
								 
							
						 
						
							
							
								
								avformat: Do not use AVFMT_RAWPICTURE  
							
							There are no formats supporting it anymore and it is deprecated.
Update the documentation accordingly. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								539e5ac2ec 
								
							
								 
							
						 
						
							
							
								
								examples/qsvdec: free the lavc decoder before closing MFX/VAAPI  
							
							lavc expects MFX to still be in a usable state on close. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ee462dca1 
								
							
								 
							
						 
						
							
							
								
								examples/qsvdec: do not free the surfaces in the frame_free() callback  
							
							Even though libmfx might not need them anymore, avcodec might still
access the surfaces. So free them separately at the end. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9464e9c14 
								
							
								 
							
						 
						
							
							
								
								doc/examples/demuxing_decoding: simplify api_mode to refcount  
							
							This finalizes the quick cleanup of a753e6c9f5 
							
						 
						10 years ago