8dcd2a41ec 
								
							
								 
							
						 
						
							
							
								
								Allow last mov chunk to have an arbitrary number of samples.  
							
							Fixes ticket #673 . 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								028a2375e2 
								
							
								 
							
						 
						
							
							
								
								mov: Make format string match variable type.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f8c190bb0 
								
							
								 
							
						 
						
							
							
								
								mov: Remove some redundant and obsolete comments.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d50122eafa 
								
							
								 
							
						 
						
							
							
								
								Do not try to read total disc or track number if data atom is too short.  
							
							Fixes ticket #659 . 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								055cda8acc 
								
							
								 
							
						 
						
							
							
								
								Rename remaining get_byte to avio_r8.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d77a8faf9 
								
							
								 
							
						 
						
							
							
								
								avformat: Use avio_open2, pass the AVFormatContext interrupt_callback onwards  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8a3f976498 
								
							
								 
							
						 
						
							
							
								
								Support decoding "m1v " mpeg1video in mov.  
							
							Fixes ticket #579  at least for ffplay. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								237f13290b 
								
							
								 
							
						 
						
							
							
								
								movdec: Set frame_size for AMR  
							
							Earlier, sc->samples_per_frame was used for setting the frame size,
but all files don't have that set properly. The frame size is a
known constant for these codecs.
If frame_size isn't set, the mov/3gp muxer refuses to mux it.
This fixes stream copy of audio from
https://roundup.libav.org/file1248/Video_With_AMR-NB_Audio.3gp 
to another 3gp file (roundup issue 2468).
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a487378ef5 
								
							
								 
							
						 
						
							
							
								
								Set frame_size for AMR_NB in mov.  
							
							This copies the behaviour of the amr demuxer. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								69e7ad8dbc 
								
							
								 
							
						 
						
							
							
								
								mov: Avoid divide by zero in edit list dts handling  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b76bc01034 
								
							
								 
							
						 
						
							
							
								
								Implement parsing of the "HandlerName" from th MP4 HDLR atom.  
							
							This atom typically is used for a track title.
(cherry picked from commit a356137816 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								05e417aa63 
								
							
								 
							
						 
						
							
							
								
								mov: Support empty first edit + normal second edit.  
							
							(cherry picked from commit df342c91e6 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e8dff90ef 
								
							
								 
							
						 
						
							
							
								
								Revert "mov: do not misreport empty stts"  
							
							Fixes ticket #578 .
This reverts commit 30c3d976f1 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b06df70755 
								
							
								 
							
						 
						
							
							
								
								mov: add support for hdvd and pgapmetadata atoms  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5da35d1cb3 
								
							
								 
							
						 
						
							
							
								
								mov: rename function _stik, some indentation cosmetics  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80951f5cf6 
								
							
								 
							
						 
						
							
							
								
								mov: rename function _int8 to remove ambiguity, some indentation cosmetics  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94395fbf8c 
								
							
								 
							
						 
						
							
							
								
								mov: parse the gnre atom  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab88b25f99 
								
							
								 
							
						 
						
							
							
								
								lavf: use avpriv_ prefix for some dv functions.  
							
							They are used in libavdevice. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fa395e471 
								
							
								 
							
						 
						
							
							
								
								lavf: use avpriv_ prefix for ff_new_chapter().  
							
							It's used in libavdevice. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								be401448e5 
								
							
								 
							
						 
						
							
							
								
								mov: Raise ctts dts_shift threshold by 1  
							
							This fixes issue2246neu.mp4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f055635313 
								
							
								 
							
						 
						
							
							
								
								mov: add support for TV metadata atoms tves, tvsn and stik  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ad06beb2c 
								
							
								 
							
						 
						
							
							
								
								mov: 10l: Terminate string with 0 not '0'  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8fb22c3d47 
								
							
								 
							
						 
						
							
							
								
								mov: Prevent illegal writes when chapter titles are very short.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30c3d976f1 
								
							
								 
							
						 
						
							
							
								
								mov: do not misreport empty stts  
							
							Return -1 instead of ENOMEM if entries is 0.
Fixes a av_malloc(0) crash in macosx. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a7ba58657 
								
							
								 
							
						 
						
							
							
								
								mov: cosmetics, fix for and if spacing  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2804d32075 
								
							
								 
							
						 
						
							
							
								
								mov: read album_artist atom  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dff4177546 
								
							
								 
							
						 
						
							
							
								
								mov: fix disc/track numbers and totals  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e571305a71 
								
							
								 
							
						 
						
							
							
								
								mov: Only touch extradata in mov_read_extradata() if codec_id is what we expect  
							
							Extradata should only be parsed from the avss, fiel, jp2h and alac atoms for
AVS, MJPEG, Motion JPEG 2000 and ALAC respectively.
This also fixes the mov demuxer coming up with bogus extradata for some
AVC-Intra samples due to the presence of fiel atoms. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5d027682c 
								
							
								 
							
						 
						
							
							
								
								Use the parser for AC-3 in mov.  
							
							Fixes ticket #494 . 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								609a2fa1fa 
								
							
								 
							
						 
						
							
							
								
								Remove some forgotten AVCodecContext.palctrl usage.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cadbe4ecd1 
								
							
								 
							
						 
						
							
							
								
								mov: Fix grayscale Cinepak in mov  
							
							Fixes Ticket165
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f33be93b1b 
								
							
								 
							
						 
						
							
							
								
								mov: read tmcd tag and set timecode drop flag accordingly.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad6c7c1b52 
								
							
								 
							
						 
						
							
							
								
								mp4: Handle non-trivial ES Descriptors.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1892052f8d 
								
							
								 
							
						 
						
							
							
								
								mov: Set negative Sample_duration in STTS to 1  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73c0dd939d 
								
							
								 
							
						 
						
							
							
								
								mov: add clcp type track as Subtitle stream.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfc2c4d900 
								
							
								 
							
						 
						
							
							
								
								lavf: use designated initialisers for all (de)muxers.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ebcdf5cda 
								
							
								 
							
						 
						
							
							
								
								Do not include mathematics.h in avutil.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ee8aecd23a 
								
							
								 
							
						 
						
							
							
								
								Do not include intfloat_readwrite.h in avutil.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								add41decd9 
								
							
								 
							
						 
						
							
							
								
								Remove return statements following infinite loops without break  
							
							These statements cannot be reached and are thus not needed.
This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae88e9cf99 
								
							
								 
							
						 
						
							
							
								
								mov: Fix empty edit detection.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6ba3d4281 
								
							
								 
							
						 
						
							
							
								
								replace remaining usage of deprecated av_metadata_set2() by av_dict_set()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3cef0a85b 
								
							
								 
							
						 
						
							
							
								
								Extract rotation in MOV metadata  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f33a6a22b4 
								
							
								 
							
						 
						
							
							
								
								mov: Fix wrong timestamp generation for fragmented movies that have time offset caused by the first edit list entry.  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85e9e3a9fa 
								
							
								 
							
						 
						
							
							
								
								movdec: Add support for the 'wfex' atom.  
							
							The 'wfex' is just a Microsoft WaveFormatEx struct. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7847a3f2e 
								
							
								 
							
						 
						
							
							
								
								mov: Remove leftover crufty debug statement with references to a local file.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d67e424f 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of now deprecated metadata functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02a8d43adf 
								
							
								 
							
						 
						
							
							
								
								Replace some av_log/printf + #ifdef combinations by av_dlog.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e1166b31b 
								
							
								 
							
						 
						
							
							
								
								Mark some variables with av_unused  
							
							Most of these variables are only used in av_dlog statements, some
are required but not used by other macros.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago