11d4e92ed9 
								
							
								 
							
						 
						
							
							
								
								avformat: Remove non-compiling and/or silly commented-out printf/av_log statements  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a08955c10 
								
							
								 
							
						 
						
							
							
								
								flvenc: silence bogus warning  
							
							The compiler fails to figure out that enc->codec_type can only
have 3 different values.
Thus when an if/else is encountered it triggers on the possibility
of the else case has not initialized the flags variable.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0177b7d23a 
								
							
								 
							
						 
						
							
							
								
								Improve descriptiveness of a number of codec and container long names  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aba232cfa9 
								
							
								 
							
						 
						
							
							
								
								lavf: deprecate r_frame_rate.  
							
							According to its description, it is supposed to be the LCM of all the
frame durations. The usability of such a thing is vanishingly small,
especially since we cannot determine it with any amount of reliability.
Therefore get rid of it after the next bump.
Replace it with the average framerate where it makes sense.
FATE results for the wtv and xmv demux tests change. In the wtv case
this is caused by the file being corrupted (or possibly badly cut) and
containing invalid timestamps. This results in lavf estimating the
framerate wrong and making up wrong frame durations.
In the xmv case the file contains pts jumps, so again the estimated
framerate is far from anything sane and lavf again makes up different
frame durations.
In some other tests lavf starts making up frame durations from different
frame. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd48721849 
								
							
								 
							
						 
						
							
							
								
								lavf: use conditional notation for default codec in muxer declarations.  
							
							This removes the use of macro nesting in these code constructs, which
makes it easier to parse in pre-processors. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b92c7ee662 
								
							
								 
							
						 
						
							
							
								
								flv: add support for G.711  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1cb34ea4fe 
								
							
								 
							
						 
						
							
							
								
								flvenc: K&R formatting cosmetics  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21e2dc9fb7 
								
							
								 
							
						 
						
							
							
								
								flv: support stream text data as onTextData  
							
							Adobe specifies onTextData as the standard message to use to deliver
text information.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9cef89702 
								
							
								 
							
						 
						
							
							
								
								avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.  
							
							Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a3ad7ff80 
								
							
								 
							
						 
						
							
							
								
								flvenc: use AVFormatContext, not AVCodecContext for logging.  
							
							Encoder tag being used for muxer messages is confusing. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20234a4bd7 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Align muxer/demuxer declarations  
							
							Also add missing trailing commas, break long codec_tag lines and
add spaces in codec_tag declarations.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd2ff1a8bc 
								
							
								 
							
						 
						
							
							
								
								flvenc: Support muxing 16 kHz nellymoser  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3383a53e7d 
								
							
								 
							
						 
						
							
							
								
								lavu: replace int/float punning functions  
							
							The existing functions defined in intfloat_readwrite.[ch] are
both slow and incorrect (infinities are not handled).
This introduces a new header with fast, inline conversion
functions using direct union punning assuming an IEEE-754
system, an assumption already made throughout the code.
The one use of Intel/Motorola extended 80-bit format is
replaced by simpler code sufficient under the present
constraints (positive normal values).
The old functions are marked deprecated and retained for
compatibility.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da9cea77e3 
								
							
								 
							
						 
						
							
							
								
								Fix a bunch of common typos.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								905de11907 
								
							
								 
							
						 
						
							
							
								
								flvenc: use first packet delay as global delay.  
							
							This keeps the streams sychronized. The packets must be interleaved per-DTS. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef74e39799 
								
							
								 
							
						 
						
							
							
								
								flvenc: store delay and last_ts per-stream.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ee247a2bd 
								
							
								 
							
						 
						
							
							
								
								flvenc: check packet duration in speex using timestamps  
							
							Using AVCodecContext.frame_size is not reliable. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								52375ba567 
								
							
								 
							
						 
						
							
							
								
								flvenc: adjust for negative DTS for all codecs, not just H.264  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cad0c375d9 
								
							
								 
							
						 
						
							
							
								
								flvenc: Write the right metadata entry count  
							
							No application rely on this count being correct as far as
I know, but if we write a nonzero count value, it might just
as well be the right one.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f5bf4fbaf 
								
							
								 
							
						 
						
							
							
								
								flvenc: use int64_t to store offsets  
							
							Metadata currently is written only at the start of the file in normal
