Rafaël Carré
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>
13 years ago
Nicolas George
355ac7ff6c
rtpenc: use avcodec_get_name to report unsupported codecs.
14 years ago
Anton Khirnov
dfc2c4d900
lavf: use designated initialisers for all (de)muxers.
...
It's more readable and less prone to breakage.
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Martin Storsjö
635fac9af1
rtpenc: Declare the rtp flags private AVOptions in rtpenc.h
...
This allows other muxers that chain a RTP muxer to declare
the same options easily.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Juan Carlos Rodriguez
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
Juan Carlos Rodriguez
ef409645f0
rtpenc: MP4A-LATM payload support
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
b7f2fdde74
avio: rename put_flush_packet -> avio_flush
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
718975aa11
avio: deprecate url_fget_max_packet_size
...
AVIOContext.max_packet_size should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e8bb2e2439
)
14 years ago
Anton Khirnov
e8bb2e2439
avio: deprecate url_fget_max_packet_size
...
AVIOContext.max_packet_size should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
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
Anton Khirnov
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
Luca Barbato
9ef5a9deaf
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb
)
14 years ago
Luca Barbato
dfd2a005eb
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
14 years ago
Diego Elio Pettenò
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
Diego Elio Pettenò
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
Martin Storsjö
35b0169484
RTP/VP8: Update the warning about the VP8 payload
...
The current implementation is incompatible with the latest spec drafts,
this should be communicated clearly to the user.
Originally committed as revision 25887 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
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
14 years ago
Josh Allmann
7f3468d392
rtp: Replace hardcoded RTCP packet types with defines
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 24912 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
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
Josh Allmann
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
Måns Rullgård
81f460a373
rtpenc: remove unnecessary #include unistd.h
...
Originally committed as revision 24071 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Abeni
8a2679ada4
Simplify (no need to check for st->codec->extradata) and correct
...
(extradata_size must be at least 5 bytes) the H.264 MP4 syntax check
in rtpenc.c
Originally committed as revision 23638 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Abeni
8b889b3480
If the video stream is H.264 with MP4 syntax, store the NAL lenght size in
...
the RTP muxer context (it will be used later for splitting frames in NALs)
Originally committed as revision 23625 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
576fb48e6d
Make ff_random_get_seed public, rename to av_get_random_seed, export the header
...
Keep an old ff_ named function for binary compatibility until the
next major bump.
Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
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
Martin Storsjö
4c1202f76e
Initialize ssrc and base_timestamp using ff_random_get_seed()
...
Originally committed as revision 22706 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
b1d55e5e4f
Use AVFormatContext.start_time_realtime in the RTP muxer
...
Originally committed as revision 22543 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
594a9aebbe
Make the ntp_time function available to other parts of libavformat, as ff_ntp_time
...
Originally committed as revision 22438 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Timo Teräs
4e8052ddad
Fix syncronisation for streams with a high encoding delay.
...
Patch by Timo Teräs (timo DOT teras AT iki DOT fi)
Originally committed as revision 21743 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Abeni
3f60d2d327
Remove the inclusion of unneeded headers
...
Originally committed as revision 21193 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Abeni
759dc2b6cc
Remove outdated comments.
...
Originally committed as revision 20983 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Abeni
d3d1eae659
Remove a useless local variable.
...
Originally committed as revision 20946 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Abeni
cd7bfe4079
Remove outdated comment
...
Originally committed as revision 20945 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Abeni
b3fbe02c86
Remove an unneeded local variable.
...
Originally committed as revision 20944 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Abeni
6399c17d54
Use different dynamic payload types for audio and video.
...
Originally committed as revision 20940 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Martin Storsjö
08e696c0b2
Add support for AMR audio in the RTP muxer
...
patch by Martin Storsjö (martin AT martin DOT st)
Originally committed as revision 18375 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Martin Storsjö
9edfaf3c6c
Add support for H.263 video in the RTP muxer
...
patch by Martin Storsjö (martin AT martin DOT st)
Originally committed as revision 18347 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
0766c3ee98
Make rtp_write_header() fail in case of unsupported payload type
...
Originally committed as revision 18204 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
0550b58f4e
Rename rtp_get_payload_type() to ff_rtp_get_payload_type(), as it is not
...
a static function
Originally committed as revision 17364 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
d3536678dc
Do not use RTP_MAX_PACKET_LENGTH in the RTP muxer
...
Originally committed as revision 17022 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
17a5894a23
Merge rtp_aac.h and rtp_mpv.h in rtpenc.h
...
Originally committed as revision 17020 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
302879cb36
Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h
...
Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
21da81d784
Introduce a new num_frames field in RTPDemuxContext so that rtp_aac.c
...
does not need to abuse read_buf_index
Originally committed as revision 17004 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
20631a9c15
Merge rtp_internal.h in rtp.h, and remove rtp_internal.h
...
Originally committed as revision 16817 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
e8420626d0
RTP: use dprintf(), allow compilation with -DDEBUG
...
Originally committed as revision 14211 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
f6f848397a
Remove outdated comment
...
Originally committed as revision 14107 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago