2832ea26f3 
								
							
								 
							
						 
						
							
							
								
								Remove commented-out debug #define cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e926b5ceb1 
								
							
								 
							
						 
						
							
							
								
								avformat: Drop unnecessary ff_ name prefixes from static functions  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0d5ca4f0a 
								
							
								 
							
						 
						
							
							
								
								mxfenc: Use correct printf format specifier for int64_t  
							
							libavformat/mxfenc.c:1861:9: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' [-Wformat] 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8214c1d82c 
								
							
								 
							
						 
						
							
							
								
								mxfenc: avoid depending on private codec structures and functions  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d885cc41e5 
								
							
								 
							
						 
						
							
							
								
								Fix "knwon" typo and add a check in tools/patcheck  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c108092a3 
								
							
								 
							
						 
						
							
							
								
								mxfenc: Write MultipleDescriptor ref in Preface  
							
							Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3ba817b95 
								
							
								 
							
						 
						
							
							
								
								mxfenc: Fix possible integer overflows  
							
							None of these are likely unless the user is writing a file with two billion
streams or a duration of around two months.
This fixes CIDs 700568, 700569, 700570, 700571, 700572 and 700573.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c2c066784f 
								
							
								 
							
						 
						
							
							
								
								libavformat/mxfenc: add {} to complex ifs  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3896cd11a1 
								
							
								 
							
						 
						
							
							
								
								mxfenc: explicitly truncate continuity count.  
							
							The field is intended to overflow and have only its low 16bits stored.
This commit avoids the implicit truncation and clarifies that its
intended and not a bug
S326m section 7.6 ("Continuity count"):
> The continuity count word consists of 2 bytes allow-
> ing a number to be created by a modulo 65536
> counter (bits C15 to C0 in figure 7). The continuity
> count shall increment by 1 for each newly transmit-
> ted content package with the same SDTI source and
> destination addresses. The continuity count may
> be used to detect whether the content package
> sequence has been broken by an operation such as
> a routing switch.
Approved-by: Tjoppen
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adcfc0535d 
								
							
								 
							
						 
						
							
							
								
								mxfenc: fix av_log data type for dts paramater  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72eaba5e4f 
								
							
								 
							
						 
						
							
							
								
								avformat: Convert some commented-out printf/av_log instances to av_dlog  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41f7e0649f 
								
							
								 
							
						 
						
							
							
								
								mxf: export ff_mxf_get_samples_per_frame to lavf  
							
							Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d57ca5e5a8 
								
							
								 
							
						 
						
							
							
								
								mxfenc: support 23.976 and 24 frame rates  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								906a263813 
								
							
								 
							
						 
						
							
							
								
								mxfenc: factorize samples per frame code  
							
							Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b4bb19e63 
								
							
								 
							
						 
						
							
							
								
								lavf: flush the output AVIOContext in av_write_trailer().  
							
							This is consistent with stdio and is what we want to do in all cases.
Fixes a bug in the voc muxer which didn't flush in write_trailer()
previously. This is the cause of the change in the test results. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08277a45c3 
								
							
								 
							
						 
						
							
							
								
								lavf: add missing new line to some error messages  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b3484dcbc 
								
							
								 
							
						 
						
							
							
								
								lavf/mxfenc: better error handling with invalid frame rate.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aad737c669 
								
							
								 
							
						 
						
							
							
								
								lavf/mxfenc: simplify frame rate checks.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16dc5f2050 
								
							
								 
							
						 
						
							
							
								
								Replace various inlined inverse AVRational with av_inv_q().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0177b7d23a 
								
							
								 
							
						 
						
							
							
								
								Improve descriptiveness of a number of codec and container long names  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db03f91f4b 
								
							
								 
							
						 
						
							
							
								
								mxfenc: switch to av_assert  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b8a90976da 
								
							
								 
							
						 
						
							
							
								
								lavf/mxfenc: fix dnxhd codec uls and aspect ratio  
							
							Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d99001cab3 
								
							
								 
							
						 
						
							
							
								
								mxfenc: support dnxhd codec  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								135e684311 
								
							
								 
							
						 
						
							
							
								
								mxfenc: support smpte dv codec  
							
							After some internal talks it seems the code is similar to what is in FFmbc
