579fd87b46 
								
							
								 
							
						 
						
							
							
								
								rtpenc: Support packetizing iLBC  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d77f4afa98 
								
							
								 
							
						 
						
							
							
								
								rtpenc: Allow requesting H264 RTP packetization mode 0  
							
							This requires all NAL units to fit within single RTP packets. It
doesn't change the actual packetization for packets that fit, but
errors out and gives a helpful hint if the NAL units would have to
be split, and signals the right packetization mode in the SDP.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a92be9b856 
								
							
								 
							
						 
						
							
							
								
								Replace memset(0) by zero initializations.  
							
							Also remove one pointless zero initialization in rangecoder.c. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4584f3c1f 
								
							
								 
							
						 
						
							
							
								
								rtpenc: Allow packetizing H263 according to the old RFC 2190  
							
							According to newer RFCs, this packetization scheme should only
be used for interfacing with legacy systems.
Implementing this packetization mode properly requires parsing
the full H263 bitstream to find macroblock boundaries (and knowing
their macroblock and gob numbers and motion vector predictors).
This implementation tries to look for GOB headers (which
can be inserted by using -ps <small number>), but if the GOBs
aren't small enough to fit into the MTU, the packetizer blindly
splits packets at any offset and claims it to be a GOB boundary
(by using Mode A from the RFC). While not correct, this seems
to work with some receivers.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7181c4edee 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove extra newlines at EOF  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d911bb404 
								
							
								 
							
						 
						
							
							
								
								lavf: remove disabled FF_API_SDP_CREATE cruft  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ebd4083e1 
								
							
								 
							
						 
						
							
							
								
								sdp: Restore the original mp4 format h264 extradata if converted  
							
							If the sdp is generated before the rtp muxer is initialized
(e.g. as when called from the rtsp muxer), this has to be done,
otherwise the rtp muxer doesn't know that the input really is
in mp4 format.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								04403ec2e4 
								
							
								 
							
						 
						
							
							
								
								rtpenc: Add support for G726 audio  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2cf4bd7751 
								
							
								 
							
						 
						
							
							
								
								sdp: Fix null pointer dereference with aac and ffserver.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								357db4c263 
								
							
								 
							
						 
						
							
							
								
								lavc: use avpriv_ prefix for ff_split_xiph_headers.  
							
							It's used in lavf. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59a9a23581 
								
							
								 
							
						 
						
							
							
								
								lavc: use avpriv_ prefix for some mpeg4audio symbols used in lavf.  
							
							Specifically, ff_mpeg4audio_sample_rates, ff_mpeg4audio_get_config and
ff_copy_pce_data 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9152880e95 
								
							
								 
							
						 
						
							
							
								
								rtpenc: Add a payload type private option  
							
							Specifying the payload type is useful when the type number has
already been negotiated before creating the stream, for example
in SIP protocol.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c378ea1f7 
								
							
								 
							
						 
						
							
							
								
								rtp: factorize  dynamic payload type fallback  
							
							Move the identical code in rtp_write_header() and
ff_sdp_write_media() inside ff_rtp_get_payload_type()
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9c434ce826 
								
							
								 
							
						 
						
							
							
								
								sdp: Reindent after the previous commit  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0832122880 
								
							
								 
							
						 
						
							
							
								
								rtpenc: MP4A-LATM payload support  
							
							This is enabled with an AVOption on the RTP muxer. The SDP
generator looks for a latm flag in the rtpflags field.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0558e266a2 
								
							
								 
							
						 
						
							
							
								
								sdp: Allow passing an AVFormatContext to the SDP generation  
							
							Options from the AVFormatContext can be read for modifying
the generated SDP.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d67e424f 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of now deprecated metadata functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6efb29686f 
								
							
								 
							
						 
						
							
							
								
								Reindent  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef409645f0 
								
							
								 
							
						 
						
							
							
								
								rtpenc: MP4A-LATM payload support  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								abe9363889 
								
							
								 
							
						 
						
							
							
								
								sdp: Allow passing AVFormatContext flags to the SDP generation  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c234d40bd9 
								
							
								 
							
						 
						
							
							
								
								lavf: rename a parameter of av_sdp_create from buff->buf  
							
							This is more consistent with the rest of the API. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3675dfe1e 
								
							
								 
							
						 
						
							
							
								
								lavf: rename avf_sdp_create to av_sdp_create.  
							
							The new name is more consistent with the rest of the API. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b98107c8d 
								
							
								 
							
						 
						
							
							
								
								Move find_info_tag to lavu and add av_ prefix to it  
							
							Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit ab0287fcbd 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab0287fcbd 
								
							
								 
							
						 
						
							
							
								
								Move find_info_tag to lavu and add av_ prefix to it  
							
							Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b14ec5fae 
								
							
								 
							
						 
						
							
							
								
								sdp: Add a framesize attribute to H.263 SDP descriptions  
							
							While not mentioned in RFC 4629, this is required for H.263 in
