124e28847b 
								
							
								 
							
						 
						
							
							
								
								Remove some stray unnecessary ffmpeg references.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eac778deb3 
								
							
								 
							
						 
						
							
							
								
								Some minor spelling fixes.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca65932bbf 
								
							
								 
							
						 
						
							
							
								
								mpegts: MP4 SL support  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c530267024 
								
							
								 
							
						 
						
							
							
								
								mpegts: MP4 OD support  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4682a1dc3a 
								
							
								 
							
						 
						
							
							
								
								mpegts: Add support for Sections in PMT  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fec2836483 
								
							
								 
							
						 
						
							
							
								
								mpegts: Replace the MP4 descriptor parser with a recursive parser.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3bc6096f2 
								
							
								 
							
						 
						
							
							
								
								mpegts: Add support for multiple mp4 descriptors  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								476d04a56a 
								
							
								 
							
						 
						
							
							
								
								mpegts: Parse mpeg2 SL descriptors.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2faa95151 
								
							
								 
							
						 
						
							
							
								
								lavf: make some seeking functions private  
							
							Specifically av_update_cur_dts(), av_seek_frame_binary() and
av_gen_search().
They are not supposed to be called outside lavf. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c643ba8128 
								
							
								 
							
						 
						
							
							
								
								mpegts: Fix detection of some raw AAC  
							
							Fixes Ticket577
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d1ee98c94b 
								
							
								 
							
						 
						
							
							
								
								mpegts: add BDMV secondary audio stream types  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								463c8d8621 
								
							
								 
							
						 
						
							
							
								
								mpegts: fix null-pointer dereference  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0a4b13322 
								
							
								 
							
						 
						
							
							
								
								mpegts: remove read_seek()  
							
							Its redundant
Found-by: nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db1347f66e 
								
							
								 
							
						 
						
							
							
								
								mpegts: cache information to speed up seeking.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7846280d1d 
								
							
								 
							
						 
						
							
							
								
								mpegts: assert position in dts reading code.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de9862a95e 
								
							
								 
							
						 
						
							
							
								
								mpegts: add and use mpegts_get_dts()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								04ac0d7994 
								
							
								 
							
						 
						
							
							
								
								mpegts: fix type of argument of mpegts_resync()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bc38e83793 
								
							
								 
							
						 
						
							
							
								
								mpegts: do not return from ff_mpegts_parse_packet() after having seen the first PMT  
							
							It prevents leaving the AVPacket uninitialized.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								49ec0c818d 
								
							
								 
							
						 
						
							
							
								
								mpegts: fix return value when enough ts packets have been parsed or when the first PMT has been seen.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b3bbdd3e6 
								
							
								 
							
						 
						
							
							
								
								lavf,lavd: replace av_new_stream->avformat_new_stream part I.  
							
							Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/' 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								145f741e11 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2f88ce21c 
								
							
								 
							
						 
						
							
							
								
								mpegts: reduce av_log level for seek back to begin on unseekable protocols to info level.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fb30586cf 
								
							
								 
							
						 
						
							
							
								
								mpegts: Attempt to seek back to beginning in non-seekable mpegts files.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e75f06182 
								
							
								 
							
						 
						
							
							
								
								Be less verbose about continuity check errors.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35a6855868 
								
							
								 
							
						 
						
							
							
								
								Fix av_dlog invocations with wrong or missing logging context.  
							
							This fixes build failures with -DDEBUG in CPPFLAGS. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e78d1a594a 
								
							
								 
							
						 
						
							
							
								
								mpegts: make sure the "standard" code doesnt override the probing with NONE/DATA.  
							
							Fixes video stream detection in vid_0x80.ts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9fa47cb773 
								
							
								 
							
						 
						
							
							
								
								make mpegts_get_pcr resync if it's not on a valid mpegts packet  
							
							
								
							
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6214266362 
								
							
								 
							
						 
						
							
							
								
								cosmetic reindent of mpegts_get_pcr  
							
							
								
							
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a90b6a43e 
								
							
								 
							
						 
						
							
							
								
								check return value of url_fseek in mpegts_get_pcr  
							
							
								
							
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								880e83827f 
								
							
								 
							
						 
						
							
							
								
								respect the maximum position mpegts_get_pcr is allowed to seek to  
							
							
								
							
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2130d2f594 
								
							
								 
							
						 
						
							
							
								
								remove unused code in mpegts_get_pcr  
							
							
								
							
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c8ce2b0a1d 
								
							
								 
							
						 
						
							
							
								
								mpegts: When playing mpegts over rtp/rtsp/sdp, lavf must still read PAT/SDT to get available streams  
							
							The code path using for mpegts over rtp doesn't open the demuxer using
