Martin Storsjö
21a569f302
udp: Allow specifying the connect option in udp_set_remote_url, too
...
If the remote address is updated later with this function, the caller
shouldn't set the connect option until in this call.
Originally committed as revision 26245 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
babd19ce2e
rtpproto: Allow specifying the connect option, passed through to udp
...
By calling connect on the UDP socket, only packets from the chosen
peer address and port are received on the socket. This is one
solution to issue 1688.
Originally committed as revision 26244 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
504530bfba
Set blkalign to 3840 (maximum bytes per frame) for AC-3 in avi.
...
Fixes playback for corner-cases like 32kHz 320kb.
Originally committed as revision 26242 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
79d482b108
rtpdec: Don't set RTP timestamps if they already are set by the depacketizer
...
For MS-RTSP, we don't always get RTCP packets (never?), so the earlier
timestamping code never wrote anything into pkt->pts. The rtpdec_asf
depacketizer just sets the dts of the packet, so if the generic RTP
timestamping is used, too, we get inconsistent timestamps.
Therefore, skip the generic RTP timestamp algorithm if the depacketizer
already has set something.
This fixes "Invalid timestamps" warnings, present since SVN rev 26187.
Originally committed as revision 26241 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
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
14 years ago
Stefano Sabatini
7820147e6f
Issue more explicit error messages in compute_pkt_fields2().
...
Originally committed as revision 26238 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
Martin Storsjö
29db7c3af4
rtsp: Parse RTP-Info headers
...
Originally committed as revision 26236 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
4cb06874c7
Reindent
...
Originally committed as revision 26235 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
91d96bd3c0
rtsp: Simplify code
...
Originally committed as revision 26234 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Anton Khirnov
14fa75eab4
lavf: rename meta.h->ffmeta.h for consistency.
...
Originally committed as revision 26211 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
Peter Ross
17e33f662a
wtv: display warning if scrambled stream is detected
...
Originally committed as revision 26197 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Peter Ross
773d892a31
move ff_get_bmp_header under CONFIG_DEMUXERS block
...
Originally committed as revision 26182 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
Carl Eugen Hoyos
548b97a66a
Cosmetics: Re-indent after last commit.
...
Originally committed as revision 26161 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Peter Ross
3900707866
wtv: parse MPEG2 descriptor events
...
Originally committed as revision 26126 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
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
14 years ago
Peter Ross
945df9703b
wtv: use correct names for subtitle and language guids
...
Originally committed as revision 26122 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
Anton Khirnov
bb50ed089f
ffmetaenc: remove useless initializers
...
Originally committed as revision 26114 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
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
14 years ago
Nicolas George
9128ae08b3
Implement av_find_best_stream.
...
Originally committed as revision 26104 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
Anton Khirnov
fd5b124d74
Metadata demuxer.
...
Originally committed as revision 26102 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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
14 years ago
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
14 years ago
Peter Ross
a187c68678
Bump libavformat minor version, forgotten in r26094
...
Originally committed as revision 26095 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago