Daniel Kang
6cbce63650
Fix assertion fail on audio files with invalid sample rates,
...
fixes issue 2475.
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-06 03:30:19 +00:00
Stefano Sabatini
6bbdba08c2
Revert previous commit, as it was not meant to be pushed.
...
Originally committed as revision 26239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-06 01:11:57 +00:00
Stefano Sabatini
7820147e6f
Issue more explicit error messages in compute_pkt_fields2().
...
Originally committed as revision 26238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-06 01:01:21 +00:00
Stefano Sabatini
81bd411965
In av_close_input_stream(), flush the packet queue before to actually
...
close the stream.
This way the flushed packets can still reference the still unclosed
format context.
In particular this fixes a spurious error issued when closing the
video4linux2 buffer in mmap_release_buffer(), which tries to access
the file descriptor of an already closed file.
Originally committed as revision 26237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-06 01:01:14 +00:00
Martin Storsjö
29db7c3af4
rtsp: Parse RTP-Info headers
...
Originally committed as revision 26236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-05 21:23:42 +00:00
Martin Storsjö
4cb06874c7
Reindent
...
Originally committed as revision 26235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-05 21:23:12 +00:00
Martin Storsjö
91d96bd3c0
rtsp: Simplify code
...
Originally committed as revision 26234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-05 21:22:50 +00:00
Martin Storsjö
1726813f13
rtsp: Move resetting of rtpdec parameters to before sending the PLAY request
...
Originally committed as revision 26233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-05 21:22:15 +00:00
Baptiste Coudurier
ab04337464
In ogg muxer, correctly mux VFR streams, fix issue #2398
...
Originally committed as revision 26229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-05 19:32:45 +00:00
Baptiste Coudurier
5e2202d6f3
In mov demuxer, check that gmtime returns a valid value, fix crash, issue #2490
...
Originally committed as revision 26228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-05 19:21:04 +00:00
Baptiste Coudurier
4af7166fb4
In mov demuxer, check that stts data exists, fix crash, issue #2479
...
Originally committed as revision 26227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-05 19:14:44 +00:00
Anton Khirnov
14fa75eab4
lavf: rename meta.h->ffmeta.h for consistency.
...
Originally committed as revision 26211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-04 12:35:39 +00:00
Peter Ross
6780f48846
wtv: obtain codec information from stream2_guid chunks, if present
...
Originally committed as revision 26208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-04 11:38:29 +00:00
Peter Ross
17e33f662a
wtv: display warning if scrambled stream is detected
...
Originally committed as revision 26197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 11:17:34 +00:00
Anssi Hannula
cf99e4aa00
Add AVOption support for muxers.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 10:52:34 +00:00
Anssi Hannula
febd72be65
Use new function put_nbyte() to speed up padding.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 10:46:50 +00:00
Anssi Hannula
17ee8f669f
Add function put_nbyte() to speed up padding in SPDIF muxer.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 10:45:07 +00:00
Martin Storsjö
d2995eb910
rtsp: Store the Content-Base header value straight to the target
...
This avoids having a large temporary buffer in the struct used for
storing the rtsp reply headers.
Originally committed as revision 26192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 10:11:12 +00:00
Martin Storsjö
77223c5388
rtsp: Pass the method name to ff_rtsp_parse_line
...
Originally committed as revision 26191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 10:10:12 +00:00
Martin Storsjö
acc9ed1450
rtsp: Pass RTSPState to ff_rtsp_parse_line, instead of HTTPAuthState
...
This allows ff_rtsp_parse_line to do more changes directly in RTSPState
when parsing the reply, instead of having to store large amounts of
temporary data in RTSPMessageHeader.
Originally committed as revision 26190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 10:07:56 +00:00
Martin Storsjö
3df54c6bf2
rtsp: Add a method parameter to ff_rtsp_read_reply
...
Originally committed as revision 26189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 10:06:21 +00:00
Daniel Kang
7f8ffc4efd
Fix a floating point exception for invalid framerate, fixes issue 2470.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 05:01:46 +00:00
Martin Storsjö
3a1cdcc798
rtpdec: Emit timestamps for packets before the first RTCP packet, too
...
Emitted timestamps in each stream start from 0, for the first received
RTP packet. Once an RTCP packet is received, that one is used for
sync, emitting timestamps that fit seamlessly into the earlier ones.
Originally committed as revision 26187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-01 22:27:16 +00:00
Peter Ross
773d892a31
move ff_get_bmp_header under CONFIG_DEMUXERS block
...
Originally committed as revision 26182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-01 03:24:10 +00:00
Carl Eugen Hoyos
f6bf6e511d
Set blkalign to maximum framesize to allow playback on WMP (see issue 2455 and issue 2446).
...
Originally committed as revision 26167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-30 14:21:14 +00:00
Carl Eugen Hoyos
548b97a66a
Cosmetics: Re-indent after last commit.
...
Originally committed as revision 26161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 23:43:25 +00:00
Anssi Hannula
cc6c0c7b52
Do not add the preamble if the DTS stream is already padded, like DTS in
...
wav. In that case, DTS can be transmitted through S/PDIF without
the IEC 61937 headers.
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 23:42:27 +00:00
Anssi Hannula
d8e481bb86
s/IEC958/IEC 61937 - IEC958 is a lower level format.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 18:48:32 +00:00
Anssi Hannula
836132ec43
Fix wrong bitstream mode for AC-3.
...
Noticed by CrystalP from XBMC.
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 16:48:40 +00:00
Anssi Hannula
a4c8e0a82b
Improve error return values.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 16:42:14 +00:00
Anssi Hannula
977903521e
Always encapsulate DTS in big-endian format, at least some receivers
...
require that.
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 16:34:47 +00:00
Anssi Hannula
e5e932e8b0
Add Anssi and myself to the authors in doxygen.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 16:30:07 +00:00
Peter Ross
3900707866
wtv: parse MPEG2 descriptor events
...
Originally committed as revision 26126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 13:41:10 +00:00
Peter Ross
cc9038e95c
add ff_parse_mpeg2_descriptor; make MPEG2 descriptor parsing routines available to other modules.
...
Originally committed as revision 26125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 12:45:31 +00:00
Peter Ross
0af1671e53
wtv: only warn about unknown subtype, if it actually unknown
...
Originally committed as revision 26123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 10:43:16 +00:00
Peter Ross
945df9703b
wtv: use correct names for subtitle and language guids
...
Originally committed as revision 26122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 03:49:02 +00:00
Michael Niedermayer
7cf0472e6a
Fix assertion failure due to frames being 0 in mp3 vbr bitrate calculation.
...
Fixes issue 2442.
Originally committed as revision 26121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 01:33:36 +00:00
Anton Khirnov
bb50ed089f
ffmetaenc: remove useless initializers
...
Originally committed as revision 26114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-28 09:03:38 +00:00
Anton Khirnov
645439c3c3
lavf: rename meta{dec,enc}.c -> ffmeta{dec,enc}.c
...
Originally committed as revision 26113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-28 09:03:33 +00:00
Martin Storsjö
9e99f84f7d
rtsp: Check if the rtp stream actually has an RTPDemuxContext
...
For example MS-RTSP doesn't have RTPDemuxContexts for all streams.
This fixes issue 2448.
Originally committed as revision 26107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 09:56:19 +00:00
Nicolas George
9128ae08b3
Implement av_find_best_stream.
...
Originally committed as revision 26104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 09:08:20 +00:00
Anton Khirnov
107a7e3e7b
lavf: bump minor and add APIchanges entry after adding AVFMT_NOSTREAMS
...
Originally committed as revision 26103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 07:46:57 +00:00
Anton Khirnov
fd5b124d74
Metadata demuxer.
...
Originally committed as revision 26102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 07:46:53 +00:00
Anton Khirnov
a46515115c
Metadata muxer
...
Dumps all metadata to a text file for easy manual editing.
Originally committed as revision 26101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 07:46:49 +00:00
Anton Khirnov
bb62d5c1f0
Allow output formats without any streams.
...
Required for future metadata format.
Originally committed as revision 26100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 07:46:44 +00:00
Peter Ross
a187c68678
Bump libavformat minor version, forgotten in r26094
...
Originally committed as revision 26095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-26 05:48:38 +00:00
Peter Ross
82ca054a63
Windows Televison (WTV) demuxer
...
Originally committed as revision 26094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-26 01:28:25 +00:00
Peter Ross
a750050f4c
make guid utility function visibile to other modules (ff_guidcmp, ff_get_guid)
...
Originally committed as revision 26093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-26 01:26:29 +00:00
Peter Ross
141de5a9c1
add ff_find_stream_index
...
Originally committed as revision 26092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-26 01:24:51 +00:00
Peter Ross
456a70aeb8
add ff_get_bmp_header
...
Originally committed as revision 26091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-26 01:23:44 +00:00