mpegts_read_header,
so it never starts listening for PAT/SDT, only uses auto_guess
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1f15c3c1a 
								
							
								 
							
						 
						
							
							
								
								mpegts: improve error reporting  
							
							When reporting continuity error show pid, expected and received cc.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								162f1fbc14 
								
							
								 
							
						 
						
							
							
								
								mpegts: on seek, reset the cc for all PIDs  
							
							Prevent false positive continuity counter error logs.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb66db8010 
								
							
								 
							
						 
						
							
							
								
								mpegts: update comment to match code  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d40f88cab 
								
							
								 
							
						 
						
							
							
								
								mpegts: Some additional HDMV types and reg descriptors for mpegts  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c41bf905f4 
								
							
								 
							
						 
						
							
							
								
								Only autodetect loas in transport streams.  
							
							The Makito encoder sets stream type 0x11 for AAC.
This patch should be reverted if it breaks decoding valid streams (and
the problem can't be fixed in the probe function). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad6c7c1b52 
								
							
								 
							
						 
						
							
							
								
								mp4: Handle non-trivial ES Descriptors.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8b999e2d0 
								
							
								 
							
						 
						
							
							
								
								mpegts: log into an AVFormatContext rather than MpegTSContext.  
							
							MpegTSContext's AVClass member can be NULL. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c14fe6bc99 
								
							
								 
							
						 
						
							
							
								
								lavf,lavd: remove all usage of AVFormatParameters from demuxers.  
							
							AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0399044805 
								
							
								 
							
						 
						
							
							
								
								Always pass a AVFormatContext to av_log.  
							
							This is consistent, allows custom handlers to print more info
(since they probably know about the AVFormatContext class
but not a demuxer-specific one) and also avoids issues due
to the class pointer being NULL for non-raw mpegts.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5081514269 
								
							
								 
							
						 
						
							
							
								
								mpegts: Mark wrongly-sized packets as corrupted  
							
							Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cdb9884a63 
								
							
								 
							
						 
						
							
							
								
								mpegts: Move scan test to handle_packets  
							
							This fixes an issue where packets which start being read
while reading the header stick around after a seek.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce9e31655e 
								
							
								 
							
						 
						
							
							
								
								mpegts: Mark corrupted packets  
							
							Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c64f80b0e8 
								
							
								 
							
						 
						
							
							
								
								mpegts: Reset continuity counter on seek  
							
							Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b9df201df 
								
							
								 
							
						 
						
							
							
								
								mpegts: Fix for continuity counter  
							
							Make continuity counter respect discontinuity flag
and null packets. Unpack the adaptation_field_control field.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be9c00615b 
								
							
								 
							
						 
						
							
							
								
								mpegts: Silence "can't seek" warning on unseekable  
							
							Do not try to seek when we already know we are not allowed to.
Silences warning that always happens when streaming.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								298c4e3c52 
								
							
								 
							
						 
						
							
							
								
								mpegts: remove invalid error check  
							
							mpegts_read_header is used by both mpegts and mpegtsraw, so this
erro check is no longer valid.
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
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