Ronald S. Bultje
30e79845b4
Send dummy requests over the TCP connection (WMS wants GET_PARAMETER,
...
Real wants OPTIONS) while the connection is idle, otherwise it will
be aborted after a short period (usually a minute). See the thread
"[PATCH] rtsp.c: keep-alive" on the mailinglist.
Originally committed as revision 18525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-15 13:04:34 +00:00
David Conrad
ddd94932fb
Ensure that there's pages to read for duration calculation in the ogg demuxer
...
Originally committed as revision 18523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-15 06:41:08 +00:00
Ronald S. Bultje
e6327fba98
Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC
...
qualification task, see "RTP/Vorbis payload implementation (GSoC qual
task)" thread on mailinglist.
Originally committed as revision 18509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-14 15:01:46 +00:00
Ronald S. Bultje
373afbaf76
Increase the SDP buffer size (again!) and also increase the temporary
...
buffer size of the fmtp parameter buffer. For Vorbis RT(S)P, these
contain full Vorbis headers, which can be up to 12kb each, formatted
in base64, so 16kb total. Patch required for proper Vorbis/RTP playback,
submitted as GSoC qualification task in the thread "RTP/Vorbis payload
implementation (GSoC qual task)" by Colin McQuillan m.niloc googlemail
com.
Originally committed as revision 18508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-14 13:22:40 +00:00
Stefano Sabatini
fb53b4a035
Rename pbBufPtr() to put_bits_ptr().
...
The new name is more readable and consistent with the FFmpeg naming
style.
Originally committed as revision 18497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 16:59:38 +00:00
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 16:20:26 +00:00
Baptiste Coudurier
b3eab9fb64
seek inside buffer when offset is exactly at the end, fix seeking with memory ByteIOContext
...
Originally committed as revision 18487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 04:02:51 +00:00
Baptiste Coudurier
1bd280f730
Set frame defaults in try_decode_frame.
...
Fix:
==22211== Conditional jump or move depends on uninitialised value(s)
==22211== at 0x811E692: ff_print_debug_info (mpegvideo.c:1137)
==22211== by 0x82E6A7B: decode_frame (h264.c:7897)
==22211== by 0x80F2823: avcodec_decode_video2 (utils.c:564)
[...]
==22211== Uninitialised value was created by a stack allocation
==22211== at 0x8064AA3: try_decode_frame (utils.c:1845)
Originally committed as revision 18483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 03:38:55 +00:00
Baptiste Coudurier
e472ea34c4
reindent
...
Originally committed as revision 18480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 03:32:02 +00:00
Baptiste Coudurier
c950c25ac0
remove useless wrapper
...
Originally committed as revision 18465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 09:04:12 +00:00
Reimar Döffinger
c96495e75c
Move ea demuxer messages that are irrelevant to ordinary users from
...
AV_LOG_INFO to AV_LOG_DEBUG.
Originally committed as revision 18464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 08:53:22 +00:00
Baptiste Coudurier
7b9677f6b0
remove useless wrapper
...
Originally committed as revision 18463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 08:52:16 +00:00
Reimar Döffinger
f28c4e756f
Slightly improve/correct description of wc3_pal_lookup
...
Originally committed as revision 18462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 08:49:20 +00:00
Stefano Sabatini
b275500706
Split bitstream.h, put the bitstream writer stuff in the new file
...
put_bits.h.
Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 08:35:26 +00:00
Michael Niedermayer
77daaf6748
Disable metadata reading. Yes, I would like to know what this code is good for
...
and this is the easiest way to. It would be a lot of messy code we can drop
if it is useless.
As a sideeffect this fixes issue977.
Originally committed as revision 18460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 04:01:03 +00:00
Baptiste Coudurier
ebcf352a25
replace DEBUG_SI with DEBUG and use dprintf
...
Originally committed as revision 18458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 03:08:46 +00:00
Baptiste Coudurier
495b37664d
Set stream type to ac3 if registration descriptor is present.
...
Based on patch by Nico Sabi, nicola dot sabbi at poste dot it
Originally committed as revision 18457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 02:39:16 +00:00
Baptiste Coudurier
4f1db48e88
simplify registration descriptor parsing with bytestream get functions
...
Originally committed as revision 18456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 02:32:02 +00:00
Björn Axelsson
a4d2af9b96
Ok, ts demuxer is more complicated than I thought
...
Revert r18454 and fix correctly #700
Stop parsing if end of buffer is reached while reading
patch by Björn Axelsson, bjorn dot axelsson at intinor dot se
Originally committed as revision 18455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 02:19:40 +00:00
Baptiste Coudurier
2b97246ec2
fix end of buffer check, fix hang_read_header.h264.ts
...
Originally committed as revision 18454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 01:37:34 +00:00
Baptiste Coudurier
a3d23e15fb
fix 6 channels raw pcm demuxing, raw pcm now demux a fixed number of samples
...
Originally committed as revision 18453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 00:25:37 +00:00
Reimar Döffinger
d2e63e8b05
Simplify packet duplication code in ff_interleave_add_packet.
...
Behaviour only changes if pkt->destuct neither av_destruct_packet,
av_destruct_packet_nofree nor NULL, in which case the new code avoids a double free.
Originally committed as revision 18452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 22:38:00 +00:00
Reimar Döffinger
7ce0420983
Fix "unrecognized WC3 chunk" debug output which was broken r18444 due to sign expansion.
...
Originally committed as revision 18450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 21:45:57 +00:00
Reimar Döffinger
cfb9b3550b
wc3movie: return partial packets if not all data can be read.
...
This is consistent with other demuxer's behaviour and avoids a memleak.
It also returns the error from av_get_packet instead of always AVERROR(EIO).
Originally committed as revision 18446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 20:48:56 +00:00
Reimar Döffinger
cdbe3798d2
Explain the purpose of the wc3_pal_lookup and the formula that was used to
...
calculate it.
Originally committed as revision 18445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 20:08:16 +00:00
Reimar Döffinger
f6a708f092
Use get_le32/get_be32 in wc3movie demuxer instead of reading everything into
...
a buffer first.
Originally committed as revision 18444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 18:58:55 +00:00
Reimar Döffinger
80d403fc19
Get rid of av_destruct_packet_nofree and use NULL instead.
...
It is still used in comparisons to keep ABI compatibility.
Originally committed as revision 18431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 12:42:29 +00:00
Reimar Döffinger
46e97dc3c2
Reindent
...
Originally committed as revision 18429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 10:41:06 +00:00
Reimar Döffinger
f772b7fa7d
Make electronicarts demuxer return partial frames, this is the default
...
behaviour of av_get_packet and should not be override without good reason.
As a side effect this fixes the memleak described in issue 956.
Also return the exact error code from av_get_packet instead of AVERROR(EIO).
Originally committed as revision 18428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11 10:38:56 +00:00
Diego Biurrun
cc7b62afd2
Replace rand() usage by av_lfg_get().
...
Originally committed as revision 18420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 17:12:36 +00:00
Diego Biurrun
a2085cccfa
cosmetics: Align output columns.
...
Originally committed as revision 18419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 15:16:11 +00:00
Aurelien Jacobs
ed54ae08b8
remove useless duplication of what av_new_stream() already does
...
Originally committed as revision 18416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 12:49:53 +00:00
Thilo Borgmann
0dccbba02c
Add 'PNG1' to PNG fourcc codes.
...
Patch by Thilo Borgmann thilo DOT borgmann _AT_ gXXglemail.cXm.
Originally committed as revision 18415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 12:18:04 +00:00
Thilo Borgmann
655d47c2cb
Make try_decode_frame() use the new avcodec_decode_* API.
...
Patch by Thilo Borgmann thilo.borgmann AT g00glemail dot com.
Originally committed as revision 18408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 11:03:06 +00:00
Luca Abeni
9331967007
AAC packetiser cleanup: use consts instead of #defines
...
Originally committed as revision 18402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:48:45 +00:00
Luca Abeni
ddffcb2d3a
AAC packetiser cleanup: remove check for a condition that cannot happen
...
Originally committed as revision 18401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:39:07 +00:00
Martin Storsjö
d2ce53b786
Fix two checks in the AAC packetiser, which were too conservative
...
Patch by Martin Storsjö (martin AT martin DOT st)
Originally committed as revision 18400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 21:37:11 +00:00
Reimar Döffinger
ef12ec23fa
Fix memleak in nuv demuxer: free packet already allocated packet when
...
returning an error in nuv_packet.
Originally committed as revision 18385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 14:16:22 +00:00
Reimar Döffinger
9470511185
Correctly set packet size for partial video packets in nuv demuxer.
...
Originally committed as revision 18379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:20:42 +00:00
Reimar Döffinger
feb993e579
Add av_shrink_packet function for use in av_get_packet that reduces pkt->size
...
and ensures the following padding is correctly initialized to 0.
Originally committed as revision 18378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 20:19:12 +00:00
Zhentan Feng
c81604f862
Reduce code duplication.
...
Patch by Zhentan Feng, spyfeng gmail
Originally committed as revision 18377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 16:01:10 +00:00
Martin Storsjö
08e696c0b2
Add support for AMR audio in the RTP muxer
...
patch by Martin Storsjö (martin AT martin DOT st)
Originally committed as revision 18375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 07:16:14 +00:00
Baptiste Coudurier
17ad7b24c8
force sample for qcelp when not stored in mov, fix #968
...
Originally committed as revision 18374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 03:38:59 +00:00
Ronald S. Bultje
4bce3ba480
Reindent after r18372.
...
Originally committed as revision 18373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 03:06:08 +00:00
Ronald S. Bultje
6e9f56c127
Add waveformat-extensible support in the wav muxer.
...
Patch (GSoC qualfication task) by Zhentan Feng spyfeng gmail com, see
"[FFmpeg-devel] Add waveformat extensible support in wav muxer (SoC
qualification task)" thread on mailinglist.
Originally committed as revision 18372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-08 03:04:57 +00:00
Baptiste Coudurier
3c8d144789
move codec tag tables near corresponding code
...
Originally committed as revision 18370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:34:05 +00:00
Baptiste Coudurier
08680ab8c2
cosmetics, reindent
...
Originally committed as revision 18369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:31:53 +00:00
Baptiste Coudurier
0872acc45c
cosmetics, add empty line and remove useless braces
...
Originally committed as revision 18368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:31:17 +00:00
Baptiste Coudurier
b6cb99469f
fix compilation, add missing parenthesis
...
Originally committed as revision 18367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:28:39 +00:00
Baptiste Coudurier
130ba4b17a
comment the ipod subtitle check
...
Originally committed as revision 18366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:26:47 +00:00
Baptiste Coudurier
6452af7a33
invert condition to simplify code
...
Originally committed as revision 18365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:25:11 +00:00
Baptiste Coudurier
cf9ce6a3d6
remove no more needed code, tag is set by default
...
Originally committed as revision 18364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:23:15 +00:00
Baptiste Coudurier
2ab57c0443
cosmetics, reindent, add empty lines
...
Originally committed as revision 18363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:21:43 +00:00
Baptiste Coudurier
6b60028595
split mov_find_codec_tag in separate per format functions
...
Originally committed as revision 18362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 22:19:58 +00:00
Reimar Döffinger
b0723c8a12
Always return 0 if read_packet is successful.
...
Originally committed as revision 18360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 21:25:02 +00:00
Reimar Döffinger
ac2b2226ac
Do not uselessly read version string into a buffer.
...
Originally committed as revision 18359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 21:16:11 +00:00
Reimar Döffinger
6883ebe4b9
Describe read_alloc return value and required pkt handling to avoid memleaks
...
Originally committed as revision 18358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 21:10:10 +00:00
Reimar Döffinger
4e5735f774
Error out also when reading nuv header returns with partial data and return
...
AVERROR(EIO) then.
Originally committed as revision 18357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 20:52:37 +00:00
Baptiste Coudurier
2fa6bc789f
set bits_per_coded_sample for rawvideo
...
Originally committed as revision 18356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 20:47:56 +00:00
Baptiste Coudurier
50d2d05d34
override mov fourcc for pcm audio, this is safer when stream copying
...
Originally committed as revision 18355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 20:37:30 +00:00
Thilo Borgmann
cdd8930e6a
Move av_packet_*() functions from libavformat/ to libavcodec/, where the
...
AVPacket structure now resides also.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see the mailinglist
thread "Google Summer of Code participation" for additional discussion.
Originally committed as revision 18353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 18:31:14 +00:00
Aurelien Jacobs
b02d3aef94
use av_freep() instead of av_free() + =NULL.
...
Originally committed as revision 18349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 12:31:28 +00:00
Luca Abeni
0f55f341fe
Fix the copyright year
...
Originally committed as revision 18348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 12:28:41 +00:00
Martin Storsjö
9edfaf3c6c
Add support for H.263 video in the RTP muxer
...
patch by Martin Storsjö (martin AT martin DOT st)
Originally committed as revision 18347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 06:41:55 +00:00
Luca Abeni
215037887d
Do not return payload type 34 for H.263 (it is deprecated)
...
Originally committed as revision 18346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 06:37:12 +00:00
Martin Storsjö
99f373f3a6
Only insert the SPS and PPS NALs in sprop-parameter-sets
...
Patch by Martin Storsjö (martin AT martin DOT st)
Originally committed as revision 18343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-06 21:04:26 +00:00
Michael Niedermayer
634b927f82
Do not fail on zero packets.
...
Originally committed as revision 18328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-03 15:32:31 +00:00
Olivier Guilyardi
80ff8a16f5
Implement JACK input device.
...
Patch by Olivier Guilyardi list samalyse com.
See the thread: "[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer".
Originally committed as revision 18322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 23:53:47 +00:00
Thilo Borgmann
fabd2469f1
Move AVPacket declaration from avformat.h to avcodec.h.
...
Patch by Thilo Borgmann thilo dot borgmann at googlemail _dot_ com.
Originally committed as revision 18317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 19:53:53 +00:00
Jai Menon
3dd2f87e61
Map MOV fourcc YUV2 correctly to PIX_FMT_YUYV422.
...
Patch by Jai Menon
Originally committed as revision 18316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 12:15:04 +00:00
Reimar Döffinger
3dd3604197
Reindent
...
Originally committed as revision 18315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 11:27:14 +00:00
Reimar Döffinger
fb9ac65411
Support DVD subtitles in mov/mp4 as created by Nero.
...
See also http://samples.mplayerhq.hu/sub/NeroMP4/unsupported-embedded-subs-2.mp4
Originally committed as revision 18314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 11:26:46 +00:00
Baptiste Coudurier
fcb4228c86
skip empty data packets in flv, fix input.flv
...
Originally committed as revision 18306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-02 03:52:19 +00:00
Måns Rullgård
33afad5451
Add $(ELIBS) to example/test app link command
...
Originally committed as revision 18298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-01 00:53:34 +00:00
Måns Rullgård
bbba084b4f
Make examples and test progs depend on libraries
...
Originally committed as revision 18297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-01 00:53:31 +00:00
Ben Littler
13b47b4012
add another dv fourcc CDVH
...
Originally committed as revision 18293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-01 00:45:28 +00:00
Aurelien Jacobs
b89894abb7
matroska: add support for MLP and TRUEHD codec tags
...
Originally committed as revision 18254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 21:37:04 +00:00
Diego Biurrun
bbbb885626
Fix timefilter test program build without previously building libavformat.
...
The test program depends on symbols from this library.
Originally committed as revision 18247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 13:09:44 +00:00
Diego Biurrun
43a0cb7ca2
Generalize example target rule in common.mak so that it sets a -example$(EXESUF)
...
suffix for all example files instead of doing this in individual Makefiles.
Originally committed as revision 18217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 14:35:20 +00:00
Ronald S. Bultje
be0395103a
Don't strip the first three characters off of any metadata in ASF file.
...
See "[FFmpeg-devel] [PATCH] asf fix" thread. Patch contributed by
David DeHaven <dave sagetv com>.
Originally committed as revision 18213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-28 03:54:31 +00:00
Luca Abeni
0766c3ee98
Make rtp_write_header() fail in case of unsupported payload type
...
Originally committed as revision 18204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-27 21:36:44 +00:00
Diego Biurrun
5b00e88bb2
Move output-example dependency declaration after subdir.mak include so that it is
...
not the first (and thus default) target and output-example is not always built.
Originally committed as revision 18203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-27 17:06:39 +00:00
Diego Biurrun
d95a0c67ae
Move output_example.c --> libavformat/output-example.c.
...
The libavformat directory is a better place for a libavformat API example.
Originally committed as revision 18199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-27 00:01:06 +00:00
Ramiro Polla
d4efacff64
Use intptr_t when casting pointers to int.
...
Originally committed as revision 18192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 01:34:02 +00:00
Diego Biurrun
7304c2c4ce
Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.
...
Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-25 18:19:20 +00:00
Baptiste Coudurier
f03a081df0
set wrong_dts for iMovie created files which has huge ctts delay, fix ffmpeg_sample.m4v
...
Originally committed as revision 18181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-25 06:07:13 +00:00
Ronald S. Bultje
da1e126e0d
strchr(string, '\0') returns non-NULL, and is thus not suited for use in
...
redir_isspace(char) to check if '\0' is a space or not. Therefore, we now
use memchr(), since then we can give the length of the string (i.e. the
length excluding the terminating '\0'). Fixes issue 919, see also the
follow-ups in the "[PATCH] rtsp.c small cleanups" mailinglist thread.
Originally committed as revision 18177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-24 03:24:59 +00:00
Diego Biurrun
661ce28996
Rename 'tests' target to 'testprogs'. It is too easily confused with the
...
'test' target and a directory named tests exists.
Originally committed as revision 18165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 23:13:21 +00:00
Aurelien Jacobs
bd51c0138a
handle id3v2 'genre' tag formated as '%d'
...
Originally committed as revision 18145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 16:10:37 +00:00
Ronald S. Bultje
2121b160d5
Remove alpha channel from default colorspace tables, since it is unused. See
...
"qtpalette.h" thread on mailinglist.
Originally committed as revision 18144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 13:05:13 +00:00
Ronald S. Bultje
e6b09f4361
Add a @todo with a comment from Kostya so we don't forget to optimize that at
...
some point in the future.
Originally committed as revision 18142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 12:47:16 +00:00
Kostya Shishkov
c21fbefb9d
Add AURA 1 and 2 codec IDs and register their FOURCCs
...
Originally committed as revision 18141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 07:40:22 +00:00
Baptiste Coudurier
5c5776e10d
allocate tracks instead of using MAX_STREAMS
...
Originally committed as revision 18140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 03:52:55 +00:00
Baptiste Coudurier
08a5b4e9b5
since code now use get_bits_long, allocate padding buffer
...
Originally committed as revision 18138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 02:47:35 +00:00
Baptiste Coudurier
5f01c1258f
avoid creating a new stream not referenced in pmt since it cannot be associated to a program, fix issue 835
...
Originally committed as revision 18137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 02:04:28 +00:00
Baptiste Coudurier
a0dd3c0039
reset codec width/height for h264 forcing decoder to parse extradata
...
Originally committed as revision 18134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 23:29:34 +00:00
Ronald S. Bultje
cc9aced32f
Remove slash-skipping code because the function called right after that
...
statement (get_word_sep()) already does that all by itself. See summary in
"[PATCH] rtsp.c small cleanups" thread on mailinglist.
Originally committed as revision 18128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 21:02:08 +00:00
Ronald S. Bultje
78f731de92
Reindent something where a if () --> { <-- is on a newline rather than on the
...
same line as the if. See summary in "[PATCH] rtsp.c small cleanups" thread on
mailinglist.
Originally committed as revision 18127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 21:00:51 +00:00
Ronald S. Bultje
7d09a993d1
Free metadata if already allocated; fixes a memleak if the header occurs twice
...
in a stream (e.g. malicious input, broken file, etc.). See summary in "[PATCH]
rtsp.c small cleanups" thread on mailinglist.
Originally committed as revision 18126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 20:59:59 +00:00
Ronald S. Bultje
6a8c8b36b9
Fix silly bug in hex_to_data() where it compares a string pointer for whether
...
it is '\0' rather than its content (char *p; if (p == '\0') instead of if
(*p == '\0')). See summary in "[PATCH] rtsp.c small cleanups" thread on
mailinglist.
Originally committed as revision 18125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 20:58:41 +00:00
Ronald S. Bultje
64917dd3df
Remove useless comment about something that is deprecated. See summary in
...
"[PATCH] rtsp.c small cleanups" thread on mailinglist.
Originally committed as revision 18124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 20:56:57 +00:00
Ronald S. Bultje
36aa7bc27f
Use skip_spaces() in the "redir" demuxer instead of "while (isspace(&p)) p++".
...
See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist.
Originally committed as revision 18123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 20:55:52 +00:00
Ronald S. Bultje
1ef36a7035
Merge functional code from get_word() and get_word_sep() into a single
...
function, since they both do approximately the same thing. At the same time,
remove redir_isspace() altogether since code elsewhere (including
get_word_sep()) uses strchr() for the same purpose. See summary in "[PATCH]
rtsp.c small cleanups" thread.
Originally committed as revision 18122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 20:54:47 +00:00
Ronald S. Bultje
7e726132c2
Allow (and parse) incoming server messages (notices) interleaved with TCP
...
data packets or in addition to UDP data packets, over the RTSP/TCP connection.
See discussion in [PATCH] rtsp.c: read TCP server notifications/messages"
thread on mailinglist.
Originally committed as revision 18121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 20:46:36 +00:00
Ronald S. Bultje
9c610b7667
Add a @todo item to use ByteIOContext instead of URLContext at some point in
...
the future, requested by Luca in "[PATCH] rtsp.c: read TCP server
notifications/messages" thread.
Originally committed as revision 18120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 20:44:46 +00:00
Ronald S. Bultje
8b9794e542
Remove index writing in RM muxer, since it is broken (multiple streams per
...
single index chunk) and is always empty anyway. See "[PATCH] rmenc.c: remove
index writing" thread.
Originally committed as revision 18119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 20:34:24 +00:00
Ronald S. Bultje
83c0ba3dad
Don't allow to sync on packets of zero-size length, since these are never
...
valid. See "[PATCH] rmdec.c: prevent zero-length packets" thread.
Originally committed as revision 18118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 19:19:09 +00:00
Ronald S. Bultje
e75e603c1a
Move "- 12" statement up a bit. See "[PATCH] rmdec.c: prevent zero-length
...
packets" thread.
Originally committed as revision 18117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 19:18:07 +00:00
Daniel Verkamp
e1dc16ae56
Make Smacker audio decoder output audio in original bit depth
...
Patch by Daniel Verkamp
($firstname) at (three-letter file extension for drivers in Win 3.1) dot (nu)
Thread: [PATCH] Smacker: Output audio in original bit depth
Originally committed as revision 18111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 15:52:14 +00:00
David Conrad
1a4ab332c6
Reindent
...
Originally committed as revision 18102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 08:22:36 +00:00
David Conrad
6e6abd0237
Fix Speex header parsing in ogg demuxer
...
Originally committed as revision 18101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 08:22:09 +00:00
David Conrad
1fa9726cf6
Document ogg_codec's header function
...
Originally committed as revision 18100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 08:03:30 +00:00
Baptiste Coudurier
be2a6e2f82
fix compilation when DEBUG_SEEK is defined
...
Originally committed as revision 18099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 07:36:25 +00:00
Baptiste Coudurier
92a0f33878
fix valid seeking range
...
Originally committed as revision 18098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 07:35:52 +00:00
Baptiste Coudurier
b4800b8b7d
protect realloc overflow
...
Originally committed as revision 18088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 00:50:51 +00:00
Justin Ruggles
29b0d168e6
seek backwards 4 bytes if 'fLaC' marker is not found
...
Originally committed as revision 18086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 00:49:14 +00:00
Daniel Verkamp
effcedf738
PCX encoder that handles 1-, 8-, and 24-bpp pixfmts.
...
Patch by Daniel Verkamp, daniel drv nu
Originally committed as revision 18077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 17:23:45 +00:00
Baptiste Coudurier
7c45723a98
resync ffm if error in stream
...
Originally committed as revision 18065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 01:44:45 +00:00
Baptiste Coudurier
21c6438f2c
typo, fix eof check
...
Originally committed as revision 18064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 01:39:55 +00:00
Baptiste Coudurier
b9edbe9953
do not write ffm write index by default, detect if file is being written and return EOF
...
Originally committed as revision 18063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 01:23:33 +00:00
Ronald S. Bultje
cf16c17a69
Add byte reordering for the SIPRO audio codec. See "rmdec.c: add SIPR codec
...
try #2 " thread. Patch originally by Vladimir Voroshilov.
Originally committed as revision 18062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 01:22:51 +00:00
Ronald S. Bultje
e9fce261a6
Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
...
SDP line handler that parses the streamID in the SDP so that ASF stream
data can be matched to their respective streams in the RTSP demuxer. See
"[PATCH] RTSP-MS 12/15: ASF payload support" thread on mailinglist.
Originally committed as revision 18061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 01:11:08 +00:00
Baptiste Coudurier
876578914b
set avi fsize to INT64_MAX if riff tag end is not set and file size is not available
...
Originally committed as revision 18052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 21:57:14 +00:00
Baptiste Coudurier
3a5601885b
move max analyze duration check before considering new packet
...
Originally committed as revision 18051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 21:54:34 +00:00
Ramiro Polla
23d9cc4563
Support raw TrueHD files
...
Originally committed as revision 18049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 21:46:56 +00:00
Ramiro Polla
9ba4821d93
Split TrueHD decoder from MLP
...
Originally committed as revision 18045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 21:23:39 +00:00
Alex Converse
5c3d507f1a
MOV: Use the AOT enum for the mp4_audio_types mapping.
...
Originally committed as revision 18044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 18:13:42 +00:00
Reimar Döffinger
b8b00d9429
Rename GUID typedef to ff_asf_guid to fix MinGW compilation failure
...
(GUID is also defined, but differently, in Windows headers).
Originally committed as revision 18032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-18 14:03:40 +00:00
Reimar Döffinger
4d0c3dc0d5
Add a special guidcmp function to compare ASF guids, to avoid the many
...
duplicated sizeof(GUID).
Originally committed as revision 18030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-18 13:17:23 +00:00
Ronald S. Bultje
79ff11d78f
Fix wrong @file tag.
...
Originally committed as revision 18026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-17 18:35:58 +00:00
Ronald S. Bultje
c4a3d03299
Reindent after r18023.
...
Originally committed as revision 18024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-17 12:35:55 +00:00
Ronald S. Bultje
1a30d5415f
Add RTP/ASF header parsing, which is part of the SDP of these streams. See
...
patch discussion in "[PATCH] RTSP-MS 10/15: ASF header parsing" thread.
Originally committed as revision 18023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-17 12:34:57 +00:00
avcoder
6d050dd673
cosmetics: fix indentation, patch by avcoder, ffmpeg gmail com
...
Originally committed as revision 18022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-17 12:27:32 +00:00
Reimar Döffinger
2ac736a6da
Extend mov edit list support to work for a first padding entry with
...
time == -1 and duration. Complicated since time is relative to stream,
duration relative to container time base.
Originally committed as revision 18019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 20:49:52 +00:00
Måns Rullgård
c3df4a3bfe
rmdec: fix crash at end of file
...
Originally committed as revision 18018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 20:22:39 +00:00
Alex Converse
d0dab0ecd4
Cosmetics: Re-indent after last commit
...
Originally committed as revision 18017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 16:24:38 +00:00
Alex Converse
bd27eed6d0
MOV: Support stz2 "Compact Sample Size Box"
...
Originally committed as revision 18016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 16:14:36 +00:00
Ronald S. Bultje
508fe07ab3
More reindent, forgotten in previous commit.
...
Originally committed as revision 18014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 13:23:29 +00:00
Ronald S. Bultje
2d6f301470
Parse index chunk so that seeking in modern .rm files becomes a lot faster.
...
Has been tested against streamed / non-seekable input and passes make
seektest. See "[PATCH] rmdec.c: parse INDX chunk" thread on mailinglist.
Originally committed as revision 18013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 13:03:23 +00:00
Ronald S. Bultje
c882927957
Reindent after r18010.
...
Originally committed as revision 18011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 13:01:02 +00:00
Ronald S. Bultje
55d330f913
Mark the first output audio frame as keyframe (separate patch from previous,
...
as requested by Kostya). See "[PATCH] rmdec.c: remove cache access
duplication".
Originally committed as revision 18010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 12:59:18 +00:00
Ronald S. Bultje
c5efef7be9
Remove packet returning in ff_rm_parse_packet() if we're using the packet
...
cache, since this can already be accessed through ff_rm_retrieve_cache().
See "[PATCH] rmdec.c: remove cache access duplication" thread.
Originally committed as revision 18009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 12:57:49 +00:00
Ronald S. Bultje
7268f0bd8e
Reindent after r18005.
...
Originally committed as revision 18007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 12:50:12 +00:00
Ronald S. Bultje
6a2d3fc30b
Merge code for packet reading in "old" (.ra, audio-only) Realmedia files and
...
the newer (.rm, audio/video) files. See "[PATCH] rmdec.c: merge old/new
packet reading code" thread on mailinglist.
Originally committed as revision 18005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 12:47:34 +00:00
Baptiste Coudurier
f05783c2db
cosmetics, remove useless braces
...
Originally committed as revision 18004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 06:46:57 +00:00
Baptiste Coudurier
9bf1b2683c
simplify printing
...
Originally committed as revision 18003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 06:46:28 +00:00
Baptiste Coudurier
f584386d54
reindent
...
Originally committed as revision 18002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 06:44:16 +00:00
Baptiste Coudurier
c6026e4360
fix trkn metadata parsing
...
Originally committed as revision 18001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 06:43:38 +00:00
Baptiste Coudurier
0fb44a4e47
move read_udta_string up to avoid forward declaration
...
Originally committed as revision 18000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 06:06:05 +00:00
Baptiste Coudurier
873358e5d4
more generic metadata handling
...
Originally committed as revision 17999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 06:03:29 +00:00
Baptiste Coudurier
2229a5c60e
do not set isom if ctype is not set, happens in mov
...
Originally committed as revision 17998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-16 05:13:55 +00:00
Baptiste Coudurier
df8843c65f
search for hdlr atom in meta, some files do not store version+flags
...
Originally committed as revision 17996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 23:54:53 +00:00
Ronald S. Bultje
7a160bca83
Fix index generation in the way that it was supposed to be used. See the
...
discussion in the ML thread "[PATCH] rmdec.c: merge old/new packet reading
code".
Over time, this code broke somewhat, e.g. seq was never actually written
into (and was thus always 1, therefore the seq condition was always true),
whereas it was supposed to be set to the sequence number of the video slice
in case the video frame is divided over multiple RM packets (slices). The
problem of this is that packets other than those containing the beginning
of a video frame would be indexed as well.
Secondly, flags&2 is supposed to be true for video keyframes and for these
audio packets containing the start of a block. For some codecs (e.g. AAC),
that is every single packet, whereas for others (e.g. cook), that is the
packet containing the first of a series of scrambled packets that are to be
descrambled together. Indexing any of the following would lead to incomplete
and thus useless frames. Problem here is that flags would be reset to 2 to
indicate that the first packet is ready to be returned, and in addition if
no data was left to be returned (which is always true for the first packet),
then we wouldn't actually write the index entry anyway.
All in all, the idea was good and it probably worked at some point, but that
is long ago. This patch should at the very least make it likely for this code
to be executed again at the right times, i.e. the way it was originally
intended to be used.
Originally committed as revision 17993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 20:14:25 +00:00
Baptiste Coudurier
7c4502c8c4
typo in the mail, the 4am commit is always the worst
...
Originally committed as revision 17981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 10:53:12 +00:00
Baptiste Coudurier
4909e517fd
cosmetics
...
Originally committed as revision 17980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 10:49:52 +00:00
Baptiste Coudurier
983bdd3788
add my copyright in mov de/muxer
...
Originally committed as revision 17979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 10:49:28 +00:00
Baptiste Coudurier
e49da8273b
allocate palette in codec directly
...
Originally committed as revision 17976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 09:44:57 +00:00
Baptiste Coudurier
6c00a9dec2
cosmetics, add some whitespaces and empty lines
...
Originally committed as revision 17975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 09:06:36 +00:00
Baptiste Coudurier
f0f2218dce
do not modify sample_count, check against index entries
...
Originally committed as revision 17972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 07:21:22 +00:00
Baptiste Coudurier
ed6ae6a58b
use utc time for timestamp and do not set it if not specified
...
Originally committed as revision 17971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 23:39:52 +00:00
Baptiste Coudurier
36a12218db
swf timestamps are 16 bits
...
Originally committed as revision 17969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 22:51:38 +00:00
Baptiste Coudurier
40a1d41fd2
remove unused fields in swf context
...
Originally committed as revision 17968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 22:49:01 +00:00
Baptiste Coudurier
2261a952f9
do not parse timestamp if bitexact is set, should fix regression tests
...
Originally committed as revision 17967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 22:43:28 +00:00
Reimar Döffinger
881dad9e76
Enable generic index creation and seeking for NUV demuxer.
...
Originally committed as revision 17966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 22:07:15 +00:00
Reimar Döffinger
74f5ae847d
Add AVFMT_GENERIC_INDEX support also for formats that do not use a parser.
...
Originally committed as revision 17965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 21:46:00 +00:00
Reimar Döffinger
bd36f175ab
Make pcm_read_seek treat negative time stamps as 0, this avoids incorrectly
...
seeking before data_offset and is more consistent with how the generic index
seeking code handles it.
Originally committed as revision 17964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 20:50:54 +00:00
Michael Niedermayer
85b4230f68
Do not lose user flags when passing calls from the new to the old seeking API.
...
Originally committed as revision 17959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 16:30:51 +00:00
Michael Niedermayer
32d885926d
add avformat_seek_file()
...
Originally committed as revision 17956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 15:51:46 +00:00
Reimar Döffinger
7e04cfba27
Set pkt->pos correctly (to the start of header of the packet) in swfdec.
...
Originally committed as revision 17953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-13 22:26:45 +00:00
Baptiste Coudurier
4e35ffa978
fix swf seeking by fixing new stream detection
...
Originally committed as revision 17952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-13 19:37:05 +00:00
Reimar Döffinger
abb785f19e
Simplify RoQ demuxer pts calculation by using a appropriate time bases.
...
Originally committed as revision 17946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-13 13:37:35 +00:00
Reimar Döffinger
15969b55d1
Set video width/height and create audio stream in read_packet instead of
...
pre-parsing the file in read_header.
This avoids some code duplication and seeking, and also avoids an IO error
for small video-only files (as created during e.g. the FATE encoder test).
Originally committed as revision 17945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-12 11:47:50 +00:00
Baptiste Coudurier
d168b3fd2d
reindent
...
Originally committed as revision 17940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 08:05:18 +00:00
Baptiste Coudurier
7943a90a0d
keep original tag when stream copying subs with ipod format
...
Originally committed as revision 17939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 08:04:44 +00:00
Baptiste Coudurier
c569bd0632
ipod supports both subs tags
...
Originally committed as revision 17938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 08:03:42 +00:00
Baptiste Coudurier
80357cfcfb
reindent
...
Originally committed as revision 17937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 08:02:59 +00:00
Baptiste Coudurier
9f52055463
write correct atoms based on tag and not format, fixes subs stream copy
...
Originally committed as revision 17936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 08:01:39 +00:00
Baptiste Coudurier
d1df4da00b
use correct codec tag list for ipod format
...
Originally committed as revision 17935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 07:59:38 +00:00
Baptiste Coudurier
f344ae8096
again 10l, typo, put_byte instead of put_buffer
...
Originally committed as revision 17933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 06:48:02 +00:00
Baptiste Coudurier
cafdc1876a
attempt to try to generate an random umid
...
Originally committed as revision 17932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 06:15:00 +00:00
Baptiste Coudurier
a2523ce2e2
fix subs track height, set track->height to codec height if not set
...
Originally committed as revision 17929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 06:04:56 +00:00
Ben Littler
3596f4e076
sn40 avi fourcc decodes with ffodivx
...
Originally committed as revision 17928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 01:36:25 +00:00
Ronald S. Bultje
b5b9ff2a1f
Correctly skip complete INDX chunks, i.e. read the 32-bit header correctly
...
and if the size is broken (20 bytes, header-only), calculate the expected
size and skip the index entries anyway. See "[PATCH] rmdec.c: correctly
skip indexes" thread.
Originally committed as revision 17924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-10 12:55:29 +00:00
Ronald S. Bultje
b8cc5a9fdf
Prevent (negative) overflow of rm->remaining_len. This evaluation really only
...
has two possible outcomes: either len and rm->remaining_len are the same, in
which case we care about the outcome and it is zero, or rm->remaining_len is
currently not in use and we don't care about the outcome. In that case, len
is positive and rm->remaining_len is zero, which leads to a negative result.
This is confusing and could eventually lead to a sign-flip if we skip a lot
of packets (unlikely, but still). Therefore, just always set it to zero.
Originally committed as revision 17919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 22:03:47 +00:00
Ronald S. Bultje
7ccefd08f6
Revert to r17908.
...
Originally committed as revision 17918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 22:02:06 +00:00
Ronald S. Bultje
88c4339bda
Move MOVContext and related structures from mov.c to isom.h. See "[PATCH]
...
move MOVContext from mov.c to isom.h" thread on ML.
Originally committed as revision 17915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 21:53:00 +00:00
Reimar Döffinger
3898eed890
Reorder arguments for av_fifo_generic_read to be more logical and
...
consistent with av_fifo_generic_write.
Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 17:47:47 +00:00
Ronald S. Bultje
0ecf9cc900
Prevent (negative) overflow of rm->remaining_len. This evaluation really only
...
has two possible outcomes: either len and rm->remaining_len are the same, in
which case we care about the outcome and it is zero, or rm->remaining_len is
currently not in use and we don't care about the outcome. In that case, len
is positive and rm->remaining_len is zero, which leads to a negative result.
This is confusing and could eventually lead to a sign-flip if we skip a lot
of packets (unlikely, but still). Therefore, just always set it to zero.
Originally committed as revision 17910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 13:08:19 +00:00
Ronald S. Bultje
21b3752932
Replace separate packet parsing for "old_format" .ra files by a call to
...
ff_rm_parse_packet(). See "[PATCH] Make RM demuxer behave better with -an
option" thread, which sort-of turned into an aggregate of unrelated rmdec.c
cleanups.
Originally committed as revision 17909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 12:46:32 +00:00
Ronald S. Bultje
dc3685e129
Move frame discarding out of the ff_rm_parse_packet() loop, and respect
...
rm->audio_pkt_cnt in case multiple packets should be read before the next
syncpoint in the file, so that ffplay -an on a file containing AAC audio
works. See "[PATCH] Make RM demuxer behave better with -an option" thread
on mailinglist.
Originally committed as revision 17908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 12:42:53 +00:00
Reimar Döffinger
d71d64dcc1
Mark all packets from nuv demuxer as keyframes in order to make seeking work.
...
For proper seeking, they should be set correctly though.
Originally committed as revision 17907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 12:25:13 +00:00
Reimar Döffinger
3a4f91f5ed
100l, to start reading from the first frame we must seek to data_offset,
...
not 0 in av_seek_frame_generic.
Originally committed as revision 17905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 12:06:31 +00:00
Reimar Döffinger
fb2e95c97a
Set AVPacket pos also for audio packets in nuv demuxer.
...
Originally committed as revision 17904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 11:35:59 +00:00
Baptiste Coudurier
af79f1ae78
reindent
...
Originally committed as revision 17898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 04:17:12 +00:00
Baptiste Coudurier
6b4fab72df
change path pattern to be similar to existing files, and remove useless buffer
...
Originally committed as revision 17896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 03:34:15 +00:00
Baptiste Coudurier
4070629dfa
merge struct declaration and definition
...
Originally committed as revision 17895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 02:49:47 +00:00
Baptiste Coudurier
0c8f772791
write map packet every 100 packets according to specs
...
Originally committed as revision 17894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 02:47:32 +00:00
Baptiste Coudurier
aaa43de31a
write flt packet, might need some tweaking but it works
...
Originally committed as revision 17893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:35:00 +00:00
Baptiste Coudurier
a96b1a903a
correctly interleave audio and video according to specs
...
Originally committed as revision 17892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:10:28 +00:00
Baptiste Coudurier
46a7e3ec14
write timecode track in gxf
...
Originally committed as revision 17890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 00:14:55 +00:00
Baptiste Coudurier
33605366ee
compute media info in write_header
...
Originally committed as revision 17889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:23:44 +00:00
Baptiste Coudurier
cd34fd9c8c
factorize write packet
...
Originally committed as revision 17888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:14:26 +00:00
Baptiste Coudurier
990287c468
remove unneeded and empty user data
...
Originally committed as revision 17886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:12:56 +00:00
Baptiste Coudurier
6b43d2d075
uniformize variable names and remove duplicating fields in private structs
...
Originally committed as revision 17884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 21:55:08 +00:00
Baptiste Coudurier
8b9c94e0bd
remove useless fields
...
Originally committed as revision 17883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 21:08:06 +00:00
Reimar Döffinger
c957c85426
Replace all uses of the replaced av_fifo_read by av_fifo_generic_read
...
Originally committed as revision 17873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 14:42:11 +00:00
Michael Niedermayer
41dd680dd8
Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.
...
Yes this breaks ABI/API but ive already broken it and will bump avutil major
soon.
Originally committed as revision 17869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 14:16:55 +00:00
Vitor Sessak
616e899c43
VQF demuxer
...
Originally committed as revision 17866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-07 22:42:09 +00:00
Ronald S. Bultje
743b389074
rtpmap is case-insensitive, see comment from Luca in "[PATCH] rtsp.c:
...
keep-alive" thread.
Originally committed as revision 17862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-07 15:20:55 +00:00
Alex Converse
496dcbbc86
ADTS: Increased protection against writing illegal/nonsense files.
...
Originally committed as revision 17859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 21:19:16 +00:00
Michael Niedermayer
8507bde0f3
Add my name to copyright & author as requested by the original author.
...
Originally committed as revision 17858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 20:51:50 +00:00
Michael Niedermayer
8b2fa9659a
Add code to the self test to print jitter & drift.
...
Originally committed as revision 17857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 20:48:31 +00:00
Ronald S. Bultje
57f94f54c4
Oops, very silly typo.
...
Originally committed as revision 17853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 03:12:33 +00:00
Justin Ruggles
f48b9304cd
flacdec: Parse the metadata header in the raw FLAC demuxer.
...
Originally committed as revision 17852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 01:31:10 +00:00
Diego Biurrun
e0c98063e7
Add '#undef rand' to fix test program build.
...
Originally committed as revision 17850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:57:26 +00:00
Diego Biurrun
6d16718e5d
cosmetics: Fix test program warnings.
...
Originally committed as revision 17849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:55:50 +00:00
Michael Niedermayer
bc3057f499
Vertical align.
...
Originally committed as revision 17847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:48:02 +00:00
Michael Niedermayer
2e51dedd24
Better name for integrator2_state.
...
Originally committed as revision 17846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:47:16 +00:00
Michael Niedermayer
3228491027
Add clock_period parameter, this should make the code easier to use.
...
Originally committed as revision 17845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:44:12 +00:00
Michael Niedermayer
1b85ec1ea2
Selftest code.
...
Originally committed as revision 17844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:26:51 +00:00
Michael Niedermayer
8537591abc
Fix bug with time==0 being special.
...
Originally committed as revision 17843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:23:52 +00:00
Michael Niedermayer
494065ca36
Adapt first factor.
...
Originally committed as revision 17842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:20:55 +00:00
Michael Niedermayer
55b5859867
Merge ff_timefilter_read() and ff_timefilter_update(), this simplifies API and
...
avoids calling them in the wrong order.
Originally committed as revision 17841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:14:44 +00:00
Michael Niedermayer
08ffd3708b
Allow timespans to vary.
...
No change in performance if they do not vary.
Originally committed as revision 17840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 00:09:14 +00:00
Michael Niedermayer
28e947e458
Reorder operations, 20% improved performance, 1 variable less.
...
Originally committed as revision 17839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 23:57:42 +00:00
Michael Niedermayer
f982c6d87a
Timefilter code by Olivier Guilyardi o list O samalyse o com
...
Originally committed as revision 17838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 23:45:18 +00:00
Diego Biurrun
e658657528
Mark pos_min and pos_max variables as av_uninit to work around false
...
positive uninitialized variable warnings.
Originally committed as revision 17826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 19:15:14 +00:00
Diego Biurrun
1aeb55a1de
Mark dvdaudio_substream_type variable as av_uninit to work around false
...
positive uninitialized variable warning.
Originally committed as revision 17825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 19:13:12 +00:00
Ivan Schreter
61c23c155c
Pass packet position to the parser, so frame's AVPacket.pos is computed correctly.
...
Originally committed as revision 17824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 07:36:16 +00:00
Alex Converse
63581eb183
MOV: fix demuxing fragmented files
...
Originally committed as revision 17803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 07:57:09 +00:00
Mike Melanson
e584914acd
Fix a condition that causes an infinite loop, but only when compiled with
...
gcc 4.2.4 on x86_32. Thanks to Vitor for hunting this down.
Originally committed as revision 17802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 05:40:53 +00:00
Ronald S. Bultje
29b9f58b37
Split rtsp_send_cmd() into two functions, one for the actual sending of the
...
command and a second, new function to read the reply to this command. This
will make it possible to read server notices that are not in response to a
command in future versions, such as EOS or interrupt notices. See "[PATCH]
rtsp.c: split rtsp_send_cmd() in a send- and a receive-function" thread.
Originally committed as revision 17797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:57:37 +00:00
Michael Niedermayer
ded0149948
Replace two 'return AVERROR(EAGAIN);' by continue. The latter are nicer
...
and the EAGAIN were just added as example not because they made sense.
Originally committed as revision 17783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 20:24:17 +00:00
Alex Converse
fefe43ff2c
MOV: fix crash when 'meta' occurs before first 'trak'
...
Originally committed as revision 17781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 18:19:44 +00:00
Ronald S. Bultje
bc8763cda9
Rename "fd1" variable ro "fd". There were previously two variables (fd1 and
...
fd2) and one was just removed, so naming the other "fd1" is counter-intuitive.
See "[RFC] rtsp.c EOF support" thread.
Originally committed as revision 17780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 17:06:18 +00:00
Ronald S. Bultje
f0a8039464
Add url_get_file_handle(), which is used to get the file descriptor
...
associated with the I/O handle (e.g. the fd returned by open()). See
"[RFC] rtsp.c EOF support" thread.
There were previously some URI-specific implementations of the same idea,
e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are
deprecated by this patch and will be removed at the next major API bump.
Originally committed as revision 17779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 17:04:51 +00:00
Ronald S. Bultje
2fea965070
Reindent after r17777.
...
Originally committed as revision 17778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 16:53:04 +00:00
Ronald S. Bultje
f830c9a487
Make RTSP-MS-over-UDP negotiation work. See "[PATCH] RTSP-MS 8/15: fix
...
RTSP-MS UDP" thread on mailinglist.
Basically, UDP setup needs to be done in a particular order (first rtx
on two UDP ports (one for RTP, one for RTCP), then the other streams over
one, single port for all of them together). Not doing this correctly results
in a "461" error (invalid transport) during setup.
Originally committed as revision 17777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 16:52:35 +00:00
Ronald S. Bultje
090438cc81
Recognize the "application" data type, which is required for WMS/UDP
...
sessions.
This type is used in RTP/ASF (served by WMS servers), and is required to
make UDP sessions work, but breaks TCP sessions. Therefore, we disable setup
for application streams in TCP/WMS streams.
See discussion in "[PATCH] RTSP-MS 8/15: fix RTSP-MS UDP" thread.
Originally committed as revision 17776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 16:48:56 +00:00
Benoit Fouet
9aaa2077e5
Add a context to av_log() calls.
...
Originally committed as revision 17775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 16:19:37 +00:00
Diego Biurrun
fdf119062e
Remove deprecated vhook subsystem.
...
Originally committed as revision 17769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 14:09:10 +00:00
Ronald S. Bultje
f989d39752
Remove size_t cast in setting s->priv_data directly to the (integer) file
...
descriptor returned by open(). This removes some dubious doublecasts such
as priv_data = (void *) (size_t) some_integer, and is always safe on systems
we care about because sizeof(int)<=sizeof(void*). See comments from Mans and
Michael in "[RFC] rtsp.c EOF support" thread.
Originally committed as revision 17768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 13:57:09 +00:00
Ronald S. Bultje
eafb17d140
Don't let finalize_packet() touch pkt->stream_index. Instead, let individual
...
payload handlers take care of that themselves at their own option. What this
patch really does is "fix" a bug in MS-RTSP protocol where incoming packets
are always coming in over the connection (UDP) or interleave-id (TCP) of
the stream-id of the first ASF packet in the RTP packet. However, RTP packets
may contain multiple ASF packets (and usually do, from what I can see), and
therefore this leads to playback bugs. The intended stream-id per ASF packet
is given in the respective ASF packet header. The ASF demuxer will correctly
read this and set pkt->stream_index, but since the "stream" parameter can
not be known to rtpdec.c or any of the RTP/RTSP code, the "st" parameter
in all these functions is basically invalid. Therefore, using st->id as
pkt->stream_index leads to various playback bugs. The result of this patch
is that pkt->stream_index is left untouched for RTP/ASF (and possibly for
other payloads that have similar behaviour).
The patch was discussed in the "[PATCH] rtpdec.c: don't overwrite
pkt->stream_index in finalize_packet()" thread on the mailinglist.
Originally committed as revision 17767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 13:51:34 +00:00
Ronald S. Bultje
95f03cf31f
Reindent after r17764.
...
Originally committed as revision 17765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 13:42:16 +00:00
Ronald S. Bultje
f3e71942e7
In the current implementation of rtp_parse_packet(), finalize_packet() is
...
called for all packets with an internal handler function but only for
non-first packets from dynamic payload parse_packet() handlers. This patch
fixes that. Bug was noticed by Luca in "[PATCH] rtpdec.c: don't overwrite
pkt->stream_index in finalize_packet()" thread.
Originally committed as revision 17764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 13:41:50 +00:00
Ronald S. Bultje
d176f90387
Reduce allocated length of the HTTP authentication request field buffer, as
...
noticed by Stefano and Luca in the "[PATCH]RTSP Basic Authentication"
mailinglist thread.
av_base64_encode() was recently changed. The previous implementation required
12 extra bytes (ceil(len(src)/3.)*4+12), whereas the new one is guaranteed to
fit in an exact buffer (ceil(len(src)/3.)*4), plus one extra byte for the
trailing zero. This change fixes no bug, it just slightly decreases the
amount of allocated memory.
Originally committed as revision 17761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 13:26:17 +00:00
Diego Biurrun
c04920978e
cosmetics: Fix indentation.
...
Originally committed as revision 17756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 12:57:07 +00:00
Benoit Fouet
2fddbb68b6
Add context to some av_log() calls.
...
Originally committed as revision 17729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 09:28:37 +00:00
Diego Biurrun
0ffbc258aa
Change a bunch of codec long_names to be more consistent and descriptive.
...
Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-02 05:18:33 +00:00
Aurelien Jacobs
827f7e285b
deprecate old metadata API
...
Originally committed as revision 17690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 16:35:25 +00:00
Aurelien Jacobs
bc718b4720
fix missed usage of old metadata API in mov demuxer
...
Originally committed as revision 17689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 16:06:26 +00:00
Aurelien Jacobs
012867f05b
use new metadata API in libavformat/utils.c
...
Originally committed as revision 17687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 15:38:06 +00:00
Aurelien Jacobs
feacba6c26
use new metadata API in r3d demuxer
...
Originally committed as revision 17686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 15:28:56 +00:00
Aurelien Jacobs
ec26457064
new metadata API is now officially part of public API
...
Originally committed as revision 17682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 14:50:03 +00:00
Aurelien Jacobs
95030323d1
simplify metadata conversion and fixes gcc-2.95 at the same time
...
Originally committed as revision 17681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 14:29:30 +00:00
Michael Niedermayer
4022fe01a6
Change the timebase of the raw demuxer to one that can represent the ts of fields.
...
Originally committed as revision 17675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 03:48:35 +00:00
Michael Niedermayer
9e6c124a87
Disable MPEG-1/2 style timestamp calculation for H264. It still randomizes
...
the timestamps because delay is not known for the first few frames.
Originally committed as revision 17674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 03:17:24 +00:00
Aurelien Jacobs
719e721a14
Add some basic metadata conversion tables for matroska and asf.
...
Add missing const qualifiers for metadata_conv in AV{In|Out}putFormat.
Originally committed as revision 17671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 00:12:08 +00:00
Aurelien Jacobs
f610a9f284
add a metadata conversion API
...
Originally committed as revision 17670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 23:34:16 +00:00
Luca Abeni
3aa7ac6dd2
Document ff_rtp_codec_id()
...
Originally committed as revision 17666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 19:34:50 +00:00
Ivan Schreter
4c6b49bf74
Change TS seeking so it returns position/timestamp of a key frame.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 18:35:53 +00:00
Luca Abeni
d3da8a4565
Fix typo in a comment
...
Originally committed as revision 17664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 18:23:19 +00:00
Luca Abeni
c3efd98c09
Document ff_rtp_enc_name()
...
Originally committed as revision 17663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 18:21:43 +00:00
Justin Ruggles
344bcea46d
cosmetics: indentation
...
Originally committed as revision 17662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 17:31:25 +00:00
Luca Abeni
d3a5794958
Document ff_rtp_get_codec_info()
...
Originally committed as revision 17661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 17:24:56 +00:00
Justin Ruggles
81f052cb7d
Separate the raw FLAC demuxer from raw.c and put in a new file,
...
flacdec.c.
Originally committed as revision 17660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 17:24:46 +00:00
Ronald S. Bultje
2d243fb3fc
Rename movenc.c MOVContext to MOVMuxContext, since MOVContext is already used
...
in mov.c for the demuxer. See "[PATCH] rename movenc.c MOVContext to
MOVMuxContext" thread on the mailinglist.
Originally committed as revision 17659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 16:02:29 +00:00
Måns Rullgård
f166f2f435
Revert "Improve frame rate guessing for streams with two fields per frame."
...
This reverts r17656, which broke many tests. Further investigation
is necessary.
Originally committed as revision 17658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 15:15:54 +00:00
Ivan Schreter
5fa61b26f7
Improve frame rate guessing for streams with two fields per frame.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 13:14:46 +00:00
Aurelien Jacobs
73914d56d9
use new metadata API in nut muxer
...
This is only a straight conversion of current code, so for now, it won't
mux generic metadata. It will only mux Title, Author and Copyright.
Originally committed as revision 17653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 23:12:14 +00:00
Aurelien Jacobs
00798e4563
use new metadata API in nut demuxer
...
Originally committed as revision 17652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 23:10:34 +00:00
Reimar Döffinger
fe02d9e719
Do not allow standard-frame-rate detection to increase the value of
...
r_frame_rate by more than 1% over a previously set/detected value.
Originally committed as revision 17641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 14:13:15 +00:00
Reimar Döffinger
03c03afde7
Simplify ipmovie.c pts calculation by using an appropriate time_base.
...
Originally committed as revision 17639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 10:07:12 +00:00
Benoit Fouet
f3592353ce
Add a context to av_log() call.
...
Originally committed as revision 17638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 08:31:20 +00:00
Reimar Döffinger
3bc5f6f9a6
Hack: #undef printf so compilation works with DEBUG_IPMOVIE set to 1
...
Originally committed as revision 17632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 08:02:34 +00:00
Reimar Döffinger
8514272472
Detect the case when the time base is exact but far finer than necessary to
...
represent the time stamps, as e.g. for ipmovie.c and set a better r_frame_rate.
Originally committed as revision 17631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-27 07:56:24 +00:00
Michael Niedermayer
3797c74ba5
Add ticks_per_frame, this should hopefully fix the regressions caused
...
by the time_base change.
Originally committed as revision 17630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 23:47:32 +00:00
Aurelien Jacobs
83569729d4
cosmetics: vertical alignment
...
Originally committed as revision 17629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:39:53 +00:00
Aurelien Jacobs
b8222b3d9c
use new metadata API in rpl demuxer
...
Originally committed as revision 17628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:38:46 +00:00
Aurelien Jacobs
0d2e86d7ae
use new metadata API in wc3 demuxer
...
Originally committed as revision 17627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:35:26 +00:00
Stefano Sabatini
3f4c2bf99b
Mark as "internal but installed" the avio.h file.
...
This should prevent its direct inclusion in an external project, which
results broken if avformat.h is not included before.
Originally committed as revision 17626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:34:18 +00:00
Stefano Sabatini
aafe9b635e
Add a @file notice to avio.h.
...
Originally committed as revision 17625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:28:42 +00:00
Aurelien Jacobs
17af052531
move static tables from asf.h to non-static tables in asf.c
...
this avoid getting those tables duplicated in asfenc.o and asfdec.o
Originally committed as revision 17619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 16:17:17 +00:00
Aurelien Jacobs
5e293c424d
rename asf-enc.c to asfenc.c and asf.c to asfdec.c for consistency
...
Originally committed as revision 17618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 15:44:19 +00:00
Aurelien Jacobs
6352c6bb63
fix a memleak in av_metadata_set()
...
Originally committed as revision 17617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 14:40:04 +00:00
Ronald S. Bultje
144ae29dde
Implement marker bit, which is used for several RTP payloads currently
...
under review. See "[FFmpeg-devel] RTP mark bit not passed to parse_packet"
thread on mailinglist.
Originally committed as revision 17616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 14:24:50 +00:00
Ronald S. Bultje
a68d44ed6f
Don't (ab)use PKT_FLAG_* in RTP code, since the two have virtually nothing
...
in common except for this one value. Change was requested by Luca in the
"[FFmpeg-devel] RTP mark bit not passed to parse_packet" thread.
Originally committed as revision 17615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 14:23:05 +00:00
Ronald S. Bultje
26d6b3e230
Document rtsp.h, see "[PATCH] document rtsp.h" thread.
...
Originally committed as revision 17614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 14:15:41 +00:00
Aurelien Jacobs
d9fc9ff31b
movenc: add muxing of language along with metadata tags when available
...
Originally committed as revision 17612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 13:13:48 +00:00
Aurelien Jacobs
2904fd398f
return -1 for errors in ff_mov_iso639_to_lang() to allow for error checking
...
Originally committed as revision 17611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 13:11:18 +00:00
Aurelien Jacobs
b97fb809b8
cosmetics: indentation
...
Originally committed as revision 17610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 13:08:22 +00:00
Aurelien Jacobs
1ee2d44805
use new metadata API in mov muxer
...
Originally committed as revision 17609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 13:06:49 +00:00
Aurelien Jacobs
ed118841ea
don't trigger metadata compatibility code when user app already set metadata
...
using new API
Originally committed as revision 17608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 13:00:13 +00:00
Baptiste Coudurier
e34a5996b9
dv probe
...
Originally committed as revision 17607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 08:45:59 +00:00
Justin Ruggles
2578326f13
Share the function to write a raw FLAC header and use it in the Matroska
...
muxer.
Originally committed as revision 17606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 02:41:53 +00:00
Justin Ruggles
faec0eba8b
cosmetics: add a comment in flac_write_header().
...
Originally committed as revision 17605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 02:33:19 +00:00
Justin Ruggles
25582b8929
Add support for full header extradata to raw FLAC muxer.
...
Originally committed as revision 17604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 02:32:18 +00:00
Justin Ruggles
59c6178a54
Use a shared function to validate FLAC extradata.
...
Originally committed as revision 17602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 02:29:24 +00:00
Justin Ruggles
caee91f7d0
Separate the raw FLAC muxer from raw.c to its own file, flacenc.c.
...
Originally committed as revision 17601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 02:21:43 +00:00
Diego Biurrun
22e77e44dd
spelling/wording/grammar cosmetics
...
Originally committed as revision 17589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 19:10:39 +00:00
Michael Niedermayer
882fb0a3ad
untypo
...
Originally committed as revision 17586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 10:45:08 +00:00
Baptiste Coudurier
28c1720023
fix index edit rate, inverse num and den
...
Originally committed as revision 17583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 08:09:13 +00:00
Baptiste Coudurier
e38badbc21
simplify, use codec->block_align
...
Originally committed as revision 17582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 08:08:10 +00:00
Baptiste Coudurier
37653f0b93
set channel number even for inactive channels
...
Originally committed as revision 17581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 08:06:15 +00:00
Baptiste Coudurier
6df1deda30
do not set frame start bit since marked as not used and factorize
...
Originally committed as revision 17580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 08:05:43 +00:00
Michael Niedermayer
1de2db8fab
AVInputFormat.reed_seek2()
...
Originally committed as revision 17579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 03:18:11 +00:00
Ivan Schreter
27ca0a79c9
Add timestamp computation if values are exported by decoder.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 22:19:09 +00:00
Ivan Schreter
810c451b02
Change duration computation to use time_base instead of TB/2.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 20:17:02 +00:00
Michael Niedermayer
2591821213
Add AVFMT_VARIABLE_FPS to specify which muxers do not need duplicated frames.
...
Originally committed as revision 17554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 15:04:18 +00:00
Michael Niedermayer
7f123e7f8a
Add CODEC_ID_H264 to tb_unreliable(), it belongs there for the same
...
reason as mpeg2. (telecine amongth others)
Originally committed as revision 17551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 13:35:54 +00:00
Baptiste Coudurier
40284e9c8b
start track id at 2, track id 1 for timecode
...
Originally committed as revision 17545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 19:51:16 +00:00
Michael Niedermayer
1d14361dec
Allow av_find_stream_info() to be aborted.
...
Based on a patch by netgem.
Originally committed as revision 17538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 02:38:45 +00:00
Stefan Gehrer
b81350a866
consistent naming of Chinese AVS raw demuxer
...
Originally committed as revision 17527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 14:27:50 +00:00
Reimar Döffinger
67d44b84c1
Support playback of incorrectly cut DV files where the headers do not
...
start at the first byte.
Originally committed as revision 17519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 09:42:56 +00:00
Baptiste Coudurier
bc64cb9680
check av_get_packet return value
...
Originally committed as revision 17514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 01:07:46 +00:00
Baptiste Coudurier
0d8f0abfb9
return AVERROR(ENOMEM) if alloc failed, set count after alloc, use variable when reallocing, based on patch by Netgem
...
Originally committed as revision 17509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 00:20:07 +00:00
Baptiste Coudurier
d2718187b9
parse aac extradata to fetch channels and sample rate, patch from Netgem
...
Originally committed as revision 17506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 23:54:50 +00:00
Michael Niedermayer
c132938d52
Waste less space for printing timebases.
...
Originally committed as revision 17505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 23:00:07 +00:00
Ronald S. Bultje
a9e534d561
Rename RTSPHeader to RTSPMessageHeader to reflect more clearly what the
...
structure is meant to represent. See "[PATCH] rtsp.[ch]: RTSPHeader ->
RTSPServerResponse" and "[PATCH] document rtsp.h" threads on ML.
Originally committed as revision 17504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 22:26:44 +00:00
Michael Niedermayer
fa0e036d7f
Print all timebases (idea from netgem)
...
Originally committed as revision 17502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 21:30:44 +00:00
Michael Niedermayer
c60a0f85ee
Check for alloc failures.
...
Originally committed as revision 17497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 20:57:46 +00:00
Michael Niedermayer
8ebe099ac0
Check for EOF during index reading.
...
Originally committed as revision 17496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 20:44:39 +00:00
Ivan Schreter
346db3ef7f
Use context variable repeat_pict for frame duration computation and
...
document this new use.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 20:11:47 +00:00
Michael Niedermayer
f5007cc844
Handle chunks with the MSB in size set correctly that is unsigned.
...
Originally committed as revision 17491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 20:11:34 +00:00
Michael Niedermayer
73d65a96ae
Be less noisy with invalid pts/dts.
...
Originally committed as revision 17482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 17:29:25 +00:00
Michael Niedermayer
31f2616db8
Fix raw rgb/bgr vertical flip in avi based on info from http://www.fourcc.org/fccbihgt.php .
...
partially fixes issue862.
Originally committed as revision 17475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 15:32:56 +00:00
Ronald S. Bultje
d541a7d2d1
Change sizeof(struct_type) to sizeof(variable).
...
Originally committed as revision 17474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 14:40:19 +00:00
Stefan Gehrer
9f2fc1268c
add raw demuxer for Chinese AVS elementary streams
...
Originally committed as revision 17473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-21 10:34:29 +00:00
Ivan Schreter
b1fa494205
Add convergence_duration to AVCodecParserContext.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 23:35:59 +00:00
Alex Converse
e9259f8d18
Re-indent after last commit
...
Originally committed as revision 17467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 23:24:41 +00:00
Alex Converse
e7f73adbb8
AAC in ASF does not need parsing.
...
Originally committed as revision 17466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 23:23:53 +00:00
Alex Converse
528374980e
Add Divio MPEG-4 FOURCC (M4CC)
...
Originally committed as revision 17465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 23:09:24 +00:00
Aurelien Jacobs
9ebeea82f0
matroskadec: return AVERROR_EOF upon detection of end of file
...
Originally committed as revision 17460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 21:01:45 +00:00
Peter Ross
0e9602ef93
FLV demuxer: return AVERROR_EOF upon detection of end of file.
...
Originally committed as revision 17457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 12:19:55 +00:00
Peter Ross
1e04bbeede
AVI demuxer: return AVERROR_EOF upon detection of end of file.
...
Originally committed as revision 17456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 12:19:33 +00:00
Aurelien Jacobs
d52b39c79c
fix missing dependencies
...
Originally committed as revision 17445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:27:57 +00:00
Ivan Schreter
6363af44da
Add key_frame to AVCodecParserContext, used in libavformat.
...
Initialized to -1 in parser.c for backward compatibility.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 23:46:05 +00:00
avcoder
1447aac4be
av_alloc_format_context has been renamed, update AVFormatContext av_class
...
documentation accordingly.
Patch by avcoder: `gmail_address(ffmpeg)`
Originally committed as revision 17430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 14:01:46 +00:00
Baptiste Coudurier
7b05a81687
fix partition index byte count
...
Originally committed as revision 17424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 07:14:23 +00:00
Baptiste Coudurier
454d53ed9e
always use multi track since timecode track is present
...
Originally committed as revision 17423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 07:13:57 +00:00
Baptiste Coudurier
6739fa54b8
fix preface version
...
Originally committed as revision 17421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 04:57:54 +00:00
Baptiste Coudurier
50ced76f4b
check fifo size and realloc if needed
...
Originally committed as revision 17420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 04:42:31 +00:00
Baptiste Coudurier
ef33facdfe
start counting track number from 0
...
Originally committed as revision 17419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 02:57:41 +00:00
Baptiste Coudurier
5bea4f6770
remove redundant comment
...
Originally committed as revision 17418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 02:18:52 +00:00
Baptiste Coudurier
c3ff541baa
do not write slice count when muxing cbr
...
Originally committed as revision 17417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 02:13:59 +00:00
Baptiste Coudurier
8ab94b524b
flush pending write in mxf_write_footer
...
Originally committed as revision 17416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 01:43:40 +00:00
Baptiste Coudurier
659713bf86
use index 0 for timecode track and write it in source package also
...
Originally committed as revision 17415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 01:35:36 +00:00
Baptiste Coudurier
6c53bf63c6
fix rip body sid when muxing cbr
...
Originally committed as revision 17414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 01:05:06 +00:00
Baptiste Coudurier
42c6850ed2
simplify descriptor size computation logic
...
Originally committed as revision 17410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:12:05 +00:00
Aurelien Jacobs
a233eaa618
use new metadata API in nsv demuxer
...
Originally committed as revision 17407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:02:38 +00:00
Aurelien Jacobs
4b358c3e60
use new metadata API in mpegts muxer
...
Originally committed as revision 17406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-18 00:00:38 +00:00
Diego Biurrun
30f68128ab
Add missing #includes to fix 'make checkheaders'.
...
Originally committed as revision 17398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 21:43:57 +00:00
Aurelien Jacobs
1f1ff73156
remove now useless get_str16() from rmdec.c
...
Originally committed as revision 17397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 21:41:50 +00:00
Aurelien Jacobs
7379d5bc0b
use new metadata API in rm (de)muxer
...
Originally committed as revision 17396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 21:40:38 +00:00
Aurelien Jacobs
41d7f7bdb9
apedec: display a warning when truncating a metadata tag
...
Originally committed as revision 17394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 15:44:11 +00:00
Diego Biurrun
1bf6e565dd
cosmetics: 'const static' --> 'static const' to avoid warnings of the type
...
"'static' is not at beginning of declaration" with -Wextra.
Originally committed as revision 17391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 12:03:10 +00:00
Luca Abeni
bf6d981806
Remame rtp_get_codec_info() to ff_rtp_get_codec_info(), as it is not
...
a static function
Originally committed as revision 17390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 08:12:51 +00:00
Luca Abeni
e5f483c604
Move to rtp.h the prototypes of all the functions defined in rtp.c
...
Originally committed as revision 17389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 08:09:34 +00:00
Aurelien Jacobs
3f9867b150
use new metadata API in ape demuxer
...
Originally committed as revision 17388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 00:02:13 +00:00
Måns Rullgård
037c08d6cd
avidec: fix error introduced in r17382
...
Originally committed as revision 17385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 18:52:14 +00:00
Benoit Fouet
87ad63c0f9
Add a context to av_log() calls and modify a function prototype to allow it.
...
Originally committed as revision 17382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 16:33:00 +00:00
Ronald S. Bultje
2a1d51c573
Rename RTSP_*_LAST to RTSP_*_NB in line with PIX_FMT_* in lavc. See "[PATCH]
...
document rtsp.h" mailinglist thread.
Originally committed as revision 17381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 16:27:35 +00:00
Benoit Fouet
b4314bff6b
Add a context to av_log() call and update the trace not to be redundant.
...
Originally committed as revision 17380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 16:27:08 +00:00
Ronald S. Bultje
3b0fc60592
Don't install rtsp.h. It is intended to be private, it depends on rtp code
...
which isn't installed anyway (so it doesn't work).
In the process, also remove public/private API comments from rtsp headers
because they are unnecessary.
Originally committed as revision 17379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 16:24:01 +00:00
Benoit Fouet
0fd7c133f4
Add a context to av_log() calls.
...
Originally committed as revision 17377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 16:12:23 +00:00
Benoit Fouet
ff9843ca39
Add a context to av_log() call.
...
Originally committed as revision 17376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 16:09:58 +00:00
Benoit Fouet
c102347088
Add a context to av_log() calls.
...
Originally committed as revision 17375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 16:09:34 +00:00
Benoit Fouet
871e62e529
Add a context to av_log() calls.
...
Originally committed as revision 17374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 16:09:02 +00:00
Benoit Fouet
b9450753ea
Add a context to av_log() call.
...
Originally committed as revision 17373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 14:45:05 +00:00
Benoit Fouet
76b9092f24
Add a context to av_log() calls and extend ape_dumpinfo prototype to do that.
...
Originally committed as revision 17372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 14:44:31 +00:00
Baptiste Coudurier
e86a14ded9
fetch display aspect ratio from mpeg-2 essence
...
Originally committed as revision 17371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 12:48:45 +00:00
Baptiste Coudurier
d1fa518e9c
merge mxf_write_d10_packet into mxf_write_packet
...
Originally committed as revision 17367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 10:44:38 +00:00
Luca Abeni
b0a880b38b
Document ff_rtp_get_payload_type()
...
Originally committed as revision 17365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 10:21:14 +00:00
Luca Abeni
0550b58f4e
Rename rtp_get_payload_type() to ff_rtp_get_payload_type(), as it is not
...
a static function
Originally committed as revision 17364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 09:36:21 +00:00
Diego Biurrun
b4ee1d3911
Make format long_names consistent.
...
Originally committed as revision 17360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 01:55:28 +00:00
Baptiste Coudurier
fe5a361c3a
fix mxf interleaving packet purge
...
Originally committed as revision 17359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 01:51:52 +00:00
Stefano Sabatini
c1b0210115
Improve grammar: "X next after Y" -> "next X after Y".
...
Originally committed as revision 17347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 20:45:10 +00:00
Aurelien Jacobs
5e56599878
matroskaenc: use new metadata API
...
Originally committed as revision 17336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:53:05 +00:00
Aurelien Jacobs
f702df396d
matroskadec: export language of metadata tags when available
...
Originally committed as revision 17334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:05:37 +00:00
Aurelien Jacobs
cf960242a4
matroskadec: add needed definitions forgotten in r17331
...
Originally committed as revision 17332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 16:00:58 +00:00
Aurelien Jacobs
929e9de7a1
matroskadec: add generic metadata support
...
Originally committed as revision 17331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:53:55 +00:00
Aurelien Jacobs
325ace3efc
matroskadec: read track and attachment uid
...
will be useful for generic metadata support
Originally committed as revision 17330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:34:22 +00:00
Aurelien Jacobs
38766e084f
matroskadec: export track name through the metadata API
...
Originally committed as revision 17329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:29:09 +00:00
Aurelien Jacobs
6cb6e159f8
matroskadec: use new metadata API to export some simple information
...
Originally committed as revision 17328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 15:25:14 +00:00
Stefano Sabatini
d1037c1205
Do not export to the public the first_protocol symbol at the next
...
major bump.
There is no need for that, since av_protocol_next() already provides
access to the first registered protocol.
Originally committed as revision 17326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:34:23 +00:00
Stefano Sabatini
9075d1e027
Document av_protocol_next().
...
Originally committed as revision 17324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:31:18 +00:00
Stefano Sabatini
5d37750187
Replace calls/references of the deprecated register_protocol()
...
function with correponding calls/references to av_register_protocol().
Originally committed as revision 17323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:29:23 +00:00
Stefano Sabatini
65c40e4e3a
Rename register_protocol() to av_register_protocol() and deprecate
...
register_protocol().
Originally committed as revision 17322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:25:23 +00:00
Aurelien Jacobs
54b4ea57fd
demux some more metadata tags in mov
...
Originally committed as revision 17321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 14:13:28 +00:00
Stefano Sabatini
aeedac95cc
Document av_iformat_next() and av_oformat_next() functions.
...
Originally committed as revision 17316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 09:04:08 +00:00
Aurelien Jacobs
49674dd052
use new metadata API in mov demuxer
...
Originally committed as revision 17309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-15 02:28:54 +00:00
Michael Niedermayer
8ba311410a
Silence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible pointer type"
...
The alternative (schoolbook) solution is less readable.
Originally committed as revision 17230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:44:46 +00:00
Peter Ross
bad4a6bbb7
Use consistent indent style in oggdec.
...
Originally committed as revision 17227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 13:44:21 +00:00
Patrik Kullman
eca406e284
Add libavcodec/internal.h include to avoid warning: implicit declaration of
...
function ‘ff_log_missing_feature’
Patch by Patrik Kullman ( patrik yes nu )
Originally committed as revision 17220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 23:02:05 +00:00
Baptiste Coudurier
73d0869a2f
compute body offset and index entry offset correctly
...
Originally committed as revision 17219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 22:38:05 +00:00
Thierry Foucu
2ead1eb0ff
use correct field number for video according to specs, patch by Thierry Foucu, tfoucu at gmail dot com
...
Originally committed as revision 17214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 21:36:36 +00:00
Baptiste Coudurier
032d8aece2
cosmetics, rename nb_frames to nb_fields
...
Originally committed as revision 17213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 21:32:18 +00:00
Baptiste Coudurier
ab91e84d2b
fix slice offset computation
...
Originally committed as revision 17212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 19:04:30 +00:00
Diego Biurrun
67164b0c13
Remove pointless #if around the file, it is already conditionally compiled.
...
Originally committed as revision 17208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 09:39:04 +00:00
Baptiste Coudurier
1c6bdfa999
set mime type for mxf
...
Originally committed as revision 17207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:57:37 +00:00
Baptiste Coudurier
844d9e4115
simplify
...
Originally committed as revision 17206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:46:03 +00:00
Baptiste Coudurier
8d1a5af700
cosmetics, reindent, add/remove some empty lines, redundant comment
...
Originally committed as revision 17205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:34:01 +00:00
Baptiste Coudurier
bd3f81f313
MXF D-10 muxer
...
Originally committed as revision 17204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:28:20 +00:00
Baptiste Coudurier
6249143da8
store display height without vbi
...
Originally committed as revision 17203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:13:36 +00:00
Baptiste Coudurier
db6db7e505
split mpegvideo descriptor into cdci descriptor and wav common in sound common
...
Originally committed as revision 17202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:11:21 +00:00
Baptiste Coudurier
e15421fe2b
write essence elements klv packets with ber4 length, more interoperable
...
Originally committed as revision 17200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 07:06:35 +00:00
Baptiste Coudurier
baaf7b1be1
encode klv fill item length in fixed ber 4 bytes
...
Originally committed as revision 17199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 05:33:11 +00:00
Alex Converse
ecc3a139b8
Report the illegal audio object type, not it offset by 1.
...
Discussed and OKed at http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2009-February/019860.html
Originally committed as revision 17198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 03:51:15 +00:00
Alex Converse
dd44d9e316
ADTS Muxer: Refuse to write illegal ADTS files by checking validity of header
...
members and erroring out if invalid
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 17193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 23:51:08 +00:00
Justin Ruggles
e3b446498a
use av_malloc() in vorbis_comment()
...
Originally committed as revision 17188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 21:39:37 +00:00
Diego Biurrun
517ac2434b
Use more descriptive format long_names.
...
Originally committed as revision 17184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 17:26:06 +00:00
Diego Biurrun
69acc88b2f
cosmetics: format long_name spelling fixes
...
Originally committed as revision 17183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 17:24:17 +00:00
Baptiste Coudurier
6a460c36b6
write active picture height for d-10/imx in mov
...
Originally committed as revision 17178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 09:15:36 +00:00
Art Clarke
d5cce0a434
Add a warning log when trying to encode into a container requiring global
...
headers in extradata and the codec is not set correctly.
Patch by Art Clarke aclarke xuggle com
Originally committed as revision 17177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 08:10:43 +00:00
Baptiste Coudurier
6f0b186699
set last packet next pointer to null
...
Originally committed as revision 17176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 05:32:40 +00:00
Baptiste Coudurier
cfa3caf81c
check body partitions count before writing
...
Originally committed as revision 17175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 03:38:08 +00:00
Baptiste Coudurier
2dc9188465
return error if read failed
...
Originally committed as revision 17173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 02:17:16 +00:00
Patrik Kullman
6fcce4f995
Change ffm_write_write_index to return int, and return if error occured.
...
Patch by Patrik Kullman, patrik at yes dot nu
Originally committed as revision 17172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 02:15:07 +00:00
Thierry Foucu
68a7aafff6
compute b_per_i_or_p value correctly, patch by Thierry Foucu, tfoucu at gmail dot com
...
Originally committed as revision 17166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 00:08:44 +00:00
Baptiste Coudurier
a88f0f16ab
rename wrongly named b_per_gop to b_per_i_or_p according to specs
...
Originally committed as revision 17165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 23:49:54 +00:00
Aurelien Jacobs
bf6c32fe50
use new metadata API in ogg/vorbis demuxer
...
Originally committed as revision 17164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 23:34:57 +00:00
Baptiste Coudurier
5b4f5e5dff
fix frame size, time rate is not stts duration anymore with time offset
...
Originally committed as revision 17162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 21:11:19 +00:00
Baptiste Coudurier
fcdd622cfc
do not set start time to 0, it is not the case with elst time offset
...
Originally committed as revision 17161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 20:19:35 +00:00
Toshimitsu Kimura
865780ae9b
Gopher protocol, patch by Toshimitsu Kimura, lovesyao gmail com
...
Originally committed as revision 17159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 16:28:46 +00:00
Diego Biurrun
b57ac115ae
Add av_uninit macro to variable to avoid false positive warning:
...
libavformat/electronicarts.c: In function ‘ea_read_packet’:
libavformat/electronicarts.c:447: warning: ‘num_samples’ may be used uninitialized in this function
Originally committed as revision 17157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 15:01:52 +00:00
Benoit Fouet
80e58c6153
Allow demuxing of audio substreams stored as 0x06 type.
...
Fixes issue 725: MPEG2 PS with PCM audio.
On behalf of Jai.
Originally committed as revision 17150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 11:09:36 +00:00
Baptiste Coudurier
7a10119057
parse mpeg2 gop header time code and use it
...
Originally committed as revision 17149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 08:02:23 +00:00
Baptiste Coudurier
7c9668cf8a
write timecode track
...
Originally committed as revision 17148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 07:18:00 +00:00
Baptiste Coudurier
a5929abe7a
adjust time rate according to elst time offset
...
Originally committed as revision 17146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 02:32:39 +00:00
Baptiste Coudurier
0cfa359660
fix last keyframe index accross body partitions
...
Originally committed as revision 17145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 01:06:12 +00:00
Baptiste Coudurier
1585b93a2c
fix body offset
...
Originally committed as revision 17144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:56:27 +00:00
Stefano Sabatini
4c08b2bdcb
Cosmetics: vertical align "*" for consistency with the other doxyies.
...
Originally committed as revision 17143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:25:30 +00:00
Stefano Sabatini
3dc6cb2e92
Remove @deprecated notice from AVFrac, it is not deprecated anymore.
...
Originally committed as revision 17142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 00:19:05 +00:00
Baptiste Coudurier
9c91a0b049
fix partition offset when only one stream present
...
Originally committed as revision 17140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 23:25:23 +00:00
Baptiste Coudurier
0e633e2b01
fix timecode value
...
Originally committed as revision 17139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 22:59:13 +00:00
Baptiste Coudurier
99b170f896
write body partitions
...
Originally committed as revision 17126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 09:02:29 +00:00
Baptiste Coudurier
7524f46e21
compute index byte count in mxf_write_partition
...
Originally committed as revision 17125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 08:46:04 +00:00
Baptiste Coudurier
c1425a14f1
remove check, mxf muxer does not have track number limitation anymore
...
Originally committed as revision 17124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 08:35:14 +00:00
Baptiste Coudurier
4a15f3ee99
retrieve flags from mxf_parse_mpeg2_frame using a param
...
Originally committed as revision 17123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 08:31:48 +00:00
Baptiste Coudurier
a784cc679f
10l, edit unit offset is after klv fill
...
Originally committed as revision 17122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 07:28:53 +00:00
Baptiste Coudurier
bf31d93ad2
cosmetics, associate mxf_write_klv_fill to aligned elements
...
Originally committed as revision 17121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 07:23:51 +00:00
Baptiste Coudurier
ee1f7f4bf9
write component depth and horizontal subsampling best effort local tags
...
Originally committed as revision 17120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 06:14:39 +00:00
Baptiste Coudurier
7be3405291
fix header byte count
...
Originally committed as revision 17119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 06:09:50 +00:00
Baptiste Coudurier
b25ee3fb38
move up mxf_write_klv_fill and align index, rip and primer pack
...
Originally committed as revision 17118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 05:35:28 +00:00
Baptiste Coudurier
bd5c94b546
fix primer pack local tags uls
...
Originally committed as revision 17117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 05:22:38 +00:00
Baptiste Coudurier
216b6631fb
correctly set multi track operational pattern
...
Originally committed as revision 17116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 04:53:41 +00:00
Baptiste Coudurier
4c125b8f6e
fix compilation with DEBUG defined, field does not exist anymore
...
Originally committed as revision 17115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 02:27:26 +00:00
Aurelien Jacobs
949cd9783b
remove now useless av_set_program_name() function
...
Originally committed as revision 17113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 00:27:42 +00:00
Aurelien Jacobs
0868119106
use new metadata API in mpegts demuxer
...
Originally committed as revision 17112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-10 00:25:21 +00:00
Baptiste Coudurier
16e3b0b3e6
rename ff_audio_interleave to ff_audio_rechunk_interleave
...
Originally committed as revision 17103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 21:34:20 +00:00
Michael Niedermayer
f0b00aba89
Try to clarify doxy of avformat_seek_file().
...
Originally committed as revision 17102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 19:57:23 +00:00
Alex Converse
d84d6fbf28
Increase the number of packets required to identify as MPEG PES to keep from
...
identifying MP3 files with padding or garbage at the beginning.
Originally committed as revision 17091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 01:46:01 +00:00
Baptiste Coudurier
7a094c6a42
remove no more needed comment, declaration is in internal header
...
Originally committed as revision 17086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 00:18:25 +00:00
Diego Biurrun
fbd7ddf459
cosmetics: typo/grammar fixes in doxygen and other comments
...
Originally committed as revision 17085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 23:34:58 +00:00
Diego Biurrun
7be75dd7df
cosmetics: comment grammar/spelling fixes
...
Originally committed as revision 17077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 22:06:55 +00:00
Francesco Cosoleto
ced06bd8fe
Add the ability to set the timestamp to the current time by specifying 'now'
...
as the time
Patch by Francesco Cosoleto ( cosoleto gmail com )
Originally committed as revision 17076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 22:03:54 +00:00
Vitor Sessak
f9e5b9420e
10l: fix compiler warning:
...
ncdec.c:82: warning: ISO C90 forbids mixed declarations and code
Originally committed as revision 17075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:42:06 +00:00
Baptiste Coudurier
1cc65cecb2
Move declaration of ff_interleave_add_packet to internal.h.
...
It is an internal function and should not be in an installed header.
Originally committed as revision 17070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:14:46 +00:00
Baptiste Coudurier
18099ade6f
Declare ff_interleave_new_audio_packet as static, it is not used
...
outside of audiointerleave.c. Also remove the function declaration
from the header as it is now static.
Originally committed as revision 17068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:09:50 +00:00
Baptiste Coudurier
94027d3bdd
document ff_audio_interleave
...
Originally committed as revision 17066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 21:08:34 +00:00
Nicolas Martin
eaf5d0112b
NC camera demuxer
...
Patch by Nicolas Martin - elvadrias at gmail
Originally committed as revision 17062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 18:50:32 +00:00
Michael Niedermayer
998b6f7ca2
Clarify that avformat_seek_file() is not part of the stable API yet.
...
Originally committed as revision 17061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:55:00 +00:00
Michael Niedermayer
d04768fa80
avformat_seek_file() prototype
...
Originally committed as revision 17060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 17:52:52 +00:00
Baptiste Coudurier
04e06cfa20
cosmetics: sample_to_chunk -> stsc
...
Originally committed as revision 17054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:59:31 +00:00
Baptiste Coudurier
a234e38d6e
cosmetics: sample_to_ctime -> ctts
...
Originally committed as revision 17053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:57:28 +00:00
Baptiste Coudurier
1975c52c2a
remove useless field
...
Originally committed as revision 17052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:55:23 +00:00
Baptiste Coudurier
9e8d61d4f1
rewrite pts also, as comment says
...
Originally committed as revision 17051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:48:59 +00:00
Baptiste Coudurier
59453725f2
remove useless return
...
Originally committed as revision 17050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:42:37 +00:00
Baptiste Coudurier
425c9962b2
fix doxygen
...
Originally committed as revision 17049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 09:39:19 +00:00
Stefano Sabatini
8e2fd8e1d4
Replace the calls to the deprecated av_alloc_format_context() with
...
corresponding calls to avformat_alloc_context().
Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 08:27:26 +00:00
Stefano Sabatini
88a2896520
Deprecate av_malloc_format_context() in favor of
...
avformat_alloc_context(), and drop the old symbol at the next major
bump.
Originally committed as revision 17047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 08:16:40 +00:00
Baptiste Coudurier
5ac4d7689d
reuse MXFCodecUL for data def and simplify
...
Originally committed as revision 17042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 05:12:30 +00:00
Baptiste Coudurier
251bf87560
remove implicit header inclusions from mxf.h
...
Originally committed as revision 17041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:42:38 +00:00
Baptiste Coudurier
84a2d3045b
free index entries
...
Originally committed as revision 17040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:35:36 +00:00
Baptiste Coudurier
63601677fe
use new audio interleaving generic code
...
Originally committed as revision 17039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:33:53 +00:00
Baptiste Coudurier
f1544e79f2
extract audio interleaving code from mxf muxer, will be used by gxf and dv
...
Originally committed as revision 17038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:31:44 +00:00
Baptiste Coudurier
baf2ffd329
offset dts according to edit list, hackish but works, based on patch by Reimar
...
Originally committed as revision 17037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:27:07 +00:00
Diego Biurrun
6bab479955
Remove const qualifier from function argument to eliminate the warning
...
swfenc.c:452: warning: passing argument 2 of #av_fifo_generic_write# discards qualifiers from pointer target type
Originally committed as revision 17036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 03:44:54 +00:00
Baptiste Coudurier
d526105f08
only use 2 slices for index, one video(vbr) and one audio(cbr)
...
Originally committed as revision 17035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 03:29:49 +00:00
Baptiste Coudurier
5ccc2316ab
force first track to be video and simplify
...
Originally committed as revision 17034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 02:38:07 +00:00
Baptiste Coudurier
67d8ac4a02
write system item
...
Originally committed as revision 17033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 02:34:56 +00:00
Baptiste Coudurier
88b2027e9a
declare ff_interleave_add_packet
...
Originally committed as revision 17032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 21:13:40 +00:00
Baptiste Coudurier
85d0d114d0
use 512 kag size needed for d10
...
Originally committed as revision 17029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 02:13:23 +00:00
Luca Abeni
18c7b354c5
Move RTP_MAX_PACKET_LENGTH to rtpdec.h: it is not used in the muxer anymore
...
Originally committed as revision 17023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 20:42:21 +00:00
Luca Abeni
d3536678dc
Do not use RTP_MAX_PACKET_LENGTH in the RTP muxer
...
Originally committed as revision 17022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 20:41:15 +00:00
Jindřich Makovička
dcd913d9ed
Fix minor memory leak.
...
Patch by Jindrich Makovicka, approved by mans.
Originally committed as revision 17021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 20:30:18 +00:00
Luca Abeni
17a5894a23
Merge rtp_aac.h and rtp_mpv.h in rtpenc.h
...
Originally committed as revision 17020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 15:30:41 +00:00
Luca Abeni
302879cb36
Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h
...
Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 10:35:52 +00:00
Ronald S. Bultje
1a45a9f4c0
Add "AVFormatContext *ctx" (that being the RTSP demuxer's) as first argument
...
to the parse_packet() function pointer in RTPDynamicProtocolHandlers. This
allows these functions to peek back and retrieve values from the demuxer's
context (or RTSPState). The ASF/RTP payload parser will use this to be able
to parse SDP values (which occur even before the payload ID is given), store
them in the RTSPState and then retrieve them while parsing payload data. See
"[PATCH] RTSP-MS 13/15: add RTSP demuxer AVFormatContext to parse_packet()
function pointer (was: transport context)" mailinglist thread.
Originally committed as revision 17015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 01:37:19 +00:00
Ronald S. Bultje
0a861b6f8b
Rename "tx_ctx" and "cur_tx" variables to "transport_priv" and
...
"cur_transport_priv", as discussed in the "[PATCH] rtsp.h: rename tx
variables" thread.
Originally committed as revision 17012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 22:34:55 +00:00
Baptiste Coudurier
f5b288902e
format timestamp correctly according to specs and set it
...
Originally committed as revision 17011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 20:15:18 +00:00
Baptiste Coudurier
5ccad11da0
use timestamp as modification date
...
Originally committed as revision 17010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 19:30:01 +00:00
Alex Converse
d0f89acf60
Make the MP3 probe weakly claim all files with ID3v2 tags to fix regressions on
...
files with very large tags.
Originally committed as revision 17008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 18:41:06 +00:00
Baptiste Coudurier
eacc40e84a
use timestamp as creation date
...
Originally committed as revision 17007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 18:32:42 +00:00
Ronald S. Bultje
b516ecdd12
Delete an enum and a function typedef that aren't used anywhere, and
...
move move a struct/typedef in rtsp.h that is only used in ffserver.c into
ffserver.c. See "[PATCH] rtsp.h: move/remove unused thingies" thread on ML.
Originally committed as revision 17005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 17:00:10 +00:00
Luca Abeni
21da81d784
Introduce a new num_frames field in RTPDemuxContext so that rtp_aac.c
...
does not need to abuse read_buf_index
Originally committed as revision 17004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 14:53:25 +00:00
Peter Ross
468d298d0c
Electronic Arts demuxer: support TQI video tag
...
Originally committed as revision 17003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 08:59:38 +00:00
Baptiste Coudurier
1c7c6669f6
fix key frame offset with open gop
...
Originally committed as revision 16999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 07:47:39 +00:00
Ronald S. Bultje
1262d638da
Move enum RTSPTransport up a bit, so that all fields that are assigned a value
...
of this type can be properly attributed as such (in this case, transport in
the RTSPTransportField struct). See "[PATCH] RTSP-MS 10/15: ASF header parsing"
thread on mailinglist.
Originally committed as revision 16989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 17:17:20 +00:00
Baptiste Coudurier
034fcddf3c
always write mxf time base in descriptors
...
Originally committed as revision 16987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 09:35:59 +00:00
Ramiro Polla
2db5da97e2
Do not misuse unsigned long to store pointers.
...
Originally committed as revision 16986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 05:56:39 +00:00
Baptiste Coudurier
5a897cfa3c
use sample rate as audio input time base
...
Originally committed as revision 16985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 04:50:47 +00:00
Aurelien Jacobs
488227c5d7
write all available metadata tags into extended_content_header
...
Originally committed as revision 16984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 01:40:52 +00:00
Aurelien Jacobs
300f24f317
use new metadata API in asf muxer
...
Originally committed as revision 16983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 01:37:16 +00:00
Baptiste Coudurier
4f0f9bddac
let packet pass through when no timestamps
...
Originally committed as revision 16982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 23:18:12 +00:00
Baptiste Coudurier
832404cea7
exactly compute index byte count
...
Originally committed as revision 16981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 23:11:13 +00:00
Baptiste Coudurier
bf252f7f6f
prevent reading more than container atom size, fix broken file broken_by_rev15830.MOV, fix #818
...
Originally committed as revision 16979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 23:03:41 +00:00
Aurelien Jacobs
20e2a7aed2
use new metadata API in asf demuxer
...
Originally committed as revision 16977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 22:12:06 +00:00
Reimar Döffinger
1a534c7f1e
Add and use a public API for RC4 and DES, analogous to the AES API.
...
Originally committed as revision 16970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 14:20:55 +00:00
Michael Niedermayer
88297e80aa
Reformat rdt_demuxer AVCodec struct sanely.
...
Originally committed as revision 16969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 13:12:20 +00:00
Michael Niedermayer
1558d0b910
Fix probe & demuxing of Topfield 58XXPVR and 68XXPVR (topfield.rec)
...
Originally committed as revision 16968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 11:01:57 +00:00
Aurelien Jacobs
c0f1445864
use new metadata API in aiff demuxer
...
Originally committed as revision 16966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:43:12 +00:00
Baptiste Coudurier
33abc1a73a
be more flexible with frame rate check
...
Originally committed as revision 16965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:37:03 +00:00
Aurelien Jacobs
be62f5569e
simplify
...
Originally committed as revision 16964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:25:02 +00:00
Aurelien Jacobs
da61e4136a
use new metadata API in rtsp demuxer
...
Originally committed as revision 16961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:09:39 +00:00
Aurelien Jacobs
f3650b239e
use new metadata API in rtp muxer
...
Originally committed as revision 16960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 23:08:25 +00:00
Eli Friedman
e80c73b3c1
Add support for fourcc "SP54".
...
Patch by Eli Friedman eli D friedman A gmail
Originally committed as revision 16958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:43:51 +00:00
Aurelien Jacobs
b3a9e50c10
cosmetics: indentation
...
Originally committed as revision 16957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:17:26 +00:00
Aurelien Jacobs
3b1c4a06f6
simplify usage of dstlen as it is not a parameter anymore
...
Originally committed as revision 16956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:17:14 +00:00
Aurelien Jacobs
ee56cab3f3
cosmetics: indentation
...
Originally committed as revision 16955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:14:28 +00:00
Aurelien Jacobs
b182eeb08b
use new metadata API in the mp3 muxer
...
Originally committed as revision 16954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:13:03 +00:00
Aurelien Jacobs
9d98535ceb
use new metadata API in the mp3 demuxer
...
Originally committed as revision 16953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 22:11:56 +00:00
Aurelien Jacobs
5ea7ce8843
modify the way to pass parameters to av_metadata_set()
...
This improves code readability and this avoid warnings about discarding
qualifiers from pointer target type.
Originally committed as revision 16952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 21:45:55 +00:00
Aurelien Jacobs
69b6d53beb
cosmetics: whitespace
...
Originally committed as revision 16951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 21:32:11 +00:00
Baptiste Coudurier
6fb625c455
cosmetics: whitespaces, empty lines
...
Originally committed as revision 16948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:29:31 +00:00
Baptiste Coudurier
f35254d1aa
mxf does not have timestamps
...
Originally committed as revision 16947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:26:49 +00:00
Reimar Döffinger
0b178e5629
Add av_ prefix to LZO stuff and thus make it officially part of the public API.
...
Keep lzo1x_decode until the next major version bump for binary compatibility.
Originally committed as revision 16946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:16:00 +00:00
Stefan de Konink
426a6f34a0
Splits the totalbitrate in a videodatarate and audiodatarate part.
...
Patch by Stefan de Konink stefan konink de
Originally committed as revision 16944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 16:10:46 +00:00
Stefan de Konink
9a354fe3f9
Implement the reading of the video bitrate of flv movies out of the meta data,
...
to have the total bitrate available in the avformat structures.
Patch by Stefan de Konink stefan konink de
Originally committed as revision 16943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 16:05:50 +00:00
Baptiste Coudurier
822617cd50
24bit pcm support
...
Originally committed as revision 16942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 10:58:33 +00:00
Baptiste Coudurier
2253d6d773
more flexible mapping selection
...
Originally committed as revision 16941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 10:54:10 +00:00
Baptiste Coudurier
a4397fa911
fix temporal offet of ipbb sequences, simplification welcome
...
Originally committed as revision 16940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 10:41:43 +00:00
Baptiste Coudurier
ed00d0c1b0
fix video line map tag size
...
Originally committed as revision 16938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 10:10:41 +00:00
Baptiste Coudurier
bc185fc161
fix flush and interleaving by edit units
...
Originally committed as revision 16937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 10:04:36 +00:00
Baptiste Coudurier
0e9dbd9685
write index table and rip, muxer works pretty well now
...
Originally committed as revision 16936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 10:03:38 +00:00
Baptiste Coudurier
0290074c31
factorize common wav local tags
...
Originally committed as revision 16932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 04:40:57 +00:00
Baptiste Coudurier
f9303ffd62
write req local tags for wav
...
Originally committed as revision 16931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 04:36:54 +00:00
Baptiste Coudurier
4966b98a57
adjust size when not writing f2
...
Originally committed as revision 16930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 04:00:27 +00:00
Baptiste Coudurier
8ed82d8174
do not write f2 if not interlaced
...
Originally committed as revision 16929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 03:49:23 +00:00
Baptiste Coudurier
cbd70c4100
write bitrate tag
...
Originally committed as revision 16928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 03:45:03 +00:00
Baptiste Coudurier
724e7d8d8b
write display height/width tags
...
Originally committed as revision 16927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 03:35:09 +00:00
Baptiste Coudurier
eee99eb3e8
return eof/error if only ffm header has been written, should fix #815
...
Originally committed as revision 16924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 22:02:57 +00:00
Aurelien Jacobs
9f5aca8fec
don't support the mp3 extension in the mp2 muxer
...
especially not under any conditionnal
Originally committed as revision 16922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 21:22:12 +00:00
Ronald S. Bultje
d1c6e47c16
Fix the Transport: line in the SETUP request so that it works with WMS
...
servers when trying to set up a session over TCP:
- add the interleave property
- add unicast, only for WMS (since it is normally only UDP, but WMS expects it
for UDP and TCP)
- add mode=play
See discussion in "[PATCH] RTSP-MS 9/15: add interleave property to the TCP
transport line of the SETUP request" thread on mailinglist.
Originally committed as revision 16913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 13:37:45 +00:00
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 02:00:19 +00:00
Baptiste Coudurier
0646663882
free audio fifo
...
Originally committed as revision 16905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 11:17:04 +00:00
Baptiste Coudurier
5efa932d2c
use st->priv_data to store per stream context
...
Originally committed as revision 16904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 11:06:20 +00:00
Baptiste Coudurier
8f819636b7
change prototype of mxf_interleave_get_packet to make it compatible
...
with av_interleave_packet_per_dts
Originally committed as revision 16903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 10:51:35 +00:00
Baptiste Coudurier
59bcc93bb1
do not use PAL_samples_per_frame in init, to make init independant
...
Originally committed as revision 16902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 10:49:26 +00:00
Baptiste Coudurier
a9025f2ae4
cosmetics, remove empty lines
...
Originally committed as revision 16901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 10:47:55 +00:00
Baptiste Coudurier
a1a37f136d
add my copyright as well
...
Originally committed as revision 16900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 09:54:59 +00:00
Baptiste Coudurier
aecee3b214
fix doxygen tag
...
Originally committed as revision 16899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 09:53:59 +00:00
Baptiste Coudurier
8090b222ac
cosmetics, align vertically
...
Originally committed as revision 16898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 09:53:23 +00:00
Baptiste Coudurier
74334ae11e
write best effort video line map
...
Originally committed as revision 16897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 09:23:50 +00:00
Baptiste Coudurier
4118d68f72
add frame layout local tag, best effort
...
Originally committed as revision 16896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 09:08:01 +00:00
Baptiste Coudurier
baed2ec4c2
add aes3 pcm wrapping and use it by default
...
Originally committed as revision 16895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 07:02:20 +00:00
Baptiste Coudurier
c6b579df52
split wav_desc in generic_sound_desc
...
Originally committed as revision 16894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:59:55 +00:00
Baptiste Coudurier
3f2795ed54
thanks to interleaving, audio is now locked
...
Originally committed as revision 16893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:54:30 +00:00
Baptiste Coudurier
221ef8ca38
local tag 3201 is picture essence coding, so do not write it for wav
...
Originally committed as revision 16892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:49:42 +00:00
Baptiste Coudurier
383dde71f7
stored height is stupidly /2 if interlaced
...
Originally committed as revision 16891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:46:42 +00:00
Baptiste Coudurier
959005883a
add size param to write_generic_desc
...
Originally committed as revision 16890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:44:25 +00:00
Baptiste Coudurier
52e5cd2b10
parse mpeg2 progressive frame flag
...
Originally committed as revision 16889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:42:47 +00:00
Baptiste Coudurier
7c7c1a76db
delay header writing and parse mpeg2 frame
...
Originally committed as revision 16888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:32:12 +00:00
Baptiste Coudurier
cc812c8c7e
correctly pack and interleave pcm samples in mxf
...
Originally committed as revision 16887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:18:25 +00:00
Baptiste Coudurier
34c65ac668
function is static
...
Originally committed as revision 16886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:09:31 +00:00
Baptiste Coudurier
fd5583bc2d
use new ff_interleave_add_packet
...
Originally committed as revision 16885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:08:42 +00:00
Baptiste Coudurier
ccf0071dee
split av_interleave_per_dts, to avoid code duplication
...
Originally committed as revision 16884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 06:01:58 +00:00
Stefan Gehrer
4becee2343
ADPCM found in Xbox wav files can be decoded with
...
existing CODEC_ID_ADPCM_IMA_WAV
Originally committed as revision 16883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 05:53:04 +00:00
Aurelien Jacobs
04e7670906
typo
...
Originally committed as revision 16854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 00:44:54 +00:00
Ben Littler
bf23f6dc33
pvez avi fourcc is truemotion1
...
Originally committed as revision 16850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-29 15:33:19 +00:00
Michael Niedermayer
0838cfdc8a
Fix remotely exploitable arbitrary code execution vulnerability.
...
Found by Tobias Klein / tk // trapkit / de /
See: http://www.trapkit.de/advisories/TKADV2009-004.txt
Originally committed as revision 16846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 13:37:26 +00:00
Baptiste Coudurier
d972e56cf2
second try fixing time code in gxf
...
Originally committed as revision 16839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 23:44:11 +00:00
Michael Niedermayer
be195ed1d6
Prefer av_freep() over av_free() for variables in the context for safety.
...
Originally committed as revision 16838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 22:21:28 +00:00
Michael Niedermayer
0d29b7d572
Add {} between if/else
...
Originally committed as revision 16837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 22:20:05 +00:00
Michael Niedermayer
9913860bfb
Export all tracks (each is a different language) instead of just one.
...
Originally committed as revision 16836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 22:14:48 +00:00
Michael Niedermayer
c58d6796a1
remove pointless {}
...
Originally committed as revision 16835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 22:03:13 +00:00
Michael Niedermayer
a10f1cbb93
Move current_track variable closer to where it is used.
...
Originally committed as revision 16834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 21:58:45 +00:00
Michael Niedermayer
68e1794e3a
Fix memleak of fourxm->tracks on error return.
...
Originally committed as revision 16833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 21:56:28 +00:00
Michael Niedermayer
4f989885b6
vertical align
...
Originally committed as revision 16832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 21:09:22 +00:00
Michael Niedermayer
cc988dd77f
Fix memleak of header in error returns.
...
Originally committed as revision 16831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 21:06:19 +00:00
Michael Niedermayer
59afda9f61
better header_size check
...
Originally committed as revision 16830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 21:01:47 +00:00
Michael Niedermayer
4698bb2457
size < 4 is invalid
...
Originally committed as revision 16829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 20:51:10 +00:00
Benoit Fouet
bbfb80f363
Whitespace cosmetics to align return statements.
...
Originally committed as revision 16826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 18:01:26 +00:00
Benoit Fouet
16f753f43f
Check buffer is inside what is passed when probing for flac.
...
Originally committed as revision 16825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 18:00:40 +00:00
Luca Abeni
20631a9c15
Merge rtp_internal.h in rtp.h, and remove rtp_internal.h
...
Originally committed as revision 16817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 12:23:16 +00:00
Baptiste Coudurier
8dc81a4524
seek at 0 when timestamp requested is negative
...
Originally committed as revision 16815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 04:29:33 +00:00
Aurelien Jacobs
7a42067176
make it clear that the new metadata API is a work in progress
...
Originally committed as revision 16812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 23:39:22 +00:00
Diego Biurrun
c60208e7a1
Directly #include some required headers.
...
Originally committed as revision 16780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:11:10 +00:00
Stefano Sabatini
4815e24623
Move documentation of av_register_all() from allformats.c to
...
avformat.h, and extend it.
Originally committed as revision 16774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 16:44:45 +00:00
Justin Ruggles
7fa9a0a256
use function and definitions from libavcodec/flac.h in oggparseflac.c
...
Originally committed as revision 16767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 01:21:10 +00:00
David DeHaven
6cde949a20
Handle ID3v2 tags in raw FLAC streams by skipping them.
...
Patch by David DeHaven (dave sagetv com)
Originally committed as revision 16764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 00:16:27 +00:00
Diego Biurrun
da837937c6
Fix undefined preprocessor directives warnings during 'make checkheaders'.
...
Originally committed as revision 16747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:52:46 +00:00
Stefan Gehrer
1ac63c2a9b
return an error if we can not get a full packet,
...
fixes hang on EOF
Originally committed as revision 16740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 08:20:42 +00:00
Stefan Gehrer
c6f79c3e0b
fix header parsing, the NULL terminated File ID is followed by a space
...
Originally committed as revision 16738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 08:06:43 +00:00
Ronald S. Bultje
cb760a4790
Skip m= blocks in the SDP if the media type is unknown. This prevents
...
subsequent a= lines from the m= block to be applied to the previous
m= line, thus breaking otherwise functional RTP streams. See discussion in
[PATCH] RTSP-MS 7/15: parse and allow unknown m= line codes" thread on
mailinglist.
Originally committed as revision 16737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 04:56:18 +00:00
Baptiste Coudurier
14120c95f0
set pts and dts when only pts is present, according to specs
...
Originally committed as revision 16734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 22:16:31 +00:00
Baptiste Coudurier
6e4668b8a9
write essence container data
...
Originally committed as revision 16733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:57:12 +00:00
Baptiste Coudurier
5e4aa542de
reduce display aspect ratio
...
Originally committed as revision 16732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:20:36 +00:00
Baptiste Coudurier
24d6a613e0
stored height is a multiple of 16 for mpeg2
...
Originally committed as revision 16731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:15:46 +00:00
Baptiste Coudurier
e9338da87d
fix endianness of time code, and calculate it in fields, according to specs
...
Originally committed as revision 16730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:03:57 +00:00
Ben Littler
76af2edc44
add EM4A fourcc , works for:
...
http://av.watch.impress.co.jp/docs/20040929/xf.asf
Originally committed as revision 16729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 12:17:40 +00:00
Andreas Öman
cf92cec7d8
Avoid allocating MPADecodeContext on stack.
...
Instead move relevant fields into MPADecodeHeader and use it
where appropriate.
Originally committed as revision 16728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 12:09:32 +00:00
Michael Niedermayer
3a41c2f769
Move av_read_frame/parser related buffer variables from AVFormatContext
...
to AVStream, this is required if we want to allow the user to pull frames
from specific streams at some point in the future.
Originally committed as revision 16724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 23:35:31 +00:00
Baptiste Coudurier
082491c473
print stream sar if present and different than codec sar
...
Originally committed as revision 16720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 19:45:53 +00:00
Michael Niedermayer
a308737bd6
Use EAGAIN return, primarely intended as example of EAGAIN useage.
...
Originally committed as revision 16719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 12:08:06 +00:00
Michael Niedermayer
cda6902d36
Handle av_read_frame() EAGAIN return.
...
Originally committed as revision 16718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 12:06:02 +00:00
Aurelien Jacobs
dce25564cc
'code' is used to index a table so make it unsigned
...
this prevents using negative index and possibly crashing with broken files
Originally committed as revision 16714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 22:32:17 +00:00
Kostya Shishkov
d6da3df729
yet another attempt on fixing synchronization in VMD
...
Originally committed as revision 16711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 13:27:39 +00:00
Kostya Shishkov
8d6fc274fa
Empty audio chunks in VMD are silent, not skipped
...
Originally committed as revision 16710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 13:26:01 +00:00
Kostya Shishkov
7d2b199b8d
cosmetics: reindent after last commit
...
Originally committed as revision 16709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 13:25:14 +00:00
Kostya Shishkov
716ba2d01c
VMD first chunk of audio is not coded as many separate chunks of block_align
...
size. Thus, make demuxer and decoder handle it as a whole.
Originally committed as revision 16708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 13:24:35 +00:00
Baptiste Coudurier
f53ee31275
change sample aspect ratio test to be more clear, print old one
...
Originally committed as revision 16703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 21:06:57 +00:00
Ben Littler
5823e4b8f6
another mpeg4 fourcc
...
Originally committed as revision 16702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 16:19:13 +00:00
Baptiste Coudurier
507ff760af
Do not use avctx->frame_number which might not be set,
...
this also fixes a side effect where its value was one too much.
Originally committed as revision 16701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:43:58 +00:00
Baptiste Coudurier
15a4e8b85a
set correct value for starting line
...
Originally committed as revision 16698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:25:50 +00:00
Baptiste Coudurier
fc94187857
fix gxf time code mark out value
...
Originally committed as revision 16697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:14:46 +00:00
Benoit Fouet
27cb512219
Enable building r3d demuxer when its config is set.
...
Originally committed as revision 16696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 08:08:32 +00:00
Alex Converse
38cef58404
Fix a read past end of buffer crash in the mp3 probe
...
Originally committed as revision 16693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 08:00:39 +00:00
Baptiste Coudurier
7eb68edba7
R3D REDCODE demuxer
...
Originally committed as revision 16692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 07:42:14 +00:00
Aurelien Jacobs
5f8bae8d5c
matroskaenc: correctly handle h264 streams with 3 bytes nal startcodes
...
This implies using ff_avc_parse_nal_units_buf instead of ff_avc_parse_nal_units
because with 3 bytes startcodes the parsed packet size will change, and the
size must be written before the packet content.
Originally committed as revision 16690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 00:52:12 +00:00
Diego Biurrun
c2fef0c163
Use "" instead of <> when #including non-system headers.
...
Originally committed as revision 16689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 23:41:46 +00:00
Alex Converse
ac3ef4a41b
Fix probing of files with ID3v2 tags. Discussed at
...
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-January/059302.html
Originally committed as revision 16688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 21:54:06 +00:00
Diego Biurrun
6f2009bf45
Restore mistakenly removed period after "DivX, Inc".
...
Originally committed as revision 16686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 17:01:22 +00:00
Ben Littler
d7c6552c7c
add T263. works on samples/V-codecs/T263/
...
Originally committed as revision 16685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 16:11:46 +00:00
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Aurelien Jacobs
48a81c0ff5
replace AV_METADATA_IGNORE_CASE flag by a new AV_METADATA_MATCH_CASE flag
...
with the opposed meaning
Originally committed as revision 16680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 22:53:28 +00:00
Aurelien Jacobs
0e169d16f1
matroskadec: merge ByteIOContext declarations at upper level
...
Originally committed as revision 16673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 17:26:24 +00:00
Aurelien Jacobs
68a71451f6
matroskadec: parse the WAVEFORMATEX header and discard it from extradata
...
Originally committed as revision 16672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 17:13:12 +00:00
Baptiste Coudurier
b4097b13d4
add jp2 formater in image2 muxer
...
Originally committed as revision 16664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 01:48:14 +00:00
Baptiste Coudurier
aa91562501
jpeg2k is intra only codec
...
Originally committed as revision 16663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 00:47:46 +00:00
Baptiste Coudurier
2323ac0154
match format in names list separated by commas
...
Originally committed as revision 16659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 21:40:27 +00:00
Stefan Gehrer
055dc116fc
added demuxer for FunCom ISS audio files,
...
extended ADPCM decoder by ISS specific IMA variant
Originally committed as revision 16658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 20:08:43 +00:00
Aurelien Jacobs
2bb6eba21d
remove ff_get_fourcc() and use AV_RL32() instead
...
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 12:21:01 +00:00
Aurelien Jacobs
9ce6c13879
export gcd function as av_gcd()
...
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 11:13:33 +00:00
David Conrad
3194b00479
Cosmetics: indent
...
Originally committed as revision 16652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 04:31:42 +00:00
David Conrad
1c3db2aa50
Treat disposition==0 as undefined and don't write the default flag
...
Originally committed as revision 16651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 04:31:14 +00:00
David Conrad
8a86aaa3b2
Flush the buffer after writing the header and when done with writing the files
...
Fixes writing small (~4kb) files.
Originally committed as revision 16650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 04:30:36 +00:00
Ben Littler
e2260faa42
add LM20 mimic in avi fourcc
...
Originally committed as revision 16645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 19:05:09 +00:00
Kostya Shishkov
2c96535af7
WavPack hybrid mode support
...
Originally committed as revision 16643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 17:46:19 +00:00
Reimar Döffinger
0c5a43d648
Merge declaration and initialization of io_buffer_size
...
Originally committed as revision 16639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 16:39:17 +00:00
Reimar Döffinger
2bdaf78c52
Make io_buffer_size unsigned to avoid a warning about comparing
...
signed and unsigned values.
Originally committed as revision 16638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 16:37:54 +00:00
Reimar Döffinger
0e7ceb2442
Return AVERROR(ENOMEM) instead of -1 when malloc fails in url_open_dyn_buf_internal
...
Originally committed as revision 16636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 15:35:51 +00:00
Reimar Döffinger
aa805f94c5
Use AV_WB32 instead of reimplementing it.
...
Originally committed as revision 16635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 15:34:37 +00:00
Reimar Döffinger
dc2c2eea41
Use av_mallocz instead of explicitly zeroing in url_open_dyn_buf_internal.
...
Originally committed as revision 16634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 15:32:33 +00:00
Reimar Döffinger
7ce820efa0
Replace nonsense -1234 return value in dyn_buf_write by proper AVERROR(ENOMEM)
...
Originally committed as revision 16633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 15:30:52 +00:00
Marc Mason
9d9aac84f6
Make unsigned int a variable that does not need to be explicitely 32 bits.
...
Fixes a warning.
Patch by: Marc Mason mpeg (your_ad_here) blue (chez) free fr
Originally committed as revision 16632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 14:03:46 +00:00
Baptiste Coudurier
3700d80028
support h264 extradata with 0x000001 startcode
...
Originally committed as revision 16627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 01:26:52 +00:00
Baptiste Coudurier
71e685b018
use ff_avc_parse_nal_units_buf because output size might differ from input size
...
Originally committed as revision 16626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 01:22:30 +00:00
Baptiste Coudurier
c844520e73
10l, fix prototype
...
Originally committed as revision 16625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 01:20:31 +00:00
Baptiste Coudurier
d298412062
export ff_avc_parse_nal_units_buf
...
Originally committed as revision 16624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 01:17:18 +00:00
Baptiste Coudurier
5d2160a0dd
move actual writing before so new size can be taken into account
...
Originally committed as revision 16623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 01:12:32 +00:00
Baptiste Coudurier
a97772b166
return size written in ff_avc_parse_nal_units
...
Originally committed as revision 16622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 01:11:34 +00:00
Luca Abeni
ca93bc175a
Reindent after last commit
...
Originally committed as revision 16617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 14:07:59 +00:00
Luca Abeni
0a63a676ec
Do not reallocate AVPacket's data when muxing a packet
...
Originally committed as revision 16616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 14:03:07 +00:00
Alex Converse
2ea512a6c2
Factorise id3v2 header parsing from mp3.c to be shared
...
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 16615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 12:23:03 +00:00
Baptiste Coudurier
f3ba7c5468
use delay for subs and dirac too
...
Originally committed as revision 16614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 01:47:24 +00:00
Baptiste Coudurier
a57fb91ce5
add aud nal unit if not present in h264 bitstream
...
Originally committed as revision 16613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 01:22:31 +00:00
Aurelien Jacobs
e0e4be590c
matroskadec: ensure we only consider chapters which are properly ordered
...
Originally committed as revision 16612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-15 00:42:57 +00:00
Baptiste Coudurier
89ac55ada9
consider other codecs packets contain only one access unit, not just audio
...
Originally committed as revision 16611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 23:53:31 +00:00
Baptiste Coudurier
3d0a94f699
calculate pat, pmt and sdt exact size and adjust total bitrate
...
Originally committed as revision 16610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 23:49:13 +00:00
Baptiste Coudurier
620b9df7a7
allow user to specify muxrate
...
Originally committed as revision 16609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 23:30:49 +00:00
Baptiste Coudurier
811a0aa785
warn if dts < pcr which means TS is invalid
...
Originally committed as revision 16607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 22:40:37 +00:00
Baptiste Coudurier
5541759f6f
only write dts if they differ from pts, according to specs
...
Originally committed as revision 16605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 22:17:07 +00:00
Baptiste Coudurier
46911c7ab8
use delay to avoid negative dts
...
Originally committed as revision 16604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 22:14:35 +00:00
Baptiste Coudurier
de34dc39c0
set pts and dts of pes packets exactly according to specs
...
Originally committed as revision 16603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 21:57:10 +00:00
Aurelien Jacobs
49fb20cb8a
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
...
and remove all ENABLE_ definitions.
Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 17:19:17 +00:00
Baptiste Coudurier
b5931348bc
compute pcr more accurately, regression tests need update
...
Originally committed as revision 16596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 02:20:26 +00:00
Baptiste Coudurier
c91662ce83
include intreadwrite.h, fix compilation, img2.c use AV_RL32
...
Originally committed as revision 16595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 01:21:24 +00:00
Baptiste Coudurier
6d32ec6ce9
cleanup gif, use BISTREAM_WRITER_LE
...
Originally committed as revision 16591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 00:27:43 +00:00
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
Ben Littler
ed0879eda9
add SLMJ fourcc to mjpeg
...
Originally committed as revision 16579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 17:10:10 +00:00
Aurelien Jacobs
8eec0fb674
fix version protection
...
Originally committed as revision 16572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 00:20:18 +00:00
Måns Rullgård
7b114c0925
AVI: add bswap.h include needed on big endian
...
Originally committed as revision 16564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 00:07:40 +00:00
David Conrad
6cdbff63cd
Use the dimensions in tkhd for timed text tracks
...
Originally committed as revision 16561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 23:24:28 +00:00
Diego Biurrun
6a5d31ac25
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
...
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:19:48 +00:00
Ramiro Polla
b507ebd179
Use setmode() if it exists in <io.h>, and not based on O_BINARY.
...
Originally committed as revision 16553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:05:43 +00:00
Diego Biurrun
470bce2b55
cosmetics: indentation
...
Originally committed as revision 16550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 21:08:52 +00:00
Diego Biurrun
c54286ab08
Fix illegal identifier starting with an underscore.
...
Originally committed as revision 16549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 21:07:12 +00:00
Baptiste Coudurier
64d50fa551
move ffindex set before mov_read_default so it can be used in functions
...
Originally committed as revision 16548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 21:04:25 +00:00
Baptiste Coudurier
87609b51da
cosmetics
...
Originally committed as revision 16535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 10:42:24 +00:00
Baptiste Coudurier
985688b8e5
remove warnings about uninitialized vars
...
Originally committed as revision 16534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 10:41:43 +00:00
Baptiste Coudurier
3d1b0fcd59
cosmetics
...
Originally committed as revision 16532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 10:36:19 +00:00
David Conrad
f620488654
Add support for muxing mov/mp4/3gp timed text streams
...
Originally committed as revision 16531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 10:26:44 +00:00
David Conrad
58e9f2edb6
Read extradata (justification, colors, fonts, etc) for mov/mp4 timed text
...
Originally committed as revision 16530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 08:24:44 +00:00
Baptiste Coudurier
fd7f59639c
remove comment, this is not relevant anymore
...
Originally committed as revision 16528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 05:24:41 +00:00
Baptiste Coudurier
2ba0470e81
reindent
...
Originally committed as revision 16527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 05:23:46 +00:00
Baptiste Coudurier
7d637efa80
check for negative dts value even if bitstream is already formated,
...
this fixes dts when stream copying.
Originally committed as revision 16526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 05:23:10 +00:00
Stefano Sabatini
708ec8fb31
Move the AVFormatContext options definition to a dedicated file,
...
reduce the utils.c clutter.
Originally committed as revision 16516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 09:56:07 +00:00
Ronald S. Bultje
9211bcddb4
Reindent to properly fit a 80 chars terminal.
...
Originally committed as revision 16511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 23:44:52 +00:00
Ronald S. Bultje
ff16f551cf
Reindent after r16509.
...
Originally committed as revision 16510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 23:36:39 +00:00
Ronald S. Bultje
83d14c85da
Apply rtpmap: SDP lines to the last m= line only, since they generally just
...
come directly after each m= line if required. See "[PATCH] RTSP-MS 5-6/15:
parse only the last m= line stream per rtpmap line" thread on ML.
Originally committed as revision 16509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 23:36:17 +00:00
Baptiste Coudurier
fa50a0276f
only set le if value is 1, fix boom5.mov, issue #770
...
Originally committed as revision 16507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 22:13:37 +00:00
Luca Abeni
65007a4fa0
Do not assume that if pkt->destruct != av_destruct_packet then it is not
...
necessary to call the destruct method
Originally committed as revision 16506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 20:10:13 +00:00
Ronald S. Bultje
e49906c321
Increase buffer size for RTP packet data because some ASF streams use a
...
manual, non-standard blocksize which is bigger than RTP_MAX_PACKET_LENGTH.
See "[PATCH] RTSP-MS 4/15: blocksize detection" thread on mailinglist.
Originally committed as revision 16502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 01:30:14 +00:00
Aurelien Jacobs
5ce0043367
rename ff_metadata_sync_compat to ff_metadata_mux_compat
...
Originally committed as revision 16501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 00:01:42 +00:00
Aurelien Jacobs
97ca83a566
move ff_metadata_sync_compat to metadata_compat.c
...
Originally committed as revision 16500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-08 23:30:02 +00:00
Aurelien Jacobs
e99f76ab79
Add a second metadata compatibility layer, so that metadata that gets
...
demuxed with new API is automatically converted to the old API,
allowing old applications to stay functional.
Originally committed as revision 16499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-08 23:24:51 +00:00
Ben Littler
54f8abde93
cosmetics: CJPG is from Creative Webcam
...
Originally committed as revision 16497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-08 18:00:51 +00:00
Ben Littler
949462b32e
fourcc CJPG is sequential jpeg
...
Originally committed as revision 16496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-08 17:51:03 +00:00
Baptiste Coudurier
15cdff8525
100l, add missing enum type, fix compilation
...
Originally committed as revision 16495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-08 07:11:43 +00:00