by Baptiste Coudurier; Baptiste accepted to relicense the similiar chunks
from GPL to LGPL. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6d952f584 
								
							
								 
							
						 
						
							
							
								
								mxfenc: write optional field dominance flag in picture description  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b35f1a2a6 
								
							
								 
							
						 
						
							
							
								
								timecode: move timecode muxer options to metadata.  
							
							Some demuxers set a timecode in the format or streams metadata. The
muxers now make use of this metadata instead of a duplicated private
option.
This makes possible transparent copy of the timecode when transmuxing
and transcoding.
-timecode option for MPEG1/2 codec is also renamed to -gop_timecode. The
global ffmpeg -timecode option will set it anyway so no option change
visible for the user. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								320e537baf 
								
							
								 
							
						 
						
							
							
								
								mxfenc: support 50 and 60 frame rates  
							
							Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24e90d0c05 
								
							
								 
							
						 
						
							
							
								
								mxfenc: Don't allow muxing audio-only since it's not supported  
							
							This fixes muxing audio-only output resulting in SIGFPE due to lack of EditRate.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf6e83a8e8 
								
							
								 
							
						 
						
							
							
								
								mxfenc: use new public timecode API.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df0bb26aca 
								
							
								 
							
						 
						
							
							
								
								lavf: remove disabled FF_API_TIMESTAMP cruft  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adff77f28c 
								
							
								 
							
						 
						
							
							
								
								mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container.  
							
							Support Main Profile at High 1440 Level in MXF container,
using essence coding label from SMPTE RDD 9, table 6.
Signed-off-by: Janne Grunau <janne-libav@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80914cde6f 
								
							
								 
							
						 
						
							
							
								
								timecode: rename internal ff_* symbols to avpriv_*.  
							
							Those functions are shared between libs.
Also fix a typo in function names: smtpe → smpte. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4460b81f9e 
								
							
								 
							
						 
						
							
							
								
								mxfenc: Add support for MPEG-2 MP@HL-14 in mxf container  
							
							Support Main Profile at High 1440 Level in MXF container,
using essence coding label from SMPTE RDD 9, table 6. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b49fe589ea 
								
							
								 
							
						 
						
							
							
								
								mxf: honor timecode drop flag in mxf muxer if set.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b33ca05b46 
								
							
								 
							
						 
						
							
							
								
								mxf: add cli option in mxfenc to replace GOP timecode parsing.  
							
							This is based on the original work by Baptiste Coudurier. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c3c6e60f9 
								
							
								 
							
						 
						
							
							
								
								mxf: move framenum to timecode convert to timecode helpers.  
							
							This is based on the original work by Baptiste Coudurier. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfc2c4d900 
								
							
								 
							
						 
						
							
							
								
								lavf: use designated initialisers for all (de)muxers.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c4d7bf008 
								
							
								 
							
						 
						
							
							
								
								mxfenc: include needed header for ff_iso8601_to_unix_time() prototype  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								001d668d40 
								
							
								 
							
						 
						
							
							
								
								lavf: factor out conversion of ISO8601 string to unix time  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5f847bf61d 
								
							
								 
							
						 
						
							
							
								
								lavf: deprecate AVFormatContext.timestamp  
							
							It's replaced by 'creation_time' metadata tag. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76f105967b 
								
							
								 
							
						 
						
							
							
								
								mxfenc: fix ignored drop flag in binary timecode representation.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d5e7ab5c4 
								
							
								 
							
						 
						
							
							
								
								mxfenc: fix ignored drop flag in binary timecode representation.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19b6127365 
								
							
								 
							
						 
						
							
							
								
								mxfenc: small typo fix  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d2b5a1421 
								
							
								 
							
						 
						
							
							
								
								10l, commit that should have been stashed into the merge.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6001dad6e2 
								
							
								 
							
						 
						
							
							
								
								Replace more FFmpeg references by Libav.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8978fedaee 
								
							
								 
							
						 
						
							
							
								
								avio: introduce an AVIOContext.seekable field  
							
							Use it instead of url_is_streamed and AVIOContext.is_streamed. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago