Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-18ffserver: Try matching the RTSP url without a trailing slashMartin Storsjö
If the client sends PLAY/PAUSE requests with the same url as specified in Content-Base, these requests may have urls with trailing slashes.
2011-02-17Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-02-17Replace remaining uses of parse_date with av_parse_time.Anton Khirnov
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-17ffserver: set the sample aspect ratioNicolas George
Hi. It seems that ffserver sets sample_aspect_ratio to an invalid value and lavf rejects it. I am not sure what I am doing here, but the attached patch actually solves something: using the following config: CustomLog - NoDaemon RTSPPort 5454 <Stream test1-rtsp.mpg> Format rtp File "/tmp/test1-rtsp.mpg" </Stream> it allows a somewhat old ffplay (unaffected by the content-base issue I spoke of in another thread) to play the stream. Without it, ffserver logs this and closes the stream: Wed Feb 16 14:52:14 2011 [rtp @ 0x1399de0]Aspect ratio mismatch between encoder and muxer layer Regards, -- Nicolas George From 1b89c3c2164335060e87567b27deb0d354e0a814 Mon Sep 17 00:00:00 2001 From: Nicolas George <nicolas.george@normalesup.org> Date: Wed, 16 Feb 2011 14:44:31 +0100 Subject: [PATCH] ffserver: set the sample aspect ratio. Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
2011-02-15Merge libavcore into libavutilReinhard Tartler
It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-01-25ffserver: put gcc attribute under proper ifdefMans Rullgard
2011-01-23ffserver: cleanupReinhard Tartler
remove the trivial function do_switch_stream as it doesn't help to make the code easier to understand.
2011-01-07Unbreak ffserverLuca Barbato
Make sure the sample_aspect_ratio is 0 and not 0/0. Originally committed as revision 26254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02rtsp: Pass the method name to ff_rtsp_parse_lineMartin Storsjö
Originally committed as revision 26191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-05Implement get_preset_file() in cmdutils.h and use it to factorize codeStefano Sabatini
from ffmpeg.c and ffserver.c. Originally committed as revision 25679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-15ffserver: use a local MAX_STREAMS limitAurelien Jacobs
Originally committed as revision 25495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-15ffserver: fix prepare_sdp_description() to dynamically allocate streamsAurelien Jacobs
Originally committed as revision 25494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-27Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()Stefano Sabatini
in favor of the newly added corresponding functions av_parse_video_size() and av_parse_video_rate() defined in libavcore/parseutils.h. This change also adds a linking-time dependency of libavcodec and of libavfilter on libavcore. Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08Also use 503 for bandwidth limit exceededHoward Chu
Originally committed as revision 24107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08Fix "server too busy" status codeHoward Chu
Originally committed as revision 24105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27Make ff_url_split() publicMåns Rullgård
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
2010-06-22ffserver: Use avcodec_copy_context instead of manually copying an AVCodecContextMartin Storsjö
Originally committed as revision 23692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-16When reading a stream, should retry on EAGAIN instead of just failing. Also,Howard Chu
when reading a live feed, should retry regardless of whether any client has opened the stream. Originally committed as revision 23621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-08Support presets in ffserver.confHoward Chu
Originally committed as revision 23524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04ffserver: Calculate cur_pts using first_pts as origin instead of ist->start_timeMartin Storsjö
This fixes cases where ist->start_time wasn't initialized. This also makes cur_pts calculated against the same origin for all streams. Originally committed as revision 23450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02ffserver: Allow floating point audio bit ratesMartin Storsjö
This allows setting bit rates that aren't an exact multiple of 1000. Originally committed as revision 23419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25ffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requestsMartin Storsjö
This is needed for QuickTime Player to be able to connect properly. Originally committed as revision 23325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25ffserver: Fix one of the codec parameter checksMartin Storsjö
This is probably what was originally intended; the codec pointers are all NULL. Fix by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25ffserver: Fix streaming with more than one streamMartin Storsjö
Fix by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24ffserver: Fix extradata handlingHoward Chu
Patch by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24ffserver: Fix an out of bounds readMartin Storsjö
Fix by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24ffserver: Fix another memory leakMartin Storsjö
Don't allocate st->codec, it will be overwritten by the memcpy a few lines further down. Fix by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24ffserver: Plug some memory leaksHoward Chu
Patch by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23Make ff_random_get_seed public, rename to av_get_random_seed, export the headerMartin Storsjö
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
2010-05-21ffserver: Avoid busylooping while reading non-blocking inputHoward Chu
Patch by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18Cosmetics: reindentMartin Storsjö
Originally committed as revision 23156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18ffserver: Don't set me_method unconditionallyHoward Chu
Patch by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18ffserver: Write proper GMT date/times in Date headersHoward Chu
Patch by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-17ffserver: Make sure a destination URL is set when creating the SDPMartin Storsjö
Debugged by Howard Chu, hyc at highlandsun dot com. Originally committed as revision 23151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-25Mark av_metadata_set() as deprecated, and use av_metadata_set2()Stefano Sabatini
in its place. av_metadata_set() is going to be dropped at the next major bump. Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-24Implement ffserver.c:report_config_error() and a macro for loggingStefano Sabatini
error messages / updating the error count. Originally committed as revision 22960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-24Statically initialize ffserver.c:config_filename, simplify.Stefano Sabatini
Originally committed as revision 22959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19Make ffserver support rfc3550Luca Barbato
Originally committed as revision 22907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-08Add DynamicACL support for FFserver.Benjamin Larsson
Originally committed as revision 22815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-01Fix FFM-based streaming from ffmpeg to ffserver. The basic problem is thatRonald S. Bultje
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
2010-03-31Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas
Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-31Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini
is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-26Actually parse the auth headers in RTSPMartin Storsjö
Originally committed as revision 22677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08Move resolve_host() to ffserver.cMåns Rullgård
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
2010-03-08Rename url_split to ff_url_splitMartin Storsjö
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
2010-03-08ffserver: remove bogus commentMåns Rullgård
Originally committed as revision 22303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08Remove hacks not required since HAVE_AV_CONFIG_H was unset for the appsMåns Rullgård
Originally committed as revision 22295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08ffserver: do not use intreadwrite.hMåns Rullgård
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
2010-03-06ffserver: use av_stristr()Måns Rullgård
Originally committed as revision 22252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-03Update to work with chunked encoding HTTP streams (as served by FFmpeg sinceRonald S. Bultje
a few months now). Fixes issue 1738. Originally committed as revision 22175 to svn://svn.ffmpeg.org/ffmpeg/trunk