Commit Graph

4705 Commits

Author SHA1 Message Date
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