776f2bb91a 
								
							
								 
							
						 
						
							
							
								
								Call avformat_network_init/deinit in the programs  
							
							Calling the init function will become mandatory at some later
point. By calling it, more heavy network init (such as SSL/TLS
library init) can be done once at startup, instead of implicitly
when used (which could lead to it being done a number of times).
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2c0b830d5 
								
							
								 
							
						 
						
							
							
								
								avconv: add -dump_attachment option.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4dbc6ceef5 
								
							
								 
							
						 
						
							
							
								
								avconv: add -attach option.  
							
							It allows attaching arbitrary files, e.g. fonts to Matroska files. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6674f685b 
								
							
								 
							
						 
						
							
							
								
								avconv: make negative mappings disable only streams from the specified file  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02170990fd 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Rename read_file to cmdutils_read_file  
							
							This symbol name clashes with a symbol in gnutls, if linking
statically to that library.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0a196962a 
								
							
								 
							
						 
						
							
							
								
								g722dec: remove the use of lowres for half-rate decoding.  
							
							It is broken because an AVCodecContext can be opened/closed multiple
times, and sample_rate is getting divided by 2 each time that happens.
This removes the only use of lowres for audio. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d813e4c54 
								
							
								 
							
						 
						
							
							
								
								lavf: deprecate AVStream.stream_copy  
							
							It's only used in avconv, so it properly belongs to OutputStream struct
there. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b648c7cdb 
								
							
								 
							
						 
						
							
							
								
								avconc: split choose_codec() to choose_decoder/choose_encoder.  
							
							Prevents -c copy from working for input streams and allows to move
stream_copy variable from AVStream to OutputStream. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f172132f82 
								
							
								 
							
						 
						
							
							
								
								mpegenc: add preload private option.  
							
							Deprecate AVFormatContext.preload. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								84ad31ff18 
								
							
								 
							
						 
						
							
							
								
								lavf: replace av_new_stream->avformat_new_stream part II.  
							
							Manual replacements are done in this commit.
In many cases, the id is some constant made up number (e.g. 0 for video
and 1 for audio), which is then not used in the demuxer for anything.
Those ids are removed. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ec344626c 
								
							
								 
							
						 
						
							
							
								
								avconv: add presets  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a6cd9957d 
								
							
								 
							
						 
						
							
							
								
								cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b3ea34655 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of deprecated AVOptions API.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8124d8ad66 
								
							
								 
							
						 
						
							
							
								
								avtools: add -v as alias for -loglevel  
							
							This saves a bit of typing.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5646a325b 
								
							
								 
							
						 
						
							
							
								
								avconv: always print stats with AV_LOG_INFO  
							
							It's now possible to disable printing stats during encoding with
-nostats, so there's no reason to print them differently depending on
whether it's last report or not. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3460dd8acf 
								
							
								 
							
						 
						
							
							
								
								avconv: add -stats option to enable/disable printing encoding progress  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6007065ed 
								
							
								 
							
						 
						
							
							
								
								avconv: in output_packet() don't set decoded_data_size for video.  
							
							It's only used for audio. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								515901fad2 
								
							
								 
							
						 
						
							
							
								
								avconv: remove pointless always true condition  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								11fdb7e197 
								
							
								 
							
						 
						
							
							
								
								avconv: factorize common code in transcode_init()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								daf9890811 
								
							
								 
							
						 
						
							
							
								
								avconv: Reformat s16 volume adjustment.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4bb0b31f76 
								
							
								 
							
						 
						
							
							
								
								avconv: Initialize return value for codec copy path.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9a033773a 
								
							
								 
							
						 
						
							
							
								
								avconv: Fix volume adjustment for non-s16 sample formats  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe332cf5b9 
								
							
								 
							
						 
						
							
							
								
								avconv: Make samples void*.  
							
							Different sample formats are different sizes. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af3c06b4db 
								
							
								 
							
						 
						
							
							
								
								avconv: Use the size of the decode sample format when allocating the audio samples buffer.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3c1d37a90 
								
							
								 
							
						 
						
							
							
								
								avconv: use different variables for decoded and filtered frame.  
							
							Makes the code less obfuscated and fixes encoding one video stream to