cases, when transcoding from a rtmp source metadata could be
written later and the offset recorded can exceed 32bit.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfc2c4d900 
								
							
								 
							
						 
						
							
							
								
								lavf: use designated initialisers for all (de)muxers.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ee8aecd23a 
								
							
								 
							
						 
						
							
							
								
								Do not include intfloat_readwrite.h in avutil.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d67e424f 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of now deprecated metadata functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e28e9ca8f 
								
							
								 
							
						 
						
							
							
								
								flvenc: propagate error properly  
							
							avio_flush can fail, in particular when used with the rtmp/librtmp
protocol. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7f2fdde74 
								
							
								 
							
						 
						
							
							
								
								avio: rename put_flush_packet -> avio_flush  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45a8a02a41 
								
							
								 
							
						 
						
							
							
								
								lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2704c9712 
								
							
								 
							
						 
						
							
							
								
								avio: add avio_tell macro as a replacement for url_ftell  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b4aa5dac8 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fseek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bbc413f943 
								
							
								 
							
						 
						
							
							
								
								lavf: replace remaining uses of put_tag with avio_write  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77eb5504d3 
								
							
								 
							
						 
						
							
							
								
								avio: avio: avio_ prefixes for put_* functions  
							
							In the name of consistency:
put_byte           -> avio_w8
put_<type>         -> avio_w<type>
put_buffer         -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae628ec1fd 
								
							
								 
							
						 
						
							
							
								
								avio: rename ByteIOContext to AVIOContext.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6610a216e 
								
							
								 
							
						 
						
							
							
								
								Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.  
							
							This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9f9e59afc 
								
							
								 
							
						 
						
							
							
								
								Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the  
							
							corresponding AVMEDIA_TYPE_* symbols.
Originally committed as revision 25201 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16f825085a 
								
							
								 
							
						 
						
							
							
								
								FLV Metadata  
							
							Patch by Tomás Touceda, chiiph gentoo org
Originally committed as revision 25101 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df4f1d5108 
								
							
								 
							
						 
						
							
							
								
								Add AVC EOS tag to H264-encoded FLV files.  
							
							Patch by Thierry Foucu, tfoucu gmail
Originally committed as revision 24820 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80b39e1ca6 
								
							
								 
							
						 
						
							
							
								
								Move AVCodecTag from riff.h into internal.h.  
							
							Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23250 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc947f04cc 
								
							
								 
							
						 
						
							
							
								
								Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.  
							
							Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72415b2adb 
								
							
								 
							
						 
						
							
							
								
								Define AVMediaType enum, and use it instead of enum CodecType, which  
							
							is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c5e1e9827d 
								
							
								 
							
						 
						
							
							
								
								Guess the duration before converting video and write guessed duration  
							
							into flv header.
Patch by Justin Johnson, justin D johnson3 A gmail
Originally committed as revision 21615 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8e9efe4392 
								
							
								 
							
						 
						
							
							
								
								FLV 8-bit PCM is unsigned, not signed  
							
							Fixes issue #1569 
Originally committed as revision 20853 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b88277bd9 
								
							
								 
							
						 
						
							
							
								
								FLV muxer support for Flash screen codec v2  
							
							Originally committed as revision 20564 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								68677dd8ed 
								
							
								 
							
						 
						
							
							
								
								Log a clearer warning message when muxing FLV with Speex containing more than  
							
							8 frames per packet.
Originally committed as revision 20247 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								046c400103 
								
							
								 
							
						 
						
							
							
								
								Add Speex support to the FLV muxer.  
							
							Originally committed as revision 20245 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e458dd0be0 
								
							
								 
							
						 
						
							
							
								
								Flv should be AVFMT_VARIABLE_FPS.  
							
							Originally committed as revision 19873 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f3f3ba799 
								
							
								 
							
						 
						
							
							
								
								Fix onMetaData property count in flv files (issue 1206).  
							
							Patch by Yoshihisa Uchida, yoshihisa D uchida A gmail
Originally committed as revision 19236 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								426a6f34a0 
								
							
								 
							
						 
						
							
							
								
								Splits the totalbitrate in a videodatarate and audiodatarate part.  
							
							Patch by Stefan de Konink stefan konink de
Originally committed as revision 16944 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								406792e7b0 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove pointless period after copyright statement non-sentences.  
							
							Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago