Commit Graph

4596 Commits

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