several outputs.
Also use avcodec_alloc_frame() instead of allocating AVFrame on stack.
Breaks me_threshold in avconv, as motion vectors aren't passed through
lavfi. They could be copied manually, but I don't think this misfeature
is useful enough to justify ugly hacks. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ccd15803b 
								
							
								 
							
						 
						
							
							
								
								avconv: add support for copying attachments.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								becdce99eb 
								
							
								 
							
						 
						
							
							
								
								avconv: factorize common code from new_*_stream()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3245b2631 
								
							
								 
							
						 
						
							
							
								
								avconv: replace all fprintf() by av_log().  
							
							Deprecate -v option, now only -loglevel is enough. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f24facd3ec 
								
							
								 
							
						 
						
							
							
								
								avconv: change av_log verbosity from ERROR to FATAL for fatal errors.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								182cbe433a 
								
							
								 
							
						 
						
							
							
								
								avtools: parse loglevel before all the other options.  
							
							This way it can be applied to cmdutils too -- e.g. showing the banner
and printing startup messages. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b921a8272 
								
							
								 
							
						 
						
							
							
								
								avconv: use correct output stream index when checking max_frames  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								240ae356e9 
								
							
								 
							
						 
						
							
							
								
								avconv: remove fake coded_frame on streamcopy hack  
							
							Back in 2002 when it was added, some muxers used information from
coded_frame. It's not true anymore, so this hack is useless and can be
removed. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc3e76f3f2 
								
							
								 
							
						 
						
							
							
								
								avconv: actually set InputFile.rate_emu  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4bb3ae1eaa 
								
							
								 
							
						 
						
							
							
								
								avconv: use correct index when selecting metadata to write to.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f39ecc79aa 
								
							
								 
							
						 
						
							
							
								
								avconv: fix inverted variable  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								495ecfd139 
								
							
								 
							
						 
						
							
							
								
								avconv: move streamid_map to options context.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8e5ce5901b 
								
							
								 
							
						 
						
							
							
								
								avconv: extend -vf syntax  
							
							Add a per-stream -filter option, make -vf an alias for -filter:v. Move
vfilters to the options context. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								828e0bcb86 
								
							
								 
							
						 
						
							
							
								
								avconv: move top_field_first to options context.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c2cff16d9 
								
							
								 
							
						 
						
							
							
								
								avconv: move inter/intra matrix to options context.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0bc391281a 
								
							
								 
							
						 
						
							
							
								
								avconv: remove -psnr option.  
							
							It's redundant -- -flags +psnr does the same thing. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d242d80e36 
								
							
								 
							
						 
						
							
							
								
								avconv: remove me_threshold option.  
							
							It's only shadowing the AVOption with the same name. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e68c78385 
								
							
								 
							
						 
						
							
							
								
								avconv: move video_rc_override_string to options context.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2254d8385 
								
							
								 
							
						 
						
							
							
								
								avconv: move frame pixel format to the options context.  
							
							Also remove redundant -pix_fmt list syntax, it's inconsistent and  only
makes the code more complicated. -pix_fmts should be enough for
everyone. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca46fde792 
								
							
								 
							
						 
						
							
							
								
								avconv: move frame aspect ratio to the options context.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4397b0323 
								
							
								 
							
						 
						
							
							
								
								avconv: move frame size to the options context.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91ea4811b3 
								
							
								 
							
						 
						
							
							
								
								avconv: move frame_rate to the options context.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bef737a78a 
								
							
								 
							
						 
						
							
							
								
								avconv: move force_fps to the options context.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7c0296723c 
								
							
								 
							
						 
						
							
							
								
								avconv: move forced_key_frames to the options context.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77d9c4542c 
								
							
								 
							
						 
						
							
							
								
								avconv: rewrite -qscale and -aq handling.  
							
							Merge video_qscale (set by -qscale) and audio_qscale (set by -aq) into
one 'qscale' field in the options context. Add a shortcut -q for -qscale
and make -aq an alias for -q:a. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e2469ccf01 
								
							
								 
							
						 
						
							
							
								
								avconv: move audio_sample_rate to the options context.  
							
							
								
							
							
						 
						14 years ago