3GPP TS 26.234. It is in practice required for playback with
Android stagefright and on Samsung bada phones.
Originally committed as revision 26062 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								095e5c0b6d 
								
							
								 
							
						 
						
							
							
								
								sdp: Conditionally compile code using AF_INET6  
							
							Should fix compilation in environments unaware of IPv6.
Originally committed as revision 25528 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6898677e54 
								
							
								 
							
						 
						
							
							
								
								sdp: Only specify the TTL for IPv4 addresses  
							
							According to RFC 4566, a TTL value must not be present for IPv6 multicast.
Originally committed as revision 25412 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								87b2b40a33 
								
							
								 
							
						 
						
							
							
								
								Reindent  
							
							Originally committed as revision 25390 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								10105c9b29 
								
							
								 
							
						 
						
							
							
								
								sdp: Don't require the explicit ?multicast option  
							
							No such option is used anywhere else. Instead, detect the address type.
Originally committed as revision 25389 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0048a2a8d3 
								
							
								 
							
						 
						
							
							
								
								Handle G.722 in RTP, and all the exceptions mandated in RFC 3551  
							
							Originally committed as revision 25125 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f06d6c751f 
								
							
								 
							
						 
						
							
							
								
								Make stub version of ff_sdp_write_media() match its prototype  
							
							Used when compiled without CONFIG_RTP_MUXER
Fallout from r24915
Originally committed as revision 24935 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a8693ef59 
								
							
								 
							
						 
						
							
							
								
								Reindent  
							
							Originally committed as revision 24919 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ad526d288 
								
							
								 
							
						 
						
							
							
								
								Simplify resolve_destination in sdp.c further, now that we don't enforce IPv4 any longer  
							
							Originally committed as revision 24918 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1272ae7e50 
								
							
								 
							
						 
						
							
							
								
								10l, add new function parameters to resolve_destination for !config_network too  
							
							Originally committed as revision 24917 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc83027c67 
								
							
								 
							
						 
						
							
							
								
								Reindent, rewrap lines  
							
							Originally committed as revision 24916 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ad1dc5447 
								
							
								 
							
						 
						
							
							
								
								Properly handle IPv6 addresses in the SDP generation  
							
							Originally committed as revision 24915 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b18d94cb3 
								
							
								 
							
						 
						
							
							
								
								Add RTP packetization of VP8  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 24797 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5c4bb989d 
								
							
								 
							
						 
						
							
							
								
								rtpenc_xiph: Set the ident value via a define  
							
							Originally committed as revision 24749 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91af5601c1 
								
							
								 
							
						 
						
							
							
								
								Add RTP packetization of Theora and Vorbis  
							
							Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 24735 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3bfe388b5 
								
							
								 
							
						 
						
							
							
								
								Make ff_url_split() public  
							
							ff_url_split() is retained as an alias, as it was used by ffserver,
to avoid breaking ABI compatibility with it.
Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ede13f55f0 
								
							
								 
							
						 
						
							
							
								
								Use a bitstream filter for converting the extradata syntax when generating an SDP.  
							
							This allows to generate correct SDPs for H.264 video in "MP4 syntax".
Originally committed as revision 23572 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0341b6994a 
								
							
								 
							
						 
						
							
							
								
								Make ff_sdp_write_media a lavf-internal function  
							
							This is in preparation for RTP hinting in the MOV muxer, where
it needs to be able to create SDP fragments for each media stream.
Originally committed as revision 23160 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								ddbeb95447 
								
							
								 
							
						 
						
							
							
								
								Add a lowercase parameter to ff_data_to_hex  
							
							Originally committed as revision 22665 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c5c6e67c28 
								
							
								 
							
						 
						
							
							
								
								Rename url_split to ff_url_split  
							
							Since this function isn't in the public API, it should have an ff_ prefix.
Originally committed as revision 22321 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								51a269cd97 
								
							
								 
							
						 
						
							
							
								
								Make sure the destination address is written as an IP address in the SDP  
							
							Patch by Martin Storsjo (martin AT martin DOT st)
Originally committed as revision 21163 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ea7f03aa0 
								
							
								 
							
						 
						
							
							
								
								Always set the destination address even if no port was found.  
							
							Patch by Martin Storsjo (martin AT martin DOT st)
Originally committed as revision 21057 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c47b0738b5 
								
							
								 
							
						 
						
							
							
								
								Check the URL used for the SDP destination.  
							
							Patch by Martin Storsjo (martin AT martin DOT st)
Originally committed as revision 21056 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6399c17d54 
								
							
								 
							
						 
						
							
							
								
								Use different dynamic payload types for audio and video.  
							
							Originally committed as revision 20940 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago