Michael Niedermayer
63455b8c7e
bgr/rgb444 for nut
...
Originally committed as revision 23504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 11:43:53 +00:00
Reimar Döffinger
48b5a2fa98
Support AVFMT_FLAG_IGNIDX in gxf demuxer.
...
Originally committed as revision 23502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 10:51:06 +00:00
Michael Niedermayer
7686ab07ac
Fix muxing rgb rawvideo in avi regression.
...
Originally committed as revision 23500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-05 23:13:52 +00:00
Martin Storsjö
fc490fcf71
Cosmetics: Reindent/align/wrap
...
Originally committed as revision 23498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-05 19:49:55 +00:00
Josh Allmann
d0382374b7
RTSP: Propagate errors up from ff_rtsp_send_cmd*
...
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-05 19:45:46 +00:00
Martin Storsjö
c453d1bb8c
Remove unused local variables
...
Originally committed as revision 23496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-05 19:43:57 +00:00
Josh Allmann
b8c2c41d66
RTSP: Add a second URLContext for outgoing messages
...
Done in preparation for RTSP over HTTP.
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-05 19:41:43 +00:00
Baptiste Coudurier
414ba8e35f
More mov rawvideo fourcc
...
Originally committed as revision 23480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 23:31:46 +00:00
Baptiste Coudurier
a7cc89e2f6
fix raw 555 pixel format, add abgr fourcc
...
Originally committed as revision 23479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 23:30:58 +00:00
David Conrad
e7ddafd515
matroskaenc: Don't write a second seekhead for the clusters; mkvalidate agrees
...
with me that it's unnecessary.
Originally committed as revision 23478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:41:11 +00:00
David Conrad
d06735a34a
matroskaenc: Check that tracks was allocated
...
Originally committed as revision 23477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:41:06 +00:00
David Conrad
1f4280e744
matroskaenc: Use av_get_random_seed -> lfg for segment UID
...
Originally committed as revision 23476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:41:03 +00:00
David Conrad
4a6bef1f36
matroskaenc: Make put_ebml_binary take a void pointer
...
Originally committed as revision 23475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:40:58 +00:00
James Zern
316d6c153c
Add WebM muxer
...
Patch by James Zern <jzern at google>
Originally committed as revision 23474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:40:54 +00:00
James Zern
ac9baa716b
matroskaenc: Mux clusters better
...
Start them on keyframes when reasonable, and delay writing audio packets
to help ensure that there's audio samples available for the first frame in
clusters.
Patch by James Zern <jzern at google>
Originally committed as revision 23473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:40:50 +00:00
Anton Khirnov
160c896c38
metadata: mention how to remove tags.
...
Patch by Anton Khirnov, wyskas at gmail
Originally committed as revision 23468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 13:52:45 +00:00
Anton Khirnov
acf85d7b9d
reindent after previous commit.
...
Patch by Anton Khirnov, wyskas at gmail
Originally committed as revision 23467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 07:33:34 +00:00
Anton Khirnov
795c6a6b1f
metadata: make conversion to the same format a noop.
...
Patch by Anton Khirnov, wyskas at gmail
Originally committed as revision 23466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 07:32:09 +00:00
Martin Storsjö
35d8ecc54e
rtspenc: Write the interleaving header in the same buffer as the packet data
...
Originally committed as revision 23465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 06:42:39 +00:00
Martin Storsjö
dd798dcd11
http: Set http_code to 200 when doing a POST
...
This avoids reading and comparing uninitialized memory.
Originally committed as revision 23464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 06:35:12 +00:00
Howard Chu
784824a68c
Use AV_BASE64_SIZE() macro
...
Originally committed as revision 23462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 01:15:41 +00:00
kemuri
f1dfaa7a82
win32: Use _fstati64() instead of plain old fstat() on Windows to support file
...
sizes greater than 4gb.
Patch by kemuri <kemuri9 at gmail dot com>
Originally committed as revision 23448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 20:41:04 +00:00
Martin Storsjö
3c80491daa
httpauth: Fix the length passed to av_strlcat
...
Since the buffer always was large enough, this bug didn't have any
effect in practice.
Originally committed as revision 23447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 20:31:29 +00:00
Luca Barbato
48790d8ba8
Remove stray and possibly wrong line, rtpdec.c sets that already
...
Originally committed as revision 23440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-03 16:51:29 +00:00
Stefano Sabatini
fa58643993
Make write_streamheader() log a message if there is no codec tag
...
defined.
Originally committed as revision 23434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 21:57:40 +00:00
Stefano Sabatini
ffd5f09844
Make write_streamheader() return a meaningful error code if no codec
...
tag is defined, rather than return -1.
Originally committed as revision 23433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 21:57:37 +00:00
Stefano Sabatini
fc0c41240e
Make write_header() and write_headers() return an error code in case of
...
error.
Originally committed as revision 23432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 21:57:35 +00:00
Stefano Sabatini
da9e6c4295
Make write_streamheader() and write_headers() accept an
...
AVFormatContext * in input rather than a NUTContext *, which allows to
log messages with av_log().
Originally committed as revision 23431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 21:57:30 +00:00
Stefano Sabatini
b603ab8dc1
Make the error message issued in case of invalid codec tag more
...
informative.
Originally committed as revision 23423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-02 10:54:53 +00:00
Ronald S. Bultje
03a3fcee99
Change default number of channels (used if unspecified in the format desc)
...
from 2 to 1, which is the actual value used in the spec. Fixes issue1978.
Path by John Wimer <john at god dot vtic dot net>.
Originally committed as revision 23414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 20:00:26 +00:00
Michael Niedermayer
b742a12ee2
Print an error when MAX_STREAMS is reached.
...
Originally committed as revision 23413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 19:49:21 +00:00
Martin Storsjö
27241cbffe
Declare the url_write buffer parameter as const
...
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01 07:46:23 +00:00
Peter Ross
0a624147c3
Prevent au_read_packet() looping endlessly when .au file contains unsupported codec type.
...
Originally committed as revision 23392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-31 10:47:36 +00:00
Francesco Lavra
22a255842b
Reindent after r23361.
...
Patch by Francesco Lavra <francescolavra interfree it>.
Originally committed as revision 23362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 18:21:57 +00:00
Francesco Lavra
cff87f0404
Use ff_rm_codec_tags[] in RM muxer. This, incidentally, also allows muxing
...
other audio codecs rather than only AC-3, so add some code that makes
word byte-swapping only happen for AC-3, not for all audio codecs.
Patch by Francesco Lavra <francescolavra interfree it>.
Originally committed as revision 23361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 18:21:25 +00:00
Francesco Lavra
74e8ccad4c
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
...
Patch by Francesco Lavra <francescolavra interfree it>.
Originally committed as revision 23360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-28 18:18:33 +00:00
David Conrad
173bb37f82
On2 IVF demuxer
...
Originally committed as revision 23357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 21:23:04 +00:00
Michael Niedermayer
a5266a4789
Make sure that when the parser is feeded with frame==packet that the
...
packets are passed through and wont be marked as static which would
require them to be copied by av_dup_packet().
Originally committed as revision 23352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-27 17:11:37 +00:00
Stefano Sabatini
ab8f600902
Add support for the newly added Nut codec tags (added in Nut r669):
...
Y1[00][16], [16][00]1Y, Y3[11][16], [16][11]3Y, Y3[10][16],
[16][10]3Y, Y3[00][16], [16][00]3Y, Y4[11][ 8], Y2[00][ 8].
Originally committed as revision 23342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 22:26:19 +00:00
Alex Converse
1ed87f800f
Parse and repack the first frame of H.264 in ASF because SPS+PPS lives in its own packet.
...
Originally committed as revision 23333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 04:22:52 +00:00
Alex Converse
74a6df59e3
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.
...
Originally committed as revision 23332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-26 04:20:32 +00:00
Aurelien Jacobs
37dd235658
matroskadec: avoid potential crash after r23169
...
Originally committed as revision 23330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 22:55:12 +00:00
Zhou Zongyi
aafb822ba5
We're using generic tag-to-ID functions, so specific codec_id assignments
...
are no longer necessary. Patch by Zhou Zongyi <zhouzy AT os pku edu cn>.
Originally committed as revision 23312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 15:39:32 +00:00
Carl Eugen Hoyos
74c853b621
Samsung uses SIPP as FourCC for MPEG-4 ASP.
...
Originally committed as revision 23309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 10:35:50 +00:00
trueice@gmail.com
aae9a0931c
24l trocadero: RTMP reader forgot to shift high byte of timestamp to its
...
proper position
Patch by trueice (his gmail account is obvious)
Originally committed as revision 23305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 07:01:04 +00:00
Baptiste Coudurier
ce2a9bc3c8
In ogg muxer, use random serial number of each ogg streams
...
Originally committed as revision 23302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 23:37:33 +00:00
Zhentan Feng
a24039861d
MMS-over-TCP protocol support. Patch by Zhentan Feng <spyfeng gmail com>.
...
Originally committed as revision 23301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 21:59:32 +00:00
Stefano Sabatini
781cf5fd41
Add missing codec id <-> codec tag entries:
...
CODEC_ID_RAWVIDEO <-> Y41B
CODEC_ID_RAWVIDEO <-> Y42B
CODEC_ID_RAWVIDEO <-> YUV9
CODEC_ID_RAWVIDEO <-> YVU9
These codec tags are listed in fourcc.org, and are already listed in
libavcodec/raw.c:ff_raw_pix_fmt_tags as AVI tags.
Originally committed as revision 23296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 20:35:01 +00:00
Reimar Döffinger
0e765181c4
Add -f framemd5 muxer similar to framecrc.
...
Originally committed as revision 23289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 17:49:26 +00:00
Jai Menon
9bbe9a0dc1
Display a more descriptive log message when probe buffer limit is
...
reached.
Originally committed as revision 23288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 16:42:16 +00:00
Janne Grunau
612dc0238a
Skip pes payload during probing to avoid start code emulation.
...
Patch by Janne Grunau, janne-ffmpeg jannau net
Originally committed as revision 23286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 12:32:13 +00:00
David Conrad
7bb83d8ddf
matroskaenc: Write codec time base as default duration for video tracks.
...
This isn't exactly semantically equivalent, but the field has already been
long abused to mean this, and writing it helps in determining a decent cfr
time base when transcoding from a mkv where the video codec stores none (VP8).
Originally committed as revision 23284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 08:58:19 +00:00
Reimar Döffinger
f1a0518524
Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
...
seeks needed for binary search when seeking to a previously seen
location.
Originally committed as revision 23279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 23:33:38 +00:00
David Conrad
8daed34e48
matroskadec: Revert adding the doctype to metadata; it has no meaning elsewhere
...
Originally committed as revision 23275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 22:20:04 +00:00
Benjamin Larsson
50eae97057
Reduce the score for the aea demuxer probing function.
...
Originally committed as revision 23273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 22:01:27 +00:00
Benjamin Larsson
946da73682
Fix detection of some stereo atrac files by not comparing the
...
block size mode and info byte.
Originally committed as revision 23272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 21:56:54 +00:00
Baptiste Coudurier
2da6050cf2
oups, 100l, revert unrelated hunk from commit r23266
...
Originally committed as revision 23269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 21:10:05 +00:00
Baptiste Coudurier
a4de2b6ecf
write 3gp perf tag for artist metadata
...
Originally committed as revision 23268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 21:06:11 +00:00
Baptiste Coudurier
221ed48602
albm 3gp tag has optional track field not date
...
Originally committed as revision 23267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 21:04:39 +00:00
Baptiste Coudurier
ea4c4d7fe3
change author metadata to artist in mov de/muxer
...
Originally committed as revision 23266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 21:03:14 +00:00
Stefano Sabatini
49837b8d24
Make the nut decoder read the ff_nut_video_tags to detect codec id of
...
the input file.
This is required as Nut codec tags are not contained in
ff_codec_bmp_tags.
Originally committed as revision 23260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 18:34:18 +00:00
Stefano Sabatini
2e01def0fe
Define ff_nut_video_tags and make Nut muxer and demuxer set it in
...
codec_tag.
Originally committed as revision 23259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 18:34:15 +00:00
Reimar Döffinger
944a1b6b96
Add a md5 muxer that allows checking the md5 sums of generated streams without
...
needing an external MD5 command.
Originally committed as revision 23257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 13:07:33 +00:00
Martin Storsjö
576fb48e6d
Make ff_random_get_seed public, rename to av_get_random_seed, export the header
...
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-23 08:53:40 +00:00
Stefano Sabatini
e1745e2f6e
Make av_write_header() return AVERROR(EINVAL) rather than -1 if the
...
input parameters are not valid.
Originally committed as revision 23253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-22 21:52:06 +00:00
Stefano Sabatini
cf5b33d9fa
Store in a dedicated array the format name - codec id - codec type
...
mapping. Simplify.
Originally committed as revision 23252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-22 21:52:02 +00:00
Francesco Lavra
80b39e1ca6
Move AVCodecTag from riff.h into internal.h.
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-22 16:01:32 +00:00
Stefano Sabatini
83c2707908
Prefer enum CodecID over int in ff_codec_get_tag().
...
Originally committed as revision 23249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-22 15:56:49 +00:00
David Conrad
577abedb39
matroskaenc: Don't write track timecode scale
...
It's not required for mkv and unsupported in webm
Originally committed as revision 23247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-22 01:41:38 +00:00
David Conrad
c7b913c8ad
matroskadec: Allow unknown EBML doctype
...
Originally committed as revision 23246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-22 01:41:35 +00:00
James Zern
470491faed
matroskadec: Support webm doctype
...
Patch by James Zern <jzern at google>
Originally committed as revision 23245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-22 01:41:32 +00:00
Baptiste Coudurier
ff85f58605
remove unused field
...
Originally committed as revision 23232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-21 21:41:38 +00:00
Baptiste Coudurier
95ca3b1e20
In ogg muxer, pack multiple frames into one page, much lower overhead
...
Originally committed as revision 23231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-21 21:38:54 +00:00
Martin Storsjö
38d4a21778
Change the default codecs for the rtsp muxer to mpeg4 and aac
...
These codecs in RTP are supported by many players.
Originally committed as revision 23209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-21 07:12:33 +00:00
Martin Storsjö
648e41b342
Take ff_write_chained in use in the mov rtp hinter and in the rtsp muxer
...
Originally committed as revision 23208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-21 07:08:29 +00:00
Martin Storsjö
9a76125069
Add a libavformat internal function ff_write_chained
...
Originally committed as revision 23207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-21 07:07:57 +00:00
Michael Niedermayer
fbfccc0404
Disable non interleaved avi code when there is no index available.
...
Fixes issue1956.
Originally committed as revision 23202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-20 18:34:44 +00:00
Google
6c7c62939b
Add VP80 fourcc
...
Patch by Google
Originally committed as revision 23193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 16:50:12 +00:00
Google
23966972ab
matroska: Add V_VP8
...
Patch by Google
Originally committed as revision 23192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 16:50:06 +00:00
Martin Storsjö
8d168a9207
Fix a crash when opening WMS RTSP streams
...
Fixes issue 1948
Originally committed as revision 23181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 09:46:29 +00:00
Martin Storsjö
d4493e03b6
Late bump of the minor version, for the addition of AVFMT_FLAG_RTP_HINT
...
Originally committed as revision 23179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 08:13:13 +00:00
David Conrad
5549aa6d0d
matroskadec: Free ebml binary buffer on error
...
Based on a Chromium patch
Originally committed as revision 23169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 21:21:37 +00:00
David Conrad
465c28b6b4
matroskadec: Fix buffer overread in matroska_ebmlnum_uint
...
Based on a Chromium patch
Originally committed as revision 23168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 21:21:32 +00:00
David Conrad
d98bd80ed3
matroskadec: Ensure time_scale is nonzero, fixes divide-by-zero if the file
...
has 0 written
Based on a Chromium patch
Originally committed as revision 23167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 21:21:28 +00:00
David Conrad
1c664b239c
matroskadec: Use av_freep in ebml_read_ascii
...
Based on a Chromium patch
Originally committed as revision 23166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 21:21:23 +00:00
Martin Storsjö
44bf251a42
Use a heuristic for describing the RTP packets using sample data
...
Originally committed as revision 23165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:48:25 +00:00
Martin Storsjö
e977af6f2e
Add initial support for RTP hinting in the mov muxer
...
Originally committed as revision 23164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:47:24 +00:00
Martin Storsjö
27a826c941
Make mov_write_packet non-static, add ff_ prefix
...
Originally committed as revision 23163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:40:17 +00:00
Martin Storsjö
f72dad4142
Move the mov muxer structures to a separate header
...
Originally committed as revision 23162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:38:37 +00:00
Martin Storsjö
796ac2335d
Add a flag for enabling RTP hinting
...
Originally committed as revision 23161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:34:21 +00:00
Martin Storsjö
0341b6994a
Make ff_sdp_write_media a lavf-internal function
...
This is in preparation for RTP hinting in the MOV muxer, where
it needs to be able to create SDP fragments for each media stream.
Originally committed as revision 23160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:32:59 +00:00
Francesco Lavra
698f4cc7f0
Validate AVCodecTag vs CodecID.
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:23:29 +00:00
Francesco Lavra
603a5f04b2
Factorize some code into the new function ff_toupper4().
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:16:40 +00:00
Janne Grunau
b74f67eb17
In ts demuxer, output pes packet as soon as they are complete.
...
This is needed for subtitles where packets are infrequent.
Patch by Janne Grunau, janne-ffmpeg at jannau dot net.
Originally committed as revision 23157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 17:28:07 +00:00
Baptiste Coudurier
1095d44258
set avg frame rate in mkv demuxer
...
Originally committed as revision 23152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-17 18:12:58 +00:00
Stefano Sabatini
73762de18e
Add NV12 and NV21 AVI tags.
...
Both are listed in fourcc.org.
Originally committed as revision 23145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-16 07:56:31 +00:00
Baptiste Coudurier
58edb075f0
Change MAX_READ_SIZE message during av_find_stream_info to DEBUG level.
...
It is not harmful and it scares too many users.
Originally committed as revision 23139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 22:04:39 +00:00
Sebastian Vater
299ac811ba
Reindent after r23112.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 15:41:49 +00:00
Sebastian Vater
65d213ec86
Move handling of paletted data to the IFF demuxer. This allows future
...
handling of things such as masking/EHB/HAM for this type of data.
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 15:39:40 +00:00
Stefano Sabatini
7693b93e5c
Doxygen av_codec_get_id() and av_codec_get_tag().
...
Originally committed as revision 23102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-12 22:17:29 +00:00
Francesco Lavra
f10d3d343e
Add FourCC MJPG for CODEC_ID_JPEGLS.
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 23:19:19 +00:00
Stefano Sabatini
b43f432c8c
Add support to the Y411 codec tag, corresponding to the rawvideo pixel
...
format uyyvyy411.
The codec tag is referenced in fourcc.org.
Originally committed as revision 23072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 22:56:04 +00:00
Stefano Sabatini
8e89cd1fee
Make the nut demuxer issue a more meaningful error message if it
...
cannot recognize the provided codec tag.
Originally committed as revision 23071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 22:56:02 +00:00
Sebastian Vater
0613ece542
Replace usage of s->streams[0]->* with st->*, which is shorter.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 20:10:48 +00:00
Michael Niedermayer
cb0061d453
Favor chunk size over hitting the correct position after reading the chunk size in asf.
...
Fixes issue1923
Originally committed as revision 23040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 08:08:09 +00:00
Sebastian Vater
8af7dbce61
Parse IFF metadata.
...
Patch by Sebastian Vater, cdgs D basty A googlemail
Originally committed as revision 23024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-05 17:26:59 +00:00
David Conrad
ddb630177a
movenc: Write QuickTime chapters
...
Originally committed as revision 23022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-05 08:41:10 +00:00
David Conrad
1b206f62ea
movenc: Swap positions of mov_write_header and mov_write_packet
...
Originally committed as revision 23021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-05 08:41:06 +00:00
David Conrad
1cf9f6ed4f
mov: Read nero chapters
...
Originally committed as revision 23020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-05 08:41:01 +00:00
Thierry Foucu
e1954bb5ca
Do not use pkt->size when it is potentially uninitialized.
...
Patch by Thierry Foucu, tfoucu gmail
Originally committed as revision 23017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-04 17:17:16 +00:00
Reimar Döffinger
c99d506b3b
Fix off-by-one errors in description of score_max argument for
...
av_probe_input_format2
Originally committed as revision 23004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-01 15:36:51 +00:00
Reimar Döffinger
8e2ee182fa
Export av_probe_input_format2.
...
Originally committed as revision 23002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-01 13:49:35 +00:00
Michael Niedermayer
2308b6c19a
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
...
Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-28 20:00:23 +00:00
Anssi Hannula
337104ac1f
Fix FourCC when remuxing VP6F, regression introduced in r22941.
...
Patch by Anssi Hannula, anssi D hannula A iki fi
Originally committed as revision 22985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-28 07:57:07 +00:00
Sebastian Vater
4f5e6ef16e
Reindent after rr22977.
...
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-27 14:04:11 +00:00
Sebastian Vater
46dcabf82b
Make the IFF demuxer a little more standards-compliant, e.g. respect the size
...
fields of common media header chunks (these can have different sizes depending
on the type of IFF file you read), better handle odd sizes (like RIFF, every
field is padded to word) and handle headerchunks after the BODY chunk.
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-27 14:03:47 +00:00
Stefano Sabatini
ec6791736c
Make file_open() return the error code set in errno if open() fails,
...
rather than always ENOENT.
Originally committed as revision 22972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-26 22:36:51 +00:00
Stefano Sabatini
2ef6c1242a
Mark av_metadata_set() as deprecated, and use av_metadata_set2()
...
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-25 14:27:42 +00:00
Baptiste Coudurier
0403c2e3e4
Disable LATM AAC in mpegts, this is not supported and produce too many
...
bug reports. Also warn the user about it.
Originally committed as revision 22947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-22 20:34:30 +00:00
Jai Menon
037e9afd37
Fix off-by-1 error in the tag parsing code.
...
Originally committed as revision 22945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-22 12:54:50 +00:00
Tomas Härdin
951776c478
Made FLIC demuxer capable of handling the videos from "X-COM: Terror from the Deep".
...
Originally committed as revision 22942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-22 09:04:33 +00:00
Christian Schmidt
03cb8458ce
Support VP6F in Matroska.
...
Patch by Christian Schmidt, schmidt digadd de
Originally committed as revision 22941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-22 08:57:28 +00:00
Stefano Sabatini
9d30e0682a
Do not initialize res in url_fseek(), in the case !s->seek directly
...
return AVERROR(EPIPE) rather than the pre-defined value of res.
Slightly improve readability.
Originally committed as revision 22939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 21:19:25 +00:00
Vitor Sessak
10fa22ccfb
Fix MTV decoding on big-endian systems
...
Originally committed as revision 22929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 13:00:48 +00:00
David Conrad
7221579b0c
mov: Read QuickTime chapters
...
Originally committed as revision 22928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 06:36:09 +00:00
David Conrad
dc75e4e3b3
movenc: Write nero chapters
...
Originally committed as revision 22927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 06:36:05 +00:00
Baptiste Coudurier
f7501a71a1
seems aac gets screwed up by the parser so disable it
...
Originally committed as revision 22926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 21:23:49 +00:00
Baptiste Coudurier
dc1c26dc8e
parse stream headers for audio streams in mkv, needed for frame size
...
Originally committed as revision 22925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 21:19:27 +00:00
Sebastian Vater
e595346486
Reindent / reformat some code with broken indenting.
...
Patch by Sebastian Vater <cdgs DOT basty googlemail com>.
Originally committed as revision 22924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 18:40:45 +00:00
Sebastian Vater
bf29cbc2cc
Change a %2 to &1. Patch by Sebastian Vater <cdgs DOT basty googlemail com>.
...
Originally committed as revision 22922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 17:05:02 +00:00
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 14:45:34 +00:00
Diego Biurrun
e1ae1642cb
Add missing internal.h #include for brktimegm(), fixes the warning:
...
libavformat/dvenc.c:82: warning: implicit declaration of function ‘brktimegm’
Originally committed as revision 22920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 14:41:55 +00:00
Martin Storsjö
5948f82227
Reset RTCP timestamps after seeking, add range start offset to the packets timestamps
...
If these aren't reset, the timestamps make a huge jump when the next RTCP
is received.
Originally committed as revision 22918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 07:38:52 +00:00
Martin Storsjö
2cab6b48ad
Revert svn rev 21857, readd first_rtcp_ntp_time in RTPDemuxContext
...
In order to sync RTP streams that get their initial RTCP timestamp at
different times, propagate the NTP timestamp of the first RTCP packet
to all other streams.
This makes the timestamps of returned packets start at (near) zero instead
of at any random offset.
Originally committed as revision 22917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 07:34:28 +00:00
Baptiste Coudurier
2293a2e67f
Set AVFMT_NOTIMESTAMPS flag for mp3 muxer
...
Fixes issue 1026
Originally committed as revision 22916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 01:41:00 +00:00
Luca Barbato
9094d867aa
Make rtp protocol obey rfc3550
...
Originally committed as revision 22906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 11:40:45 +00:00
Howard Chu
fc8fa007fb
Implement librtmp seek support.
...
Implement flv_read_seek(), add a missing check on stream_index
and fix timestamp rounding in rtmp_read_seek().
Also add the flv_read_seek2() function, which is not enabled but is
useful as reference.
To actually implement flv_read_seek2() correctly, there would need to
be some corresponding av_url_read_fseek2() function to propagate the
timestamps down to the ByteIOContext and URLContext.
Patch by Howard Chu <hyc <at> highlandsun.com>.
See the thread:
Subject: [FFmpeg-devel] RTMP seek support
Date: 2010-03-28 23:35:02 GMT
Originally committed as revision 22904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-18 19:09:25 +00:00
Stefano Sabatini
d79fc8403b
Prefer AVERROR(ENOSYS) over AVERROR_NOTSUPP.
...
AVERROR_NOTSUPP is (maybe) going to be deprecated.
Originally committed as revision 22903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-18 19:09:22 +00:00
Stefano Sabatini
4c4ef3db4b
Make url_fsize() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) if
...
the seek operation is not defined in the ByteIOContext.
Originally committed as revision 22902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-18 17:37:21 +00:00
Stefano Sabatini
28894105c8
Make url_seek() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) in
...
the case where the seek operation is not defined in the protocol
handler.
Originally committed as revision 22901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-18 17:37:16 +00:00
Martin Storsjö
653d7aeb61
Parse strf mov atoms
...
This fixes roundup issue 1270.
Originally committed as revision 22894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-16 20:36:24 +00:00
David Conrad
adc725b558
oggdec: Move warning about missing granule to the correct place
...
Originally committed as revision 22891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-16 12:21:38 +00:00
David Conrad
44a088eab7
oggdec: Fix duration calculation if the last page in a file has no granule
...
Originally committed as revision 22890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-16 12:21:35 +00:00
David Conrad
49c2d29089
oggdec: Remove write-only variable
...
Originally committed as revision 22889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-16 12:21:29 +00:00
Ramiro Polla
adef229efb
AVERROR(FF_NETERROR(x)) -> FF_NETERROR(x)
...
FF_NETERROR is implicitly an AVERROR.
Originally committed as revision 22888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-16 00:20:11 +00:00
Ronald S. Bultje
4aecee7fc3
Fix compile error on mingw where ETIMEDOUT is missing (because it's a WSA error).
...
This patch also changes FF_NETERROR() to be an AVERROR(), i.e. it is always
negative, whereas it was previously positive.
Originally committed as revision 22887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-15 18:27:27 +00:00
Ronald S. Bultje
e58c05bb3c
Remove useless assert(), since this can (in theora) be used for any Xiph
...
codec, so there's no reason to (invalidly) limit it to only Theora.
Also fixes issue 1880 (compilation error on -DDEBUG).
Originally committed as revision 22886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-15 13:30:12 +00:00
Howard Chu
19c9eedc2c
Plug librtmp logging into av_log.
...
patch by Howard Chu, hyc highlandsun com
Originally committed as revision 22875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 22:11:21 +00:00
Diego Biurrun
fc122efd66
whitespace cosmetics
...
Originally committed as revision 22874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 22:08:36 +00:00
Jean-Daniel Dupas
2898526d6a
Do not probe when the format is known.
...
Patch by Jean-Daniel Dupas devlists shadowlab org
Originally committed as revision 22870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 07:25:50 +00:00