Commit Graph

218 Commits

Author SHA1 Message Date
Baptiste Coudurier 78728064c3 fix got_key_frame when stream is audio
Originally committed as revision 13552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 02:32:58 +00:00
Baptiste Coudurier 0332f54945 set got_key_frame when packet is video, fix first video packet with index 0 and 2 streams
Originally committed as revision 13551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 02:26:07 +00:00
Baptiste Coudurier 3766ed7214 log error when writing frame to output
Originally committed as revision 13548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 01:46:57 +00:00
Baptiste Coudurier c1593d0e56 wake up connections to stop waiting when feed is being closed
Originally committed as revision 13547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 01:46:06 +00:00
Baptiste Coudurier 084a891292 fix timestamps rescaling, index in source format might be different
Originally committed as revision 13546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 01:44:35 +00:00
Baptiste Coudurier 929a9b7544 log some errors
Originally committed as revision 13544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 00:50:39 +00:00
Baptiste Coudurier 58bd615ff5 set is_streamed before writing data to output file
Originally committed as revision 13543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 00:21:42 +00:00
Baptiste Coudurier 3b37167691 cosmetics, reindent
Originally committed as revision 13541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 23:11:25 +00:00
Baptiste Coudurier 1cb4d12c72 cosmetics, move declaration where it is used, remove now useless block
Originally committed as revision 13540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 23:09:29 +00:00
Baptiste Coudurier 369074680e use av_parse_video_frame_rate
Originally committed as revision 13537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 17:24:22 +00:00
Diego Biurrun 1ab05d37ff Remove unnecessary #include.
Originally committed as revision 13532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 15:13:47 +00:00
Erik Hovland f094b6627d Remove unnecessary header #includes.
Extracted from a patch by Erik Hovland, erik hovland org.

Originally committed as revision 13531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 13:40:43 +00:00
Stefano Sabatini ea9c581f61 Simplify show_banner() so that it does not require arguments, similar
to what was previously done with show_version().
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 08:48:51 +00:00
Baptiste Coudurier 9667a2d268 reindent
Originally committed as revision 13525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 02:32:02 +00:00
Baptiste Coudurier a9c1bb711b check that redirect is set, fixes CID13 RUN2
Originally committed as revision 13524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 02:31:35 +00:00
Baptiste Coudurier 7e183a93d8 reindent
Originally committed as revision 13523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 02:29:33 +00:00
Baptiste Coudurier ce651af2b2 check that stream is set, fixes CID13 RUN2
Originally committed as revision 13522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 02:28:33 +00:00
Baptiste Coudurier 5735f6dca0 check if stream has been set, fixes CID15 RUN2
Originally committed as revision 13521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 02:11:46 +00:00
Baptiste Coudurier 75480e86ba init h, fixes CID54 RUN2
Originally committed as revision 13520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 01:59:44 +00:00
Baptiste Coudurier 3fb53d55db remove dummy coded frame, no muxer should use it anyway
Originally committed as revision 13497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 17:04:45 +00:00
Baptiste Coudurier c351cc7f57 better error message
Originally committed as revision 13370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 00:12:53 +00:00
Baptiste Coudurier f61d45c99e better error message
Originally committed as revision 13272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 02:34:19 +00:00
Baptiste Coudurier 1692008f51 latest libavc svn requires at least this value for bit_rate_tolerance, not using av_q2d because of float
Originally committed as revision 13271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 02:19:46 +00:00
Stefano Sabatini f346033e9d Add -formats option to ffserver.
Patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 13245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 07:14:28 +00:00
Stefano Sabatini 8117c97e12 Implement ffserver -version.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 09:48:34 +00:00
Michael Niedermayer 20176cbc73 Get rid of more senseless wrapper functions and use OPT_EXIT instead.
Originally committed as revision 13233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:41:17 +00:00
Michael Niedermayer 64555bd9b1 Do not pass program_name as argument to show_version(), this allows some
future simplifications.

Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 23:36:32 +00:00
Baptiste Coudurier c4355f4eaa open logfile in append mode, don't overwrite it
Originally committed as revision 13223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 20:56:22 +00:00
Baptiste Coudurier 8a0b55ff35 do not forget to free packet, fix memleak
Originally committed as revision 13222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 20:50:41 +00:00
Stefano Sabatini 5a635bc729 Make ffserver use parse_options().
Patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 13219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 17:55:54 +00:00
Stefano Sabatini e6375662db cosmetics: Make 'ffserver -h' output consistent with other ff* tools.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 13:22:14 +00:00
Diego Biurrun 245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Luca Abeni f8cda19ee6 Include poll.h instead of sys/poll.h
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 12:51:14 +00:00
Aurelien Jacobs 815f98cce4 non-const 2nd parameter for strtol/strtod
Originally committed as revision 11803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 00:54:37 +00:00
Diego Biurrun 8bfb108b3e comment typo fixes
Originally committed as revision 11294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 11:50:18 +00:00
Aurelien Jacobs 17e45b377c pb->buf_end is already set by url_open_buf()
Originally committed as revision 11277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 23:29:26 +00:00
Michael Niedermayer 562b216307 avoid using first_avcodec
Originally committed as revision 11205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 18:47:58 +00:00
Michael Niedermayer 90901860c2 stupid code (casting of void*) found by checktree.sh
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:19:44 +00:00
Dave Yeo 93115b82f0 Add #include "os_support.h" to restore OS/2 support.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 11:42:09 +00:00
Björn Axelsson 899681cd1d Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Luca Abeni c971ff1977 Remove the inclusion of rtsp.h and rtp.h from avformat.h, and
explicitly include such headers where needed

Originally committed as revision 10871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-29 09:15:35 +00:00
Stefano Sabatini 8eb1c1cd5b Remove redundant banner output from ffserver.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Date: Sat, 29 Sep 2007 13:45:12 +0200
Subject: [FFmpeg-devel] [PATCH] Remove redundant banner output from ffserver

Originally committed as revision 10629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 04:09:10 +00:00
Stefano Sabatini 3578e9a072 Make ffserver show a banner at startup.
Patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 10607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-28 15:09:06 +00:00
Stefano Sabatini 86074ed1b7 Implement common show version and banner.
Patch by Stefano Sabatini [stefano sabatini-lala poste it]

Originally committed as revision 10600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 06:38:40 +00:00
Stefano Sabatini f94361612a Make parse_date return INT64_MIN in case of unparsable input.
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]
Original thread:
[FFmpeg-devel] [PATCH] Enhace documentation forlibavformat/utils.c:parse_date
Date: 08/17/2007 09:40 PM

Originally committed as revision 10533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-19 12:38:07 +00:00
Luca Abeni 25e3e53d40 Fix an ffserver crash when a non-existing rtsp: url is requested
Originally committed as revision 10519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 12:47:44 +00:00
Luca Abeni 9dc0bc3dad Use AVFMT_FLAG_GENPTS for the input file (the RTP output format needs all the
PTSs to be set)

Originally committed as revision 10514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 07:50:04 +00:00
Aurelien Jacobs b156b88c13 rtp and rtsp demuxer declarations are not part of public API
Originally committed as revision 10474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 22:48:42 +00:00
Stefano Sabatini 4ce5df0856 Make ffserver use cmdutils.c show_license function
patch by Stefano Sabatini: [stefano sabatini minus lala ! poste it]

Originally committed as revision 10183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:10:25 +00:00
Luca Abeni 89da5781a1 Call av_find_stream_info() immediately after opening an input file.
Needed to avoid reading the same TS two times at the beginning of the
file (whic resulted in an "error, non monotone timestamps..." when
streaming RTP from a file)

Originally committed as revision 10148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 07:17:39 +00:00