d9a9518fba 
								
							
								 
							
						 
						
							
							
								
								flvenc: use av_assert instead of assert  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0a0e83aee 
								
							
								 
							
						 
						
							
							
								
								Revert "flvenc: Remove apparently unneeded AAC check."  
							
							According to video_file_format_spec_v10_1.pdf flv stores AAC RAW
thanks to Baptiste Coudurier for pointing that out
thanks to Aℓex Converse for explaining:
	This can't be at the start of a non-ADTS payload. 111 is the
	EndOfFrame syntax element.
Together these proof that the check was correctly rejecting ADTS which
is not supposed to be in flv. Many players are able to play such ADTS
in flv though but its better if we conform to the spec as this should
ensure that not many but all players can play files generated by ffmpeg.
This reverts commit 3c9a86df0e 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c9a86df0e 
								
							
								 
							
						 
						
							
							
								
								flvenc: Remove apparently unneeded AAC check.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								42ae83c196 
								
							
								 
							
						 
						
							
							
								
								Allow muxing VP6A into flv.  
							
							Reviewed-by: James Zern 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d31c68a7ed 
								
							
								 
							
						 
						
							
							
								
								removes spurious warning  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								714517b26a 
								
							
								 
							
						 
						
							
							
								
								flvenc: Ignore metadata that has special values and is stored already based on  
							
							more correct values.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ee53d7e86 
								
							
								 
							
						 
						
							
							
								
								flvenc: Correctly encode data stream into in-band metadata frames.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30bcd6a945 
								
							
								 
							
						 
						
							
							
								
								flv: Ammon's changes migrated from 0.6.0 - I believe for the android broadcaster.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c58264e62 
								
							
								 
							
						 
						
							
							
								
								flvenc: use avcodec_get_name to report unsupported codecs.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c22f2527ed 
								
							
								 
							
						 
						
							
							
								
								In mov and flv muxer, check aac bitstream validity.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								384c9c2fa7 
								
							
								 
							
						 
						
							
							
								
								avio: add avio_tell macro as a replacement for url_ftell  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit a2704c9712 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f59d8ff8cd 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fseek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 6b4aa5dac8 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b4aa5dac8 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fseek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a1b7979261 
								
							
								 
							
						 
						
							
							
								
								lavf: replace remaining uses of put_tag with avio_write  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit bbc413f943 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9eb8d0bce 
								
							
								 
							
						 
						
							
							
								
								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>
(cherry picked from commit 77eb5504d3 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								471fe57e1a 
								
							
								 
							
						 
						
							
							
								
								avio: rename ByteIOContext to AVIOContext.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ae628ec1fd 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae628ec1fd 
								
							
								 
							
						 
						
							
							
								
								avio: rename ByteIOContext to AVIOContext.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66355be3c3 
								
							
								 
							
						 
						
							
							
								
								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.
(cherry picked from commit c6610a216e 
							
						 
						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