63f7f8d1db 
								
							
								 
							
						 
						
							
							
								
								avconv: Drop an impossible check  
							
							EAGAIN is already managed in poll_filters().
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ebf1b4ada 
								
							
								 
							
						 
						
							
							
								
								avconv: Simplify poll_filters() return value check  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e63e3797a1 
								
							
								 
							
						 
						
							
							
								
								avconv: pass the global codec side data to the muxer  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3efd71b4d0 
								
							
								 
							
						 
						
							
							
								
								avconv: set packet duration for CFR video streams  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd0e08813a 
								
							
								 
							
						 
						
							
							
								
								avconv: support infinite loop for the loop option  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5d4204309 
								
							
								 
							
						 
						
							
							
								
								avformat: Always return ref-counted AVPacket  
							
							And drop the av_dup_packet from the input_thread. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb472e1a11 
								
							
								 
							
						 
						
							
							
								
								avconv: add support for Intel QSV-accelerated transcoding  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								16b0c92962 
								
							
								 
							
						 
						
							
							
								
								avconv: Add loop option.  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6064f697a3 
								
							
								 
							
						 
						
							
							
								
								lavc: Enable side data only packets by default  
							
							Deprecate the now unused option, but temporarily retain the capability
to disable the now default behaviour.
Mention this change in the AVPacket documentation.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								40cf1bbacc 
								
							
								 
							
						 
						
							
							
								
								Deprecate avctx.coded_frame  
							
							The rationale is that coded_frame was only used to communicate key_frame,
pict_type and quality to the caller, as well as a few other random fields,
in a non predictable, let alone consistent way.
There was agreement that there was no use case for coded_frame, as it is
a full-sized AVFrame container used for just 2-3 int-sized properties,
which shouldn't even belong into the AVCodecContext in the first place.
The appropriate AVPacket flag can be used instead of key_frame, while
quality is exported with the new AVPacketSideData quality factor.
There is no replacement for the other fields as they were unreliable,
mishandled or just not used at all.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d3addb937 
								
							
								 
							
						 
						
							
							
								
								Add a quality factor packet side data  
							
							This is necessary to preserve the quality information currently exported
with coded_frame. Add the new side data to every encoder that needs it,
and use it in avconv.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d592fbd0d 
								
							
								 
							
						 
						
							
							
								
								avconv: split creating and (re-)configuring complex filtergraphs  
							
							The current code is less than straightforward due to the fact that
output streams can be created based on filtergraph definitions. This
change should make the code simpler and more readable. It will also be
useful in the future commits. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1959351aec 
								
							
								 
							
						 
						
							
							
								
								avconv: move the no streams failure to open_output_file()  
							
							It is a better place for it, there is no reason to wait until
transcode_init(). 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab7b038906 
								
							
								 
							
						 
						
							
							
								
								avconv: factor out the output stream initialization  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d5d924604 
								
							
								 
							
						 
						
							
							
								
								avconv: move handling the 2pass logfile into avconv_opt  
							
							It more logically belongs there. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59245e0c5e 
								
							
								 
							
						 
						
							
							
								
								avconv: set the encoding/decoding_needed flags earlier  
							
							This will be useful in the following commits. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								56c2f37727 
								
							
								 
							
						 
						
							
							
								
								avconv: drop update_sample_fmt()  
							
							There is only one decoder left that supports this (libopus, which is not
used by default since we have a native one) and this code goes against
the avconv design, since it propagates information back from the encoder
to decoder. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9a5e4fbec8 
								
							
								 
							
						 
						
							
							
								
								avconv: do not stop processing the input packet on decoding error  
							
							We still want to flush the filters on EOF and possibly apply streamcopy. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b114f6d48a 
								
							
								 
							
						 
						
							
							
								
								avconv: factor out flushing the filters  
							
							This also ensures this is always done, avoiding infinite loops if an
error occurs at the end of the input. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16302246b1 
								
							
								 
							
						 
						
							
							
								
								avconv: Add an option for automatically rotating video according to display matrix  
							
							The option is enabled by default, but can be disabled.
If this is enabled, such side data isn't copied into the output stream
(except when doing stream copy).
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa1a1b2496 
								
							
								 
							
						 
						
							
							
								
								avconv: Avoid theoretical NULL dereferences  
							
							Bug-Id: CID 1292519
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3892bdab9b 
								
							
								 
							
						 
						
							
							
								
								avconv: do not overwrite the stream codec context for streamcopy  
							
							Since we are not doing encoding, there is no point in ever touching the
separate encoding context. Always use the stream codec context.
Fixes writing attachments.
CC:libav-devel@libav.org 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22a6d48b0d 
								
							
								 
							
						 
						
							
							
								
								avconv: Print the avfilter errors  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc7536ca3d 
								
							
								 
							
						 
						
							
							
								
								avconv: do not abort immediately if initializing hwaccel fails  
							
							exit_program() will try to free the decoders, which is not a good idea
from within get_format().
Return an error instead. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88b32673db 
								
							
								 
							
						 
						
							
							
								
								avconv: copy stream-level side data when streamcopying  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0c0930219 
								
							
								 
							
						 
						
							
							
								
								avconv: Use av_gettime_relative  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59b55c494e 
								
							
								 
							
						 
						
							
							
								
								lavc: deprecate unused me_threshold field  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c92965dbfb 
								
							
								 
							
						 
						
							
							
								
								avconv: check return value  
							
							CC: libav-stable@libav.org 
Bug-Id: CID 1224275 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								557d4c4eca 
								
							
								 
							
						 
						
							
							
								
								avconv: replace AVCodecContext.time_base with framerate  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6cfbe1de5a 
								
							
								 
							
						 
						
							
							
								
								avconv: Use only audio and video to guess discontinuities  
							
							Data and subtitle streams might cause false positive. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f929ab0569 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Write NULL pointer equality checks more compactly  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa51b0492b 
								
							
								 
							
						 
						
							
							
								
								avconv: rename output_packet() to process_input_packet()  
							
							It more accurately describes what this function does 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f3232a371 
								
							
								 
							
						 
						
							
							
								
								avconv: set the output stream timebase  
							
							This is required by the new API. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								452860d7e0 
								
							
								 
							
						 
						
							
							
								
								Use av_packet_rescale_ts() to simplify code.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71d6551e67 
								
							
								 
							
						 
						
							
							
								
								avconv: use the correct variable in comparison  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48e5092133 
								
							
								 
							
						 
						
							
							
								
								avconv: make -shortest work with streamcopy  
							
							CC: libav-stable@libav.org  
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								39ec5e1cf8 
								
							
								 
							
						 
						
							
							
								
								avconv: Report the codec and the encoder separately  
							
							Bug-Id: 694 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								383136264e 
								
							
								 
							
						 
						
							
							
								
								avconv: do not use the stream codec context for encoding  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41776ba9c0 
								
							
								 
							
						 
						
							
							
								
								avconv: do not use the stream codec context for decoding  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc40d88625 
								
							
								 
							
						 
						
							
							
								
								avconv: do not use poorly defined and undocumented AVStream.pts  
							
							Use OutputStream.last_mux_dts as an approximation of 'current' output
time instead. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6656370b85 
								
							
								 
							
						 
						
							
							
								
								avconv: set the "encoder" tag when transcoding  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93afb6c98d 
								
							
								 
							
						 
						
							
							
								
								avconv: set output avg_frame_rate when known  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9580818c5d 
								
							
								 
							
						 
						
							
							
								
								avconv: rename OutputStream.opts to OutputStream.encoder_opts  
							
							This makes it more clear what is this variable for exactly. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								01947f07b8 
								
							
								 
							
						 
						
							
							
								
								avconv: remove a useless line  
							
							Doing anything with that field when we are doing streamcopy (so the
encoder is not opened) should have absolutely no effect. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								65ed9e7585 
								
							
								 
							
						 
						
							
							
								
								avconv: rename 'codec' to 'enc_ctx'  
							
							This more clearly describes what is the variable used for.
Also, move its declaration into the block where it is actually used. 
							
						 
						11 years ago