f30a41a608 
								
							
								 
							
						 
						
							
							
								
								Stop hardcoding align=32 in av_frame_get_buffer() calls.  
							
							Use 0, which selects the alignment automatically. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e512d893bf 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: only add sequence end code for mpeg1/2 video  
							
							Only add sequence end code for mpeg1/mpeg2 video, or else use the encoder
libx264 or libx265 in this sample, decoding the output file will get
unknow NALU type error.
Signed-off-by: Jun Zhao <barryjzhao@tencent.com> 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								10bcc41bb4 
								
							
								 
							
						 
						
							
							
								
								examples: Don't call deprecated functions which don't do anything  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ddae679458 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: slightly improve error reporting  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								002dbc5a1f 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: add log  
							
							This helps to visualize how the send/receive API works. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59ab9e8ba1 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: allocate the packet dynamically  
							
							AVPackets on stack are discouraged. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5f102a9559 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: switch to the new encoding API  
							
							
								
							
							
						 
						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