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