Reimar Döffinger
326851b9bc
Add muxer for IVF format.
14 years ago
John Wimer
b79c3df088
prevent integer overflow in calculating duration
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Janne Grunau
348b8218f7
convert svn:ignore properties to .gitignore files
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Michael Niedermayer
8bb7d97be0
Check 4xm headers for validity. This should avoid 1/0.
...
Originally committed as revision 26392 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
f9329946d0
Parse fact chunks from wav files to find duration.
...
Originally committed as revision 26370 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
724b1f6a05
Factor tag reading code out of wav read_header()
...
Originally committed as revision 26369 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
462b26202b
Set duration for wav files from sample size and data size or the wf64 sample value.
...
This should improve duration accuracy slightly and avoids a warning about its
inaccuracy when accurate values are available. Idea by Frank Barchard
Originally committed as revision 26366 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
6dc7dc08ed
In mxf muxer, check the return value of gmtime, fix #2494
...
Originally committed as revision 26343 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
06ed024d4f
Copy metadata from ASF files contained in RTSP streams from ASF to RTSP layer,
...
so that applications can read it also.
Originally committed as revision 26332 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
7f88a5bf9b
Introduce av_metadata_copy() to copy metadata from one struct to another.
...
Originally committed as revision 26330 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
b070bcfe8a
wtv: ignore VIDEOINFOHEADER2 picture aspect ratio information, as it is unreliable
...
Originally committed as revision 26327 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
c66f53cf8b
Revert aviobuf: Retry if the read/write function returns AVERROR(EAGAIN)
...
This reverts SVN commit 26318, which broke MS-RTSP playback.
Originally committed as revision 26326 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
0d3ee13551
Use AVERROR_INVALIDDATA rather than -1 for nutdec error codes.
...
Originally committed as revision 26321 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
a6963f8304
aviobuf: Retry if the read/write function returns AVERROR(EAGAIN)
...
Originally committed as revision 26318 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
c3024f9e7e
In mov demuxer, handle better wrong time scale, fix issue #2528
...
Originally committed as revision 26311 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
f6253caf8b
In mov demuxer, set r_frame_rate for cfr files
...
Originally committed as revision 26310 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
e048a9cab1
Do not crash for illegal sample size, fixes issue 2502.
...
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26309 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
440d761e40
Clarify timestamps related error messages in compute_pkt_fields2().
...
Originally committed as revision 26308 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
1c4ac03530
electronicarts: prevent endless loop opportunity in process_audio_header_elements()
...
Fixes issue2529.
Originally committed as revision 26307 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
74093bb593
revert r26302
...
Originally committed as revision 26305 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
e19e051e56
electronicarts: prevent endless loop opportunity in process_audio_header_elements()
...
Fixes issue2529.
Originally committed as revision 26302 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
42396c2e67
electronicarts: only apply audio sanity checks when audio stream is present
...
Originally committed as revision 26301 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
cb77dad724
perform sanity check on sample rate in electronicarts demuxer
...
Fixes issue2525
Original patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26298 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Kang
4da766ce65
perform sanity check on number of channels in electronicarts demuxer
...
Fixes issue2514
Original patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26296 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
a3b058b7ba
rtsp: Properly fail if unable to open an input RTP port
...
Originally committed as revision 26285 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
5a477e5960
fix indentation
...
Originally committed as revision 26278 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
866009ea19
wtv: only process timestamp_guid chunks for streams that we know about
...
Originally committed as revision 26277 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
a5a36a7970
wtv: do not repopulate codec information after we have seen data chunks
...
Originally committed as revision 26276 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
bf2e54174e
wtv: stop processing chunks if length is smaller than chunk header
...
Originally committed as revision 26275 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
9372f31e03
wtv: fix typo
...
Originally committed as revision 26274 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Peter Ross
50d83b2005
Add audio codec 0x1602 (AAC LATM)
...
Originally committed as revision 26273 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
d267b339e4
Lagarith decoder by Nathan Caldwell, saintdev at gmail
...
Originally committed as revision 26270 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
a2b7ed3274
In mov muxer, override codec tag for dv in mov, fix remuxing from avi
...
Originally committed as revision 26257 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
10d8eac98d
In mov muxer, override codec tag for h263 in mov, fix remuxing from 3gp
...
Originally committed as revision 26255 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
a92c30d76e
rtsp: Allow requesting of filtering of source packets
...
If filtered, only packets from the right source address and port
are received.
To test, play back e.g. some mpeg4 video RTSP stream (where the
video stream is the first stream in the presentation) over UDP.
While receiving this stream, send another stream to the same port:
ffmpeg -re -i <whatever> -vcodec mpeg4 -an -f rtp
rtp://127.0.0.1:5000?localport=1234
Normally, the RTSP playback reports lots of errors at this point.
If the RTSP stream has the ?filter_src option enabled, these
interferring packets are ignored.
Originally committed as revision 26246 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
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