Benjamin Larsson
58f48adb51
Add DynamicACL support for FFserver.
...
Originally committed as revision 22815 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
d9521cb119
Fix FFM-based streaming from ffmpeg to ffserver. The basic problem is that
...
we'd memset() the codec context to zero, thereby setting audio input to U8
and video to YUV420P. For most video encoders, that actually works, but for
most audio codecs, it doesn't. This patch changes defaults to those set by
avcodec_context_get_defaults() and have ffmpeg figure out the optimal encoding
format itself if not set explicitely (as it does for the non-ffserver-cases
also).
Originally committed as revision 22751 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jean-Daniel Dupas
cc947f04cc
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
...
Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 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ö
2626308abb
Actually parse the auth headers in RTSP
...
Originally committed as revision 22677 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
22f73dccad
Move resolve_host() to ffserver.c
...
This deprecated function is only used by ffserver, yet does not have
a prototype visible there.
In the long term, ffserver should be made IPv6-aware. In the meantime,
this change removes cruft from lavf and fixes some warnings in ffserver.
Originally committed as revision 22329 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
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
Måns Rullgård
ffabdaa14a
ffserver: remove bogus comment
...
Originally committed as revision 22303 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6580d5e377
Remove hacks not required since HAVE_AV_CONFIG_H was unset for the apps
...
Originally committed as revision 22295 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
acd0026c0b
ffserver: do not use intreadwrite.h
...
intreadwrite.h is not part of the public API and should thus
not be used by the ff* applications.
Originally committed as revision 22293 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
fd7bec5e3c
ffserver: use av_stristr()
...
Originally committed as revision 22252 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
19c8c4ecf4
Update to work with chunked encoding HTTP streams (as served by FFmpeg since
...
a few months now). Fixes issue 1738.
Originally committed as revision 22175 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
3307e6ea86
Prefix non-static RTSP functions with ff_.
...
Originally committed as revision 21974 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
7f6a384a4f
Mark http_log() as static; it is only used in this file.
...
Originally committed as revision 21017 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
aa13b573b4
Use av_match_ext() in place of the deprecated match_ext() function.
...
Originally committed as revision 21000 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
0f52ef1a00
Use av_guess_format() in place of the deprecated guess_format().
...
Originally committed as revision 20994 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1642ee4337
Deprecate and mark for deletion the function guess_stream_format(),
...
and clone its code to ffserver_guess_format() in ffserver.c.
guess_stream_format() is hackish since it relies on some undocumented
properties of the name of the muxers (wich is currently only relevant
for the ASF muxer), and has no use outside ffserver.c.
Originally committed as revision 20987 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
992f8eaee7
Factorize common commandline options definition.
...
Originally committed as revision 20664 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8447f0bd74
Split show_formats().
...
Originally committed as revision 20553 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
43d160fd00
Prefer "loglevel" over "logging level number or string" as argname of
...
the loglevel command line option.
Make the loglevel option help message more clear, since the option
argument is shown as a single token, and make the whole message better
aligned with the other help messages.
Originally committed as revision 20149 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
a392f82a3a
Remove disabled code cruft.
...
Originally committed as revision 20087 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
7087a0f525
Add a -loglevel command line option to ffserver.
...
The -loglevel option makes possible to set the logging level used by
the libav* libraries.
Originally committed as revision 20035 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benjamin Larsson
c64c0a9b76
Move get_arg to avoid future declaration of function when
...
new code is added.
Originally committed as revision 19815 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
5e567aae48
Consistently lowercase all HTML tags.
...
Originally committed as revision 19464 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
64159a588b
check if feed max file size is too small
...
Originally committed as revision 18109 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
1f611549e2
cosmetics, reindent and remove empty line
...
Originally committed as revision 18108 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
861ec13aae
new Truncate option which will make feeder truncate feed file
...
Originally committed as revision 18107 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
85fe4ae0d0
do not call av_find_stream_info if stream is ffm, should fix stalling
...
Originally committed as revision 18104 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
0bdd8b858f
send busy reply if max connections number is exceeded
...
Originally committed as revision 18103 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
7e24aa0c13
adjust write index if not set
...
Originally committed as revision 18097 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
20f93c3ccf
check av_find_stream_info return value
...
Originally committed as revision 18060 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
77553ae360
uniformize log messages and add some more
...
Originally committed as revision 18059 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
042819c520
use lfg and ff_random_get_seed instead of deprecated av_random
...
Originally committed as revision 18058 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
637af098fd
check if feed and stream already exist before registering new one
...
Originally committed as revision 18057 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
49ceb58bf6
Bump major version of libavutil due to FIFO fixes.
...
The current API/ABI should not be considered stable yet, further ABI/API
breakage is possible without major bumps.
Originally committed as revision 17871 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
5ee999b8e7
convert ffserver to new metadata API
...
Originally committed as revision 17685 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
d8f28a7727
add bandwidth before failing if feed is already being received
...
Originally committed as revision 17516 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
0047372722
do not set error if an unknown parameter is in config file, just skip
...
Originally committed as revision 17515 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
a9e534d561
Rename RTSPHeader to RTSPMessageHeader to reflect more clearly what the
...
structure is meant to represent. See "[PATCH] rtsp.[ch]: RTSPHeader ->
RTSPServerResponse" and "[PATCH] document rtsp.h" threads on ML.
Originally committed as revision 17504 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
d541a7d2d1
Change sizeof(struct_type) to sizeof(variable).
...
Originally committed as revision 17474 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Patrik Kullman
2779cdad07
Check return value of ffm_write_write_index and ffm_read_write_index.
...
Patch by Patrik Kullman, patrik at yes dot nu
Originally committed as revision 17174 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8e2fd8e1d4
Replace the calls to the deprecated av_alloc_format_context() with
...
corresponding calls to avformat_alloc_context().
Originally committed as revision 17048 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
Ronald S. Bultje
b516ecdd12
Delete an enum and a function typedef that aren't used anywhere, and
...
move move a struct/typedef in rtsp.h that is only used in ffserver.c into
ffserver.c. See "[PATCH] rtsp.h: move/remove unused thingies" thread on ML.
Originally committed as revision 17005 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
cf2c671f82
Add 'void' keyword to parameterless function declaration.
...
Originally committed as revision 16861 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9c868219e9
Replace calls to the deprecated function av_init_random() with
...
corresponding calls to av_random_init().
Originally committed as revision 16682 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
2bb6eba21d
remove ff_get_fourcc() and use AV_RL32() instead
...
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
959da985b0
Include libavformat/avformat.h before all the other libav* headers.
...
This is safer since they may use the symbol LIBAVFORMAT_BUILD defined
in avformat.h.
Originally committed as revision 16589 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
1d6eeebe08
initialize AVFormatContext before calling av_write_header()
...
Originally committed as revision 16505 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago