Commit Graph

5221 Commits

Author SHA1 Message Date
Baptiste Coudurier
03dc32f689 cosmetics: func -> parse, remove useless parenthesis
Originally committed as revision 11239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:26:34 +00:00
Baptiste Coudurier
a4813b671a remove useless declaration
Originally committed as revision 11238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:24:32 +00:00
Baptiste Coudurier
73d07c275a save pointer to parse table, it is unlikely to change
Originally committed as revision 11237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:20:27 +00:00
Baptiste Coudurier
23d2cfe9a5 remove useless seek
Originally committed as revision 11236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:10:52 +00:00
Baptiste Coudurier
01eeb422fd cosmetics
Originally committed as revision 11235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:10:18 +00:00
Baptiste Coudurier
687f35f384 support streamed mov/mp4
Originally committed as revision 11234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 18:08:06 +00:00
Baptiste Coudurier
5cb4b82a17 return error when url_fseek could not read until desired offset in streamed mode
Originally committed as revision 11233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 17:52:46 +00:00
Diego Biurrun
5d81d64175 cosmetics: comment typo fixes
Originally committed as revision 11232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 17:22:09 +00:00
Baptiste Coudurier
2aaf95a210 choose next sample by sample position
when streams' next dts difference is below AV_TIME_BASE,
to reduce seeking, needed for slow underlying protocols (http),
a slightly modified patch from elupus, elupus at ecce dot se

Originally committed as revision 11226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 19:08:42 +00:00
Michael Niedermayer
88808c60af document how to free the result of av_alloc_format_context()
Originally committed as revision 11225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 16:54:58 +00:00
Michael Niedermayer
84be6e7239 av_*_next() API for libavformat
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 19:01:58 +00:00
Tom Harper
72d6b1bf1b Fix compilation of os_support.c for MinGW with --disable-network
Patch by Tom Harper <d.thomas.harper <at> gmail.com>

Originally committed as revision 11200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 14:39:01 +00:00
Mike Melanson
9de2919ce5 adjust indentation on latest patch
Originally committed as revision 11167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 04:32:45 +00:00
Mike Melanson
8b35bd806d Check sanity in the palette loading operation. The addresses a potential security risk in
the MOV/MP4 demuxer.

Originally committed as revision 11166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 04:30:33 +00:00
Roberto Togni
ab19baef36 Typo
Originally committed as revision 11165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-04 23:43:01 +00:00
Baptiste Coudurier
c1da59fa2d return error if malloc failed, found by takis, fix issue 286
Originally committed as revision 11162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 22:26:07 +00:00
Panagiotis Issaris
9cf0419bb1 check mov_read_default return value where appropriate, patch by takis, fix issue 285
Originally committed as revision 11161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 22:22:50 +00:00
Diego Biurrun
cedb83a671 colour --> color in variable names
Originally committed as revision 11159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 13:33:48 +00:00
Diego Biurrun
a660c52a7e cosmetics: comment spelling fixes
Originally committed as revision 11157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 13:01:53 +00:00
Diego Biurrun
7827885cfb Fix make checkheaders.
Originally committed as revision 11156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 12:46:20 +00:00
Baptiste Coudurier
44fb8ebb62 fix dnxhd 720p in mov for quicktime player
Originally committed as revision 11154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:44:25 +00:00
Michael Niedermayer
a57c41b2c5 add assert to detect invalid packet_timestamp_start/end
(that is check that the previous fix was sufficient)

Originally committed as revision 11153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:24:42 +00:00
Michael Niedermayer
7548783bc5 correct invalid duration
Originally committed as revision 11152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:23:09 +00:00
Michael Niedermayer
7e1720dec6 make mpeg-ps probe less happy with random data
fixes missdetection of O-MP3-5.mp3

Originally committed as revision 11149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 09:37:06 +00:00
Michael Niedermayer
2db971135a return a slightly larger score if we find more than 500 valid mp3 frames in a row
Originally committed as revision 11148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 09:26:44 +00:00
Michael Niedermayer
5ef5501b71 ensure that the probe code runs in O(n)
Originally committed as revision 11147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 08:27:04 +00:00
Michael Niedermayer
890d2799c1 remove arbitrary 4096 limit for probing
Originally committed as revision 11145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 04:50:01 +00:00
Michael Niedermayer
5110d151b6 prevent O(n^2) execution of ff_mpa_decode_header() for valid mp3 files
Originally committed as revision 11144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 04:49:01 +00:00
Reimar Döffinger
1fe47470d1 Make ff_qt_default_palette_* arrays "static const"
Originally committed as revision 11139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 23:27:01 +00:00
Reimar Döffinger
73a727f369 Make ff_mkv_codec_tags array const, it is never written.
Originally committed as revision 11137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 21:52:43 +00:00
Kostya Shishkov
47ac2b0d14 Fix muxer so that generated files are playable by realplayer, other open
source players and by fixed ffmpeg rm demuxer (after r11127)
Patch by kostya

Originally committed as revision 11129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 17:51:05 +00:00
Roberto Togni
e3052ce7b1 Revert r10892, it's wrong and no longer needed to prevent crashes
Originally committed as revision 11127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 17:41:12 +00:00
Diego Biurrun
d0b53d05c8 Fix some spelling mistakes.
Originally committed as revision 11125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-02 14:06:28 +00:00
Vitor Sessak
52b541ad79 spelling
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 22:21:04 +00:00
Diego Biurrun
7338d36808 succes --> success typo
Originally committed as revision 11120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 12:05:59 +00:00
Michael Niedermayer
90901860c2 stupid code (casting of void*) found by checktree.sh
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:19:44 +00:00
Michael Niedermayer
7fffc87979 1000l _reserved (found by checktree.sh)
Originally committed as revision 11116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:07:51 +00:00
Luca Abeni
e8acf0edea Suppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(),
and implement the redirector format more properly.

Originally committed as revision 11112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-29 08:35:05 +00:00
Andreas Öman
fe2b276c2e Bump lavf minor due to addition of
av_url_read_fplay(), av_url_read_fpause() and av_url_read_fseek()

Originally committed as revision 11111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-28 19:51:59 +00:00
Björn Axelsson
e7e4810aae Extend ByteIOContext and add the buffered IO functions:
av_url_read_fplay(), av_url_read_fpause() and av_url_read_fseek().

patch by: Björn Axelsson, bjorn d axelsson a intinor d se

Originally committed as revision 11110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-28 19:46:49 +00:00
Dave Yeo
93115b82f0 Add #include "os_support.h" to restore OS/2 support.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 11:42:09 +00:00
Diego Biurrun
d2f5fe7cc7 Remove possibly misleading comments.
Originally committed as revision 11095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-27 11:27:50 +00:00
Aurelien Jacobs
725d86bfd5 add pcm_s16le_planar support for electronicarts files
Originally committed as revision 11092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-25 16:32:47 +00:00
Diego Biurrun
f0a838e525 Add missing #includes to fix 'make checkheaders'.
Originally committed as revision 11087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-24 10:08:02 +00:00
Björn Axelsson
536333a0fe Extend URLProtocol with new function pointers and api functions for
av_url_read_play(), av_url_read_pause() and av_url_read_seek().

patch by: Björn Axelsson, bjorn d axelsson a intinor d se

Originally committed as revision 11086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-24 07:09:32 +00:00
Diego Biurrun
34c9d454d1 Keep -L flags before corresponding -l flags.
Originally committed as revision 11083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 11:41:01 +00:00
Luca Abeni
c721d803cb Introduce libavdevice
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 16:10:02 +00:00
Luca Barbato
489b0d4d98 Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse (missing hunk from r11072)

Originally committed as revision 11076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 14:13:23 +00:00
Ramiro Polla
a5e979f42c os_support.h is also needed for usleep and lseek on MinGW.
Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 02:27:39 +00:00
Luca Abeni
087b327287 Include os_support.h only when needed
Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 16:33:06 +00:00
Luca Barbato
a960a1e041 Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse

Originally committed as revision 11072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 10:26:11 +00:00
Björn Axelsson
899681cd1d Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Roberto Togni
2b013568f9 Replace realloc with free+malloc, the previous content of the buffer is
not needed

Originally committed as revision 11065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:28:11 +00:00
Luca Abeni
952062909d Convert perror() in av_log() in bktr.c.
Currently untested; someone with the correct OS and hardware should
test it and report if it works.

Originally committed as revision 11060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 10:33:05 +00:00
Luca Abeni
086119b3f3 Remove perror() usage from udp.c
Originally committed as revision 11059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 08:07:33 +00:00
Luca Abeni
9f74582cea Do not use perror() in audio, video, and DV grabbers
Originally committed as revision 11058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 07:54:04 +00:00
Roberto Togni
e35033e6e3 Cosmetics
Originally committed as revision 11056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 00:02:58 +00:00
Roberto Togni
69434d2f73 No need to update pos, it's not used after that line
Originally committed as revision 11055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 00:02:03 +00:00
Roberto Togni
6887cb8bc5 Cleanup: remove ssize
Originally committed as revision 11054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 22:58:40 +00:00
Roberto Togni
52537534d2 Check for memory allocation failure of temp buffer
Originally committed as revision 11053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 22:49:41 +00:00
Roberto Togni
e11d0145e2 Optimize memory management to create an av_packet from multiple slices:
- remove memmove to pack the data, instead copy only the used areas
from the temp buffer in their final position
- use the minimum possible size for the av_packet (relevant when some
slices are missing)

Originally committed as revision 11052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 22:40:02 +00:00
Jeff Downs
28af284cfb When new streams are detected, look for old filters and close them out.
This avoids crashes seen when legitimate streams are found on PID 0x11 instead
of DVB SDT.
Fixes regression detailed in Roundup issue 138.

Originally committed as revision 11050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-17 03:14:43 +00:00
Luca Abeni
db628029c4 Add MPEG2 support to the RTP muxer
Originally committed as revision 11047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 13:13:53 +00:00
Luca Abeni
7ed19d7fbf Remove the "AVRtpPayloadTypes[i].pt == i" assumption from RTP and RTSP
code (this is needed for supporting MPEG2 video in the RTP muxer)

Originally committed as revision 11046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 07:59:41 +00:00
Alex Beregszaszi
b5298028b0 Remove empty pipe_close
Originally committed as revision 11045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 00:18:48 +00:00
Alex Beregszaszi
7a813b368a Call prot->url_close only if it is present.
Originally committed as revision 11044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 00:14:48 +00:00
Alex Beregszaszi
018b6fb465 Honor the 8bit extension (now 32bit instaed 24bit) of the pts field introduced in FLV specification v9.
Originally committed as revision 11043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 00:09:34 +00:00
Alex Beregszaszi
964ff35445 Prefer ADPM_SWF instead NONE if no MP3 encoding is compiled in.
Originally committed as revision 11042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 23:53:19 +00:00
Roberto Togni
27a2f87da8 1000l: Fix check for max slice number
Originally committed as revision 11040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 21:13:36 +00:00
Roberto Togni
e29378ff88 Move dnet-ac3 byte-swapping code close to audio packet read code
Fixed version of patch in
[FFmpeg-devel] [PATCH 5/6] rmdec.c: move around rm_ac3_swap_bytes()

Originally committed as revision 11039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 21:04:06 +00:00
Luca Abeni
aa519c4771 Remove some more duplicated code
Originally committed as revision 11038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 14:26:52 +00:00
Luca Abeni
d4936869ff Remove the useless variable "my_addr1"
Originally committed as revision 11037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 13:41:51 +00:00
Luca Abeni
882d00f27d Use the same code to set local_port in the IPv4-only case and in the
protocol-independet case

Originally committed as revision 11036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 13:34:56 +00:00
Panagiotis Issaris
8ea0e80241 Fix Doxygen parameter
Originally committed as revision 11033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 11:45:07 +00:00
Panagiotis Issaris
e8b7c70f09 Fix Doxygen parameter name
Originally committed as revision 11032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 11:44:15 +00:00
Panagiotis Issaris
abfe87d471 Fix Doxygen parameter name
Originally committed as revision 11031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 11:43:21 +00:00
Aurelien Jacobs
d638424b8a cosmetics: whitespace
Originally committed as revision 11028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 20:31:56 +00:00
Panagiotis Issaris
4e8988a32d Typo
Originally committed as revision 11020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 12:42:45 +00:00
Luca Abeni
6b7089044a Remove some useless assignments (the UDPContext is allocated with av_mallocz())
Originally committed as revision 11017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 08:22:06 +00:00
Luca Abeni
d05cb726bd Simplify set_remote_url(), and remove some code duplication
Originally committed as revision 11016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 08:16:51 +00:00
Luca Abeni
4c7d5764a0 Use recv() instead of recvfrom() (removes some other differences between
IPv4-only and protocol-independent code)

Originally committed as revision 11015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:56:20 +00:00
Luca Abeni
66c49825da Remove a now unused field
Originally committed as revision 11014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:45:15 +00:00
Luca Abeni
9cdcb04f5a Give better names to multicast functions (they are not IPv6-only)
Originally committed as revision 11013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:43:51 +00:00
Luca Abeni
a8bde059e6 Avoid to duplicate the multicast code between the IPv4-only and
protocol-independent versions

Originally committed as revision 11012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:42:46 +00:00
Luca Abeni
0ec1233511 Remove some ifdefs by using the "dest_addr_len" field in both the IPv4-only
code and the protocol-independent code

Originally committed as revision 11011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:35:36 +00:00
Patrice Bensoussan
0d4e281cac Add support for reading WM/Year tag
Patch by: patrice bensoussan a free d fr

Originally committed as revision 11010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 07:31:25 +00:00
Andreas Öman
bd59786204 remove unnecessary -1 from snprintf len
Originally committed as revision 11009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 06:33:35 +00:00
Patrice Bensoussan
bd548b99aa Add support for ID3v2 year tag
Patch by: patrice bensoussan a free d fr

Originally committed as revision 11008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 06:32:55 +00:00
Michael Niedermayer
5fba300d02 rename fps(frame per second) to tb(time base) to prevent
confusion with the average fps and hopefully stop these "wrong framerate"
bug reports

Originally committed as revision 11007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-13 23:43:18 +00:00
Baptiste Coudurier
8361b1bea8 remove now useless libogg support
Originally committed as revision 11004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-12 10:26:33 +00:00
Måns Rullgård
e1a794b272 set PKT_FLAG_KEY for Theora and OGM streams
Originally committed as revision 11002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-11 21:56:18 +00:00
Baptiste Coudurier
5118cae694 ogg muxer
Originally committed as revision 10999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 18:27:03 +00:00
Diego Biurrun
94472c1d49 comment typo
Originally committed as revision 10992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-10 12:05:30 +00:00
Luca Abeni
c9215bab98 Add support for some more audio formats
Originally committed as revision 10969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-09 12:33:28 +00:00
Måns Rullgård
2c18784703 Improve Sofdec file detection
Originally committed as revision 10967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 21:27:37 +00:00
Aurelien Jacobs
73039e0fb4 fix potential buffer over-read
Originally committed as revision 10966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 20:53:06 +00:00
Aurelien Jacobs
cc04af3481 fix negative fseek
Originally committed as revision 10965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 20:50:45 +00:00
Ronald S. Bultje
5c470b910e Split ac3 byte swapping into a separate function.
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: Re: [FFmpeg-devel] [PATCH 4/6] rmdec.c: rm_ac3_swap_bytes()
Date: 11/05/2007 09:27 PM

Originally committed as revision 10964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:52:53 +00:00
Ronald S. Bultje
d4d1b5fbde Isolate caching of audio frames in its own function.
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: Re: [FFmpeg-devel] [PATCH 3/6] rmdec.c: ff_rm_retrieve_cache()
Date: 11/05/2007 09:25 PM

Originally committed as revision 10963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:14:37 +00:00
Ronald S. Bultje
66911b1552 Change a stream indexer.
Patch by Ronald S. Bultje: rsbultje gmail com

Originally committed as revision 10962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:09:37 +00:00
Ronald S. Bultje
afd302fa62 Split out the packet parsing from the main function body in rmdec.c
into its own function
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: Re: [FFmpeg-devel] [PATCH 2/6] rmdec.c: ff_rm_parse_frame()
Date: 11/05/2007 09:23 PM

Originally committed as revision 10961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:07:34 +00:00
Ronald S. Bultje
7e4b161188 Change parse indexer.
Patch by Ronald S. Bultje: rsbultje gmail com

Originally committed as revision 10960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 15:05:40 +00:00
Diego Biurrun
f9e4ed19d2 Give Ogg muxer a lib prefix in the name like we do with all other formats
implemented through external libraries, plus rename the files accordingly.

Originally committed as revision 10956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 11:22:29 +00:00
Benoit Fouet
36c9e40ab4 Change ff_rm_read_mdpr_codecdata to get back to old behavior.
Originally committed as revision 10954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-08 09:14:09 +00:00
Aurelien Jacobs
8cd4ac3d63 correctly set audio codec when demuxing sofdec files
samples: http://samples.mplayerhq.hu/game-formats/sfd/

Originally committed as revision 10953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 23:56:00 +00:00
Aurelien Jacobs
968fc6b96a probe more kind of electronic arts files
Originally committed as revision 10947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 23:01:32 +00:00
Diego Biurrun
a319c212bd Move external library registrations into a separate block after all native
implementations so that the latter ones are preferred by default.

Originally committed as revision 10945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 22:04:00 +00:00
Diego Biurrun
325833091e Add some explanatory comments.
Originally committed as revision 10944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 22:02:02 +00:00
Diego Biurrun
a0ddef24ce Rename ogg2.[ch] to oggdec.[ch].
Originally committed as revision 10943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 20:22:32 +00:00
Diego Biurrun
e282e5edb4 Remove disabled muxer skeleton, blessed by Mans.
Originally committed as revision 10942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 19:09:00 +00:00
Diego Biurrun
0d49b9ad07 Give the libnut muxer a lib prefix in its name so it does not conflict with
the native implementation.

Originally committed as revision 10941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 19:05:47 +00:00
Ronald S. Bultje
b316aa1a1e Specify the server address when opening an rtp:// URL in rtsp.c, so
that the correct local address can be used for binding the socket.
Fixes rtsp:// URLs in ffplay on MacOS X

Patch by Ronald Bultje (rsbultje at gmail dot com)

Originally committed as revision 10940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 14:20:40 +00:00
Thorsten Jordan
346db900bf Check context before accessing its field.
Patch by Thorsten Jordan: tjordan macrosystem de

Originally committed as revision 10939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 08:34:00 +00:00
Kostya Shishkov
12877faf7c Musepack SV8 demuxer and decoder
Originally committed as revision 10938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 05:35:46 +00:00
Björn Axelsson
49ce700a27 Allow propagation of stream selection through the ASF demuxer to the
MMSH protocol handler.
Patch by Björn Axelsson: bjorn ; axelsson § intinor : se
Original thread:
[FFmpeg-devel] [PATCH] MMSH stream selection support for asf demuxer
Date: 11/02/2007 11:51 AM

Originally committed as revision 10935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 16:19:09 +00:00
Ronald S. Bultje
ff1463dc37 Split out the MDPR chunk reading into its own function.
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread:[FFmpeg-devel] [PATCH 1/6] rmdec.c: ff_rm_read_mdpr_codecdata()
Date: 11/05/2007 09:21 PM

Originally committed as revision 10934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-06 16:02:33 +00:00
Luca Abeni
18c05a375b Do not send too many RTCP packets (according to RFC 3550, the minimum
RTCP interval should be 5 seconds)

Originally committed as revision 10930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-05 12:25:10 +00:00
Luca Abeni
0aa7a2e690 Use a symbolic name for the payload size of an RTCP Sender Report packet
Originally committed as revision 10929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-05 10:15:20 +00:00
Diego Biurrun
47a1ae1bc9 Add some parentheses to clarify operator precedence, fixes the warnings:
nut.c: In function 'ff_nut_sp_pos_cmp':
nut.c:43: warning: suggest parentheses around + or - inside shift
nut.c:43: warning: suggest parentheses around + or - inside shift
nut.c: In function 'ff_nut_sp_pts_cmp':
nut.c:47: warning: suggest parentheses around + or - inside shift
nut.c:47: warning: suggest parentheses around + or - inside shift

Originally committed as revision 10926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 22:51:49 +00:00
Andreas Öman
5b5bd7c9ee make sure the mpeg audio header is valid before passing it to ff_mpegaudio_decode_header()
Originally committed as revision 10925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 19:52:08 +00:00
Diego Biurrun
b7a42d14bf Enable debug variable only when debug code is enabled, fixes the warning:
rtp_h264.c: In function ‘h264_handle_packet’:
rtp_h264.c:168: warning: unused variable ‘data’

Originally committed as revision 10923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 12:46:16 +00:00
Aurelien Jacobs
9abf243316 add support for demuxing Electronic Arts .cdata files
based on a patch from Peter Ross

Originally committed as revision 10914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 22:42:20 +00:00
Kostya Shishkov
7798b42df1 Add ff_ prefix to get_v()
Originally committed as revision 10912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 18:29:16 +00:00
Kostya Shishkov
897d3eef4c Make get_v() available to the other demuxers
Originally committed as revision 10911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 18:26:42 +00:00
Michael Niedermayer
0c904db118 typo
Originally committed as revision 10910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 14:57:26 +00:00
Michael Niedermayer
c6dcd0d7f0 fix misdetection of mp3could_not_find_codec_parameters.mp3
Originally committed as revision 10908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 13:48:30 +00:00
Kostya Shishkov
d447fc3132 Seek regression for RM demuxer fix
Originally committed as revision 10907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 06:43:29 +00:00
Aurelien Jacobs
2009c7fc96 revert part of r10899 which was not intended
Originally committed as revision 10901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 18:02:03 +00:00
Aurelien Jacobs
6177c7efe1 remove useless initialization to 0 of adx context
Originally committed as revision 10899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 17:50:05 +00:00
Kostya Shishkov
83c95cd462 Revert get_num() to old behaviour in order to handle
incorrect RMs generated by lavf muxer.

Originally committed as revision 10892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 09:02:29 +00:00
Michael Niedermayer
c8652b5714 support flv with invalid header
fixes issue43

Originally committed as revision 10887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 22:10:34 +00:00
Michael Niedermayer
6f910bcf39 factorize stream creation
Originally committed as revision 10886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 21:35:50 +00:00
Diego Biurrun
1d5fab9b33 Remove unused variables, fixes the following warnings:
siff.c:187: warning: unused variable 'snddata'
siff.c:186: warning: unused variable 'size2'

Originally committed as revision 10884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 11:35:10 +00:00
Ronald S. Bultje
51844e6cd2 Take the target address family in account when determining the family of
the local address to bind.
Fixes ffserver and UDP streaming without --disable-ipv6 on MacOS X

Patch by Ronald S. Bultje (rsbultje st gmail dot com)

Originally committed as revision 10883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 07:27:38 +00:00
Luca Abeni
7d8576c279 Reindent after last commit
Originally committed as revision 10882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 07:08:12 +00:00
Nicolas George
d607861cd5 Resolve hosts and bind sockets even when the local_port is not set (0)
Fixes ffserver on linux when "--disable-ipv6" is not used

Patch by Nicolas George (nicolas dot george at normalesup dot org)

Originally committed as revision 10881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-31 07:02:30 +00:00
Peter Ross
fac84d3c18 EA IMA EACS decoder
original patch by Peter Ross

Originally committed as revision 10880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 23:20:26 +00:00
Peter Ross
7bb65d8964 EA IMA SEAD decoder
original patch by Peter Ross

Originally committed as revision 10879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 23:12:18 +00:00
Luca Abeni
ecdcbbf66a If local port n is not available, try n + 2 instead of continuing to bind
on n (allow to receive 2 rtsp streams simultaneously with libavformat)

Originally committed as revision 10876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 08:10:45 +00:00
Baptiste Coudurier
992e78f5f2 rename av_crc04C11DB7_update to ff_crc04C11DB7_update and move it to aviobuf.c so it can be reused by other (de)muxers
Originally committed as revision 10873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 00:01:25 +00:00
Luca Abeni
990e989f24 Remove redundant prototype
Originally committed as revision 10872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-29 09:38:37 +00:00
Luca Abeni
c971ff1977 Remove the inclusion of rtsp.h and rtp.h from avformat.h, and
explicitly include such headers where needed

Originally committed as revision 10871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-29 09:15:35 +00:00
Aurelien Jacobs
39f79f26eb rename crc.c to crcenc.c
Originally committed as revision 10869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-28 22:11:07 +00:00
Aurelien Jacobs
6b6adf2bc8 move framecrc muxer in its own file
Originally committed as revision 10868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-28 22:08:09 +00:00
Nico Sabbi
f473666f51 print newline after program id even when the name is missing
Originally committed as revision 10864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-26 20:02:11 +00:00
Luca Abeni
759d98d0c6 Explicitly include rtp.h (needed for rtp_get_payload_type())
Originally committed as revision 10863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-26 15:12:55 +00:00
Luca Abeni
a385446f40 Remove prototype for non-existent function
Originally committed as revision 10862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-26 11:36:11 +00:00
Aurelien Jacobs
97e6ee2064 probe files starting with the 1SNh tag
Originally committed as revision 10861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-25 21:17:39 +00:00
Aurelien Jacobs
94e8c227ba don't use #define with names starting with _
Originally committed as revision 10860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-25 21:10:18 +00:00
Aurelien Jacobs
98168220b0 add parsing of 1SNh header in the EA demuxer
Originally committed as revision 10859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-25 20:38:49 +00:00
Diego Biurrun
63bb42fb36 Remove unused variable, fixes warning:
utils.c: In function 'dump_format':
utils.c:2542: warning: unused variable 'flags'

Originally committed as revision 10858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-25 10:11:15 +00:00
Aurelien Jacobs
446263879b avoid infinite loop at the end of files which are not properly terminated
Originally committed as revision 10857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 21:44:20 +00:00
Peter Ross
e758396268 EA ADPCM R1, R2 and R3 decoder
original patch by Peter Ross

Originally committed as revision 10856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 20:49:42 +00:00
Benoit Fouet
cfac9ec701 Cosmetics: indentation.
Originally committed as revision 10853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 14:22:56 +00:00
Benoit Fouet
89a0d7908b Prevent mov muxer from writing empty udta atoms.
Originally committed as revision 10852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 14:20:15 +00:00
Andreas Öman
8862fb41e0 add support for reading duration from VBRI-tag in mp3 files
Originally committed as revision 10851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 04:56:22 +00:00
Jeff Downs
3a1d358825 Move setting of key frame flag for intra-only codecs, ignoring key frame
flag of parser for such codecs as intra-only parsers don't set key frame
flag. Corrects lack of key frame marking in mjpeg, possibly others.

Original thread: Key Frame Marking, Fri, 12 Oct 2007 03:35:57

Originally committed as revision 10850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-24 04:54:44 +00:00
Baptiste Coudurier
3d2308b0af use FFMIN
Originally committed as revision 10848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-23 22:28:57 +00:00
Andreas Öman
478638abad fix indent
Originally committed as revision 10847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-23 17:28:30 +00:00
Andreas Öman
db233e832f cosmetical change of mp3_parse_xing() to prepare for upcoming VBRI tag support
Originally committed as revision 10846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-23 17:10:41 +00:00
Andreas Öman
ca851a3a08 add support for reading duration from Xing-tag in mp3 files
Originally committed as revision 10845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-23 13:35:20 +00:00
Aurelien Jacobs
39fe9d79ad convert a if() into a switch() to ease addition of new tags to probe
Originally committed as revision 10843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 21:06:04 +00:00
Baptiste Coudurier
8622613d9f fix issue 225, instead of stoping when wrong atom size is found,
limit atom size to what is left, assuming container atom has correct size..
cricket4.3g2 has incorrect moov atom size which indicates that file size should be
2 bytes bigger than it is and quicktime reads it correctly though.

Originally committed as revision 10836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 14:36:14 +00:00
Kostya Shishkov
66f7679c62 Beam Software SIFF demuxer and video decoder
Originally committed as revision 10833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 06:01:38 +00:00
Baptiste Coudurier
4e745a3b28 100l, fix dump_format, declare buf in dump_stream_format, sizeof(buf) is 4 because buf is char* since r10818
Originally committed as revision 10832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 23:10:15 +00:00
Aurelien Jacobs
ba8a76b8f8 cosmetics: reindent
Originally committed as revision 10830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:27:24 +00:00
Aurelien Jacobs
f9cdbfa271 cosmetics: Add #endif comment.
Originally committed as revision 10829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:23:37 +00:00
Kostya Shishkov
fe7e750fb5 New RM format deserves small version bump
Originally committed as revision 10827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:26:02 +00:00
Aurelien Jacobs
b96b441ad2 Make Matroska demuxer output full frames instead of slices for RealVideo
Patch by Aurelien Jacobs (aurel at "... is not unix"age.org)
Thread [RFC] Feed whole frames to RV* decoders

Originally committed as revision 10824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:21:20 +00:00
Kostya Shishkov
383b123ed3 Demux full frames instead of sliced for RealVideo.
Some changes by Roberto Togni and blessed by him on IRC.

Originally committed as revision 10823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:17:28 +00:00
Reimar Döffinger
72be7db423 Add support for decrypting asf files
Originally committed as revision 10821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 14:25:02 +00:00
Nico Sabbi
aa237f4535 associate to each AVProgram the indexes of the AVStreams contained in it
Originally committed as revision 10820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 08:29:05 +00:00
Nico Sabbi
526efa1053 API extension: AVProgram now has an array (stream_index) containing the indexes of the streams in AVFormatContext
Originally committed as revision 10819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 08:25:13 +00:00
Nico Sabbi
fad0e03043 cosmetics: moved to a separate function the code to print the characteristics of an AVStream
Originally committed as revision 10818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 08:17:01 +00:00
Aurelien Jacobs
f9a00ba8c1 ensure all compiled in codec/muxer are registered
Originally committed as revision 10808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:59:31 +00:00
Aurelien Jacobs
ab89dbd43e better check for video track detection
Originally committed as revision 10807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:52:08 +00:00
Aurelien Jacobs
018d0ff973 skip unsupported audio track data
Originally committed as revision 10806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:50:52 +00:00
Aurelien Jacobs
a2c9473d96 cosmetics: indentation
Originally committed as revision 10805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:44:05 +00:00
Aurelien Jacobs
c611463fe4 check if we found an audio track before initializing the audio stream
Originally committed as revision 10804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:42:54 +00:00
Aurelien Jacobs
200f41ad2e compute pts according to the audio codec
Originally committed as revision 10803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:40:03 +00:00
Aurelien Jacobs
ffbd0bcdb6 set bytes per sample in the context
Originally committed as revision 10802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:36:12 +00:00
Aurelien Jacobs
597958ada7 fix big endian files support
Originally committed as revision 10801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:22:50 +00:00
Aurelien Jacobs
7816845064 simplify
Originally committed as revision 10800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:21:31 +00:00
Aurelien Jacobs
6c867e0463 parse sample rate instead of setting a default one
Originally committed as revision 10799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:13:46 +00:00
Aurelien Jacobs
fd402a5a63 add support for PCM codec
Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:05:30 +00:00
Aurelien Jacobs
93fa8b2bf5 check compression_type to assign audio codec
Originally committed as revision 10797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:53:37 +00:00
Aurelien Jacobs
e5d34ab6d0 make compression_type a function local var instead of a context var
Originally committed as revision 10796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:47:56 +00:00
Aurelien Jacobs
97e5dcc0f3 add support for big_endian encoded headers
Originally committed as revision 10795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:39:27 +00:00
Aurelien Jacobs
2c82386df2 add some error processing
Originally committed as revision 10794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:32:26 +00:00
Aurelien Jacobs
fa34563b2c cosmetics: indentation
Originally committed as revision 10793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:27:27 +00:00
Aurelien Jacobs
f8cab062ca parse header chunk in a loop (don't depend on a fixed chunk ordering)
Originally committed as revision 10792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:26:23 +00:00
Aurelien Jacobs
af704ee420 add audio and video codec context vars
Originally committed as revision 10791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:23:30 +00:00
Aurelien Jacobs
080b1c8238 better log message
Originally committed as revision 10790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:11:53 +00:00
Aurelien Jacobs
f409743084 move vp6 header parsing into its own function
Originally committed as revision 10789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:01:30 +00:00
Aurelien Jacobs
3773e5fc1b remove 2 temporary variables
Originally committed as revision 10788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:59:23 +00:00
Aurelien Jacobs
9853ce8074 set a default value for num_channels
Originally committed as revision 10787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:56:44 +00:00
Aurelien Jacobs
215eb1028d move audio header parsing in its own function
Originally committed as revision 10786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:55:51 +00:00
Aurelien Jacobs
d51bd73ce6 add a log message
Originally committed as revision 10785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:45:53 +00:00
Aurelien Jacobs
1680692a6c fix comment
Originally committed as revision 10784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:30:33 +00:00
Aurelien Jacobs
98942fb2c9 small simplification
Originally committed as revision 10783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:03:10 +00:00
Thorsten Jordan
f97931c122 set start_time to 0 to enable seeking in mp3-files
patch by Thorsten Jordan, tjordan macrosystem de

Originally committed as revision 10780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 15:02:34 +00:00
Ronald S. Bultje
c5be140c9a Make url_split() strip url options (?opt=var) from the returned hostname or
location. This fixes a regression introduced by the rewrite of
url_split() in r10605.

Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: [FFmpeg-devel] [PATCH] Make RTP work with IPv6 enabled
Date: 10/12/2007 08:19 PM

Originally committed as revision 10775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 09:50:53 +00:00
Diego Biurrun
5b21bdabe4 Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:37:46 +00:00
Diego Biurrun
52703a6459 Use filename as multiple inclusion guard.
Originally committed as revision 10760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 09:16:21 +00:00
Benoit Fouet
0f652a8ee3 Re-enable DEBUG_SEEK flag.
Originally committed as revision 10758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-16 19:50:08 +00:00
Baptiste Coudurier
86161ceca1 dont write udta atom for 3gp/3g2 for now, current written atoms (ilst) are itunes specific
Originally committed as revision 10757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-16 16:40:34 +00:00
Baptiste Coudurier
00996920ed indentation
Originally committed as revision 10756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-16 15:40:57 +00:00
Patric Stout
ed7b48b205 Fix streaming to XBox360.
Patch by Patric Stout, patric T liefdeis O com
Original thread:
Subject: asf-format doesn't work as stream for XBox360
Date: 2007-10-14

Originally committed as revision 10755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 23:55:14 +00:00
Aurelien Jacobs
227a388d07 cosmetics: reindent
Originally committed as revision 10753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:52:22 +00:00
Aurelien Jacobs
d3e412d0cc add support for VP6 in electronicarts demuxer
Originally committed as revision 10752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:51:52 +00:00
Aurelien Jacobs
c03c4cac82 remove useless &0xFF
Originally committed as revision 10751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:51:15 +00:00
Aurelien Jacobs
a066c5b7c9 merge declaration and initialization
Originally committed as revision 10750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:50:36 +00:00
Aurelien Jacobs
df2eef0fef remove unused context vars
Originally committed as revision 10749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:50:10 +00:00
Aurelien Jacobs
059baac9c8 remove unused code
Originally committed as revision 10748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:49:31 +00:00
Aurelien Jacobs
c3527cc973 remove unused tags definition
Originally committed as revision 10747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:49:00 +00:00
Aurelien Jacobs
0cf3fbc2ab remove unused close function
Originally committed as revision 10746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:48:31 +00:00
Aurelien Jacobs
269b94e346 simplify bitstream reading
Originally committed as revision 10745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:47:41 +00:00
Thorsten Jordan
c7be25856a Undefine DEBUG_SEEK.
Patch by Thorsten Jordan: tjordan macrosystem de

Originally committed as revision 10742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 18:03:28 +00:00
Benjamin Larsson
636b13c5fc Nellymoser ASAO decoder
Originally committed as revision 10741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 16:26:02 +00:00
Diego Biurrun
5d25d2a983 cosmetics: Move asf_read_close() down to get rid of a forward declaration.
Originally committed as revision 10735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 17:44:38 +00:00
Benoit Fouet
fe0b9a6464 Increment minor after r10709.
Originally committed as revision 10734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 13:32:25 +00:00
Måns Rullgård
972c5f9e10 simply buffer checks in vorbis_comment()
Originally committed as revision 10725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 11:43:03 +00:00
Måns Rullgård
0a770ae7b4 use bytestream_get_* in vorbis_comment()
Originally committed as revision 10724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 11:42:06 +00:00
Ramiro Polla
29a7b8ef27 Fix memleak
Closes issue 102

Originally committed as revision 10719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 23:25:48 +00:00
Björn Axelsson
770d9dafa1 Add functionality to set the direction of a ByteIOContext buffer.
Patch by Björn Axelsson bjorn axelsson intinor se
Original thread: [FFmpeg-devel] [PATCH] MMS protocol support patch 1
Date: 09/19/2007 05:51 PM

Originally committed as revision 10709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 14:57:47 +00:00
Måns Rullgård
736e63edc8 check values more thoroughly in vorbis_header()
Originally committed as revision 10707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:59:36 +00:00
Måns Rullgård
739587bf04 use bytestream_get_* in vorbis_header()
Originally committed as revision 10706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:59:34 +00:00
Måns Rullgård
f5475e1b38 fix buffer overread with invalid Vorbis header
Originally committed as revision 10705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:59:31 +00:00
Måns Rullgård
62f2c069b8 remove duplicate Vorbis comment tag handling
Originally committed as revision 10704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:58:16 +00:00
Reimar Döffinger
ce3132be88 Remove ogg seek function, instead use generic seek via read_timestamp function
Originally committed as revision 10702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 10:33:20 +00:00
Reimar Döffinger
a1f29b959b Add a read_timestamp function to ogg demuxer
Originally committed as revision 10701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 10:33:07 +00:00
Michael Niedermayer
ec62727818 indent
Originally committed as revision 10693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 01:12:27 +00:00
Michael Niedermayer
4838727ea0 avoid generating invalid files
fixes issue213

Originally committed as revision 10692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 01:01:07 +00:00
Baptiste Coudurier
68bc33fa9f append extradata atoms when parsing, fix OLOCOONS_O3.mov
Originally committed as revision 10688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 13:06:48 +00:00
Baptiste Coudurier
fc4cbc1699 DNxHD (SMPTE VC-3) encoder
Originally committed as revision 10682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 11:27:18 +00:00
Luca Abeni
e0d21bfe83 Allow to set the maximum number of frames per RTP packet (and add support for
this in the AAC packetizer)

Originally committed as revision 10647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 14:48:08 +00:00
Ronald S. Bultje
3303926c2f Add checking for codecid to has_codec_parameters().
patch by Ronald S. Bultje, rsbultje gmail com
Date: Sat, 29 Sep 2007 09:25:52 -0400
Subject: [FFmpeg-devel] [PATCH] has_codec_parameters() addition

Originally committed as revision 10636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 22:11:10 +00:00
Justin Ruggles
bf41512100 dnet audio needs avparser to work with the lavc ac3 decoder.
Fixes issue 121
Patch by Justin Ruggles

Originally committed as revision 10634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 19:48:02 +00:00
Vladimir Voroshilov
0b04ebb326 Add support for AMV variants of AVI files.
patch by Vladimir Voroshilov, voroshil gmail com
Date: Sun, 30 Sep 2007 00:30:34 +0700
Subject: Re: [FFmpeg-devel] [PATCH] Demuxer for AMV files

Originally committed as revision 10623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 22:47:34 +00:00
Ronald S. Bultje
f8f88a42cf Add IPv6 support to url_split()
patch by: Ronald S. Bultje rsbultje a gmail d com
thread: "[PATCH] url_split() ipv6 support" at 2007/Sep/23 18:43

Originally committed as revision 10615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 14:35:52 +00:00
Björn Axelsson
3576f9c629 Documentation fix for url_f(d)open()
Patch by Björn Axelsson bjorn axelsson intinor se

Originally committed as revision 10608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-28 15:12:26 +00:00
Ronald S. Bultje
7e1e297ee3 refactor url_split(), preparing for IPv6 support
patch by: Ronald S. Bultje rsbultje a gmail d com
thread: "[PATCH] url_split() ipv6 support" at 09/23/07 18:43

Originally committed as revision 10605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 19:18:07 +00:00
Ramiro Polla
53b7336500 Fix avisynth compilation after allformats.h was removed
Originally committed as revision 10594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 18:37:20 +00:00
Aurelien Jacobs
b925ef61dd add support for AVI files with On2 header
Originally committed as revision 10591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 12:30:24 +00:00
Aurelien Jacobs
7b31b0929c use a table to parse AVI file header
Originally committed as revision 10590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 12:29:32 +00:00
Benoit Fouet
2d89f334f4 Indentation
Originally committed as revision 10589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 11:33:30 +00:00
Benoit Fouet
602dd8f6c4 Check read_packet before using it.
Originally committed as revision 10588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 11:32:51 +00:00
Nico Sabbi
172d1171d2 added structures and code to keep track of pids<->programs mapping: it's needed
to decide which pids to discard in order to feed to the caller only AVProgram(s)
that have the AV_DISCARD_ALL flag not set

Originally committed as revision 10581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 20:58:37 +00:00
Nico Sabbi
1d257254f1 replaced custom tracking of programs/services with calls to with av_new_program()
Originally committed as revision 10580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 20:49:11 +00:00
Nico Sabbi
15afa396e4 Added definition and utility functions to handle AVProgram(s) in AVFormatContext
Originally committed as revision 10579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 20:45:46 +00:00
Aurelien Jacobs
9990460353 use the VP6A codec
Originally committed as revision 10578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:30:03 +00:00
Aurelien Jacobs
df63f130c8 revert r10527
There is now a proper vp6a codec, so no need for this hack anymore.

Originally committed as revision 10577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:25:59 +00:00
Luca Abeni
0ebecca52c Add my name to the copyright header, since rtp_mpv now contains
a fair amount of code written by me

Originally committed as revision 10563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 12:15:42 +00:00
Luca Abeni
d0c3be9568 Fix a warning by removing an useless assignment (buf_ptr should be only
used in the RTP muxer, and not in the demuxer)

Originally committed as revision 10561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 10:43:26 +00:00
Kostya Shishkov
c1f3c63058 Looks like this APE decoder support versions starting from 3.95
Originally committed as revision 10551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-23 07:40:34 +00:00
Michael Niedermayer
fffd6a5fe0 indent
Originally committed as revision 10545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 08:58:49 +00:00
Michael Niedermayer
638f489ccd fix segfault with http://samples.mplayerhq.hu/nsv/nsv_samples/ot171_novideo.nsv.bz2
bug introduced in r8466
closes issue179

Originally committed as revision 10544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-22 08:55:17 +00:00
Baptiste Coudurier
32bbb99d0a HDYC fourcc, sample hdyc/Test2.avi
Originally committed as revision 10541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 18:23:46 +00:00
Baptiste Coudurier
3a319ab6aa add D-10 NTSC support
Originally committed as revision 10539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 16:30:58 +00:00
Baptiste Coudurier
28cf721574 extract correct d10 aes3 audio channels number
Originally committed as revision 10538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-21 16:28:17 +00:00
Aurelien Jacobs
dee15eceae allcodecs.h and allformats.h are not used anymore
Originally committed as revision 10536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:42:50 +00:00
Aurelien Jacobs
d999cff5a3 remove last dependencies on allformats.h and allcodecs.h
Originally committed as revision 10535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:36:15 +00:00
Diego Biurrun
a889bf135e cosmetics: typo
Originally committed as revision 10534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-19 21:28:42 +00:00
Stefano Sabatini
f94361612a Make parse_date return INT64_MIN in case of unparsable input.
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]
Original thread:
[FFmpeg-devel] [PATCH] Enhace documentation forlibavformat/utils.c:parse_date
Date: 08/17/2007 09:40 PM

Originally committed as revision 10533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-19 12:38:07 +00:00
Aurelien Jacobs
f84c357325 Add support for VP6A in flv.
Those files really contain 2 standard VP6 video streams:
 - the "normal" video stream
 - the alpha plan video stream (which is a standard
   YV12 video with it's U an V plans all set to 0)
closes issue166

Originally committed as revision 10527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 15:36:29 +00:00
Stefano Sabatini
a8f70d72c3 Add explanatory comments to the parse_date function.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 08:26:10 +00:00
Aurelien Jacobs
7f559eb1cd disable loads of debug messages to reduce object size
Originally committed as revision 10518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 12:01:37 +00:00
Aurelien Jacobs
6369638bf0 loosen dependencies over allformats.h
Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 23:00:44 +00:00
Benjamin Zores
781ad2f50a monkey audio demuxer now can parse ape tags
Originally committed as revision 10511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 19:51:10 +00:00
Diego Biurrun
0ab1ebea31 warning fix:
nutdec.c: In function ‘nut_read_timestamp’:
nutdec.c:759: warning: label ‘resync’ defined but not used

Originally committed as revision 10506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 14:37:01 +00:00
Reimar Döffinger
efd7428666 Set codec_id correctly for RJPG codec_tag
Originally committed as revision 10498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-15 08:19:01 +00:00
Luca Abeni
1a3a0a79b6 Support fragmentation for AAC frames
Originally committed as revision 10492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-14 09:00:31 +00:00
Luca Abeni
171dce486c Support for AAC streaming over RTP. Fragmentation is not implemented yet
Originally committed as revision 10491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-14 08:17:06 +00:00
Benoit Fouet
411f5c6abd Forward error code when reading a v4l2 frame
Patch by Benoit Fouet (benoit.fouet AT purplelabs DOT com)

Originally committed as revision 10487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 12:46:30 +00:00
Kostya Shishkov
bf4a1f17ee Monkey Audio decoder
Originally committed as revision 10484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-13 03:22:47 +00:00
Baptiste Coudurier
aaac6c29d2 stop parsing udta if size is wrong/garbage, fix issue 154, fix RQ004F14.MOV
Originally committed as revision 10481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-12 10:18:01 +00:00
Ramiro Polla
89938d29b5 Typo
Originally committed as revision 10478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-11 23:46:46 +00:00
Aurelien Jacobs
7241a6bb50 move unrelated functions declarations out of allformats.h
Originally committed as revision 10475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-11 09:27:46 +00:00
Aurelien Jacobs
b156b88c13 rtp and rtsp demuxer declarations are not part of public API
Originally committed as revision 10474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 22:48:42 +00:00
Ramiro Polla
ac6577cd71 Bump micro version number for r10429
Originally committed as revision 10473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 19:31:03 +00:00
Aurelien Jacobs
dde1f9285a *_protocol are not part of public API
Originally committed as revision 10472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 18:11:13 +00:00
Luca Abeni
21b3748029 Test extradata_size instead of the CODEC_FLAG_GLOBAL_HEADER flag to check if
config info are available out of band (fix "-{a,v}codec copy" from .mov)

Originally committed as revision 10471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 15:08:23 +00:00
Luca Abeni
af74c95a08 Fix timestamps in RTP packets (now, MPEG1 video with B frames works correctly)
Originally committed as revision 10469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 07:01:29 +00:00
Luca Abeni
1b31b02ed1 Properly set RTP and NTP timestamps in RTCP SR packets
Originally committed as revision 10468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 06:58:19 +00:00
Patrice Bensoussan
6ec14b333d Improve track number decoding for some WMA files
patch by Patrice Bensoussan %patrice P bensoussan A free P fr%
Original thread:
Date: Sep 9, 2007 12:33 PM
Subject: [FFmpeg-devel] [PATCH] Improve track number decoding for some WMA files

Originally committed as revision 10462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 17:54:26 +00:00
Reimar Döffinger
7a562a31a3 Do not set codec_tag when the container does not specify it.
Originally committed as revision 10445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 09:21:14 +00:00
Reimar Döffinger
dd6ca72186 Copy nuv header only when the video codec is nuv
Originally committed as revision 10439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-09 07:25:52 +00:00
Ramiro Polla
1156c6b05f Rename the format name audio_device (used in both oss and audio_beos) to oss and audio_beos.
-f oss and -f audio_beos should be used instead.

Originally committed as revision 10429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 13:49:44 +00:00
Ramiro Polla
50383e8822 Separate audio_(de)muxer into oss_(de)muxer and audio_beos_(de)muxer
Originally committed as revision 10426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-07 13:43:40 +00:00
David Conrad
c3ce416105 Use V_MPEG4/ISO/ASP for mpeg4 when muxing mkv
Originally committed as revision 10421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 05:14:09 +00:00
Kostya Shishkov
1ddcd07fda Set correct length for last slice in frame subpacket
Originally committed as revision 10420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 03:36:38 +00:00
Diego Biurrun
e648863560 cosmetics: Add some whitespace for better readability.
Originally committed as revision 10418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 20:42:17 +00:00
Diego Biurrun
bf898960a7 spelling/wording nits in some Doxygen comments
Originally committed as revision 10417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 20:31:40 +00:00
Ramiro Polla
4df7c7d8d6 Rename dc1394.c to libdc1394.c
Originally committed as revision 10415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:57:03 +00:00
Ramiro Polla
5fdb9cc50a Prefix library format names with 'lib' in libavformat
Originally committed as revision 10414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:55:20 +00:00
Ramiro Polla
7b1b62b23d Give better filenames to bktr and v4l grabbers
Originally committed as revision 10412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:44:06 +00:00
Ramiro Polla
fd484da77a Remove video_grab_ prefix from video_grab_{bktr,v4l}
Originally committed as revision 10411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 18:29:58 +00:00
Michael Niedermayer
6a058d90b5 revert 10409
there is no need for put_timestamp to be exported it is not used outside the
PES code

Originally committed as revision 10410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 17:25:39 +00:00
Michael Niedermayer
8baaee65ba export put_timestamp()
this will be needed for spliting the PES muxer code out

Originally committed as revision 10409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 17:14:25 +00:00
Neil Brown
c1e8b67869 Make sure that if a stream has a duration but the container doesn't
then the container duration is set from the stream duration.

patch by Neil Brown: [ neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations
less dependant on start_time being defined.
date: 08/16/2007 08:27 AM

Originally committed as revision 10408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 16:47:48 +00:00
Wolfram Gloger
cc5297e871 Correct initial timestamp
Patch by Wolfram Gloger: [wmglo $ dent med uni-muenchen de]
Original thread:
[FFmpeg-devel] [PATCH] av_estimate_timings_from_pts corrupt timestamps
date: 08/25/2007 09:51 PM

Originally committed as revision 10405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 14:11:33 +00:00
Luca Abeni
4901263abd AAC support in the SDP generator
Originally committed as revision 10398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 06:30:59 +00:00
David Conrad
e09f7d61da Enable Matroska muxer
Originally committed as revision 10389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:38:42 +00:00
David Conrad
ab332d0133 Grammar nits
Originally committed as revision 10388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:11 +00:00
David Conrad
b62a33d01b Always use AVFormatContext for av_log messages
Originally committed as revision 10387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:09 +00:00
David Conrad
0f651e8cf3 Rename ebml size functions to indicate that they can be used for more kinds of numbers
Originally committed as revision 10386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:07 +00:00
David Conrad
8b65b9a313 We shouldn't be passing in sizes larger than 2^56-2, so use an assert
Originally committed as revision 10385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:04 +00:00
David Conrad
e5c29287cf Indentation
Originally committed as revision 10384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:03 +00:00
David Conrad
ac9e1177b3 Don't seek when streamed
Originally committed as revision 10383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:26:00 +00:00
David Conrad
c301d5ae0a Get rid of useless braces
Originally committed as revision 10382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:58 +00:00
David Conrad
7e33d3fee4 Indent
Originally committed as revision 10381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:56 +00:00
David Conrad
dc4a9f6737 Match the behaviour betwen the bmp and wav codec tag lookups
Originally committed as revision 10380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:54 +00:00
David Conrad
46d18a88e1 Write codecprivate to a dynamic buffer so that seeking isn't required
Originally committed as revision 10379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:52 +00:00
David Conrad
5c559894e1 Move writing codec private element to its own function
Originally committed as revision 10378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:49 +00:00
David Conrad
211783a50a Cosmetics
Originally committed as revision 10377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:46 +00:00
David Conrad
91ca969082 Use num_entries directly rather than mixing it with a local copy
Originally committed as revision 10376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:44 +00:00
David Conrad
e3cd80cdac Doxygenify comments
Originally committed as revision 10375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:42 +00:00
David Conrad
7f8582dfc6 Make sure that the calculated duration doesn't decrease
Originally committed as revision 10374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:40 +00:00
David Conrad
8ffc5f9e92 Split some really long lines
Originally committed as revision 10373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:38 +00:00
David Conrad
3967eb5260 Correct message
Originally committed as revision 10372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:35 +00:00
David Conrad
9e2a3e2262 Always check the return of mkv_add_seekhead_entry
Originally committed as revision 10371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:34 +00:00
David Conrad
6d588ecd76 Pass the returned error code of functions up
Originally committed as revision 10370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:32 +00:00
David Conrad
c35de1a131 Check that the seekheads were created
Originally committed as revision 10369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:29 +00:00
David Conrad
0b38843a6c Return AVERROR(ENOMEM) when appropriate
Originally committed as revision 10368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:27 +00:00
David Conrad
47e08c5860 Indentation
Originally committed as revision 10367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:24 +00:00
David Conrad
0580a12256 Use assert for conditions that must be true
Originally committed as revision 10366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:22 +00:00
David Conrad
203cce9a92 Simplify
Originally committed as revision 10365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:20 +00:00
David Conrad
8cf3bb2674 Grammar nits
Originally committed as revision 10364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:18 +00:00
David Conrad
cfde5d18f5 Break long comments
Originally committed as revision 10363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:16 +00:00
David Conrad
a6da1aa057 Use sample format for bit depth if av_get_bits_per_sample() doesn't give one
Originally committed as revision 10362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:14 +00:00
David Conrad
8eb1915395 Calculate and store DAR rather than SAR
Originally committed as revision 10361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:07 +00:00
David Conrad
5045da831b Clarify comments
Originally committed as revision 10360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:25:04 +00:00
David Conrad
5b66fc16af Use PRIu64/PRId64
Originally committed as revision 10359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:58 +00:00
David Conrad
baf71dca28 Calculate the size of key EBML master elements beforehand so only just enough size is reserved for the size
Originally committed as revision 10358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:56 +00:00
David Conrad
cce800b456 Use cluster_pos when checking cluster position
Originally committed as revision 10357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:53 +00:00
David Conrad
f0e9f44271 Modify put_ebml_size() so that the bytes parameter is exact rather than minimum
Originally committed as revision 10356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:50 +00:00
David Conrad
c635497cb4 Set default subtitle_codec to CODEC_ID_TEXT
Originally committed as revision 10355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:48 +00:00
David Conrad
ddf1646729 Simplify
Originally committed as revision 10354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:44 +00:00
David Conrad
1c73478c8e Move calculating the bytes needed to represent a size in EBML to its own function
Originally committed as revision 10353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:42 +00:00
David Conrad
9f38fd7efa Make a byte always mean a byte
Originally committed as revision 10352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:39 +00:00
David Conrad
432adc130c Simplify put_ebml_id()
Originally committed as revision 10351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:36 +00:00
David Conrad
22ccb69a7f Move ebml_id_size()
Originally committed as revision 10350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:34 +00:00
David Conrad
ec8f4ad909 Correct handling of smaller unknown sizes
Originally committed as revision 10349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:31 +00:00
David Conrad
541d443c03 Use a MD5 hash of some frames to write the segment uid
Originally committed as revision 10348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:29 +00:00
David Conrad
f095a17423 Revert using the time to generate the segment uid
Originally committed as revision 10347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:27 +00:00
David Conrad
57848e9abd Doxygenize some comments
Originally committed as revision 10346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:25 +00:00
David Conrad
fd150eb629 Set the language to undefined if no language specified
Originally committed as revision 10345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:22 +00:00
David Conrad
55c151efb3 Add mka muxer
Originally committed as revision 10344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:19 +00:00
David Conrad
c1f5aa2186 Add some debug logging
Originally committed as revision 10343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:17 +00:00
David Conrad
7332adddae Write the display size elements
Originally committed as revision 10342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:15 +00:00
David Conrad
d1a8d959fd Revert writing the file creation date
Originally committed as revision 10341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:12 +00:00
David Conrad
409533622e Codec Private should be correct for all but Real codecs now
Originally committed as revision 10340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:10 +00:00
David Conrad
8a39497c13 Write FLAC codec private correctly
Originally committed as revision 10339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:08 +00:00
David Conrad
86be66378b Move writing Xiph-style sizes to its own function
Originally committed as revision 10338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:06 +00:00
David Conrad
4b8f58eea5 Write segment UID
Originally committed as revision 10337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:03 +00:00
David Conrad
80380a0f71 Write the creation time
Originally committed as revision 10336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:24:01 +00:00
David Conrad
5fd35c6e00 Cosmetics
Originally committed as revision 10335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:59 +00:00
David Conrad
440e090121 Using LIBAVFORMAT_IDENT for both muxing and writing app is good enough
Originally committed as revision 10334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:57 +00:00
David Conrad
dcbfe3f099 Floats aren't used enough to justify writing any with single precision
Originally committed as revision 10333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:55 +00:00
David Conrad
9245c5ca08 Simplify
Originally committed as revision 10332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:53 +00:00
David Conrad
56e4540d3a Indentation
Originally committed as revision 10331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:52 +00:00
David Conrad
663a5d9d2d Write subtitle tracks
Originally committed as revision 10330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:49 +00:00
David Conrad
95527e0669 Move writing a block to its own function
Originally committed as revision 10329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:47 +00:00
David Conrad
8bea4aee4f Only write extradata if it exists
Originally committed as revision 10328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:46 +00:00
David Conrad
07918a227a Determine the output sample rate for SBR AAC and write it
Originally committed as revision 10327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:43 +00:00
David Conrad
6b9a10fbd3 Simplify
Originally committed as revision 10326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:41 +00:00
David Conrad
f9c8d57b79 Keyframe is the first bit not last
Originally committed as revision 10325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:39 +00:00
David Conrad
357eba6f0b Simplify
Originally committed as revision 10324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:38 +00:00
David Conrad
d22f88cb19 Use av_get_bits_per_sample
Originally committed as revision 10323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:34 +00:00
David Conrad
44008871ef Write bit depth for PCM audio
Originally committed as revision 10322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:31 +00:00
David Conrad
1a302a5c2a Write wav header if there is no native audio codec ID
Originally committed as revision 10321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:29 +00:00
David Conrad
6364d534ea Write the cues element
Originally committed as revision 10320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:27 +00:00
David Conrad
1b66d31467 Doxygenize comments
Originally committed as revision 10319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:26 +00:00
David Conrad
4d1fd70cac Calculate the size of a SimpleBlock before writing it so that bytes aren't wasted in writing the size
Originally committed as revision 10318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:23 +00:00
David Conrad
7973dd0bf1 Indentation
Originally committed as revision 10317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:21 +00:00
David Conrad
967d815ae5 Write the Seek Head element
Originally committed as revision 10316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:19 +00:00
David Conrad
801edb42d1 Make sure to return a value in functions that return a value
Originally committed as revision 10315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:17 +00:00
David Conrad
5034ab9024 Move writing the tracks element to its own function
Originally committed as revision 10314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:15 +00:00
David Conrad
56d55a3bcf Move Xiph's CodecPrivate writing code to its own function
Originally committed as revision 10313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:13 +00:00
David Conrad
02f487fc77 Write the duration of the file
Originally committed as revision 10312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:11 +00:00
David Conrad
f57b85a569 put_ebml_void()
Originally committed as revision 10311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:09 +00:00
David Conrad
ab41602755 Remove unused prototype
Originally committed as revision 10310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:07 +00:00
David Conrad
ffb880c278 Write unknown size if the size given is too large for EBML (greater than 2^56-1)
Originally committed as revision 10309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:06 +00:00
David Conrad
815eb6a2fe Track number and UID only have to be nonzero
Originally committed as revision 10308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:03 +00:00
David Conrad
90c02d93ff SimpleBlocks are Matroska v2
Originally committed as revision 10307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:01 +00:00
David Conrad
98186e416d Start a new cluster every 5 MB or 5 seconds
Originally committed as revision 10306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:23:00 +00:00
David Conrad
6d50a935c9 Fix writing Xiph header sizes
Originally committed as revision 10305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:58 +00:00
David Conrad
89e81bbbb9 Correctly write CodecPrivate element for Vorbis and Theora
Originally committed as revision 10304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:56 +00:00
David Conrad
79a58e91db Compile fix; missed a variable declaration in the last commit
Originally committed as revision 10303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:54 +00:00
David Conrad
b1adb69c5b Write one cluster and SimpleBlocks for the frames. Should now create playable mkv files for some video codecs (H.264 and VP3 checked)
Originally committed as revision 10302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:52 +00:00
David Conrad
f622c4f45c First stab at writing the tracks element, still needs some additional cases for certain codecs
Originally committed as revision 10301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:50 +00:00
David Conrad
f8e65a3271 Remove useless debug write
Originally committed as revision 10300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:48 +00:00
David Conrad
9b6b0c7926 put_ebml_float()
Originally committed as revision 10299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:47 +00:00
David Conrad
1e18c4d097 Const correctness
Originally committed as revision 10298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:45 +00:00
David Conrad
81efc03f58 Get rid of put_ebml_utf8(); the error checking that would have distinguished it from put_ebml_string() belongs elsewhere in lavf.
Originally committed as revision 10297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:43 +00:00
David Conrad
dbf653f766 Cosmetics: align nicely for better readibility
Originally committed as revision 10296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:41 +00:00
David Conrad
cf4f763be1 Simplify
Originally committed as revision 10295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:39 +00:00
David Conrad
67143c0f69 Beginning of mkv muxer, only EBML head is written correctly
Originally committed as revision 10294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 00:22:37 +00:00
Ramiro Polla
f7b8bffe47 Treat dc1394 as a library
Originally committed as revision 10292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 22:03:32 +00:00
Mike Melanson
80a16ccf82 simplify PTS handling
Originally committed as revision 10291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-04 17:33:35 +00:00
Luca Abeni
5f2cbb53b4 Fill the buffer with 0 before writing an SDP in it
Originally committed as revision 10287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 09:00:40 +00:00
Neil Brown
9fcbcca60a If a stream has no start time, but the first packet has a 'pts', use that
pts to set the start_time.
patch by Neil Brown: [neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations less
dependant on start_time being defined.
date: 08/16/2007 08:27 AM

Originally committed as revision 10285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:56:26 +00:00
Luca Abeni
3f19004e46 Set the "B" flag in the payload header
Originally committed as revision 10284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:28:58 +00:00
Luca Abeni
2d7d6d4203 Set the "TR" field in the payload header
Originally committed as revision 10283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:22:37 +00:00
Luca Abeni
73130dfee2 Correctly set the "P" field in the payload header
Originally committed as revision 10282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 07:14:10 +00:00
Wolfram Gloger
9be5181587 fix probe buffer issue. patch by Wolfram Gloger {wmglo at dent.med.uni-muenchen.de}.
[FFmpeg-devel] [PATCH] ac3_probe input buffer overrun
Aug 28, 2007

Originally committed as revision 10281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-03 05:19:59 +00:00
Michael Niedermayer
da0b94f539 workaround ms (lack of) intelligence in their design of dvr-ms
yes kids you do not make 90% of your file contain empty dummy packets
closes issue76

Originally committed as revision 10280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-02 15:58:43 +00:00
David Conrad
84fa6e23fb SimpleBlock keyframe flag is the most significant bit
Originally committed as revision 10274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 18:24:09 +00:00
Diego Biurrun
1e97ce4a31 cosmetics: Sort some lines, whitespace changes.
Originally committed as revision 10268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-30 23:11:24 +00:00
Luca Abeni
46b274d4e5 Correct packetization for MPEG video frames, and correct setting of the
"B" and "E" bits in the payload header

Originally committed as revision 10260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-29 10:47:15 +00:00
Luca Abeni
7c8133aa44 Remove commented code (payload header extension)
Originally committed as revision 10259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-29 10:42:13 +00:00
Luca Barbato
f6df400c0c Backport fix for mpegvideo rtp, fixes Issue119, original fix from Dario Gallucci <dariodotgallucciatpolito.it> in feng
Originally committed as revision 10257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-28 13:43:39 +00:00
Roberto Togni
b6f508bbcc Change 4xm demuxer and video decoder to pass the video format version in
extradata instead of codec_tag.

Originally committed as revision 10253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 21:58:39 +00:00
Diego Biurrun
30a987ece9 Remove unused variable.
Originally committed as revision 10251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-27 12:36:19 +00:00
Luca Abeni
50755217f8 Use correct timescale in RTSP seeking
Originally committed as revision 10222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-25 15:12:38 +00:00
Luca Abeni
7fa9d0dd8f Remove copyright from a function prototype
Originally committed as revision 10214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 17:40:43 +00:00
Luca Abeni
98561024ac Move the RTP packetization code for MPEG12 video in its own file (rtp_mpv.c)
Originally committed as revision 10201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 07:13:34 +00:00
David Conrad
b75c8d16e7 Add V_SNOW
Originally committed as revision 10200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-24 00:49:46 +00:00
Kostya Shishkov
2b71ddd96e Take ring frame into account when demuxing.
This fixes issue 97.

Originally committed as revision 10192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 06:59:19 +00:00
Diego Biurrun
57b499c7da Identifiers starting with underscores are reserved.
Originally committed as revision 10179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 12:41:16 +00:00
Baptiste Coudurier
1f794d69c0 support swink created files which have soi/eoi broken tags reversed
Originally committed as revision 10152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 19:55:37 +00:00
Neil Brown
9f32041d89 Do not butcher start_time in av_estimate_timings_from_bit_rate().
from a patch by neilb suse de

Originally committed as revision 10140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 01:26:06 +00:00
Neil Brown
d6a0906ad1 When looking for the last packet in each
stream, so as to calculate the duration, don't stop
as soon as all streams have seen at least one packet.
Otherwise the duration will be shorter than it
should be.  We must keep reading to the end-of-file.
patch by neilb suse de

Originally committed as revision 10139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:52:05 +00:00
Neil Brown
bf494092b0 There is no guarantee that every stream will
have a start_time found (though it is likely),
so check that the start_time is defined before
calculating a duration.
 (patch by neilb suse de)

Originally committed as revision 10138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:45:44 +00:00
Michael Niedermayer
df886e7e02 fix cur_dts at the end of av_estimate_timings_from_pts()
Originally committed as revision 10137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:44:14 +00:00
Neil Brown
e26381b6da more verbose doxy for duration (from patch by neilb suse de)
Originally committed as revision 10136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:35:43 +00:00
Neil Brown
4854c253a4 mention that start_time maybe AV_NOPTS_VALUE (from patch by neilb suse de)
Originally committed as revision 10135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-18 00:31:32 +00:00
Vincent Fourmond
9e33b10fd7 Allow pipe: URL to take fd number as input
Patch by Vincent Fourmond [vincent dot fourmond at 9online dot fr]

Originally committed as revision 10134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 15:14:29 +00:00
Vincent Fourmond
de79849eac Indent for next commit
Patch by Vincent Fourmond [vincent dot fourmond at 9online dot fr]

Originally committed as revision 10133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 15:12:30 +00:00
Diego Biurrun
93951943ec spelling/wording cosmetics
Originally committed as revision 10131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 10:45:50 +00:00
Björn Axelsson
a9054d91b7 store asf streaming bitrates consistently
patch by Björn Axelsson: [bjorn axelsson intinor se]

Originally committed as revision 10130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-17 06:49:43 +00:00
Ramiro Polla
f18cae4d6e Set UDP receive buffer to 64k
Originally committed as revision 10129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:12:03 +00:00
Aurelien Jacobs
fce388b4b9 cosmetic: indentation
Originally committed as revision 10128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:04:38 +00:00
Aurelien Jacobs
2f3b419cf1 Don't pre-scale default_duration to avoid precision loss in fps calculation.
closes Issue95

Originally committed as revision 10127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:01:54 +00:00
Aurelien Jacobs
aec783d42d no need for special case default_duration for AAC
Originally committed as revision 10126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 21:55:37 +00:00
Aurelien Jacobs
a92d20629c calculate default_duration according to framerate only when not already set
Originally committed as revision 10125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 21:54:04 +00:00
Michael Niedermayer
6d96a9b94d elaborate a little on AVStream.start_time, it seems the comment is not clear
enough, not that the clearer NEVER comment in AVFormatContext.start_time stoped
people from posting stupid patches

Originally committed as revision 10122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 12:07:05 +00:00
Aurelien Jacobs
77cb22fa7b Try size 640x480 for FLC files which don't specify their size.
This is a ugly hack to fix playback of specular.flc.
closes issue71

Originally committed as revision 10117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 15:51:30 +00:00
Michael Niedermayer
bc3a73bc87 remove broken movi_end skip-hack-check
this should fix seeking over the first riff chunk in odml

Originally committed as revision 10114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 03:00:56 +00:00
Michael Niedermayer
ea4b2b5e2c do not misuse movi_end for checking chunk sizes
Originally committed as revision 10113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 02:27:31 +00:00
Ramiro Polla
9c0edaaf13 Use AVERROR_PATCHWELCOME instead of AVERROR(ENOTSUP)
Originally committed as revision 10111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 22:55:44 +00:00
Diego Biurrun
9d4edf966e Make native and libnut NUT muxers mutually exclusive.
Originally committed as revision 10102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 08:33:03 +00:00
David Bryant
a6ba65f7f2 Support for WavPack version 0x410 (false stereo chunks)
Patch by David Bryant printf("david@%s.com",wv_demuxer.long_name);
Thread [PATCH] handle WavPack stream version 0x410

Originally committed as revision 10101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:36:50 +00:00
Michael Niedermayer
a985a940c0 export 4xm video version
Originally committed as revision 10092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 00:44:35 +00:00
Michael Niedermayer
880e3ef413 add support for old flac in ogg
fixes samples.mplayerhq.hu/flac/Yesterday.ogg
closes issue73

Originally committed as revision 10088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 09:29:39 +00:00
Michael Niedermayer
07870f8537 pass *fr2 chunks to decoder (Toy-Story2_better-image-quality.4xa contains them)
Originally committed as revision 10085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-12 00:23:47 +00:00
Carl Eugen Hoyos
e56397800e Ensure av_tree_insert() is defined before using it.
Patch by Carl Eugen Hoyos   cehoyos _at_ ag.or.at

Originally committed as revision 10083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:58:10 +00:00
David Conrad
160ab30fcc Set dts in tta demuxer
Originally committed as revision 10077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 22:45:40 +00:00
Michael Niedermayer
06c5c560ed cola for diego
Originally committed as revision 10074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 20:03:10 +00:00
Diego Biurrun
68bf8d83c5 Bump minor number, NUT muxer was added.
Originally committed as revision 10072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 15:03:50 +00:00
Michael Niedermayer
63dd9d0ee3 simplify
Originally committed as revision 10068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 11:12:34 +00:00
Michael Niedermayer
d2062ff64d do not remove FLAG_CODED
Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 11:10:29 +00:00
Michael Niedermayer
0e6472fdcb remove useless code, found by oded
Originally committed as revision 10066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 10:12:39 +00:00
Michael Niedermayer
2529024b3c this is debug not info
Originally committed as revision 10065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 22:40:11 +00:00
Michael Niedermayer
fbd69f519b 100000l (forgotten return)
Originally committed as revision 10062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 17:05:12 +00:00
Michael Niedermayer
65d7d68b99 mention AVPROBE_PADDING_SIZE at the read_probe() doxy
Originally committed as revision 10061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:15:23 +00:00
Michael Niedermayer
d1a4544de9 remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)
Originally committed as revision 10060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:12:50 +00:00
Michael Niedermayer
e020dbd2a1 flac probe
closes issue83

Originally committed as revision 10059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:06:18 +00:00
Aurelien Jacobs
9c3e2f78a0 ensure that negative block_time are properly checked
(workaround unsigned comparison)

Originally committed as revision 10058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 15:37:55 +00:00
Michael Niedermayer
0a5790d1a9 ensure that the aspect ratio is spec compliant
Originally committed as revision 10056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 14:23:18 +00:00
Luca Barbato
272872e44b fix the packetization mode parsing
Originally committed as revision 10055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:34:56 +00:00
Michael Niedermayer
1b0353be6d disable TRACE
Originally committed as revision 10053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:04:45 +00:00
Michael Niedermayer
a17e046a42 muxer should now be spec compliant (though it likely still contains bugs!)
Originally committed as revision 10052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:04:16 +00:00
Michael Niedermayer
14b3f9961f header repetition
Originally committed as revision 10051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 12:59:17 +00:00
Michael Niedermayer
ead1939f69 info packet
Originally committed as revision 10050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 11:52:28 +00:00
Aurelien Jacobs
63f8165914 merge some REGISTER_MUXER/DEMUXER into REGISTER_MUXDEMUX
Originally committed as revision 10048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:44:50 +00:00
Ramiro Polla
a12df245a4 10l: removed pipe_close instead of pipe_read
Originally committed as revision 10047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:39:26 +00:00
Michael Niedermayer
caeeefd7a4 more FIXME
Originally committed as revision 10044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:13:50 +00:00
Michael Niedermayer
41b7c75db3 enable nut muxer
Originally committed as revision 10043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:12:54 +00:00
Michael Niedermayer
100d8eb8dc muxer is not yet fully compliant so prevent people from mistakenly using it
while believing it already is

Originally committed as revision 10042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:11:36 +00:00
Ramiro Polla
ee7db7b0b9 Make the pipe URLProtocol share read and write functions with the file URLProtocol
Originally committed as revision 10041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:41:59 +00:00
Ramiro Polla
1642cb6b2e Add initialization and cleanup functions for Winsock
Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:39:05 +00:00
Michael Niedermayer
7c04134fa1 set back ptr properly
Originally committed as revision 10039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:29:58 +00:00
Michael Niedermayer
4a3b5fe16a move syncpoint cache related stuff to common file
Originally committed as revision 10038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:24:02 +00:00
Michael Niedermayer
073811cdd2 fix forw_ptr crc check
not really beautiful but i did not find a nice solution
note, untested

Originally committed as revision 10037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:35:13 +00:00
Michael Niedermayer
f0a9978c92 fix header_checksum
Originally committed as revision 10036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:20:17 +00:00
Michael Niedermayer
bd533e6cbc store headers twice (getting closer to spec compliance ...)
Originally committed as revision 10035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:14:00 +00:00
Michael Niedermayer
7e506494b1 move header writing into its own function
Originally committed as revision 10034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:10:11 +00:00
Michael Niedermayer
7a26da44b0 get rid of printf
Originally committed as revision 10033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:04:10 +00:00
Michael Niedermayer
e1249ba92f write frames and syncpoints
Originally committed as revision 10032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:01:22 +00:00
Michael Niedermayer
491216c672 put_t()
Originally committed as revision 10031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:56:42 +00:00
Michael Niedermayer
6e6cf116d8 100l
Originally committed as revision 10030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:55:09 +00:00
Michael Niedermayer
34f8cc3802 2 FIXME comments
Originally committed as revision 10029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:54:17 +00:00
Michael Niedermayer
0fcfa8eb36 add a universal fallback frame code for the case that no other applies
Originally committed as revision 10028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:52:49 +00:00
Michael Niedermayer
f13ea4e00c move lsb2full to common file
Originally committed as revision 10025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 18:37:28 +00:00
Baptiste Coudurier
9031aeb1cd take care to use video track field number as duration
Originally committed as revision 10024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:18:59 +00:00
Michael Niedermayer
5c2198b184 move crc wrapper to slightly better spot
Originally committed as revision 10022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:46:48 +00:00
Michael Niedermayer
874abace12 move syncpoint timestamp resetting code to a common file
Originally committed as revision 10020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:29:30 +00:00
Michael Niedermayer
44f46a698e remove old unused nut (de)muxer
Originally committed as revision 10018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:15:50 +00:00
Michael Niedermayer
47772399ec check forw_ptr CRC
Originally committed as revision 10017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:51:08 +00:00
Michael Niedermayer
6c666941eb forw_ptr CRC
Originally committed as revision 10016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:48:52 +00:00
Michael Niedermayer
8d9a3f7e21 use a dynamic ByteIOContext instead of using the lavf buffer
this makes the code work with big packets, it is also simpler and saves
a byte or 2

Originally committed as revision 10015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:38:24 +00:00
Michael Niedermayer
0809b51e52 move stream header writing into its own function
Originally committed as revision 10014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:25:58 +00:00
Michael Niedermayer
97d5eb11db move main header writing into its own function
Originally committed as revision 10013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:22:02 +00:00
Michael Niedermayer
e999435a60 write correct time_base
Originally committed as revision 10011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 11:06:54 +00:00
Michael Niedermayer
efd8f22a16 make StreamContext.time_base a pointer
Originally committed as revision 10010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 11:04:43 +00:00
Michael Niedermayer
4d75168f17 variables needed for muxer
Originally committed as revision 10009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 10:57:10 +00:00
Michael Niedermayer
dcc9bde010 write stream headers
Originally committed as revision 10008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 10:45:19 +00:00
Michael Niedermayer
70ea1e6922 trying to finally get the nut muxer back uptodate
this one only writes the framecode table and mainheader though they should be
compliant to the current spec

Originally committed as revision 10006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 01:12:48 +00:00
Alex Beregszaszi
3cf9ea7f48 use proper closesocket defines
Originally committed as revision 9992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 20:25:32 +00:00
Ramiro Polla
6ff3f3e7ce Check for winsock2.h instead of __MINGW32__
Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 19:18:10 +00:00
Ramiro Polla
85060fe6b4 MinGW returns EAGAIN instead of EINPROGRESS
Originally committed as revision 9982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 12:08:16 +00:00
Michael Niedermayer
c7385375bc ensure that the codec_id detection in av_find_stream_info() does not
destroy the first dts values

Originally committed as revision 9965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 21:14:29 +00:00
Michael Niedermayer
b43387d447 more verbose error
Originally committed as revision 9964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 20:37:45 +00:00
Michael Niedermayer
371bf80642 ignore preroll, it is generally not what AVStream.start_time should contain
Originally committed as revision 9963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 20:36:55 +00:00
Luca Abeni
8767b80f5f Change avf_sdp_create() to get a pre-allocated buffer as input, and to
return an integer (0 if the SDP has been succesfully created, < 0 in case
of error)

Originally committed as revision 9947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 13:44:56 +00:00
Luca Abeni
7ba32703dd Fix linking when RTP is disabled and libraries are dynamic
Originally committed as revision 9945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 13:32:37 +00:00
Reimar Döffinger
cbb79c0ea8 Hack to support XSUB subtitles in AVI
Originally committed as revision 9936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 12:11:16 +00:00
David Bryant
6b05eb3117 Add the handling of the INT32INFO block to the WavPack decoder.
Patch by David Bryant david at $codecname dot com
Thread: [FFmpeg-devel] [PATCH] handle INT32INFO in WavPack decoder

Originally committed as revision 9932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 05:56:34 +00:00
Justin Ruggles
2477ce2322 10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too probable.
Originally committed as revision 9931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 03:36:50 +00:00
Michael Niedermayer
4cd2508139 fix misdetection of out.ac3
Originally committed as revision 9930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 02:17:06 +00:00
Michael Niedermayer
3504467f8b //more debug info
Originally committed as revision 9929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 02:15:46 +00:00
Baptiste Coudurier
4f0a995631 remove now useless vars
Originally committed as revision 9928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 01:40:49 +00:00
Baptiste Coudurier
5fcf2df323 cosmetics, braces/parenthesis style
Originally committed as revision 9927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 01:40:07 +00:00
Baptiste Coudurier
c78ed54266 cosmetics, indentation
Originally committed as revision 9926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 01:36:31 +00:00
Baptiste Coudurier
c6f05d8122 add streams on the fly, swf is a streaming format and has no real header, correctly detect audio in RamboMJPEGAVP6_112K.swf now
Originally committed as revision 9925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 01:28:05 +00:00
Baptiste Coudurier
c6377f6143 do not write id3v2 header when writing .mp2 files
Originally committed as revision 9924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:47:57 +00:00
Baptiste Coudurier
7a97dd84e3 remove useless raw_write_header
Originally committed as revision 9923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:47:07 +00:00
Justin Ruggles
ecc8fc11ec additional tweaks to AC3 probe function. give a higher score to a single frame
at the start of the stream. also read all available data in the probe buffer.

Originally committed as revision 9922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 00:32:19 +00:00
Justin Ruggles
c49c02231c increase the maximum AC3 probe buffer size and reduce the threshold for 50% reliability score to 2 frames. Fixes out.ac3 from [FFmpeg-devel] AC3 Format Detection unreliable.
Originally committed as revision 9920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 23:53:05 +00:00
Michael Niedermayer
f683dbdc6a set the previous tag size correctly in flv files
Originally committed as revision 9919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 23:03:17 +00:00
Michael Niedermayer
48a59dfe8e set a more reasonable start_time if the first timestamps are AV_NOPTS_VALUE
Originally committed as revision 9918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 22:54:46 +00:00
Michael Niedermayer
8258354849 correct initial timestamps which have AV_NOPTS_VALUE
Originally committed as revision 9917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 22:46:13 +00:00
Baptiste Coudurier
74e9b9ae70 set block align to stsd audio v2 bytes per frame for adpcm ms and ima wav, fix surge-2-16-L-ms11.mov and surge-2-16-L-ms02.mov
Originally committed as revision 9895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 12:33:34 +00:00
Michael Niedermayer
bca7db3530 detect MS wav codecs
fixes detection of audio codec though not playback of surge-2-16-L-ms11.mov

Originally committed as revision 9885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 00:22:28 +00:00
Michael Niedermayer
02b15cc811 move code which adds a AVPacket into the packet buffer into its own function
Originally committed as revision 9871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 08:56:00 +00:00
Benoit Fouet
d2ace376b0 fill title, author, copyright and comment fields by parsing udta atom
Originally committed as revision 9840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 15:20:36 +00:00
Michael Niedermayer
10a7571b09 deal with the case where one of pts,dts has wrapped but the other has not
Originally committed as revision 9839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 15:06:27 +00:00
Michael Niedermayer
90f66438a5 kill antiwrapping code, i do not think this did anything good
fixes decoding of rete4.ps
closes issue44

Originally committed as revision 9835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 18:57:47 +00:00
Baptiste Coudurier
bffcf2ebbf treat NONE as U8 to fix qtNONE/000_0032.MOV, this should not any have side effect since if bps is 16 in stsd, codec will be changed to s16be, just yell if this breaks any sample
Originally committed as revision 9832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 10:00:42 +00:00
Michael Niedermayer
a11c2a2c66 support silly PCM variant used by zork nemesis
fixes audio decoding of T000A11C.AVI

Originally committed as revision 9831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 02:05:16 +00:00
Ronald S. Bultje
36cf20f5a6 Merge get_str() and get_str8() functions.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 9818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:05:11 +00:00
Ronald S. Bultje
28263f5f15 Fix get_str/get_str8() to also work if the target string is not long enough to
fit all data from the container string, and allow NULL as a string also to
simply skip the string altogether.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 9817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 18:02:19 +00:00
Diego Biurrun
df3a80b50a cosmetics: misc typo fixes
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 12:46:26 +00:00
David Conrad
bd35bdf1b2 Add EBML ID for Segment UID
Originally committed as revision 9814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-28 06:33:05 +00:00
Michael Niedermayer
8950f82879 detect voxware (closes issue39)
Originally committed as revision 9809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 11:37:56 +00:00
Michael Niedermayer
41415d2856 try exact match before case insensitive match in codec_get_id
Originally committed as revision 9808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 11:36:17 +00:00
Michael Niedermayer
60ff1c4481 ignore invalid packet_obj_size
fixes video5.asf

Originally committed as revision 9807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-27 00:29:33 +00:00
Luca Abeni
c5388c0784 Introduce an SDP generator
Originally committed as revision 9806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 22:34:26 +00:00
Aurelien Jacobs
89aa478f75 cosmetics: alignment
Originally committed as revision 9802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 13:02:07 +00:00
Aurelien Jacobs
b1dc5beb12 replaces hardcoded values by the equivalent enum definitions
Originally committed as revision 9801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 13:01:09 +00:00
Michael Niedermayer
e0c850a8c4 Avoid misdetecting acelp in ASF as MP3.
fixes 2001-04-11.asf

Originally committed as revision 9799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 20:39:43 +00:00
Aurelien Jacobs
11bf3847b3 add proper support for subtitles muxing/stream copying
Originally committed as revision 9798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:47:44 +00:00
Aurelien Jacobs
868e43d952 use the most appropriate codec id for A_MPEG/L1 and L2
Originally committed as revision 9794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 15:59:26 +00:00
Aurelien Jacobs
0f40b54c17 reorder matroska codec tags so that the encoder picks up the appropriate tag
Originally committed as revision 9793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 15:58:12 +00:00
Panagiotis Issaris
9510da2bca Replace ENOSYS by ENOTSUP as in this case the problem is not really a function
which is not available, but a media type which is not supported.

Originally committed as revision 9768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-20 08:05:27 +00:00
Panagiotis Issaris
85565db0f8 Replace all occurrences of AVERROR_NOTSUPP with AVERROR(ENOSYS).
Originally committed as revision 9763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:38:33 +00:00
Panagiotis Issaris
5632e568c0 Correct one Doxygen entry, replacing NOMEM with AVERROR(ENOMEM).
Originally committed as revision 9762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:37:44 +00:00
Panagiotis Issaris
6f3e0b2174 Replace all occurrences of AVERROR_IO with AVERROR(EIO).
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:23:32 +00:00
Panagiotis Issaris
769e10f068 Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:21:30 +00:00
Diego Biurrun
d0f596b4ef Make video hook infrastructure conditional on video hooks being enabled.
Originally committed as revision 9757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 14:48:13 +00:00
Benoit Fouet
d72e7d0f24 use sscanf to parse address
Originally committed as revision 9756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 10:48:50 +00:00
Benoit Fouet
109d30e9f1 remove useless check
Originally committed as revision 9733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 11:56:36 +00:00
Joakim Plate
104d04182d fix emulated inet_aton so that it fails for invalid addresses
patch by elupus: \elupus ecce se/
original thread:
[FFmpeg-devel] [PATCH] emulated inet_aton doesn't fail for invalidaddresses
date: 07/15/2007 12:40 AM

Originally committed as revision 9731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18 07:57:26 +00:00
Diego Biurrun
f1ea5c2a96 typo fixes
Originally committed as revision 9719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 12:57:50 +00:00
Ramiro Polla
1fc44ed69e MinGW has those include files.
Originally committed as revision 9707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 20:30:28 +00:00
Ramiro Polla
82e4ac2c97 Move av_gettime() back to lavf/utils.c
Originally committed as revision 9706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 20:28:43 +00:00
Ramiro Polla
c993a83131 MinGW has gettimeofday() since mingw-runtime-3.10
Originally committed as revision 9705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 20:27:16 +00:00
Aurelien Jacobs
ee8c87b55b add support for S_ASS and S_SSA codec string
Originally committed as revision 9704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 14:51:43 +00:00
Alex Beregszaszi
e2e2e7dd70 .memleak fix by Ronald Bultje. OK'd by Luca.
Originally committed as revision 9697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-16 10:56:40 +00:00
Michael Niedermayer
c4194cc606 remove likely wrong reseting of align_iframe
same md5 with a short -t dvd encoding
fixes streamcopy of dvd

Originally committed as revision 9687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15 18:24:39 +00:00
Aurelien Jacobs
372a80d15d Avoid using undefined symbols.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-muxer=mpeg1system

Originally committed as revision 9650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 15:12:38 +00:00
Aurelien Jacobs
c3eaeadb4a Allow selecting only the vc1 demuxer.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-demuxer=vc1

Originally committed as revision 9649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:43:06 +00:00
Aurelien Jacobs
95e99a769c Allow selecting only the mpegtsraw demuxer.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-demuxer=mpegtsraw

Originally committed as revision 9648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:40:18 +00:00
Aurelien Jacobs
548fabb9fb The dxa demuxer depends on riff.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-demuxer=dxa

Originally committed as revision 9647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:35:17 +00:00
Aurelien Jacobs
6d7eee8418 The dv1394 demuxer depends on dv.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols
  --enable-demuxer=dv1394

Originally committed as revision 9645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:32:41 +00:00
Aurelien Jacobs
8f3a44a2e5 All those demuxers don't depend on riff.o anymore.
Originally committed as revision 9644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:27:20 +00:00
Aurelien Jacobs
2115c69f2c All those demuxers use pcm_read_seek() and thus depend on raw.o.
Originally committed as revision 9643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 14:01:20 +00:00
Aurelien Jacobs
7f7fdbc842 The c93 demuxer depends on vocdec.o.
This fixes the following option set:
  --disable-encoders --disable-decoders --disable-parsers --disable-bsfs
  --disable-muxers --disable-demuxers --disable-protocols --enable-demuxer=c93

Originally committed as revision 9642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 13:37:24 +00:00
Måns Rullgård
b3fc092548 avoid division by zero in av_find_stream_info() when no time base is set
Originally committed as revision 9637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-14 12:42:57 +00:00
Baptiste Coudurier
71daa04c86 Smartjog granted permission to relicense as LGPL 2.1
Originally committed as revision 9631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 17:15:56 +00:00
Baptiste Coudurier
51d2ff8044 round timestamps up, k2 broadcast server seems to need it
Originally committed as revision 9630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 17:06:58 +00:00
Alex Beregszaszi
ef466de0a8 h264_rtp_extra_data is not only used for debug purposes, asserts are using it also
Originally committed as revision 9623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 12:12:38 +00:00
Alex Beregszaszi
8a54ad09fe remove uneeded include as assert is never used
Originally committed as revision 9622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 12:01:56 +00:00
Alex Beregszaszi
51ce035e82 Remove broken assert. ebml_read_element_id can handle level_up set to NULL.
Originally committed as revision 9621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 11:58:15 +00:00
Alex Beregszaszi
5b83843f43 fix compilation with assert
Originally committed as revision 9619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 00:49:40 +00:00
Luca Barbato
d02678eccc rtsp multicast fix by Thijs Vermeir $1$2@gmail.com
Originally committed as revision 9611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-12 21:12:33 +00:00
Aurelien Jacobs
979c091056 add support for ASS like subtitles in Matroska
Originally committed as revision 9593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:37:07 +00:00
Aurelien Jacobs
f7e97aaf87 add support for Matroska subtitle tracks
Originally committed as revision 9591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:13:20 +00:00
Aurelien Jacobs
45da8124a0 Move public API functions av_codec_get_tag() and av_codec_get_id()
into a file which is compiled un-conditionally (utils.c).

Originally committed as revision 9590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 12:45:14 +00:00
Ramiro Polla
7c37e504f0 Remove OS/2 support
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 21:52:04 +00:00
Måns Rullgård
a9fd2b1921 avoid deprecation warnings for AVFrac from avformat.h
Originally committed as revision 9569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 22:15:11 +00:00
Diego Biurrun
941125ef5f ISO8859-1 --> UTF-8
Originally committed as revision 9561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 18:54:11 +00:00
Aurelien Jacobs
e16c0fc30e duration must not be scaled
Originally committed as revision 9558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 13:51:06 +00:00
Aurelien Jacobs
463d5bcc29 properly set AVStream.language according to Matroska track header
Originally committed as revision 9557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-09 13:33:34 +00:00
Måns Rullgård
34174abf64 avoid uninitialised variable warning and clarify code
Originally committed as revision 9543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:52 +00:00
Måns Rullgård
b474d1f3fa update SectionCallback and PESCallback typedefs to match functions
Originally committed as revision 9542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:51 +00:00
Måns Rullgård
3f8cd151a0 remove redundant declaration of mpegts_muxer
Originally committed as revision 9541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:48 +00:00
Måns Rullgård
ea7599ba8b kill uninitialised variable warning in mp3_read_probe()
Originally committed as revision 9540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:46 +00:00
Måns Rullgård
4f9e995a96 kill harmless 64-bit pointer cast warning
Originally committed as revision 9539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:44 +00:00
Måns Rullgård
fae3a361be bethsoftvid: use correct type for size passed to av_fast_realloc()
Originally committed as revision 9538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:42 +00:00
Roman Shaposhnik
c21f308e77 * Getting rid of the use of GCC language extensions
Originally committed as revision 9531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 03:16:59 +00:00
Måns Rullgård
b3633dee58 remove deprecated codec_get_{bmp,wav}_{id,tag}()
Originally committed as revision 9530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 01:49:24 +00:00
Måns Rullgård
6927c84c82 ogm: don't use deprecated codec_get_{bmp,wav}_id()
Originally committed as revision 9529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 01:41:09 +00:00
Måns Rullgård
99a452342c nutdec: don't use deprecated codec_get_{bmp,wav}_id()
Originally committed as revision 9528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 01:41:07 +00:00
Måns Rullgård
7ea18c8c1e remove redundant codec_get_bmp_tag() call in avi_write_header()
it is incorrect and av_write_header() already does the right thing

Originally committed as revision 9527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 01:41:06 +00:00
Måns Rullgård
78c3c1881f use bytestream_get_* and AV_RLxx
Originally committed as revision 9525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 20:50:31 +00:00
Måns Rullgård
f015e411d7 kill uninitialised variable warning in amr_read_packet()
Originally committed as revision 9522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 13:46:30 +00:00
Måns Rullgård
8c222bb405 kill uninitialised variable warning in ac3_probe()
Originally committed as revision 9521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 13:46:28 +00:00
Måns Rullgård
14d194d5d8 remove unused functions
Originally committed as revision 9520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-07 13:46:25 +00:00
Ronald S. Bultje
80fb82346e Use AV_RB* macros where appropriate.
patch by Ronald S. Bultje, rsbultje gmail com
thread: Re: [FFmpeg-devel] remove int readers
date: Sat, 23 Jun 2007 09:32:12 -0400

Originally committed as revision 9499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 09:32:34 +00:00
Luca Abeni
653387d8f0 Support for the AVFMT_FLAG_NONBLOCK flag (non-blocking input) in v4l2.c
Originally committed as revision 9496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:18:25 +00:00
Luca Abeni
bf09c2e2a6 Add support for non-blocking input formats
Originally committed as revision 9495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 07:16:47 +00:00
Eric Paul
74ef8b434d check udp_read_packet return value not to access uninitialized memory
patch by Eric Paul: [eric paul gmail com]
original thread: [FFmpeg-devel] [PATCH] : libavformat segfault when a
RTSP reading is interrupted
date: 07/05/2007 03:13 PM

Originally committed as revision 9492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:58:34 +00:00
Måns Rullgård
f225016296 update my email address
Originally committed as revision 9489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 20:08:51 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Diego Biurrun
7b94177e37 Group all copyright and author notices together.
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:37:29 +00:00
Diego Biurrun
a7738a044d URL update, move comment to a better place.
Originally committed as revision 9476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 09:06:27 +00:00
Diego Biurrun
224906414b Remove leading underscores from specifiers, they are reserved.
Originally committed as revision 9461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 17:00:04 +00:00
Diego Biurrun
34359cab0d spelling cosmetics
Originally committed as revision 9459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 12:19:26 +00:00
Diego Biurrun
bbd861796e Add missing comment markers to #endif directive.
Originally committed as revision 9455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 10:10:53 +00:00
Vitor Sessak
7cf0999529 remove empty write trailer functions
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-27 06:54:47 +00:00
Baptiste Coudurier
4513cd48ee compute absolute data offset after reading blocksize
Originally committed as revision 9441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 23:08:39 +00:00
Baptiste Coudurier
1758c7128d this is named BlockSize in specs
Originally committed as revision 9430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 21:47:29 +00:00
Baptiste Coudurier
11d540a480 according to specs, offset is before blocksize
Originally committed as revision 9429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 21:46:15 +00:00
Baptiste Coudurier
620d1d7878 support files with COMM chunk after SSND, fix invalid_nocommon.aiff which is spec compliant
Originally committed as revision 9428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 21:31:33 +00:00
Ramiro Polla
05d00e953f Check for O_BINARY instead of a list of systems that need it
Originally committed as revision 9427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 20:34:20 +00:00
Ramiro Polla
45c1011020 Remove localtime_r implementation for systems that don't have it.
It is no longer used.

Originally committed as revision 9425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 16:18:28 +00:00
Maksym Veremeyenko
05ce0f11e4 * clarifying the AVInputFormat::read_seek return value
* changing dv_read_seek() to return the proper value
    (patch by Maksym Veremeyenko)

Originally committed as revision 9418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25 02:08:04 +00:00
Aurelien Jacobs
ffaa3ecb60 cosmetics: indentation after last commit
Originally committed as revision 9417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 21:50:09 +00:00
Aurelien Jacobs
2def9cd94d drop blocks which are part of unsupported tracks
Originally committed as revision 9416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 21:49:13 +00:00
Måns Rullgård
ca3e90825c remove duplicate #include
Originally committed as revision 9413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:29:12 +00:00
Reimar Döffinger
272605c73e more av_strl* adjustments
Originally committed as revision 9412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:23:34 +00:00
Måns Rullgård
19f4cecafa warnings--
Originally committed as revision 9411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:20:18 +00:00
Måns Rullgård
4bd684bc2f whitespace cosmetics
Originally committed as revision 9410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:20:17 +00:00
Måns Rullgård
1eb1f6fdb8 use AV_RL32
Originally committed as revision 9409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:20:16 +00:00
Måns Rullgård
d66c30adec use more Vorbis metadata tags
Originally committed as revision 9408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:12:04 +00:00
Måns Rullgård
d367783979 replace strncpy with av_strlcpy
Originally committed as revision 9407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:11:45 +00:00
Måns Rullgård
f7d78f3654 replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 11:27:12 +00:00
Reimar Döffinger
bc60f09bff Cosmetics: use consistent indentation by four spaces
Originally committed as revision 9404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 07:45:19 +00:00
Reimar Döffinger
01fa74adb9 DV muxer should not only fail for more that 3 streams altogether
but also if two of them are video or all three are audio.

Originally committed as revision 9403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 07:38:26 +00:00
Måns Rullgård
e46e884f25 remove old unused string functions
Originally committed as revision 9402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 23:10:35 +00:00
Måns Rullgård
75e61b0e88 use new string functions
based on patch by Reimar Döffinger

Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 23:10:32 +00:00
Aurelien Jacobs
1607c534bf simplify
Originally committed as revision 9399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:49:36 +00:00
Aurelien Jacobs
fd2e1d88a6 remove useless empty function
Originally committed as revision 9398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:47:02 +00:00
Aurelien Jacobs
eb67342fdc cosmetics: too much blank lines
Originally committed as revision 9397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:42:45 +00:00
Aurelien Jacobs
2ce746c66a use intreadwrite functions in matroskadec
based on a patch by Ronald S. Bultje   rsbultje gmail com

Originally committed as revision 9396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:32:19 +00:00
Aurelien Jacobs
6bca498d78 use intreadwrite functions in vocdec
Originally committed as revision 9395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 12:30:40 +00:00
Måns Rullgård
34f18ba853 remove useless #ifndef CONFIG_NOCUTILS
Originally committed as revision 9394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 01:20:38 +00:00
Måns Rullgård
aa38ada2d4 simplify stristart()
Originally committed as revision 9393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 00:47:28 +00:00
Måns Rullgård
315a2858b6 cosmetic: combine declaration and initialisation
Originally committed as revision 9392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 00:47:27 +00:00
Måns Rullgård
26301cb806 simplify pstrcpy()
Originally committed as revision 9391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-23 00:21:06 +00:00
Måns Rullgård
12a6f28928 simplify strstart()
Originally committed as revision 9390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-22 22:35:55 +00:00
Baptiste Coudurier
5d38574617 use allformats.h
Originally committed as revision 9384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 09:53:01 +00:00
Baptiste Coudurier
c4f27438ef remove now useless ifdef
Originally committed as revision 9383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 09:49:20 +00:00
Baptiste Coudurier
2abe5a01c8 split mpeg ps and variants muxer and demuxer, I'll clean more in a few minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common
Originally committed as revision 9382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 09:39:29 +00:00
Reimar Döffinger
6de4aece26 Fix @file in matroskadec.c, it was still matroska.c
Originally committed as revision 9376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-20 17:37:11 +00:00
Benoit Fouet
9e15dfebb4 comment endif directive token
Originally committed as revision 9369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-19 21:12:52 +00:00
Guillaume Poirier
efb775777f add a comment to indicate which #endif belong to which #define
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 18:59:28 +00:00
Måns Rullgård
699b3f99d0 add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-17 00:01:30 +00:00
Måns Rullgård
99545457bf include all prerequisites in header files
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 22:59:13 +00:00
Måns Rullgård
706da4af32 fix some printf format specifiers
Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-16 14:52:05 +00:00
Patrice Bensoussan
629272d86f Add support for track numbers when they are set via strings
patch by Patrice Bensoussan: patrice bensoussan free fr

Originally committed as revision 9318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-15 09:10:19 +00:00
Aurelien Jacobs
b997b67c63 use get_bits_long() where needed
patch by Aurelien Jacobs, aurel gnuage org

Originally committed as revision 9314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 18:14:35 +00:00
Ronald S. Bultje
48961970f1 remove decode_be32/64 and replace them by AV_RB32/64
patch by Ronald S. Bultje: \ rbultje at ronald bitfreak net /

Originally committed as revision 9299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-13 08:24:22 +00:00
Ramiro Polla
6fe706df05 Remove unused declarations
Originally committed as revision 9297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 21:27:32 +00:00
Diego Biurrun
90b5b51eab misc typo fixes
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Stefano Sabatini
26ef3220cf Move the video size and rate abbreviations system from libavformat to libavcodec
patch by Stefano Sabatini: [stefano dot sabatini minus lala poste dot it]
original thread:
[FFmpeg-devel] [PATCH] Redesign the video size and rateabbreviations system
date: 06/02/2007 05:30 PM

Originally committed as revision 9288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 08:06:54 +00:00
Diego Biurrun
0a4f20c6c5 Add some explanatory comments to #endif directives.
Originally committed as revision 9287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 08:01:35 +00:00
Diego Biurrun
ea23327b9c Remove unused static function.
Originally committed as revision 9285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 07:59:34 +00:00
Ronald S. Bultje
19ecf88288 Add a bounds check on AVProbeData input.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net
thread:
Date: Sat, 09 Jun 2007 19:22:17 -0400
Subject: [FFmpeg-devel] lavf probing

Originally committed as revision 9275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 20:35:01 +00:00
Michael Niedermayer
b3e104366a simplify
Originally committed as revision 9258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 17:34:37 +00:00
Michael Niedermayer
2bb486a5e6 remove now unused "global" pcr_pid
Originally committed as revision 9257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 17:26:05 +00:00
Michael Niedermayer
dbf6b678fc proper per stream pcr_pid support by (Wolfram Gloger wmglo dent.med.uni-muenchen@de )
Originally committed as revision 9256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 17:21:29 +00:00
Panagiotis Issaris
716f6b47f2 Remove the unnecessary masking when counting received packet types in the H.264
RTP parsing code.

Originally committed as revision 9241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 14:51:26 +00:00
Panagiotis Issaris
7699645e7d Remove the unnecessary masking when reconstructing the NAL unit header in the
H.264 RTP parsing code.

Originally committed as revision 9240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 14:48:29 +00:00
Panagiotis Issaris
6ab6525e11 Remove the unnecessary masking when extracting the start bit in the H.264 RTP
parsing code.

Originally committed as revision 9239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 14:47:40 +00:00
Diego Biurrun
c64bab0805 Fix linking: emms_c is a macro, #include the correct header file.
Originally committed as revision 9238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 14:13:59 +00:00
Ronald S. Bultje
8e82f5048e emms --> emms_c, patch by Ronald S. Bultje, rbultje ronald.bitfreak net
reference thread:
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ff-grab-emms_c.patch (1/1)
Date: Thu, 07 Jun 2007 09:01:44 -0400

Originally committed as revision 9236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 13:24:19 +00:00
Baptiste Coudurier
e5f0be5a0c add MMES fourcc, matrox mpeg2 in avi files
Originally committed as revision 9234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 15:52:53 +00:00
Michael Niedermayer
7691686327 add mpegtsraw demuxer
Originally committed as revision 9233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 13:31:30 +00:00
Baptiste Coudurier
911f9b714e warn user if video codec timebase is very high
Originally committed as revision 9232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-06 13:21:50 +00:00
Diego Biurrun
ac3967c1ce spelling
Originally committed as revision 9221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 23:07:27 +00:00
Aurelien Jacobs
8d75b5a2fb cosmetics: use one type per field in every structs
Originally committed as revision 9220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:35:16 +00:00
Michael Niedermayer
e39291dfcf partially revert r2931 (Support raw mpegts streams from dvr)
the change was wrong

Originally committed as revision 9219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:23:05 +00:00
Aurelien Jacobs
77abe5e858 cosmetics: indentation
Originally committed as revision 9218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:21:29 +00:00
Aurelien Jacobs
eabb8ba445 add support for real audio in matroska
Originally committed as revision 9217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:19:17 +00:00
Aurelien Jacobs
407a3d94f5 fix an infinite loop in case one cluster is not enough to demux a packet
Originally committed as revision 9216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:17:55 +00:00
David Conrad
b061d892ed split some common code from the mkv demuxer that will be useful to the muxer
patch by David Conrad  umovimus _at_ gmail.com

Originally committed as revision 9215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:10:54 +00:00
Ramiro Polla
864ff8c119 Typos
Originally committed as revision 9213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 21:05:58 +00:00
Ramiro Polla
05abfce9a9 Doxygenize av_init_packet
Originally committed as revision 9212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 20:48:04 +00:00
Ramiro Polla
659596f002 Export av_init_packet
Originally committed as revision 9211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 16:52:02 +00:00
Michael Niedermayer
04ec18b8b3 harmless typo
Originally committed as revision 9210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:54:33 +00:00
Michael Niedermayer
28f03d0494 fix indention
Originally committed as revision 9209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:53:47 +00:00
Michael Niedermayer
ad39abcdd9 remove duplicate PAT scaning code and actual PAT scan
also disabling the nonsense 3yr old rawts change (it would after the
above chage totally break the demuxer if its left enabled)

Originally committed as revision 9208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:44:52 +00:00
Michael Niedermayer
4dc8a963d1 unused variables
Originally committed as revision 9207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:20:07 +00:00
Michael Niedermayer
90d13e30d5 dont rescan for information on each pid, but rather do it just once by
opening 1 filter for each at the same time

Originally committed as revision 9206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:17:43 +00:00
Michael Niedermayer
ecc31d1d8e move structs and enums to top of file so they can be used
Originally committed as revision 9205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:11:54 +00:00
Michael Niedermayer
4d9a577e30 passing MpegTSFilter to the filters instead of a random void *opaque
code is simler and the filters now know the pid they are filtering so one
filter callback can be used with more then one pid at the same time

Originally committed as revision 9204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 13:57:00 +00:00
Marc Hoffman
69621690ab extending video4linux support to handle the additional formats UYVY, YUYV and RGB565
Originally committed as revision 9203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 13:28:02 +00:00
Marc Hoffman
c7c64e9e5e convert if then else video palette to pix_fmt construct to simpiler table based lookup.
Originally committed as revision 9202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 13:25:29 +00:00
Michael Niedermayer
37dfd6333d do not perform SDT scan at the begin (this avoids a timeconsuming search for
optional info) instead fill SDT info in and update it as we stumble across it

Originally committed as revision 9201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 12:19:38 +00:00
Michael Niedermayer
657ced8cdb make new_service() update existing info sanely
Originally committed as revision 9200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 11:46:59 +00:00
Michael Niedermayer
0618bb1c5b remove fake service/provider names used for PAT
this allows us to distingush if the info came from SDT or PAT and will
allow to dyamically fill info in ...

Originally committed as revision 9199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 11:25:33 +00:00
Benoit Fouet
a45ec41409 Indentation
Originally committed as revision 9197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 08:53:08 +00:00
Baptiste Coudurier
1b4818452c cosmetics remove struct name with typedef
Originally committed as revision 9194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 22:56:11 +00:00
Baptiste Coudurier
738ebafceb remove unused EssenceContainerData
Originally committed as revision 9193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 22:40:42 +00:00
Baptiste Coudurier
151bdd5d3d skip no more needed on error
Originally committed as revision 9192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 18:04:33 +00:00
Baptiste Coudurier
01dfc64669 remove duplicate entry since now we ignore version byte
Originally committed as revision 9191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:53:15 +00:00
Baptiste Coudurier
28b9f98619 typo
Originally committed as revision 9190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:29:49 +00:00
Baptiste Coudurier
363f403f28 set pkt pos
Originally committed as revision 9189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:26:30 +00:00
Baptiste Coudurier
0e3ea3a26b remove now useless sync key
Originally committed as revision 9188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:20:35 +00:00
Baptiste Coudurier
6dc5554328 no need to seek on specific key anymore, since klv_read_packet will sync, tested on encrypted files
Originally committed as revision 9187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:19:15 +00:00
Baptiste Coudurier
b7889fce2f do not print error message when klv_read_packet fails
Originally committed as revision 9186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:15:39 +00:00
Baptiste Coudurier
cabe2527ef sync to mxf klv key before trying to read klv packet
Originally committed as revision 9185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:10:55 +00:00
Baptiste Coudurier
6982462f50 match uids indenpendantly of the version byte
Originally committed as revision 9184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 14:52:55 +00:00
Baptiste Coudurier
3c6b46d3a5 cosmetics, reorder and classify uids
Originally committed as revision 9183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 14:33:57 +00:00
Michael Niedermayer
b91811af83 get rid of if(1)
Originally committed as revision 9179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 23:14:38 +00:00
Michael Niedermayer
9deb6d71b8 get rid of one layer of callback obfuscation
Originally committed as revision 9178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 23:11:17 +00:00
Michael Niedermayer
b229219417 kill completely idiotic code which hides all but 2 streams
Originally committed as revision 9177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 23:04:46 +00:00
Michael Niedermayer
165f503a27 correct implementation of "try with auto_guess if first detection fails"
(untested)

Originally committed as revision 9175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 21:48:49 +00:00
Michael Niedermayer
d287b04b6d revert r4802 (try with auto_guess if first detection fails)
this change is broken, 3/4 of the code added is unreachable, ill implement
it correctly in a moment

Originally committed as revision 9174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 21:44:20 +00:00
Michael Niedermayer
38c48be213 split mpeg2ts_raw mode into its own demuxer using such a flag is an incredibly dirty hack
Originally committed as revision 9173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 20:57:31 +00:00
Michael Niedermayer
fc1f90d4e9 move jpegls up, fixes sf bug #1629152
Originally committed as revision 9165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 23:42:37 +00:00
Aurelien Jacobs
b1b64c237f typo
Originally committed as revision 9159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 10:04:37 +00:00
Aurelien Jacobs
d6649b2a58 use FFSWAP()
Originally committed as revision 9158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:50:35 +00:00
Aurelien Jacobs
43e869147a cosmetics: indentation
Originally committed as revision 9157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:45:09 +00:00
Aurelien Jacobs
7b2a2ce556 split rm muxer and demuxer in their own files
Originally committed as revision 9156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 09:44:16 +00:00
Michael Niedermayer
db8f4a92c9 warn the user about the the mdhd problem
(this is of course not a good solution but its better than silently
generating invalid files, we should find a better solution)

Originally committed as revision 9153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 00:08:32 +00:00
Glenn A. Serre
828bb5f1f6 variable initialization (because of a gcc warning)
patch by Glenn A. Serre gaserre spiresoftware com

Originally committed as revision 9146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-29 08:19:37 +00:00
Michael Niedermayer
8a59d9a385 fix "incorrect frame size" errors with small.nuv
Originally committed as revision 9133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-27 08:06:45 +00:00
Benoit Fouet
5faf2d3641 add rgb suffix handling for demuxer
Originally committed as revision 9103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 07:17:17 +00:00
Andreas Öman
0dc56bfae0 id3v2 writer
patch by Andreas Öman andreas olebyn nu
original thread: [FFmpeg-devel] [Ffmpeg-devel] ID3v2

Originally committed as revision 9102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 08:28:32 +00:00
Andreas Öman
52b53f8653 id3v2 reader
patch by Andreas Öman andreas olebyn nu
original thread: [FFmpeg-devel] [Ffmpeg-devel] ID3v2

Originally committed as revision 9101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 08:23:45 +00:00
Andreas Öman
cb2578d5ef cosmetic v1/v2 renaming
patch by Andreas Öman andreas olebyn nu

Originally committed as revision 9100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 07:58:22 +00:00
Thijs Vermeir
8bd32c0424 Add transport method options
patch by Thijs Vermeir thijs vermeir chez barco com
original thread:
[FFmpeg-devel] [PATCH] Add rtsp options support ( added option)

Originally committed as revision 9099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 07:51:39 +00:00
Thijs Vermeir
badc9ae2d5 Add support for options
patch by Thijs Vermeir thijs vermeir chez barco com
original thread:
[FFmpeg-devel] [PATCH] Add rtsp options support ( added option)

Originally committed as revision 9098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-22 07:47:04 +00:00
Alex Beregszaszi
3e2e29fb00 r9095 invalidly removed the check for non-winsock
Originally committed as revision 9096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 16:08:03 +00:00
Alex Beregszaszi
7235183df9 fix FD_SETSIZE handling in our poll() emulation
Originally committed as revision 9095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 15:54:35 +00:00
Baptiste Coudurier
4f60f34a89 print and return error if output is non seekable
Originally committed as revision 9087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 08:33:36 +00:00
Aurelien Jacobs
ca6e50afc1 add a ff_ prefix to some mpegaudio funcs
Originally committed as revision 9081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-20 15:11:55 +00:00
Alex Beregszaszi
c8df9c6358 Use usleep instead of sleep, some MinGW versions lack sleep.
Originally committed as revision 9044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-17 10:30:03 +00:00
Diego Biurrun
605315248c Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.

Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 12:25:54 +00:00
Diego Biurrun
14b2d01058 Drop unnecessary libavcodec/ prefix in #include path.
Originally committed as revision 9033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 09:21:23 +00:00
Corey Hickey
2e374f12b5 Don't forget about audio remaining in buffer, in case there is enough
left to make another DV frame.

Originally committed as revision 9032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-16 02:02:22 +00:00
Alex Beregszaszi
5676d140a9 initial mingw networking support
Originally committed as revision 9029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-15 14:58:30 +00:00
Baptiste Coudurier
4440b1188e simplify, no need for a function
Originally committed as revision 9008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 22:17:40 +00:00
Baptiste Coudurier
54a5c7193b fix ctts index computation when seeking, check must be done against next ctts sample, thanks to Uoti
Originally committed as revision 9007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 22:02:27 +00:00
Alex Beregszaszi
5f09770382 cosmetics: fix indentation
Originally committed as revision 8998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-11 19:07:40 +00:00
Baptiste Coudurier
c3ebc833b9 dmb1 fourcc, mjpeg_opendml.mov
Originally committed as revision 8990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 23:42:28 +00:00
Benoit Fouet
0ba0c8debb Use url_fopen error code when opening input file
handle the AVERROR_NOENT error case in print_error

Originally committed as revision 8977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 13:25:33 +00:00
Panagiotis Issaris
b484ec78e8 Typos
Originally committed as revision 8974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:51:00 +00:00
Luca Abeni
e4dd03f395 Reindent code after last commit
Originally committed as revision 8973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:15:15 +00:00
Limin Wang
0d6c07329e Allow avoid setting the video standard and input when capturing v4l2 video.
Patch by Limin Wang, edited by me

Originally committed as revision 8971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-10 10:14:42 +00:00
Vitor Sessak
13dec85765 RoQ muxer, patch by Vitor, vitor1001 gmail com
reference thread:
Subject: [FFmpeg-devel] [PATCH] RoQ muxer
Date: Wed, 09 May 2007 19:44:21 +0200

Originally committed as revision 8959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 23:07:40 +00:00
Aurelien Jacobs
99ff31dc75 move aac and ac3 parsers in their own files
Originally committed as revision 8941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 23:25:31 +00:00
Ivo van Poorten
8d2fb33320 autodetect ptx files
Originally committed as revision 8938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-08 11:57:49 +00:00
Aurelien Jacobs
c0f716b86f fix display of theora videos with visible size smaller than encoded size
Originally committed as revision 8928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 15:43:01 +00:00
Ivo van Poorten
cb63173785 Renderware TXD demuxer
Originally committed as revision 8927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 13:30:08 +00:00
Michael Niedermayer
5fd5d0ef3a improve mpeg4-es detection by rejecting streams with reserved startcodes (fixes 11-i_need_your_love-daw.mp3 detected as mpeg4)
Originally committed as revision 8923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-07 11:57:46 +00:00
Reimar Döffinger
89ecc26188 Fix two small typos in comment
Originally committed as revision 8920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 18:23:28 +00:00
Zuxy Meng
18d915dda6 cosmetics: Fix indentation after last commit, patch by Zuxy Meng.
Originally committed as revision 8917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-06 12:04:17 +00:00
Diego Biurrun
a4b120f32b cosmetics: Sort entries by CONFIG_ name.
Originally committed as revision 8877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 22:54:28 +00:00
Daniel Cardenas
711737af8e give the position offset of the file in the packet
update seek regression test reference file accordingly
patch by Daniel Cardenas: Daniel Car cox net
original thread: [Ffmpeg-devel] [PATCH] Debug help for file position
date: 05/01/2007 02:42 AM

Originally committed as revision 8871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 13:36:45 +00:00
Benoit Fouet
efd5fc538e return right format in set_codec_from_probe_data
Originally committed as revision 8867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 09:18:41 +00:00
Mark Cox
671adb1742 patch so that the deprecated items show up correctly
when building doxygen docs
patch by mark cox melbournemark plus ffmpeg minus devel chez gmail dot com

Originally committed as revision 8866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 09:13:47 +00:00
Zuxy Meng
d84707377f use asf stream information to set bitrate
patch by Zuxy Meng zuxy dot meng chez gmail tod com
reference thread: [Ffmpeg-devel] Third Try: Set bit_rate for asf format

Originally committed as revision 8861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-30 15:56:11 +00:00
Wolfram Gloger
7af636d44a Fix loop condition so it can be run through more than once.
patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de
reference: [Ffmpeg-devel] buffer underflow messages from the output_example.c

Originally committed as revision 8860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-30 09:46:11 +00:00
Wolfram Gloger
268fc08290 more detailed error message for buffer underflow
patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de

Originally committed as revision 8859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-30 09:43:29 +00:00
Baptiste Coudurier
25406e5002 fix AVStream documentation: clarify start_time, start_time and duration are actually in stream base
Originally committed as revision 8855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-28 13:07:52 +00:00
Kostya Shishkov
13544287d5 Support for newer MacOSX AIFF
Originally committed as revision 8852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 17:19:07 +00:00
Baptiste Coudurier
7bb7ad0eb5 fix oss audio playback, broken since r7983, pass AVFormatContext filename to audio_open since audio_device when NULL is no more set to default value
Originally committed as revision 8851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 16:10:05 +00:00
Alex Beregszaszi
ab7fd2c4f7 Use correct CONFIG_RTP_MUXER ifdef
Originally committed as revision 8847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 01:21:11 +00:00
Alex Beregszaszi
ba472aaf01 implement ff_socket_nonblock and use it in networking code
Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 00:41:50 +00:00
Alex Beregszaszi
8da4034f52 use ff_neterrno() and FF_NETERROR() for networking error handling
Originally committed as revision 8845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 00:35:54 +00:00
Alex Beregszaszi
c08fb00016 Make protocols configure selectable and also cleanup the CONFIG_NETWORK
related parts (rtp,rtsp,sdp). Currently they are interdependent.

Originally committed as revision 8842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 23:44:56 +00:00
Alex Beregszaszi
9686292664 Don't compile RTSP_DEMUXER if not requested
Originally committed as revision 8841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 23:41:20 +00:00
Alex Beregszaszi
e7047005cb properly compile code for REDIR_DEMUXER
Originally committed as revision 8840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 23:40:36 +00:00
Diego Biurrun
4ee10633d2 cosmetics: Remove trailing whitespace and tabs.
Originally committed as revision 8838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 19:27:32 +00:00
Diego Biurrun
c23a470800 cosmetics: sort()
Originally committed as revision 8837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 18:31:33 +00:00
Alex Beregszaszi
383eda2348 move resolve_host from tcp.c to os_support.c as it is used widely
Originally committed as revision 8834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 18:04:42 +00:00
Alex Beregszaszi
a33cc9511b cosmetics in resolve_host
Originally committed as revision 8833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 18:00:28 +00:00
Alex Beregszaszi
0913873e5b remove unused rtsp_callback
Originally committed as revision 8832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 17:38:30 +00:00
Diego Biurrun
f87462ccef proper dependency on mpegts_demuxer for rtp_muxer
Originally committed as revision 8831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 17:35:31 +00:00
Baptiste Coudurier
b236a735e5 remove no more true comment
Originally committed as revision 8829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 11:46:04 +00:00
Baptiste Coudurier
e23848a49c cosmectics, use consistant and homogeneous type names for atoms
Originally committed as revision 8828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 11:36:05 +00:00
Baptiste Coudurier
f8c18cd711 use dprintf with AVFormatContext and simplify
Originally committed as revision 8827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 11:24:10 +00:00
Luca Abeni
578688fad5 Fix reading PTSs and DTSs in libavformat, by reverting r8465.
Such commit introduced some regressions (see the "Possible bug in reading
PTS/DTS" and "[BUG] no video transcoding" threads on ffmpeg-devel).

Originally committed as revision 8826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 10:49:48 +00:00
Baptiste Coudurier
1c086afc21 remove now obsolete and no more true comments
Originally committed as revision 8824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 08:42:21 +00:00
David Conrad
70fa2486a1 Support for seeking in TTA files.
Originally committed as revision 8820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 23:22:05 +00:00
Baptiste Coudurier
8d27c5f891 add xdv2 xdcam hd tag, decode xdcam_hd_1080i60.mov
Originally committed as revision 8812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 15:58:05 +00:00
Baptiste Coudurier
263a93ecff add 'wide' reversed tag in probe, detect broken xdcam files xdcam_hd_1080i60.mov
Originally committed as revision 8811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 15:57:15 +00:00
Benoit Fouet
b47f86c4a3 add rgb suffix to rawvideo muxer
Originally committed as revision 8805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 09:01:54 +00:00
Benoit Fouet
7d88b5ca02 more format abbreviations
Originally committed as revision 8798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 11:45:13 +00:00
Baptiste Coudurier
2f8fe719c6 correct comment about seek function
Originally committed as revision 8797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 10:51:26 +00:00
Diego Biurrun
a47ec310f2 Remove unused code + variable, fixes a warning.
Originally committed as revision 8794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 05:50:30 +00:00
Michael Niedermayer
db2a0e229f dont assert(0) due to buggy rm demuxer
Originally committed as revision 8790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 18:48:07 +00:00
Michael Niedermayer
b5a3541da1 fix av_seek_frame_generic() so that it doesnt fail if the
requested timestamp is after the last with backward flag

Originally committed as revision 8783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 16:23:44 +00:00
Michael Niedermayer
b237eb800d init packet before calling the demuxer
fixed random/uninitalized AVPacket->pos

Originally committed as revision 8781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 11:07:35 +00:00
David Conrad
756fb7fea1 Change from using a seek table internal to the TTA demuxer to using the standard lavf index.
Originally committed as revision 8780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 00:50:36 +00:00
Baptiste Coudurier
1c02d96f6d long -> int
Originally committed as revision 8774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:37:10 +00:00
Baptiste Coudurier
9e40addd21 cosmetics: mov_mp4 -> mp4
Originally committed as revision 8773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:12:51 +00:00
Baptiste Coudurier
0b07ac425a clean and simplify esds reading function
Originally committed as revision 8772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:09:14 +00:00
Baptiste Coudurier
d614f57978 remove broken ctab code
Originally committed as revision 8771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:03:53 +00:00
Baptiste Coudurier
fa22ca2214 use INT64_MAX
Originally committed as revision 8770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21 18:01:47 +00:00
Alex Beregszaszi
61bc79ec9c remove possibly broken wince cruft
Originally committed as revision 8763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-20 23:45:53 +00:00
Benjamin Larsson
10e26bc782 Atrac3 decoder.
Originally committed as revision 8747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-17 20:53:39 +00:00
Aurelien Jacobs
57004ff1d7 add an enum for need_parsing
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 13:51:57 +00:00
Diego Biurrun
cefd4907e3 Make the declaration of AVInputFormat ac3_demuxer conditional
on CONFIG_AC3_DEMUXER.

Originally committed as revision 8741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 12:35:44 +00:00
Diego Biurrun
98d0205145 Move AC3 header parsing code together with the rest of the AC3 parsing code.
Originally committed as revision 8739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 12:32:36 +00:00
Joakim Plate
a74008a4c3 timestamps generation improvement when parsing avi
patch by Joakim \ elupus chez ecce dot se /
original thread:
date: 03/19/2007 01:47 AM
subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when parser is in use.

Originally committed as revision 8725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-13 07:50:04 +00:00
Diego Biurrun
4303c9bf62 spelling
Originally committed as revision 8722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-12 11:28:34 +00:00
John Donaghy
6fea687ec1 DVR-MS probe audio format
patch by John Donaghy \ johnfdonaghy chez gmail dot com /
Original thread:
date: 03/13/2007 04:56 PM
subject: [Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding)

Originally committed as revision 8715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-12 08:11:33 +00:00
Baptiste Coudurier
c4fe61ff87 add D-10 PAL 40 audio essence container ul
Originally committed as revision 8709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 14:10:36 +00:00
Baptiste Coudurier
088e827a96 add D-10 PAL 40 ul
Originally committed as revision 8708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 14:04:59 +00:00
Aurelien Jacobs
7fdcdf25a1 cosmetics: indentation
Originally committed as revision 8707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 11:27:24 +00:00
Aurelien Jacobs
6207bb209e add support for seeking to a keyframe instead of a random frame
Originally committed as revision 8698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 17:03:20 +00:00
Aurelien Jacobs
79f2634686 add an intermediate variable (prepare for next patch)
Originally committed as revision 8697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 17:00:09 +00:00
Aurelien Jacobs
cca9b6cdb3 add support for seeking in matroska files
Originally committed as revision 8696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:48:28 +00:00
Aurelien Jacobs
df06539a25 move matroska_find_track_by_num() upper in the file
so that it can be used by other part of the code

Originally committed as revision 8695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:45:43 +00:00
Aurelien Jacobs
67545b0ce6 cluster position is relative to segment_start
Originally committed as revision 8694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:29:10 +00:00
Aurelien Jacobs
01344104c1 properly set streams start_time
Originally committed as revision 8693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:27:00 +00:00
Aurelien Jacobs
8e7a7e6a01 remove unused context field
Originally committed as revision 8692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:24:03 +00:00
Aurelien Jacobs
794857ae45 remove wrong and no more used packet reordering code
Originally committed as revision 8691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-09 16:22:18 +00:00
Nicholas Tung
e4141433ea Get rid of unnecessary pointer casts.
patch by Nicholas Tung, ntung ntung com

Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 20:24:16 +00:00
Stefan Huehner
119e48d960 Make some functions which aren't used outside their declaring source file
and have no prototype in a header file static.
patch by Stefan Huehner, stefan huehner org

Originally committed as revision 8686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 20:21:11 +00:00
Marco Gerards
90f2a1a03c cosmetics: indentation fix
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 12:05:02 +00:00
Michael Niedermayer
ac5565d88c file extension based probe is max/2
Originally committed as revision 8679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 11:37:43 +00:00
Michael Niedermayer
65a00bd65a factorize
Originally committed as revision 8678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 11:37:04 +00:00
Michael Niedermayer
87e8788680 allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks
Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 11:34:15 +00:00
Michael Niedermayer
f118d254be also remove c93_ prefix for static function in the c93 demuxer
Originally committed as revision 8676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-08 09:50:08 +00:00
Michael Niedermayer
3e62d187ed s/rle_num_bytes/code/
shorter and correcter (its not the number of anything)

Originally committed as revision 8673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:32:55 +00:00
Michael Niedermayer
f858c24fb3 simplify
Originally committed as revision 8669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:26:11 +00:00
Michael Niedermayer
a7c405a48a conform to spec
Originally committed as revision 8668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:24:31 +00:00
Michael Niedermayer
d7cf44899f use shorter names for the block type enum
Originally committed as revision 8664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 23:10:22 +00:00
Michael Niedermayer
905234285d code claims to use 32bit timestamp, lets make it also use that
Originally committed as revision 8662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:57:04 +00:00
Michael Niedermayer
8bb57775e8 remove redundant comments
Originally committed as revision 8661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:55:15 +00:00
Michael Niedermayer
955629c0e8 remove inappropriate debuging av_log() alternatively they could be changed to dprintf()
Originally committed as revision 8660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:51:05 +00:00
Michael Niedermayer
373209f816 memleak (seems ive missed that under the obfuscated indention)
Originally committed as revision 8659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:47:55 +00:00
Michael Niedermayer
d5c5c8b4d3 sane indention (no more 3 statements on one line...)
Originally committed as revision 8658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 22:41:45 +00:00
Anssi Hannula
8e952e4d23 CRYO APC demuxer
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 8656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 21:34:18 +00:00
Nicholas Tung
1e6c67599e Bethsoft VID demuxer and video decoder
patch by Nicholas Tung, ntung ntung com

Originally committed as revision 8649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 20:51:58 +00:00
Marco Gerards
d1e0d21f94 THP PCM decoder, used on the Nintendo GameCube.
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 16:03:23 +00:00
Anssi Hannula
9a0ddd09e7 Interplay C93 demuxer and video decoder
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 8643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:25:25 +00:00
Diego Biurrun
e42dba481f typos/grammar
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:09:20 +00:00
Xiaohui Sun
2d99eed135 SGI image decoder ported to the new image API.
patch by Xiaohui Sun, sunxiaohui dsp.ac cn

Originally committed as revision 8635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 18:29:27 +00:00
Víctor Paesa
e19fbbec95 Add some help for the analyzeduration option.
patch by Víctor Paesa, wzrlpy arsystel com

Originally committed as revision 8631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-06 09:43:32 +00:00
Stefan Huehner
2b100ab2bf changes some function declarations from () to (void) as per ansi c.
Patch by Stefan Huehner % stefan A huehner P org %

Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-04 11:51:08 +00:00
Diego Biurrun
3af6d5cf2f There were two files, libavformat/grab.c and libavformat/grab_bktr.c declaring
the video_grab_device_demuxer AVInputFormat.  Use two different names for the
AVInputFormats to reduce confusion and remove ugliness from the Makefile.

Originally committed as revision 8619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 21:09:36 +00:00
Diego Biurrun
3d18b282e0 cosmetics: indentation
Originally committed as revision 8618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 16:47:43 +00:00
Diego Biurrun
7b17ad84be Get rid of unnecessary conditionals.
Originally committed as revision 8617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 16:33:04 +00:00
Diego Biurrun
12631f2dd0 CONFIG_NETWORK depends on CONFIG_PROTOCOLS, no need to nest conditionals.
Originally committed as revision 8615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 15:59:15 +00:00
Diego Biurrun
e011ef1a85 cosmetics: Put audio (de)muxer entries in alphabetical order.
Originally committed as revision 8614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 15:57:38 +00:00
Diego Biurrun
e64271c2fe Audio (de)muxer dependency on OSS is handled by configure.
Originally committed as revision 8613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 15:56:21 +00:00
Diego Biurrun
ed252b1624 cosmetics: Sort list of input/output formats.
Originally committed as revision 8606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 12:40:17 +00:00
Diego Biurrun
fa1ab87200 Fix copy and paste error in comment.
Originally committed as revision 8588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 15:46:43 +00:00
Diego Biurrun
efb0c399ca support for the THP game format by Marco Gerards, mgerards xs4all nl
Originally committed as revision 8587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 14:28:48 +00:00
Michael Niedermayer
91aeec1bc7 WMVA
Originally committed as revision 8581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 01:09:56 +00:00
Baptiste Coudurier
beef9ba9e2 add AVRn fourcc
Originally committed as revision 8572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:27:22 +00:00
Diego Biurrun
30a1380a04 cosmetics: Fix indentation.
Originally committed as revision 8565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 11:48:28 +00:00
Sam Hocevar
d495fdc3d3 Do not return invalid pointer for non-audio or video streams.
Patch by Sam Hocevar sam+ffmpeg zoy org

Originally committed as revision 8564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 23:04:45 +00:00
Michael Niedermayer
09a628662d argh, who commited this trash
start must be 0 ...

Originally committed as revision 8563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 22:10:25 +00:00
Michael Niedermayer
dc417a6e2f 10^10l to the idiot who designed this format and didnt even realize what number he used
Originally committed as revision 8562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 21:59:52 +00:00
Michael Niedermayer
0c0d17f3ce fix demuxing of IMAG0002.ASF
Originally committed as revision 8558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 16:20:40 +00:00
Michael Niedermayer
6cc65ab3c6 analyze end condition must match r_fps selection condition
fixes fps for Channel\ 4\ News_Channel\ 4_20_10_2006_19_00_01.dvr-ms

Originally committed as revision 8557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 15:05:09 +00:00
Michael Niedermayer
e9f6c8eaae fix probe of 001.vdr-broken-6025
Originally committed as revision 8550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 20:22:38 +00:00
Baptiste Coudurier
11979c460c move atom size check before parsing function search
Originally committed as revision 8546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 10:45:34 +00:00
Baptiste Coudurier
a097e559b2 unset sample count to disable track when is broken
Originally committed as revision 8545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 10:42:22 +00:00
Baptiste Coudurier
62b6498df2 break if atom size is more than size left in container atom, fix shooter.mov
Originally committed as revision 8544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 10:37:07 +00:00
Limin Wang
f5ad81f527 Allow setting v4l2 input and video standard.
Patch by Limin Wang (lance.lmwang AT gmail DOT com)

Originally committed as revision 8542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 06:32:54 +00:00
Bobby Bingham
4992d8bf7d Change the vhook code to send real timestamps to the filters instead of the
current time of day, which is useless, and which the filters could just as
easily query for themselves.
patch by Bobby Bingham, uhmmmm gmail com

Originally committed as revision 8541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 05:24:35 +00:00
Baptiste Coudurier
2f124d2af2 add hdv1 fourcc
Originally committed as revision 8540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-28 15:45:24 +00:00
Baptiste Coudurier
0b339acb9e revert r8538 (set bit rate for asf format) until regression tests issue is stated
Originally committed as revision 8539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-28 14:48:42 +00:00
Zuxy Meng
4d38ebfd7b set bit rate for asf format, patch by Zuxy Meng, zuxy meng gmail com
Originally committed as revision 8538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-28 12:03:37 +00:00
Michael Niedermayer
7975048628 require at least a score of AVPROBE_SCORE_MAX/4 or reaching of PROBE_BUF_MAX
to detect a container
fixes probing of mpeg_probe_fail.mpg

Originally committed as revision 8535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 19:28:40 +00:00
Baptiste Coudurier
bad0cefbdd add IJPG fourcc, to play m_ijpg.avi
Originally committed as revision 8530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 18:41:12 +00:00
Michael Niedermayer
61f676e1c1 warning about vhooks status
Originally committed as revision 8529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 18:01:26 +00:00
Baptiste Coudurier
c59f24e657 activate parser on MP3 id, fix [A-Destiny]_Konjiki_no_Gash_Bell_-_65_[71EE362C].mp4
Originally committed as revision 8516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:15:35 +00:00
Baptiste Coudurier
0174f51470 prefer MP3 id
Originally committed as revision 8515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:12:27 +00:00
Baptiste Coudurier
db6d109da2 use MKTAG
Originally committed as revision 8513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:09:02 +00:00
Baptiste Coudurier
b0c17f7776 dont fail immediately when a somehow broken track is detected, some tracks might be good, fix mi2_vorbis51.mp4
Originally committed as revision 8512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:06:50 +00:00
Aurelien Jacobs
8509fc7b13 add support for V_THEORA into Matroska
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

Originally committed as revision 8507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 01:11:00 +00:00
Baptiste Coudurier
ccba88d764 cosmectics, mov -> mp4
Originally committed as revision 8497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:24:36 +00:00
Baptiste Coudurier
295b7dc367 sort
Originally committed as revision 8496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:17:30 +00:00
Baptiste Coudurier
2b4162f0ae add some codec object type ids
Originally committed as revision 8495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:16:03 +00:00
Baptiste Coudurier
b41899c66c prefer MP3 id as mentioned in avcodec.h line 210
Originally committed as revision 8494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:11:47 +00:00
Baptiste Coudurier
7555d2e633 add specifications reference comments
Originally committed as revision 8493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:10:12 +00:00
François Revol
c9fdab0dab Some more BeOS cleanup: check for arpa/inet.h; declare the prototype for inet_aton if not found; remove barpainet.h as it's not longer needed.
Originally committed as revision 8488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-23 22:01:37 +00:00
David Conrad
8076609a40 The NSV demuxer assumes that a video frame's timestamp increases by one on each
frame, but some low-bitrate NSV files omit video frames for some NSV frames,
and expect the timestamp to increase by one every NSV frame. This is noticeable
in 64vp3.nsv where the video runs several times faster than the audio. Fix this
by unconditionally incrementing the video's timestamp with each NSV frame.
patch by David Conrad, umovimus gmail com

Originally committed as revision 8466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 11:05:35 +00:00
Wolfram Gloger
df7625ed62 av_estimate_timings_from_pts() flushes the packet queue but doesn't
reset the streams' cur_dts values.  This can lead to a fatal "error,
non monotone timestamps ..." message later, because the out-of-date
cur_dts values are used to compute some packet's dts.

Fix this by calling av_read_frame_flush() and eliminate code
duplication in the process.

The additional hunk gives more detailed error messages.

patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de

Originally committed as revision 8465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:48:10 +00:00
Baptiste Coudurier
e14f79ed37 cosmetics, sample_size_v1 -> bytes_per_frame / samples_per_frame
Originally committed as revision 8464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:28:03 +00:00
Baptiste Coudurier
638fd2fce7 cosmetics
Originally committed as revision 8463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:19:37 +00:00
Baptiste Coudurier
2d2432b738 set audio frame size based on stts
Originally committed as revision 8462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:17:52 +00:00
Baptiste Coudurier
4278662d45 treat frame_size > 1 as compressed audio
Originally committed as revision 8461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 10:03:27 +00:00
Michael Niedermayer
028d6f3e71 revert r8428, the check was not that useless
should fix constant pts=0 with broken demuxers

Originally committed as revision 8454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 13:59:59 +00:00
Michael Niedermayer
a843d1ff32 i think this is more correct
Originally committed as revision 8452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 13:01:39 +00:00
Luca Barbato
bd03c380ce expose av_base64_decode and av_base64_encode
Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-19 00:48:47 +00:00
Clemens Ladisch
559fd1e795 fix end-of-file detection
At the end of a nut file, the check for url_feof() fails because the
eof flag was cleared by the url_fseek() call that was used to skip over
the index packet.    This patch fixes this
patch by: Clemens Ladisch % cladisch A fastmail P net %
Original thread:
Date: Feb 27, 2007 6:13 PM
Subject: [Ffmpeg-devel] [PATCH] nutdec: fix end-of-file detection

Originally committed as revision 8447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:59:56 +00:00
Baptiste Coudurier
c06136e024 add dnxhd fourcc
Originally committed as revision 8446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:29:40 +00:00
Justin Ruggles
f8b9830b6c improve ac3_probe by counting consecutive frames
Originally committed as revision 8441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 19:32:22 +00:00
Diego Pettenò
642d4a1a16 Remove parameter unused in format string.
Patch by Diego Petten [flameeyes gentoo org]

Originally committed as revision 8438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 09:49:25 +00:00
Michael Niedermayer
bc4efe42dd remove incorrect special case for audio
Originally committed as revision 8433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 14:44:22 +00:00
Michael Niedermayer
7e4baa66e0 fix indention
Originally committed as revision 8432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 14:29:00 +00:00
Michael Niedermayer
d9e1efb7f8 reorder pts into dts support
Originally committed as revision 8431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 14:27:01 +00:00
Michael Niedermayer
a7f7965a27 remove useless if()
Originally committed as revision 8428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 02:23:53 +00:00
Michael Niedermayer
14eb3345ba simplify
Originally committed as revision 8427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 02:03:59 +00:00
Michael Niedermayer
41c8a56a14 simplify
Originally committed as revision 8426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-17 01:21:40 +00:00
Michael Niedermayer
e25f97313f remove silly video check, theres nothing video specific in there
Originally committed as revision 8425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-16 23:02:33 +00:00
Michael Niedermayer
befe3b05d3 add a delay variable to hold the timestamp buffer size
set cur_dts correctly for delay>1

Originally committed as revision 8424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-16 22:59:45 +00:00
Michael Niedermayer
741887cf3e remove special case for h.264 whatever this was supposed to do its not correct
Originally committed as revision 8423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-16 22:31:57 +00:00
Aurelien Jacobs
262e2bee24 disable pts reordering code and initialize a parser instead
Originally committed as revision 8418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 23:08:58 +00:00
Bobby Bingham
2c0c00cb14 Targa (.tga) encoder,
patch by Bobby Bingham % uhmmmm A gmail P com %
Only handles 24-bit BGR and 8-bit grayscale, no RLE at the moment either.
Original thread:
Date: Mar 11, 2007 7:58 PM
Subject: [Ffmpeg-devel] [PATCH] Targa encoder

Originally committed as revision 8411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-15 12:23:08 +00:00
Kostya Shishkov
33a0dd378a DXA demuxer and decoder
Originally committed as revision 8405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 14:49:49 +00:00
Aurelien Jacobs
5ae4975c65 remove outdated comment
Originally committed as revision 8370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:21:19 +00:00
Aurelien Jacobs
2b1785b7cc remove no more needed parameters
Originally committed as revision 8369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:20:18 +00:00
Aurelien Jacobs
086b0ad8ca set pkt->duration for laced packets too
Originally committed as revision 8366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:16:31 +00:00
Aurelien Jacobs
9b54ab15e7 calculate pts for laced packets
Originally committed as revision 8365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:10:52 +00:00
Aurelien Jacobs
7fde6331a7 calculate default_duration for AAC tracks
Originally committed as revision 8364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:02:55 +00:00
Aurelien Jacobs
25f2b76fdb scale duration and default_duration
Originally committed as revision 8363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:01:24 +00:00
Aurelien Jacobs
916bf03a69 move timecode calculation out of laces loop
Originally committed as revision 8359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:58:29 +00:00
Baptiste Coudurier
3679f65946 remove wrong avid imx ntsc fourcc
Originally committed as revision 8350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 17:43:36 +00:00
Ronald S. Bultje
ecb4a895b2 Properly initialize filesize during input buffer initialization.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 8343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:51:18 +00:00
Panagiotis Issaris
750f0e1f8b Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf().

Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:17:26 +00:00
Michel Bardiaux
318c5e0524 Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Baptiste Coudurier
ea486ab3be remove codec_info_duration/nb_frames from AVStream
Originally committed as revision 8337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 10:59:47 +00:00
Aurelien Jacobs
ded669f836 cosmetic: indent after last commit
Originally committed as revision 8335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:44:13 +00:00
Aurelien Jacobs
ac9073c926 reorder pts of packets from tracks using V_MPEG* codecs
Originally committed as revision 8334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:40:57 +00:00
Aurelien Jacobs
3d20538d07 revert r7181
This was a stupid mistake. We already take care of time_scale
in av_set_pts_info().

Originally committed as revision 8333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:19:27 +00:00
Aurelien Jacobs
6bed20f45a check if current block contains a B frame and gives this info to parse_block()
Originally committed as revision 8332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:05:01 +00:00
Aurelien Jacobs
4d41f3eea0 extract ebml_read_binary() out of matroska_parse_block()
This allows to read all the blockgroup parameters before
parsing the block itself.

Originally committed as revision 8331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:54:15 +00:00
Aurelien Jacobs
12f3278dc5 reindent after last commit
Originally committed as revision 8330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:28:03 +00:00
Aurelien Jacobs
0fb7a2b9bf parse clusters until some packets are queued
instead of parsing only one cluster

Originally committed as revision 8329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:26:39 +00:00
Aurelien Jacobs
0f3bd8ce1b fix a stupid bug in ebml_read_sint()
Originally committed as revision 8328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:19:02 +00:00
Aurelien Jacobs
912c94f3ff use codec_get_id() instead of deprecated codec_get_[bmp/wav]_id()
Originally committed as revision 8327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:16:38 +00:00
Michael Niedermayer
09d9672ad6 fix gsize=0 / -1 case (if(<24) goto fail) before it is not a good idea
Originally committed as revision 8320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 03:36:17 +00:00
Michael Niedermayer
e1315fb160 some url_is_streamed()==1 related fixes
Originally committed as revision 8319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 02:51:06 +00:00
Michael Niedermayer
755c18ae5d fix demuxing of broken MVI_3011.avi
Originally committed as revision 8317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 19:30:59 +00:00
Oded Shimon
1017fafb20 remove usage of deprecated functions in libnut.c (codec_get_id/tag)
Originally committed as revision 8316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 18:39:58 +00:00
Oded Shimon
0020596f92 Add doxygen file header to libnut.c
Originally committed as revision 8315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 18:34:15 +00:00
Michael Niedermayer
140fba0985 jpeg fourcc
Originally committed as revision 8310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 11:30:48 +00:00
Baptiste Coudurier
dc13d0b5ae seems safer to set pts timebase to sample rate, fix some mp3
Originally committed as revision 8300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 22:14:04 +00:00
Baptiste Coudurier
b912ef3fc9 fix pts handling
Originally committed as revision 8299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 21:29:38 +00:00
Michel Bardiaux
bdb4b698d8 Corrections so that builds with DEBUG work
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 14:49:43 +00:00
Alex Beregszaszi
3caa0d9343 move preroll_time from static variable into definition, might be a good idea moving this into the context and making user-settable
Originally committed as revision 8278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 02:03:32 +00:00
Alex Beregszaszi
031311cbd1 workaround for broken flvtoolized files
Originally committed as revision 8277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 01:52:08 +00:00
Diego Biurrun
9ff85412ad Fix UNKOWN --> UNKNOWN typo
Originally committed as revision 8276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 00:49:49 +00:00
Alex Beregszaszi
fd9a71acaa simplification
Originally committed as revision 8275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 00:29:51 +00:00
Alex Beregszaszi
cbc09a7d5a typo: unkown->unknown
Originally committed as revision 8274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 00:27:23 +00:00
Alex Beregszaszi
73d6ca4fee 10l, audio_fifo is a static array
Originally committed as revision 8273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 18:19:31 +00:00
Alex Beregszaszi
7b19aa64dc handle http error codes
Originally committed as revision 8272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:38:41 +00:00
Michael Niedermayer
75b213ed54 prevent audio packets from being fragmented, wmp mac doesnt seem to like that and microshitty also doesnt seem to ever fragment them
Originally committed as revision 8265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 17:54:49 +00:00
Panagiotis Issaris
cf29452b63 Clarify doxygen description.
Originally committed as revision 8264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 16:12:29 +00:00
Panagiotis Issaris
15786dc471 Cleanup doxygen comment.
Originally committed as revision 8263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 16:10:05 +00:00
Panagiotis Issaris
90c07b56e0 Fix a typo in a doxygen tag.
Originally committed as revision 8262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 15:36:43 +00:00
Panagiotis Issaris
c3316802da Convert all the comment sections into Doxygen compatible comments, same for
warning and notes.

Originally committed as revision 8261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 15:18:50 +00:00
Panagiotis Issaris
c306748c29 Move avio.h's url_get_max_packet_size() comment from source to header file.
Remove the comment section of url_set_interrupt_cb() which was a duplicate as it
appeared identically in both the header and the source file.

Originally committed as revision 8259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 14:26:50 +00:00
Panagiotis Issaris
a8c5ab2707 Move aviobuf.c comments to avio.h. By moving the aviobuf.c comments to avio.h,
these comments can be extracted by Doxygen by only accessing the installed
headers.

Originally committed as revision 8258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:55:45 +00:00
Panagiotis Issaris
50c5f1598d Make rtsp_set_callback() comments available to Doxygen
Originally committed as revision 8257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:54:15 +00:00
Panagiotis Issaris
0af4407d35 Move unaltered rtsp.c comments to the header file.
Originally committed as revision 8256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:53:42 +00:00
Panagiotis Issaris
37d2210ae9 Doxygenize comments in rtsp.h
Originally committed as revision 8255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:53:00 +00:00
Panagiotis Issaris
391fbb656c Convert macro+enum into a simple enum: Currently the enum was filled using a
macro that also contained a description for every field, but, that description
was not being used anywhere. This changes it, to make the description available
as a Doxygen comment. Furthermore, it is now easily parsable by Doxygen, while
before it messed up the documentation.

Originally committed as revision 8254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:52:14 +00:00
Panagiotis Issaris
bdd54e3758 Doxygenize the unaltered comments for the AUHeaders structure.
Originally committed as revision 8249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:43:16 +00:00
Panagiotis Issaris
01f132a126 Doxygenize the unaltered comments for the rtp_payload_data_s struct.
Originally committed as revision 8248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:42:33 +00:00
Panagiotis Issaris
190e507be3 Doxygenize the unaltered comments for the RTP_MAX_SDES definition.
Originally committed as revision 8247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 12:15:32 +00:00
Panagiotis Issaris
01c9c33a59 Doxygenize the existing comments without altering the actual contents of the
comment.

Originally committed as revision 8246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 12:14:29 +00:00
Baptiste Coudurier
5095aaa91c use AVFormatContext with av_log
Originally committed as revision 8245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 10:07:42 +00:00
Baptiste Coudurier
c544ded699 more explicit message
Originally committed as revision 8243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 10:04:34 +00:00
Michael Niedermayer
7205395b68 create codec_comment_header which looks more like what M$ creates, sane or not ...
Originally committed as revision 8240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 02:41:49 +00:00
Michael Niedermayer
737287f802 all asf files i have have the 2 redundant duration fields differ by the preroll time so lets set them up like that too
Originally committed as revision 8239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 02:00:20 +00:00
Michael Niedermayer
634b256913 all asf files i have have this field at 2 so lets try to change it to that ...
Originally committed as revision 8238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 01:42:35 +00:00
Michael Niedermayer
6e26856b1a all the time related fields seem to be 64bit so i guess preroll is too (this is just a cosmetic anyway ...)
Originally committed as revision 8237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 01:28:20 +00:00
Michael Niedermayer
b9c6d01b6f off by one error
Originally committed as revision 8236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 01:19:36 +00:00
Panagiotis Issaris
43d414ba2a Doxygenize the existing comments in avformat.h. The contents of the comments
were left unaltered.

Originally committed as revision 8235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 00:23:23 +00:00
Panagiotis Issaris
7874024062 Move rtp_check_and_send_back_rr()'s unaltered comments to the header file.
Originally committed as revision 8234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:29:14 +00:00
Panagiotis Issaris
1dd7345abc Move rtp_get_payload_type()'s unaltered comments to the header file.
Originally committed as revision 8233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:27:59 +00:00
Baptiste Coudurier
8fafc1cf36 cleanup useless fields
Originally committed as revision 8224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 22:41:06 +00:00
Baptiste Coudurier
013e0a8f35 simplify swf muxer
Originally committed as revision 8223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 22:30:25 +00:00
Ronald S. Bultje
167c553176 Close connection on EOF
this makes downloading some asx files from MS
streaming servers work again (they would hang on eos).
The http request header property connection:close is needed for _some_
1.1 HTTP servers to close the connection at the end of file.
patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net%
Original thread:
Date: Mar 3, 2007 10:48 PM
Subject: [Ffmpeg-devel] [PATCH] close connection on end-of-file

Originally committed as revision 8221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 11:59:29 +00:00
Ronald S. Bultje
a3fd2bd87d make HTTP MOVED messages also work in ffmpeg (302 is essentially the same as 303).
patch by "Ronald S. Bultje" % rbultje A ronald P bitfreak P net%
original thread:
Date: Mar 4, 2007 1:21 AM
Subject: [Ffmpeg-devel] http move

Originally committed as revision 8219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 11:52:46 +00:00
Baptiste Coudurier
36264d3586 add pcm s8 tag
Originally committed as revision 8214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 01:58:10 +00:00
Baptiste Coudurier
10fc840c52 fix pcm u/s8 muxing
Originally committed as revision 8213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 01:56:27 +00:00
Baptiste Coudurier
2260499caf deobfuscate, clearly split mov case
Originally committed as revision 8212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 01:48:06 +00:00
Michael Niedermayer
6cb8b1c364 try to move fixed mov.c over the one with cosmetic-functional mix
Originally committed as revision 8210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 21:14:10 +00:00
Michael Niedermayer
0355ca6100 recommit of the change below after reverting earlier cosmetic-functional mix
========
Author: bcoudurier
Date: Sat Mar  3 15:55:11 2007
New Revision: 8205

Modified:
   trunk/libavformat/isom.c
   trunk/libavformat/isom.h
   trunk/libavformat/mov.c
   trunk/libavformat/movenc.c

Log:
   use common tables for mov muxer and demuxer

Originally committed as revision 8209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 21:11:23 +00:00
Michael Niedermayer
a3a7f6c9d1 cosmetic part of the commit below
========
Author: bcoudurier
Date: Sat Mar  3 15:33:55 2007
New Revision: 8204

Modified:
   trunk/libavformat/mov.c

   Log:
   cosmetics, cleanup tables, add pcm 24/32 le tags

Originally committed as revision 8208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 21:07:08 +00:00
Michael Niedermayer
aaf805f67d functional part of the commit below
=====
Author: bcoudurier
Date: Sat Mar  3 15:33:55 2007
New Revision: 8204

Modified:
   trunk/libavformat/mov.c

   Log:
   cosmetics, cleanup tables, add pcm 24/32 le tags

Originally committed as revision 8207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 21:00:40 +00:00
Panagiotis Issaris
a050f80234 Correct wrong avformat documentation.
Originally committed as revision 8206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 19:40:03 +00:00
Baptiste Coudurier
1e5f5e3b7a use common tables for mov muxer and demuxer
Originally committed as revision 8205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 14:55:11 +00:00
Baptiste Coudurier
25f5f17fbd cosmetics, cleanup tables, add pcm 24/32 le tags
Originally committed as revision 8204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 14:33:55 +00:00
Baptiste Coudurier
b0c59da234 partial avid meridien uncompressed support
Originally committed as revision 8203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 14:11:45 +00:00
Panagiotis Issaris
3217cb424c Move the libavformat public API comments to avformat.h. The comments are
unmodified.

Originally committed as revision 8202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 12:23:20 +00:00
Benjamin Larsson
e9509536a9 Set FLV_SAMPLESSIZE_16BIT for ADPCM.
Originally committed as revision 8201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 09:16:38 +00:00
Måns Rullgård
700b971156 write DTS, based on patch by Luca Abeni, lucabe72 email it
Originally committed as revision 8196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 21:47:24 +00:00
Kristian Amlie
0cbff0275b replace the auto array "duration_error" with a malloced array.
prevents stack overflow on some plateforms
patch by Kristian Amlie %kristian A gridmedia P com %
Original thread:
Date: Mar 1, 2007 11:29 PM
Subject: [Ffmpeg-devel] Stack overflow patch

Originally committed as revision 8194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 13:23:06 +00:00
Baptiste Coudurier
57d4d6e733 avid imx support
Originally committed as revision 8193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 12:33:59 +00:00
Baptiste Coudurier
9a63497b0f support for mjpeg bottom field first in mov
Originally committed as revision 8192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 12:26:07 +00:00
Baptiste Coudurier
014a510282 use generic atom to extradata reading function
Originally committed as revision 8191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 12:12:29 +00:00
Baptiste Coudurier
dd8a46d9df support for adpcm swf, pcm
Originally committed as revision 8189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:32:08 +00:00
Aurelien Jacobs
3c58dc0b3c don't rely on a specific appearance order for ebml elements at the same level
Originally committed as revision 8181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 00:14:53 +00:00
Aurelien Jacobs
0cc5ea2e95 add support for simple blocks (ie. matroska v2)
Originally committed as revision 8180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 00:06:03 +00:00
Aurelien Jacobs
de7779b5fd cosmetics: fix indentation of the new matroska_parse_block() function
Originally committed as revision 8179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 23:50:31 +00:00
Aurelien Jacobs
1afdcdf1fc split a matroska_parse_block() function from matroska_parse_blockgroup()
Originally committed as revision 8178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 23:46:14 +00:00
Aurelien Jacobs
ebfcf31ddf fix an off-by-one error in probing function
this prevented correct detection of Mushishi24-head.mkv

Originally committed as revision 8177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 23:36:39 +00:00
Baptiste Coudurier
3922c59fc4 don't parse whole swf file in header, can now play ffserver swf streams
Originally committed as revision 8176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 19:02:21 +00:00
Baptiste Coudurier
024c7378c3 factorize
Originally committed as revision 8175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 17:05:11 +00:00
Baptiste Coudurier
dfc1313d28 remove nonsense time base code, use swf ms per frame, only video frames contains pts
Originally committed as revision 8174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 16:59:59 +00:00
Baptiste Coudurier
497244a897 check for any seeking failure during probe
Originally committed as revision 8173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 16:40:48 +00:00
Baptiste Coudurier
c828c70916 quicktime 'raw ' support
Originally committed as revision 8168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 13:03:33 +00:00
Luca Barbato
558b86a5d0 Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:40:23 +00:00
Luca Barbato
9fca9c0316 Reverting stray commit part I
Originally committed as revision 8157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:37:54 +00:00
Luca Barbato
bb0eb714bd get_packetheader() forgot to read the header_checksum in big packets
patch from Clemens Ladisch cladisch AT fastmail dot net
(stray base64 patch reverted in the next commits)

Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:28:31 +00:00
Diego Biurrun
f5a90186d7 Add missing license headers.
Originally committed as revision 8149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 16:05:19 +00:00
Baptiste Coudurier
3fdb6af943 use avcodec_decode_audio2
Originally committed as revision 8146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 13:07:38 +00:00
Diego Biurrun
3cee76e6c9 Remove useless conditional.
Originally committed as revision 8139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:18:38 +00:00
Diego Biurrun
eca06097d3 Add LGPL header as requested by Oded.
Originally committed as revision 8126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 19:23:14 +00:00
Alex Beregszaszi
950d94ad3b use AV_RB32, swf_mp3_info may be replaced with mpa_decoder_header
Originally committed as revision 8123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 14:13:12 +00:00
Michael Niedermayer
0a3692cd82 be less noisy
Originally committed as revision 8107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 01:51:37 +00:00
François Revol
13e4dba690 BeOS only: we don't have SA_RESTART. #define to 0 and emit a warning. I don't plan on hosting a streaming tv anyway but it gets ffserver building.
Originally committed as revision 8103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 23:35:42 +00:00
Benjamin Larsson
34cee63432 Complete the video format enum.
Originally committed as revision 8100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 21:09:50 +00:00
Benjamin Larsson
a0536d22b3 Cosmetics.
Originally committed as revision 8099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 21:08:43 +00:00
Alex Beregszaszi
b5cccea088 change PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards
Originally committed as revision 8073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 13:34:36 +00:00
Alex Beregszaszi
038a1243a2 codec_tag settable via VideoTag, and transmit codec_tag in ffm
Originally committed as revision 8071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 13:23:38 +00:00
Marc Hoffman
db0ed93e22 Fix compilation on Mac OS X, patch by Marc Hoffman, mmh pleasantst com.
Originally committed as revision 8067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 08:40:33 +00:00
Diego Biurrun
804de96a83 cosmetics: fix usefuLL --> usefuL typo
Originally committed as revision 8061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:07:42 +00:00
Ryan Martell
0e3b6a6f55 Add the stream_bitrate GUID to the asf parsing code, and set stream bitrate
properties accordingly.
Patch by Ryan Martell, rdm4 % martellventures com.

Originally committed as revision 8046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 23:44:11 +00:00
Michael Niedermayer
9376710d06 warn if bps from user and what will be stored missmatches
Originally committed as revision 8044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 16:20:08 +00:00
Michael Niedermayer
a185f52a86 try to fill in missing bits_per_sample
Originally committed as revision 8043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 16:18:59 +00:00
Michel Bardiaux
5b77a81a8d Remove code duplicated between adpcm.c and riff.c
Originally committed as revision 8042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 14:31:43 +00:00
Michel Bardiaux
346a655d46 Add support for MS-GSM codec
Originally committed as revision 8039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 11:09:47 +00:00
Alex Beregszaszi
89cf4098aa spit an error message in case of invalid chunk
Originally committed as revision 8014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 00:47:13 +00:00
Michael Niedermayer
49c8132b17 not checking error return, resulting double free
returning uninitalized pointers

Originally committed as revision 8002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 02:46:47 +00:00
François Revol
457b101e42 Make sure we don't try to emulate poll() when it's there if --disable-ffserver... 10l
Originally committed as revision 7991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 15:39:39 +00:00
François Revol
36c07acd59 MinGW patch by <koyama AT infocity DOT co DOT jp>, reworked. Removed placeholder for winsock.
Originally committed as revision 7990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 13:32:06 +00:00
François Revol
b0c858d834 poll() emulation for BeOS, and maybe MinGW.
Originally committed as revision 7987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 07:44:10 +00:00
Måns Rullgård
afde41b414 rename video4linux[2] variables to v4l[2], consistent with --disable options
Originally committed as revision 7984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 22:12:49 +00:00
Ramiro Polla
cc58300e30 implement new grabbing interface, as described here:
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface

Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 17:01:32 +00:00
Baptiste Coudurier
2012121363 fix dts adjusting
Originally committed as revision 7982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 14:54:20 +00:00
Luca Abeni
41536a6078 Pass the v4l2 buffer into the AVPacket, instead of allocating a new buffer
and copying the frame into it (remove a memcpy())

Originally committed as revision 7981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 13:25:24 +00:00
Baptiste Coudurier
a492ad9f63 100l
Originally committed as revision 7980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 11:23:11 +00:00
Baptiste Coudurier
8d97aedbaa indentation
Originally committed as revision 7979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 11:18:34 +00:00
Baptiste Coudurier
400615b68b use aiff when we can, some players only support aiff
Originally committed as revision 7978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 11:01:05 +00:00
Diego Biurrun
eb526fa6dd Remove unused file.
Originally committed as revision 7973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 09:16:02 +00:00
Diego Biurrun
1367cffd66 Ogg is not Vorbis.
Originally committed as revision 7966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 23:20:35 +00:00
François Revol
8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.

Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
Carl Eugen Hoyos
034ef0e8c3 Move base64.[ch] to libavutil.
patch by Carl Eugen Hoyos, cehoyos ag.or at

Originally committed as revision 7963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 08:21:47 +00:00
Michael Niedermayer
6d29fba950 support yet another broken avi (filedoesitbetter.avi) which has a wrong stream count
Originally committed as revision 7961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 00:38:16 +00:00
Michael Niedermayer
1d7d9935b2 always use audio spread (instead of "video no spread" for audio ...)
Originally committed as revision 7960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:32:55 +00:00
Michael Niedermayer
a98d3e829a increaseing preroll time to the minimum of the asf files i have
Originally committed as revision 7955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 22:55:09 +00:00
Michael Niedermayer
0d9f863340 dont set the keyframe flag for audio as microshitty doesnt do it and some things have problems with our asfs, maybe that has a positive effect?
Originally committed as revision 7952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 19:24:53 +00:00
Michel Bardiaux
d794d388a6 Add FACT chunk for non-PCM wav formats
Originally committed as revision 7950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 15:57:21 +00:00
Luca Abeni
c7238c72cb Pass a proper context to av_log()
Originally committed as revision 7946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 13:38:14 +00:00
Reimar Döffinger
80a289b9bf mxf aes decryption support, patch by Reimar, simplified to only look for first crypto context, will be extended once we get files with multiple cryptocontext, and hope that they won't have broken container ul
Originally committed as revision 7925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:50:33 +00:00
Reimar Döffinger
c964c2c745 add key field to AVFormatContext for de/encryption support, patch by Reimar
Originally committed as revision 7924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:37:28 +00:00
Måns Rullgård
74476a3a98 #include detected soundcard.h instead of testing for OpenBSD
Originally committed as revision 7912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 22:25:52 +00:00
Michael Niedermayer
559a55ad52 use dvr-ms timestamps
Originally committed as revision 7905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 03:36:12 +00:00
Michael Niedermayer
2d241e6687 fix broken memset(padding, 0) code
add a few asserts

Originally committed as revision 7903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 20:49:12 +00:00
Nico Sabbi
cf10ee184f demux VC1 in mpegts
Originally committed as revision 7902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 20:34:24 +00:00
Kostya Shishkov
7bb5c2a6ea Raw VC-1 demuxer
Originally committed as revision 7896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:10:15 +00:00
Diego Biurrun
f2390590e0 Remove obsolete imgformat1 leftovers.
Originally committed as revision 7894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:37:56 +00:00
Diego Biurrun
f248d017a7 Remove commented-out NUT muxer entry, can be added once we have a native muxer.
Originally committed as revision 7893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:32:04 +00:00
Diego Biurrun
7a7a6486aa cosmetics: Reorder NUT entries.
Originally committed as revision 7892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:30:51 +00:00
Diego Biurrun
d7c592475d Properly separate native and libnut NUT (de)muxers.
Originally committed as revision 7891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:28:47 +00:00
Justin Ruggles
7156aeb98a add read_probe function to raw ac3 demuxer
Originally committed as revision 7887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 23:41:08 +00:00
Reimar Döffinger
a0bbb2e977 Use av_set_pts_info and set some arbitrary timebase fallback
Originally committed as revision 7883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 20:54:12 +00:00
Michael Niedermayer
ff5b8d8360 remove senseless and wrong direct access to ByteIOContext internals
Originally committed as revision 7881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:32:51 +00:00
Reimar Döffinger
51bd81f64d set pts_wrap_bits to 32 since timestamps in packets are 32 bit
Originally committed as revision 7880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:22:53 +00:00
Michael Niedermayer
190972a06e iam pretty sure send time is dts and not pts ...
Originally committed as revision 7879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:06:13 +00:00
Reimar Döffinger
2a1c3b8b90 10l, forgot to skip payload description in UMF packet parsing
Originally committed as revision 7878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 22:51:42 +00:00
Michael Niedermayer
9bc932294f muxing packets with unknown timestamps is not allowed
Originally committed as revision 7877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 22:26:48 +00:00
Michael Niedermayer
d09ea618ed supporting files with A,V,I,0x19 header
Originally committed as revision 7876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 17:56:31 +00:00
Diego Biurrun
71e445fca3 Replace deprecated PIX_FMT names by the newer variants.
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Michael Niedermayer
aad512b4ec Revised patch for HD DVD .EVO demuxing by (Ian Caulfield <lowercase name seperated by . place at here gmail place a dot here com>)
Originally committed as revision 7853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:14:16 +00:00
Michael Niedermayer
4323b09d38 indent
Originally committed as revision 7845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:16:01 +00:00
Michael Niedermayer
ded3c7da61 dynamic index building so forward and backward seeking in avi without an index is possible
Originally committed as revision 7842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:06:08 +00:00
Michael Niedermayer
e9b78eeba2 better generic index building and seeking code
Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:04:48 +00:00
Wolfram Gloger
9ecf7fada3 Fix audio corruption when cutting.
Patch by Wolfram Gloger, wmglo dent dot med dot uni-muenchen dot de.

Originally committed as revision 7818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 02:08:57 +00:00
Ramiro Polla
42572ef53f move networking #includes into separate file
patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org

Originally committed as revision 7817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-04 17:05:44 +00:00
Panagiotis Issaris
ca4544409e Make x11grab output its warning that it couldn't find the mouse pointer only
once. This prevents flooding of the terminal when grabbing from a different
X-screen.

Originally committed as revision 7808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 17:54:50 +00:00
Zuxy Meng
a836a2c8b2 Set correct aspect ratio (it's sample aspect, not display aspect)
Patch by Zuxy Meng
(mail = `echo "Zuxy Meng" | tr "[A-Z] " "[a-z]." | sed "s/$/@gmail.com/"`)

Originally committed as revision 7806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 14:33:25 +00:00
Michael Niedermayer
5a461d8e11 packets must be correctly interleaved
Originally committed as revision 7805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 11:19:58 +00:00
Michael Niedermayer
30e88789c9 extract aspect ratio
Originally committed as revision 7791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 23:32:01 +00:00
Michael Niedermayer
8643594ce3 10l to whoever wrote this (wrong fps, fixes nirvana.nuv)
Originally committed as revision 7781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 11:24:04 +00:00
Michel Bardiaux
f0ee3ea619 Add some context to av_log calls.
patch by Michel Bardiaux, mbardiaux mediaxim be

Originally committed as revision 7774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 08:29:24 +00:00
Ronald S. Bultje
68fcdbf1e5 Fix misbehaviour in url_fseek() when seeking fails.
The return value of the seek function is -1 on error, not -EPIPE (the return value in url_seek() if no seek function pointer is set)
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Dec 31, 2006 9:25 PM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling

Originally committed as revision 7766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:48:39 +00:00
Ronald S. Bultje
eabbae730c protect the size=seek(SEEK_END,-1)+1 results with an if (.. < 0), else the
return value may still end up being zero (if the seek returns -1, which is
e.g. what file.c will return on error), which is a valid (but incorrect)
filesize.
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Jan 2, 2007 2:11 AM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling

Originally committed as revision 7765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:37:52 +00:00
Luca Barbato
a58b82f874 Missing prototype added
Originally committed as revision 7760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 15:02:57 +00:00
Michael Niedermayer
f8f0a0bdfd fix seeking in wma
Originally committed as revision 7759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 14:54:55 +00:00
Kostya Shishkov
49561f992e Seeking support in WavPack
Originally committed as revision 7750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 17:23:28 +00:00
François Revol
66d49636c7 an alloc func failing should give ENOMEM anyway.
Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 09:07:49 +00:00
Ronald S. Bultje
8f42f5238e proper error handling in file size retrieval, patch by Ronald S. Bultje rbultje at ronald bitfreak net
Originally committed as revision 7736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 02:38:02 +00:00
Michael Niedermayer
de3ae9596b stealing a few field names from mplayers asf demuxer
Originally committed as revision 7725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 12:07:16 +00:00
Baptiste Coudurier
4abc097146 remove void * used in arithmetic warnings
Originally committed as revision 7716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-26 12:32:23 +00:00
Baptiste Coudurier
72fd40bd3a add waveformatextensible support
Originally committed as revision 7714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 21:56:06 +00:00
Guillaume Poirier
706c0d6509 use more portable PRIu64
Originally committed as revision 7707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 10:01:28 +00:00
Diego Biurrun
722dabcc94 Move conditional CFLAGS and OBJS setting to common place.
Originally committed as revision 7699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:34:38 +00:00
Diego Biurrun
bf50703313 cosmetics: sort
Originally committed as revision 7697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:10:10 +00:00
Baptiste Coudurier
e809d7e50a remove some printf warnings
Originally committed as revision 7691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:59:58 +00:00
Baptiste Coudurier
01aa1937cf make vars unsigned
Originally committed as revision 7690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:57:41 +00:00
Baptiste Coudurier
649348777e stop if current sample is higher than sample count
Originally committed as revision 7689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:46:59 +00:00
Baptiste Coudurier
560588b717 replace strcpy by memcpy
Originally committed as revision 7685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 12:49:24 +00:00
Baptiste Coudurier
a20a37e69a remove useless field
Originally committed as revision 7682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:57:38 +00:00
Baptiste Coudurier
69e7070da6 remove obsolete comment
Originally committed as revision 7681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:56:45 +00:00
Baptiste Coudurier
44d3fea53b make some fields unsigned
Originally committed as revision 7680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:55:07 +00:00
Baptiste Coudurier
dfcf8d57c5 add sanity checks
Originally committed as revision 7679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:44:24 +00:00
Daniel Kristjansson
e995cfca28 mpegts-documentation-only.patch -- adds documentation patch by Daniel Kristjansson / danielk mrl.nyu edu
yes another 1 year old patch, this one though has one failed hunk

Originally committed as revision 7676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:47:32 +00:00
Måns Rullgård
bb2864fb21 remove unused files
Originally committed as revision 7675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:42:36 +00:00
Daniel Kristjansson
2ddb79befd "converts printf's to avlog's" patch by Daniel Kristjansson / danielk mrl.nyu edu
another 1 year old patch forgoten by mans
trailing whitespace removial by me

Originally committed as revision 7674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:41:30 +00:00
Daniel Kristjansson
105e517df3 "removes definition for old crc func" patch by Daniel Kristjansson / danielk mrl.nyu edu
patch ~ 1year old, apparently forgotten by our mpeg-ts demuxer maintainer

Originally committed as revision 7673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:36:32 +00:00
Michael Niedermayer
0fd9e6f34a make the asf demuxer resistant against insertion/deletion errors
Originally committed as revision 7672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:25:06 +00:00
Michael Niedermayer
79a5b35c05 remove padding to 16bit code, i dont think this change can break anything and it makes the broken MPEG2-pub.avi from http://www.albx79.it/stuff/ playable other players arent that picky either ...
Originally committed as revision 7670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 18:37:23 +00:00
Michael Niedermayer
a44b3c4da8 make av_find_stream_info() duration user selectable
Originally committed as revision 7669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 17:34:26 +00:00
Michael Niedermayer
683ab79ca0 flv follows in movs footsteps and has random trash in the width/height fields
Originally committed as revision 7668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 15:38:07 +00:00
Michael Niedermayer
742482290f improve probe and give it the max score
Originally committed as revision 7667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 15:23:41 +00:00
Michel Bardiaux
373c32c711 Fix wrong comment, patch by Michel Bardiaux mbardiaux mediaxim be.
Originally committed as revision 7659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 09:24:41 +00:00
Michael Niedermayer
f7835507cb consistant error return for asf_get_packet()
Originally committed as revision 7657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:38:33 +00:00
Michael Niedermayer
92216453db better padsize check
Originally committed as revision 7656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:33:26 +00:00
Michael Niedermayer
0b93103a31 more correct error message
Originally committed as revision 7655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:31:40 +00:00
Michael Niedermayer
ceba96cb26 replace wrong return 0 by -1
Originally committed as revision 7654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:28:56 +00:00
Michael Niedermayer
13f7e4b966 check to detect nonsense fragment size
Originally committed as revision 7653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:17:54 +00:00
Michael Niedermayer
1ae7518dda inden(ta)tion
Originally committed as revision 7652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 17:06:46 +00:00
Michael Niedermayer
200026aae4 replace nonsense code by something which makes at least some sense
Originally committed as revision 7651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 17:01:01 +00:00
Michael Niedermayer
4c71d72701 check fragment offset and size
yes this too could have been exploitable ...

Originally committed as revision 7650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 16:37:45 +00:00
Michael Niedermayer
ae60a85780 move frame header reading into its own function
Originally committed as revision 7649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:55:23 +00:00
Michael Niedermayer
b04d5d3116 more correct packet alignment check and correction
Originally committed as revision 7648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:52:49 +00:00
Michael Niedermayer
5e2a485507 10l
Originally committed as revision 7647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:33:10 +00:00
Michael Niedermayer
4c6f7440af doxygenize comments
Originally committed as revision 7646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:15:30 +00:00
Michael Niedermayer
4e15cc8ba3 cosmetics (aligne stuff nicely)
Originally committed as revision 7645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:04:55 +00:00
Michael Niedermayer
d045b8c14b get rid of some sensless malloc/free
Originally committed as revision 7644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:03:47 +00:00
Michael Niedermayer
916bb12c90 simplify
Originally committed as revision 7643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:01:27 +00:00
Michael Niedermayer
6bb2a2dfb9 remove a few unused and duplicated variables
Originally committed as revision 7642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 10:53:57 +00:00
Michael Niedermayer
0521946359 adding a few checks to the audio packet descrambling, this should hopefully catch all related out of array accesses
note, the original code might have been exploitable

Originally committed as revision 7640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 03:19:00 +00:00
Michael Niedermayer
b83e83b915 cosmetic
Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:21:16 +00:00
Diego Biurrun
9688979c51 Fix some more license headers.
Originally committed as revision 7637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:16:42 +00:00
Michael Niedermayer
fc9eb13732 these variables seem to be unused on the demuxer side so theres no sense in setting them
Originally committed as revision 7636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 00:20:58 +00:00
Michael Niedermayer
236116cb4c get rid of a few idiotic asserts()
Originally committed as revision 7632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 23:03:09 +00:00
Michael Niedermayer
b586d9eac3 useless &0x80
Originally committed as revision 7631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:46:14 +00:00
Aurelien Jacobs
4014fe37a3 remove now useless codec_tag setting code in voc muxer
Originally committed as revision 7628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:41:37 +00:00
Diego Biurrun
9ba6004993 Remove useless #ifdef.
Originally committed as revision 7625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:02:12 +00:00
Måns Rullgård
621b4c4cef reorder alphabetically
Originally committed as revision 7619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:20:18 +00:00
Måns Rullgård
90d912afd9 remove no longer needed ifeq tests
Originally committed as revision 7618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:06:10 +00:00
Måns Rullgård
eba70fa4e2 remove no longer needed #ifdefs
Originally committed as revision 7617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:04:01 +00:00
Ramiro Polla
95a47d963b BeOS cleanup
Patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
date: Jan 20, 2007 8:56 PM
subject: [Ffmpeg-devel] [PATCH] [RFC] change socket read and write functions

Originally committed as revision 7613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:40:22 +00:00
Michael Niedermayer
fe468b331a remove sensless casts
Originally committed as revision 7612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:15:55 +00:00
Michael Niedermayer
24c14d6d01 simplify GUIDs
Originally committed as revision 7611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:06:19 +00:00
Michael Niedermayer
5c1844ab56 fix msmpeg4v3 tag in asf
Originally committed as revision 7606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 13:01:53 +00:00
Michael Niedermayer
d65b823031 simplify
Originally committed as revision 7605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:55:31 +00:00
Michael Niedermayer
acf0b6a657 the context is supposed to be freed in the generic code in utils.c
Originally committed as revision 7604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:47:46 +00:00
Michael Niedermayer
bb85077fc9 remove now useless codec_tag setting code in muxers
Originally committed as revision 7603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:44:58 +00:00
Michael Niedermayer
07495657fb simplify
Originally committed as revision 7602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:43:29 +00:00
Michael Niedermayer
5ecfa9f5fc set codec_tag from codec_id if its not set and can be set based on the AVCodecTag tables
Originally committed as revision 7600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:31:58 +00:00
Michael Niedermayer
4fde033a68 this is wrong but it was that way before the AVCodecTag change, only reason why it didnt broke regressions was that the table wasnt used
Originally committed as revision 7599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:30:44 +00:00
Michael Niedermayer
6c77805fc8 get rid of the [4] limitation of codec tag lists
Originally committed as revision 7596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:08:31 +00:00
Michael Niedermayer
edb6e50682 export a few more codec_tag-codec_id tables
Originally committed as revision 7594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 02:12:34 +00:00
Michael Niedermayer
7caf0cc62c add codec_id <-> codec_tag tables to AVIn/OutputFormat
Originally committed as revision 7593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 01:39:17 +00:00
Michael Niedermayer
5c4e1928c0 fix indention (dunno why it was messed up ...)
Originally committed as revision 7592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-20 23:09:27 +00:00
Reimar Döffinger
40d9c544ac Attempt to better document AVFMT_NOFILE.
Originally committed as revision 7590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:54:50 +00:00
Reimar Döffinger
b8e705ec45 Demuxers with AVFMT_NOFILE will open a (possibly different) file themselves,
so do not probe them if is_opened is set.

Originally committed as revision 7589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:52:59 +00:00
Alex Beregszaszi
fead30d444 rename BE/LE_8/16/32 to AV_RL/B_8/16/32
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:12:59 +00:00
Aurelien Jacobs
763750242b cosmetics: indentation
Originally committed as revision 7583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 23:23:41 +00:00
François Revol
c9c1a8e794 The long awaited BeOS cleanup, phase 1.1: removed useless ifdef, changed check for net_server to IP_MULTICAST_TTL.
Originally committed as revision 7582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 17:48:21 +00:00
François Revol
e9d511dc7e The long awaited BeOS cleanup, phase 1
Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 17:22:30 +00:00
Alex Beregszaszi
453cd7a496 omg, major typo (fails if card supports rgb24)
Originally committed as revision 7580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 15:42:25 +00:00
Michael Niedermayer
80036204af simplify
Originally committed as revision 7567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 12:06:31 +00:00
Michael Niedermayer
b90ba24b9a simplify pts/dts reading
Originally committed as revision 7565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:55:01 +00:00
Michael Niedermayer
75a9fbb9e9 cosmetic
Originally committed as revision 7563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:45:59 +00:00
Michael Niedermayer
7e4709b18f reduce len checks, simplifies code
there is a very small chance that a stream which is damaged && unseekable && very small packet && damage to the flags && unlucky buffer state could have a valid packet after a damaged packet lost, but i think this is so unlikely that the simplification outweights it
mans if you disagree with any commit to mpeg.c just say so and ill revert it

Originally committed as revision 7562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:44:57 +00:00
Michael Niedermayer
e56cfad04b seperate redo (we dont handle this possibly valid packet) from
error_redo (somethings is definitly wrong) in which case we try to resync from the last startcode

Originally committed as revision 7560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:19:10 +00:00
Diego Biurrun
db69c2e590 Make nb_streams unsigned to avoid an ugly cast.
Originally committed as revision 7556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 22:31:10 +00:00
Baptiste Coudurier
429088dc52 add msrle fourcc, quicktime_bmp.mov
Originally committed as revision 7541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 00:40:06 +00:00
Baptiste Coudurier
69d987a6e6 add png fourcc
Originally committed as revision 7540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 00:26:39 +00:00
Michael Niedermayer
b086d4ff9c fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.wmv
Originally committed as revision 7539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 23:47:53 +00:00
Michael Niedermayer
c33fc0a540 fixing segfault with http://sam.zoy.org/zzuf/lol-ffplay.avi
Originally committed as revision 7537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 22:56:46 +00:00
Måns Rullgård
e22f2aaf99 check for sane values in ogg_get_length(), fix lol-ffplay.ogm fuzz test
Originally committed as revision 7536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 22:45:50 +00:00
Måns Rullgård
20be72c890 save/restore number of streams
Originally committed as revision 7535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 22:05:22 +00:00
Roman Shaposhnik
e950141a58 * Fixing a bug with incorrect bits set in AAUX source pack
* Making DV codec release a buffer on exit
   * Flagging accepted pix_fmts for DV encoder

Originally committed as revision 7531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 07:41:28 +00:00
Baptiste Coudurier
975c88e30e cosmetics, function -> metadata
Originally committed as revision 7526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:04:43 +00:00
Baptiste Coudurier
d8b3576d42 remove useless essence container data sets for now
Originally committed as revision 7516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:32:51 +00:00
Baptiste Coudurier
8b621afbd1 remove useless preface parsing for now, will reintroduce it if needed
Originally committed as revision 7515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:31:30 +00:00
Baptiste Coudurier
e6837cfaf0 merge multiple descriptor parsing with generic one
Originally committed as revision 7513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:23:06 +00:00
Baptiste Coudurier
9bdeba37a0 remove warning, key is const
Originally committed as revision 7509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:17:10 +00:00
Baptiste Coudurier
55de95b9c7 indention
Originally committed as revision 7508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:16:20 +00:00
Baptiste Coudurier
33bddcdc13 follow michael suggestion and simplify code at object level
Originally committed as revision 7507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:14:36 +00:00
Ronald S. Bultje
621810045c makes the filename member of the URLContext a pointer, so that the
structure can be extended in the future without breaking ABI.
patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
Date: Jan 1, 2007 6:01 PM
Subject: [Ffmpeg-devel] make URLContext->filename a pointer

Originally committed as revision 7506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 22:07:19 +00:00
Ronald S. Bultje
fb2b4fc50a add support for HTTP seeking
patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
Date: Jan 4, 2007 5:42 AM
Subject: [Ffmpeg-devel] [PATCH/RFC] http seeking

Originally committed as revision 7505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 22:02:38 +00:00
Reimar Döffinger
86074ce341 Make seeking work in files that contain encrypted tracks.
Originally committed as revision 7502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 21:23:32 +00:00
Reimar Döffinger
d188691205 10l, > vs. >= typo, caused crashes on last mpc frame
Originally committed as revision 7476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:10:05 +00:00
Reimar Döffinger
1fe68f0e7c Simplify klv_decode_ber_length
Originally committed as revision 7475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:02:22 +00:00
Baptiste Coudurier
3439dc9507 seek back at the end of file after updating header
Originally committed as revision 7473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 13:57:26 +00:00
Baptiste Coudurier
8f36d4ba4d simplify
Originally committed as revision 7465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 12:47:32 +00:00
Baptiste Coudurier
2ab573cdc3 priv_data is allocated internally
Originally committed as revision 7459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 02:21:28 +00:00
Baptiste Coudurier
a0dc1ccd29 enable mjpeg in swf
Originally committed as revision 7458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 01:57:43 +00:00
Baptiste Coudurier
655254f001 simplify
Originally committed as revision 7457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 01:20:24 +00:00
Baptiste Coudurier
5b1e5dce35 swf can contain only one audio track, simplify
Originally committed as revision 7456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 01:14:31 +00:00
Baptiste Coudurier
432cef7605 use ch_id as AVStream id and simplify
Originally committed as revision 7455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 01:07:14 +00:00
Baptiste Coudurier
ec54839ab1 always export audiostreams
Originally committed as revision 7454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 00:54:03 +00:00
Baptiste Coudurier
b4bcf81001 always export videostreams
Originally committed as revision 7452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 00:46:37 +00:00
Baptiste Coudurier
6ac558eefc AnyType is needed, descriptor_ref can reference Descriptor or MultipleDescriptor
Originally committed as revision 7451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 00:32:25 +00:00
Reimar Döffinger
977d126e6e Use macros to eliminate code duplication in MXF metadata read functions.
Originally committed as revision 7449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 21:13:26 +00:00
Reimar Döffinger
2d193b2ea0 Extend mxf_resolve_strong_ref by a type parameter, to avoid modify something
that actually has a different type.

Originally committed as revision 7448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 18:54:48 +00:00
Reimar Döffinger
717f1019a8 Fix error message, it's package ref that can not be found, not track in this case
Originally committed as revision 7447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 18:21:55 +00:00
Diego Biurrun
6187b8bde3 typo: pallete --> palette
Originally committed as revision 7444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 04:19:45 +00:00
Roman Shaposhnik
6eb2de748d * Fixing seeking with DV-AVI (by Jeff Downs <heydowns at borg dot com>)
Originally committed as revision 7439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-11 22:32:19 +00:00
Baptiste Coudurier
c3135e11f4 add official VC1 fourcc
Originally committed as revision 7434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-10 10:30:03 +00:00
Baptiste Coudurier
dfc58c5d64 removed unused av_frac_set
Originally committed as revision 7430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-08 14:44:13 +00:00
Baptiste Coudurier
702dfe0194 remove #if obsoleted after last major version bump
Originally committed as revision 7429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-08 14:42:01 +00:00
Baptiste Coudurier
8fae2df5e8 10l, only allocate priv_data if not already done
Originally committed as revision 7428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-08 14:22:00 +00:00
Baptiste Coudurier
c6efa4b5b0 humm, actually do what's in the doxy
Originally committed as revision 7427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-08 12:57:08 +00:00
Baptiste Coudurier
fed7d06796 priv_data is allocated/freed internally
Originally committed as revision 7426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-08 12:33:16 +00:00
Diego Biurrun
6ebe07fbb5 variable renaming: mp3lame --> libmp3lame
Originally committed as revision 7417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-07 00:02:15 +00:00
Diego Biurrun
2eed5a461f Rename variables: faad --> libfaad, faac --> libfaac, faadbin --> libfaadbin
Originally committed as revision 7416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-06 23:54:01 +00:00
Baptiste Coudurier
e943369fd4 simplify
Originally committed as revision 7409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-05 14:23:13 +00:00
Baptiste Coudurier
17230c9d4d dont skip too many bytes if tag is TAG_STREAMHEAD2 and mp3
Originally committed as revision 7408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-05 14:17:41 +00:00
Michael Niedermayer
d0966f026c missdetected a broken mp3
Originally committed as revision 7404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-02 22:22:12 +00:00
Michael Niedermayer
69c262d156 indention
Originally committed as revision 7403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-02 20:35:46 +00:00
Michael Niedermayer
1694118b9b nth try of getting the frame rate detecton working
Originally committed as revision 7402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-02 20:32:01 +00:00
Benjamin Larsson
09d8c0ae83 VP6 and flashsv stream copy and muxing support.
Originally committed as revision 7399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 22:52:22 +00:00
Michael Niedermayer
aa38b09769 AVSEEK_SIZE doxy
Originally committed as revision 7397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 21:53:15 +00:00
Michael Niedermayer
1ae2c5f2e7 fix indention of previous commit
Originally committed as revision 7396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 21:49:50 +00:00
Michael Niedermayer
8e287af090 seekless filesize retrieving support in 7 lines of code, also doesnt break compatibility
Originally committed as revision 7395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 21:49:09 +00:00
Michael Niedermayer
ecec87afc6 revert regression test breaking change
Originally committed as revision 7394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 21:17:14 +00:00
Kostya Shishkov
aac88b534c Decode previous 32 frames to avoid seeking artifacts in MPC
Originally committed as revision 7393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 05:32:27 +00:00
Kostya Shishkov
0587b0cacd Make MPC demuxer deal with ID3 tags at the beginning
Originally committed as revision 7392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 05:29:53 +00:00
Michael Niedermayer
4b96d28abc ignore duration of the first 2 frames in the max-time break check
fixes framerate detection for framerate_misdetected.wmv

Originally committed as revision 7384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-29 21:41:06 +00:00
Michael Niedermayer
6268538afa do not base frame rate guess on just one duration
Originally committed as revision 7383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-29 21:16:21 +00:00
Allan Hsu
148c9bdbb8 Patch for the FLV muxer to supply more complete metadata
in the onMetaData header. Patch by Allan Hsu <allan at counterpop dot net>.

Originally committed as revision 7382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-28 12:35:22 +00:00
Kostya Shishkov
e311363245 Enable forward seek in Musepack demuxer
Originally committed as revision 7381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-28 05:33:31 +00:00
Mike Frysinger
d037d797a4 fall back mmap() call using MAP_PRIVATE for working on no-mmu systems
patch by Mike Frysinger   vapier.adi _at_ gmail.com

Originally committed as revision 7380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-28 00:32:06 +00:00
Patrice Bensoussan
62ade082bb Decode genre on asf/wma files.
patch by  patrice.bensoussan _at_ free.fr

Originally committed as revision 7379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-28 00:24:24 +00:00
Kostya Shishkov
185c7b6b26 Musepack SV7 decoding support
Originally committed as revision 7375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-24 04:51:43 +00:00
Diego Biurrun
f8aa696f9f Properly check for all required bktr headers.
inspired by a patch from Tatu Kilappa, trilkk iki fi

Originally committed as revision 7374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-24 03:53:15 +00:00
Oded Shimon
d7d3efae82 sync to libnut, nom->num
Originally committed as revision 7367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-23 12:33:37 +00:00
Diego Biurrun
3a1018d4d8 Register x11grab only when it has been enabled.
Originally committed as revision 7366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-23 07:19:56 +00:00
Ramiro Polla
acb3b537f3 support files >2GB on MinGW
patch by Ramiro Polla, angustia arrozcru.no-ip org

Originally committed as revision 7362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-22 23:44:04 +00:00
Diego Biurrun
56a059ac86 Make the X11 frame grabber disabled by default.
Originally committed as revision 7353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-22 04:38:24 +00:00
Diego Biurrun
4a49d9b2f8 Remove useless #include.
Originally committed as revision 7339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 11:14:56 +00:00
Ramiro Polla
2cb396eb8b Remove useless MinGW #ifdefs.
patch by Ramiro Polla, ramiro lisha.ufsc br

Originally committed as revision 7338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-21 11:12:55 +00:00
Joakim Plate
e825b5009f Fix a crash when probing img2 format with a NULL filename.
patch by elupus _at_ ecce.se

Originally committed as revision 7335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-20 23:33:50 +00:00
Aurelien Jacobs
9110a0e32d Add support for VP60 and VP61.
Originally committed as revision 7329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-17 22:00:12 +00:00
Aurelien Jacobs
3b61ab0b03 put_*() are not only useful to muxers and protocol
fix compilation of matroska demuxer with --disable-muxers --disable-protocols

Originally committed as revision 7323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-16 20:40:09 +00:00
Panagiotis Issaris
0cd4faf977 Allow provision of displaynumber, screennumber, x-offset and y-offset parameters
to the x11grab device.

Originally committed as revision 7320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-15 13:19:03 +00:00
Baptiste Coudurier
7224e89638 dont segv is ap->device is not set, display error message
Originally committed as revision 7312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 10:18:38 +00:00
Baptiste Coudurier
ba78f9d486 fix compilation, use the standard INT64_C macro
Originally committed as revision 7311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 10:08:27 +00:00
Guillaume Poirier
05f3b6ab06 remove trailing whitespace left over
Originally committed as revision 7310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 09:14:30 +00:00
Edouard Gomez
bd8393387f Feedback from Karl H. Beckers about mouse cursor
(patch by Edouard Gomez)

Originally committed as revision 7309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 08:51:01 +00:00
Edouard Gomez
6e71a18eda RFC 6: Overall cleanups again.
- License should be fixed now (finally)
- Added doxygen comments
- Cleaned up the X11Grab structure
- Renamed X11Grab structure to x11_grab_s
- Changed some Java stylish named functions to more C'stylish ones
- Changed order of some parameters so they are more libc alike with
  destination as first parameter
- Use AVRational where relevant
- Fixed time calculation
- Cleaned up a few little tiny things around the sources
  + removed a goto
  + removed unused vars
  + etc...
(Patch by Edouard Gomez)

Originally committed as revision 7308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 08:50:30 +00:00
Edouard Gomez
0235a3116e RFC 5: Mouse cursor painting reduc and more cleanups
- License is for FFmpeg, not "this program"
- Rewrite mouse cursor painting functions
- Cosmetic on 2 function declarations
(patch by Edouard Gomez)

Originally committed as revision 7307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 08:49:34 +00:00
Edouard Gomez
aac105fcd1 RFC 3&4 stage: FFmpeg style aint't my style
- Tabs are 4 width
- No tabs allowed
(patch by Edouard Gomez)

Originally committed as revision 7306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 08:48:56 +00:00
Edouard Gomez
ef84bf0404 RFC 2 stage: First feedback from review comments
- License is GPL, simplify the license header to make it clear
- Add myself to license header, clarify who did what
- Use 64 bit PTS
- Move mouse bitmaps to the mouse cursor painting function. Make them
  const again
  - Properly detach X11 from the shared memory segment on close
  - Destroy X11 image on close
(patch by Edouard Gomez)

Originally committed as revision 7305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 08:48:13 +00:00
Edouard Gomez
65a1c656d7 RFC 1 stage: Improve maintainability of the cursoir painting code
- Turned the mouse cursor painting code into a macro for more
  maintainability
  - Dropped mouse cursor painting in 8bit mode
  - Removed log when dropping frames
  - Free the shared memory segment on close
(patch by Edouard Gomez)

Originally committed as revision 7304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 08:47:14 +00:00
Edouard Gomez
2909f17717 Adapt the patch to more recent FFmpeg habits
- Indentation
- Use av_log instead of fprintf
- Removed strdup of the device name. It was unused
- Cleaned things a bit
(patch by Edouard Gomez)

Originally committed as revision 7303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 08:46:31 +00:00
Guillaume Poirier
f58f4ce19d Original X11 device demuxer patch from Clemens Fruhwirth
- Build system integration is equivalent to RFC #6 patch
- Same rule applies to ffmpeg.c/allformats.[c|h]
- x11grab.c is from Clemens Fruhwirth except the x11 grab
  structure for libavformat registration is renamed to
    match build system integration.

Originally committed as revision 7302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 08:45:36 +00:00
Guillaume Poirier
83c547a4a1 revert broken commit of x11 device demuxer patch
Originally committed as revision 7301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 00:06:33 +00:00
Guillaume Poirier
77e5024c1c Feedback from Karl H. Beckers about mouse cursor
Reverse direction of the mouse cursor pointer

Originally committed as revision 7300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 22:32:14 +00:00
Guillaume Poirier
bfac8d3ae7 RFC 6: Overall cleanups again.
- License should be fixed now (finally)
- Added doxygen comments
- Cleaned up the X11Grab structure
- Renamed X11Grab structure to x11_grab_s
- Changed some Java stylish named functions to more C'stylish ones
- Changed order of some parameters so they are more libc alike with
  destination as first parameter
- Use AVRational where relevant
- Fixed time calculation
- Cleaned up a few little tiny things around the sources
  + removed a goto
  + removed unused vars
  + etc...

Originally committed as revision 7299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 22:32:12 +00:00
Guillaume Poirier
86904e836a RFC 5: Mouse cursor painting reduc and more cleanups
- License is for FFmpeg, not "this program"
- Rewrite mouse cursor painting functions
- Cosmetic on 2 function declarations

Originally committed as revision 7298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 22:32:10 +00:00
Guillaume Poirier
9b91c1e265 RFC 3&4 stage: FFmpeg style aint't my style
- Tabs are 4 width
- No tabs allowed

Originally committed as revision 7297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 22:32:08 +00:00
Guillaume Poirier
04b01de857 RFC 2 stage: First feedback from review comments
- License is GPL, simplify the license header to make it clear
- Add myself to license header, clarify who did what
- Use 64 bit PTS
- Move mouse bitmaps to the mouse cursor painting function. Make them
  const again
- Properly detach X11 from the shared memory segment on close
- Destroy X11 image on close

Originally committed as revision 7296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 22:32:06 +00:00
Guillaume Poirier
d797fdf493 RFC 1 stage: Improve maintainability of the cursoir painting code
- Turned the mouse cursor painting code into a macro for more
  maintainability
- Dropped mouse cursor painting in 8bit mode
- Removed log when dropping frames
- Free the shared memory segment on close

Originally committed as revision 7295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 22:32:04 +00:00
Guillaume Poirier
b9255fb98a Adapt the patch to more recent FFmpeg habits
- Indentation
- Use av_log instead of fprintf
- Removed strdup of the device name. It was unused
- Cleaned things a bit

Originally committed as revision 7294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 22:32:02 +00:00
Guillaume Poirier
e519b02c10 Original X11 device demuxer patch from Clemens Fruhwirth
- Build system integration is equivalent to RFC #6 patch
- Same rule applies to ffmpeg.c/allformats.[c|h]
- x11grab.c is from Clemens Fruhwirth except the x11 grab
  structure for libavformat registration is renamed to
  match build system integration.

Originally committed as revision 7293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 22:31:46 +00:00
Michael Niedermayer
e07d8929eb indent
Originally committed as revision 7290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 14:08:19 +00:00
Michael Niedermayer
fd97f6a2ea the next r_frame_rate try ...
discard first duration
	accumulate remaining durations
	add 15000/1001 and 12000/1001

Originally committed as revision 7289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 14:07:46 +00:00
Allan Hsu
428cc588f2 add FLV decoder metadata parsing
patch by Allan Hsu % allan A counterpop P net %
date: Dec 12, 2006 12:19 PM
subject: Re: [Ffmpeg-devel] [PATCH] FLV decoder metadata reading

Originally committed as revision 7286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 12:29:33 +00:00
Michael Niedermayer
06d1e5c2b6 gcc 2.95 fix
Originally committed as revision 7285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 12:24:30 +00:00
Michael Niedermayer
4d43cbcc74 rewrite r_frame_rate selectioon code again
Originally committed as revision 7283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 16:59:10 +00:00
Baptiste Coudurier
1aad0dfd62 remove useless sampleDuration
Originally committed as revision 7281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 13:31:20 +00:00
Baptiste Coudurier
b596102e7e check codec frame size directly and only for audio
Originally committed as revision 7280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 13:30:37 +00:00
Michael Niedermayer
15f14fc7c2 move duration finding code into read_packet() so it can be skiped if duration has already been set
Originally committed as revision 7272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-10 17:53:01 +00:00
Michael Niedermayer
17fcb1709f use amf_get_string()
Originally committed as revision 7271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-10 17:38:16 +00:00
Michael Niedermayer
759dd138df cosmetics
Originally committed as revision 7270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-10 17:32:05 +00:00
Michael Niedermayer
896bcd2e85 amf_get_string() by Allan Hsu allan aat counterpop doot net
Originally committed as revision 7269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-10 17:31:17 +00:00
Michael Niedermayer
4eb0c66505 get rid of AVFMTCTX_NOHEADER, create streams in read_header()
Originally committed as revision 7268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-10 17:25:30 +00:00
Michael Niedermayer
c45388b193 set flags correctly in write header instead of seeking back and fixing it in write_trailer()
Originally committed as revision 7267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-10 17:12:45 +00:00
Måns Rullgård
f27a726809 use standard INT64_MAX instead of MAXINT64 (and MIN)
Originally committed as revision 7241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 00:47:37 +00:00
Måns Rullgård
8da9266cea use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 23:46:11 +00:00
Baptiste Coudurier
68a432cf14 cosmetics, remove braces, remove spaces just inside parens
Originally committed as revision 7236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 17:17:33 +00:00
Andy Parkins
8533284dae do not truncate pts/dts if value is AV_NOPTS_VALUE, patch by Andy Parkins, andrew parkins at 360visiontechnology com
Originally committed as revision 7234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 15:46:12 +00:00
Allan Hsu
6cac3a3b08 Defines various common FLV format values between the FLV muxer and demuxer
in a common flv.h.
patch by Allan Hsu  allan _at_ counterpop.net

Originally committed as revision 7231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 00:23:04 +00:00
Ryan Martell
73fe1052dd Minor modifications to handle mms streaming.
Patch by Ryan Martell rdm4 martellventures com.

Originally committed as revision 7221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-04 15:46:32 +00:00
Baptiste Coudurier
d1e8675c2e probe with some success image files not containing number pattern but having recognized image extension
Originally committed as revision 7219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-04 11:42:48 +00:00
Kostya Shishkov
5f3c4ba46c Do not touch pkt->pts
Originally committed as revision 7217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-03 05:47:55 +00:00
Kostya Shishkov
dfbb76d373 Some VQA v1 files don't have audio stream
Originally committed as revision 7216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-03 05:29:00 +00:00
Mike Melanson
b40a061fcb Simplify the Sega FILM/CPK demuxer to not modify the bastardized Cinepak stream.
I changes the lavc Cinepak decoder some time ago to be able to handle the deviant
data, but never updated this demuxer.

Originally committed as revision 7214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-02 21:28:05 +00:00
Allan Hsu
56cca5f10c Fix wrong flags for S16LE and S16BE audio in FLV files.
patch by Allan Hsu, allan counterpop net

Originally committed as revision 7194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-01 10:26:54 +00:00
Loïc Le Loarer
8fa641f8e8 Fix compile with --disable-muxers, patch by Loïc Le Loarer, lll+ffmpeg m4x org.
Originally committed as revision 7185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-30 01:00:12 +00:00
Kostya Shishkov
61710f7bb5 Better VQA demuxer
Originally committed as revision 7184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-29 05:42:59 +00:00
Aurelien Jacobs
be691b1060 matroska: scale timecode according to time_scale
fixes jerky playback of planet.earth.mkv

Originally committed as revision 7181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-28 23:41:53 +00:00
Baptiste Coudurier
7f25df4cd3 move source_package declaration in the loop and reset it each iteration
Originally committed as revision 7180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-28 17:17:36 +00:00
Baptiste Coudurier
6a287fd7ce readjust dts if negative
Originally committed as revision 7179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-28 15:34:18 +00:00
Aurelien Jacobs
5b9b3b6846 cleanup the #ifdef mess in muxer/demuxer registration
Originally committed as revision 7175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-27 12:55:24 +00:00
Aurelien Jacobs
b9d328597c No need for special trick anymore for flac in matroska.
The flac decoder now understand full metadata header in extradata.

Originally committed as revision 7162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-23 22:26:05 +00:00
Reimar Döffinger
6e8c46b7e3 Set CODEC_TYPE_DATA for timecode tracks.
Originally committed as revision 7159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-22 18:47:05 +00:00
Reimar Döffinger
9ed0023447 Set st->need_parsing = 2 for MPEG-content.
Originally committed as revision 7158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-22 18:31:28 +00:00
Aurelien Jacobs
d9d6e7b7b9 add support for FLAC in matroska
Originally committed as revision 7150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 23:47:21 +00:00
Aurelien Jacobs
e9f36c5c4d move common voc muxer and demuxer data to voc.c
Originally committed as revision 7146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 13:18:21 +00:00
Aurelien Jacobs
5d244b2932 split voc.c into vocdec.c and vocenc.c
Originally committed as revision 7145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-21 13:08:04 +00:00
Aurelien Jacobs
0d6d963294 add support for tta in matroska
Originally committed as revision 7138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 20:16:32 +00:00
Aurelien Jacobs
9a313fe040 cosmetics: reindent after last commit
Originally committed as revision 7130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 00:33:47 +00:00
Aurelien Jacobs
a487d231cb matroska: split real video frames so that each packet contains only one slice
Originally committed as revision 7129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 00:31:59 +00:00
Aurelien Jacobs
363c86ce66 matroska: properly handle real video extradata
Originally committed as revision 7128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 00:15:52 +00:00
Aurelien Jacobs
a76920d843 simplify free()+set to NULL using av_freep()
Originally committed as revision 7127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-20 00:04:08 +00:00
Kostya Shishkov
322af4bed5 Identation
Originally committed as revision 7122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 05:32:22 +00:00
Kostya Shishkov
c8f9f9b91a Divide first audio buffer chunk into atomary bufffers.
This slightly simplifies decoder and removes potential
audio buffer overrun.

Originally committed as revision 7121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-19 05:30:43 +00:00
Diego Biurrun
5836d158b6 Fix misplaced comment.
Originally committed as revision 7120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-18 20:34:24 +00:00
Diego Biurrun
8662900b3b Clean up XAN DPCM hack and set codec_tag to 0 for XAN DPCM, AVI files
with XAN DPCM audio (wrongly) declare PCM audio in the header.

Originally committed as revision 7119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-18 17:37:56 +00:00
Oded Shimon
468f8102d5 change mpeg4 fourcc from "mp4s" to "mp4v"
Originally committed as revision 7116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 16:54:18 +00:00
Oded Shimon
bf054f7430 update to libnut, use framecode table generator
Originally committed as revision 7115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 16:53:42 +00:00
Oded Shimon
a851cf8cf7 update to libnut API, changes to frame_table_input
Originally committed as revision 7114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-17 14:43:14 +00:00
Michael Niedermayer
2b70eb2bed fix support for avis with sample_size > packet size
Originally committed as revision 7110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 23:36:54 +00:00
Baptiste Coudurier
550f6f974b parse video frame headers to get key flag
Originally committed as revision 7104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 15:49:54 +00:00
Michael Niedermayer
f7c9f48dc6 10l forgot (skip non keyframes after seeking between syncpoint and the first keyframe)
Originally committed as revision 7103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 12:27:43 +00:00
Baptiste Coudurier
43a8686416 print error when unsupported sample rate is used with swf
Originally committed as revision 7101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 11:19:03 +00:00
Michael Niedermayer
06599638dd check max_pts_distance
Originally committed as revision 7100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 11:03:40 +00:00
Michael Niedermayer
0a3b575bc7 skip non keyframes after seeking between syncpoint and the first keyframe
Originally committed as revision 7099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 10:20:29 +00:00
Michael Niedermayer
c873bc17bf remove unused variables
Originally committed as revision 7098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 09:59:46 +00:00
Michael Niedermayer
09e151848a removing unused code
Originally committed as revision 7096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 09:56:04 +00:00
Ryan Martell
1ad20f96f2 remove duplicate code, patch by Ryan Martell rdm4 A martellventures P com
Original thread:
Date: 11/15/2006 05:15 PM
Subject: [Ffmpeg-devel] [PATCH] rtsp.c minor cleanup

Originally committed as revision 7095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 08:48:05 +00:00
Oded Shimon
e4bb70838f Update to libnut API, non-negative errors
Originally committed as revision 7094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 07:33:25 +00:00
Oded Shimon
9123f531be update to libnut API, don't free the streams
Originally committed as revision 7087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-15 11:29:39 +00:00
Diego Biurrun
eaa53b957b MinGW compilation fix, inet_aton and #includes depend on networking support.
Originally committed as revision 7081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-15 01:11:33 +00:00
Måns Rullgård
18b67ae59e rename HAVE_DLFCN to HAVE_DLFCN_H
Originally committed as revision 7078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 23:53:37 +00:00
Michael Niedermayer
2dbe0bd45f check for frames with 2*size > max_dist and no crc
Originally committed as revision 7076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 22:24:10 +00:00
Michael Niedermayer
8ba3e5d843 resync from last syncpoint
Originally committed as revision 7075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 22:23:26 +00:00
Michael Niedermayer
a26353e211 remove skip spam
Originally committed as revision 7074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 22:22:53 +00:00
Diego Biurrun
54eb77c05e Move BeOS-specific code into os_support.c.
Originally committed as revision 7071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 21:31:19 +00:00
Oded Shimon
0d666a47a7 update to libnut, add cache_syncpoints
Originally committed as revision 7062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 17:01:33 +00:00
Baptiste Coudurier
1fc17d1582 add 422P@HL I-only universal label
Originally committed as revision 7060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 14:54:40 +00:00
Zuxy Meng
db5c43b4c7 Use common macro PUT_UTF8 in asf.c
Patch by Zuxy Meng, % zuxy P meng A gmail P com %
date: Nov 5, 2006 9:56 AM
subject: [Ffmpeg-devel] PUT_UTF8 & asf format enhancement

Originally committed as revision 7059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 14:37:59 +00:00
Michael Niedermayer
f32554fa62 indention
Originally committed as revision 7058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 13:33:05 +00:00
Michael Niedermayer
071790c876 seeking with index
Originally committed as revision 7057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 13:32:14 +00:00
Michael Niedermayer
4d5be986f0 index less seeking in O(log n) time
Originally committed as revision 7056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 13:19:51 +00:00
Oded Shimon
4d8aa1c38b update to libnut API, rename nut.h->libnut.h
Originally committed as revision 7051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 06:02:15 +00:00
Måns Rullgård
2e1913b193 check for inet_aton in configure
Originally committed as revision 7049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:55:26 +00:00
Måns Rullgård
fa28bc16f0 simplify
Originally committed as revision 7048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:42:28 +00:00
Michael Niedermayer
89ddd2a9a5 split av_seek_frame_binary() so the code becomes idependant of AVInputFormat and AVIndex
Originally committed as revision 7035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 01:34:36 +00:00
Baptiste Coudurier
8cb976931a partial support for vobsub in mp4, used by nero, unsupported-embedded-subs-2.mp4
Originally committed as revision 7032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 01:05:31 +00:00
Diego Biurrun
8fc433b476 Remove wrong/misleading comment.
Originally committed as revision 7030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 01:02:30 +00:00
Måns Rullgård
78e61cc5c6 rename CONFIG_HAVE_DLFCN and CONFIG_HAVE_DLOPEN to HAVE_DLFCN/HAVE_DLOPEN
Originally committed as revision 7018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 23:14:24 +00:00
Kostya Shishkov
ffa0a3d6fe Simplify VMD demuxer (but it still does not work right)
Originally committed as revision 7001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 05:18:19 +00:00
Måns Rullgård
55fde95e3b rename cropTbl -> ff_cropTbl
Originally committed as revision 6992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 20:08:09 +00:00
Aurelien Jacobs
7e2447028c Allows playback of truncated matroska files.
Originally committed as revision 6989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 16:59:27 +00:00
Aurelien Jacobs
38ca53dae9 cosmetic: fix indentation after previous commit
Originally committed as revision 6987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 16:36:14 +00:00
Aurelien Jacobs
a2a6332b56 Fix avidec.c compilation when dv demuxer is disabled.
Originally committed as revision 6986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 16:35:19 +00:00
Oded Shimon
b43afb5343 change include "nut.h" to <nut.h> to make gcc pick the correct nut.h for libnut de/muxer..
Originally committed as revision 6985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 16:24:05 +00:00
Michael Niedermayer
e3c97c3be4 more verbose r_frame_rate definition
Originally committed as revision 6982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 13:54:11 +00:00
Michael Niedermayer
5d97d9d53e fix checksum check (was my bug not libnut)
Originally committed as revision 6980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 12:16:59 +00:00
Michael Niedermayer
e827202955 fix timestamp rounding in syncpoints
index reading (unfinished and disabled)

Originally committed as revision 6979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 12:07:42 +00:00
Oded Shimon
6dd2cdf4b0 register nut muxer if libnut is used
Originally committed as revision 6978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 06:10:21 +00:00
Oded Shimon
f956e12954 Add libnut support until ffmpeg gets an independant and complete de/muxer for NUT
Originally committed as revision 6977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 06:09:15 +00:00
Måns Rullgård
1ed1a122a7 make some symbols static
Originally committed as revision 6973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 20:56:36 +00:00
Michael Niedermayer
7b0d75fc40 simplify
Originally committed as revision 6971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:47:58 +00:00
Michael Niedermayer
9a626982f9 dont do startcode search from last syncpoint if there are no errors
Originally committed as revision 6969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:43:55 +00:00
Michael Niedermayer
faf7cbf110 nut simple seeking first try
Originally committed as revision 6968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:37:21 +00:00
Michael Niedermayer
619d8e2e58 updating nut demuxer to latest spec
no muxing yet
no index yet
no seeking yet
libnuts crcs dont match mine (didnt investigate yet)
samplerate is stored wrong by libnut (demuxer has a workaround)
code is not clean or beautifull yet, but i thought its better to commit early before someone unneccesarily wastes his time duplicating the work
demuxer split from muxer

Originally committed as revision 6966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 01:35:50 +00:00
Steve L'Homme
82bfffaf65 Fix wrong comment.
Patch by Steve Lhomme % slhomme A divxcorp P com %
Original thread:
Date: Fri, 10 Nov 2006 15:29:50 +0100
Subject: [Ffmpeg-devel] [PATCH] fix a comment

Originally committed as revision 6965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 00:56:27 +00:00
Steve L'Homme
5d352ca98a Add A_AAC codec identifier support in matroska.
Patch by Steve Lhomme % slhomme A divxcorp P com %
Original thread:
Date: Fri, 10 Nov 2006 15:22:33 +0100
Subject: [Ffmpeg-devel] [PATCH] Handle "A_AAC" in matroska codec IDs

Originally committed as revision 6964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 00:49:39 +00:00
Michael Niedermayer
7b24f9b425 libnut uses "MP3 " for mp3
Originally committed as revision 6963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 00:29:49 +00:00
Baptiste Coudurier
5e8b05f8df report error when local tag has 0 size
Originally committed as revision 6962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-10 14:04:44 +00:00
Baptiste Coudurier
cbee7a6944 get rid of CODEC_ID_MPEG4AAC after next version bump, and change it to CODEC_ID_AAC where used
Originally committed as revision 6954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 11:37:30 +00:00
Baptiste Coudurier
95a07973cb support m1a hdlr mpeg elementary audio handler, fix Po-Slow_Death_64K.mov
Originally committed as revision 6951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-09 00:09:27 +00:00
Måns Rullgård
d226c75084 rename HAVE_VHOOK/BUILD_VHOOK to CONFIG_VHOOK
Originally committed as revision 6949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 23:18:18 +00:00
Michael Niedermayer
1f51da1b4a fix missdetection of mpeg-ps (ps2_interdite.mpg)
Originally committed as revision 6948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 22:49:55 +00:00
Aurelien Jacobs
09c2b9421d add support for AAC in matroska
Originally committed as revision 6947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 20:13:30 +00:00
Aurelien Jacobs
4647c0ec66 add audio output sampling freqency reading in matroska
Originally committed as revision 6946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 20:09:56 +00:00
Brian Brice
0008afc59c * fixing a memory leak in DV format.
Patch by Brian Brice bbrice at newtek dot com

Originally committed as revision 6945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 18:57:02 +00:00
Aurelien Jacobs
95cc43b28b Better way to detect cluster (fix files encoded with Haali's muxer).
Originally committed as revision 6943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 18:53:36 +00:00
Diego Biurrun
171b361e01 Remove illegal FourCC values.
Originally committed as revision 6941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 10:48:15 +00:00
Thijs Vermeir
8f57cc5a32 mpeg4probe patch by (Thijs Vermeir ; thijs vermeir barco com)
tabs removed by me
VOL vs. VOP check fixed by me

Originally committed as revision 6940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 01:21:23 +00:00
Michael Niedermayer
79e5a53c0a utf8 title support for psp (untested)
Originally committed as revision 6939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 01:15:06 +00:00
Måns Rullgård
997baf0141 allow spaces in source and build directory names
out of tree builds from a source dir with spaces is impossible
due to how make handles vpath

Originally committed as revision 6938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-08 00:02:15 +00:00
Ryan Martell
1d1be919ce add support for rtp/h264 streaming
Patch by Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Nov 6, 2006 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] H.264 via RTP

Originally committed as revision 6936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 22:10:07 +00:00
Aurelien Jacobs
0ab07420a2 Allow reading matroska title.
Originally committed as revision 6927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-07 00:11:35 +00:00
Aurelien Jacobs
5b99b90d38 cosmetics: reindent after last commit
Originally committed as revision 6926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 23:58:41 +00:00
Aurelien Jacobs
ce99efc6ff Don't need to check for NULL before av_free().
And don't need to memset(0) the no more used priv_data.

Originally committed as revision 6925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 23:57:34 +00:00
Steve L'Homme
ae17bf6ac8 Add support for block duration.
Patch by Steve Lhomme % slhomme A divxcorp P com %
Original thread:
Date: Mon, 06 Nov 2006 19:22:14 +0100
Subject: [Ffmpeg-devel] [PATCH] Matroska block duration support

Originally committed as revision 6924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 23:52:10 +00:00
Steve L'Homme
063c8f2662 Ensure codec_id = CODEC_ID_NONE for unknown codecs (don't reuse previous one).
Patch by Steve Lhomme % slhomme A divxcorp P com %
Original thread:
Date: Mon, 06 Nov 2006 21:20:14 +0100
Subject: [Ffmpeg-devel] [PATCH] Matroska known/unknown codec

Originally committed as revision 6923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 23:14:37 +00:00
Steve L'Homme
b9756b2e39 guess matroska files frame rate
Patch by Steve Lhomme % slhomme A divxcorp P com %
Original thread:
Date: Mon, 06 Nov 2006 21:28:52 +0100
Subject: [Ffmpeg-devel] [PATCH] Matroska FPS info

Originally committed as revision 6922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 23:07:54 +00:00
Ryan Martell
31693e00fc Add support for getting duration of a RTP stream (for seeking in stream)
Patch by Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Nov 6, 2006 6:39 PM
Subject: [Ffmpeg-devel] [PATCH] RTP/Get Duration of file (for seeking in stream)

Originally committed as revision 6921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 21:58:43 +00:00
Steve L'Homme
1c75f2bc5b remove floats in 10 bytes/byte support (no version of matroska used it)
Patch by Steve Lhomme % slhomme A divxcorp P com %
Original thread:
Date: Nov 6, 2006 7:24 PM
Subject: [Ffmpeg-devel] [PATCH] no 10 bytes floats

Originally committed as revision 6919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 19:01:03 +00:00
Kostya Shishkov
3f509ba122 WavPack support in Matroska
Originally committed as revision 6909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-06 06:07:41 +00:00
Diego Biurrun
899af1a26a Do not set audio codec_tag to 1, that would be PCM audio.
Originally committed as revision 6903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-05 16:31:52 +00:00
Reynaldo H. Verdejo Pinochet
b1d196db56 now we set codec_tag, still have to figure out how to handle flipping
Originally committed as revision 6892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 20:13:42 +00:00
Baptiste Coudurier
48855b26d4 do not overwrite codec type if already known, fix conflict between 'raw ' fourcc used for audio and video, ae002_wordup.mov
Originally committed as revision 6890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 16:19:14 +00:00
Baptiste Coudurier
80c5b9a161 indention
Originally committed as revision 6886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 15:04:47 +00:00
Baptiste Coudurier
152e9a43f2 reintroduce isom field and read version 1 audio stsd only if file is not isom, fix testclip_wrong_version_1_audio_stsd.mp4
Originally committed as revision 6885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 15:02:51 +00:00
Ryan Martell
4a6cc06123 add valid statistics for the RTCP receiver report.
Basically taken verbatim from RFC 1889.
Patch by Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Oct 31, 2006 12:43 AM
Subject: [Ffmpeg-devel] [PATCH] RTCP valid receiver statistics....

Originally committed as revision 6879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-03 07:55:57 +00:00
Baptiste Coudurier
f932cdf209 kill AVImageFormat
Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:22:23 +00:00
Steve L'Homme
949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Diego Biurrun
1345f4ed6c Rename SWAP macro to FFSWAP.
Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:28:36 +00:00
Steve L'Homme
e344c1ea36 reindentation, patch by From: Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:09:14 +00:00
Baptiste Coudurier
a512446ed3 clean, always write major brand for debug
Originally committed as revision 6862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 19:16:18 +00:00
Baptiste Coudurier
02799762c6 remove useless mp4 field
Originally committed as revision 6861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 19:12:07 +00:00
Baptiste Coudurier
f45b744cb7 simplify
Originally committed as revision 6855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 17:56:22 +00:00
Baptiste Coudurier
aa90239fd9 mov vfr muxing
Originally committed as revision 6854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 17:27:39 +00:00
Diego Biurrun
20cd83e276 cosmetics: Restore alphabetical order.
Originally committed as revision 6846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-31 00:11:37 +00:00
Baptiste Coudurier
55bdd34d1a remove gcc warning about void * used in arithmetic
Originally committed as revision 6845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 23:59:52 +00:00
Kostya Shishkov
84ed36da85 IMC decoder
Originally committed as revision 6839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 13:48:48 +00:00
Michael Niedermayer
498c544ad2 dont set the sampling rate just because 1 mp3 packet header says so (fixes playback speed on some old mencoder generated avis which where then dumped to mp3)
Originally committed as revision 6837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 02:19:55 +00:00
Ryan Martell
a7c6aa73fe switch to common base64 routines in lavf
Patch by Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Oct 29, 2006 2:45 AM
Subject: Re: [Ffmpeg-devel] [PATCH] Base64 code

Originally committed as revision 6832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-29 11:53:07 +00:00
Ryan Martell
d0deedcb07 fix more dynamic protocol stuff, needed by the forthcoming h264
streaming patch.
(Minor additions to give more information to the dynamic protocol
handlers, and a slight rearrangement of code.)
Patch by Ryan Martell %rdm4 A martellventures P com%
Original thread:
Date: Oct 29, 2006 2:30 AM
Subject: Re: [Ffmpeg-devel] RTP patches & RFC

Originally committed as revision 6831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-29 10:58:51 +00:00
Joakim Plate
0a4250bc92 add support for all framerates specified by the standard
Patch by Joakim elupus A ecce P se
Original thread:
Date: Oct 28, 2006 7:56 PM
Subject: [Ffmpeg-devel] [PATCH] Support for all official framerates in nsv demuxer

Originally committed as revision 6828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 18:39:16 +00:00
Joakim Plate
2f394e1ca8 Fix A/V (de)sync with discontinuous NSV streams,
Patch by Joakim elupus A ecce P se
Original thread:
Subject: [Ffmpeg-devel] [PATCH]: A/V sync on nsv streams.
Date: October 27, 2006 3:18:54 AM CEDT
Actual committed patch:
Date: October 28, 2006 3:23:28 AM CEDT

Originally committed as revision 6826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 17:28:04 +00:00
Thijs
34ecc3975f Make it possible to reuse UDP socket (optional, disabled by default)
Patch by Thijs % thijsvermeir A telenet P be %
Original thread:
Subject: Re: [Ffmpeg-devel] [PATCH proposal] Reuse UDP socket v2
Date: October 28, 2006 11:09:00 AM CEDT

Originally committed as revision 6825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 17:16:18 +00:00
Ryan Martell
d83723305e move up (in the file) AAC audio handling moved from below
This is because upper section handles packets, and the lower switch handles timestamps
Patch by Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Oct 27, 2006 11:40 PM
Subject: Re: [Ffmpeg-devel] RTP patches & RFC

Originally committed as revision 6817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 00:29:59 +00:00
Guillaume Poirier
a01e68aa5e Add base64 encoding and decoding routines
Patch Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Oct 27, 2006 6:49 PM
Subject: [Ffmpeg-devel] [PATCH] Base64 code

Originally committed as revision 6816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-28 00:12:31 +00:00
Thijs
dbf30963f3 make ffmpeg able to send back a RTCP receiver report.
Patch by Thijs thijsvermeir A telenet P be
Original thread:
Date: Oct 27, 2006 12:58 PM
Subject: [Ffmpeg-devel] [PATCH proposal] RTCP receiver report

Originally committed as revision 6805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 18:19:29 +00:00
Ryan Martell
ed78754216 indentation fix, patch by Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Oct 27, 2006 6:17 AM
Subject: Re: [Ffmpeg-devel] RTP patches & RFC

Originally committed as revision 6804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 17:51:20 +00:00
Baptiste Coudurier
18de0b81d5 fflags can/will be used for muxing too
Originally committed as revision 6802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 10:53:08 +00:00
Guillaume Poirier
550b284346 Last fix of licence header
Originally committed as revision 6801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 06:06:58 +00:00
Guillaume Poirier
9eeec55d77 move licence header fixes
Originally committed as revision 6800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-26 22:45:19 +00:00
Guillaume Poirier
cbced386c2 Fix licence header (aka <pedantic mode='on' /> )
Originally committed as revision 6799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-26 22:40:18 +00:00
Ryan Martell
4934884a13 Add support for H264 over RTP
Patch by Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Oct 9, 2006 4:55 PM
Subject: [Ffmpeg-devel] RTP patches & RFC
Actual committed patch:
Date: Oct 26, 2006 4:29 PM

Originally committed as revision 6798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-26 18:36:03 +00:00
Baptiste Coudurier
b59cb45632 remove mov_read_leaf and remove useless reading function table, mov_read_default will skip atom with no parsing function anyway
Originally committed as revision 6793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-25 22:50:49 +00:00
Aurelien Jacobs
21e3c26ca2 fix mp3 in swf decoding
Originally committed as revision 6792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-25 20:05:14 +00:00
Kostya Shishkov
79f7c32ffb Register .tga and .tiff image extensions
Originally committed as revision 6775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 13:17:46 +00:00
Aurelien Jacobs
7fbde3431a replace coder/decoder file description in libavformat by muxer/demuxer
Originally committed as revision 6774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 08:57:54 +00:00
Aurelien Jacobs
ec996a6303 fix flvdec.c file description comment
Originally committed as revision 6773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 00:13:02 +00:00
Aurelien Jacobs
246f86a4d6 document the extradata protocol for VP6F
Originally committed as revision 6772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 00:10:18 +00:00
Aurelien Jacobs
fa73604f61 don't use ast before checking it's not NULL
Originally committed as revision 6771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 23:23:55 +00:00
Aurelien Jacobs
9e2424ce60 use the adjustment value present in FLV to crop VP6 video
Originally committed as revision 6770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 23:19:42 +00:00
Baptiste Coudurier
20da94e8c5 activate gif decoder, seems to work fine on showdown2.mov
Originally committed as revision 6767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 16:17:02 +00:00
Baptiste Coudurier
6f9e492acf add gif support
Originally committed as revision 6761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:07:25 +00:00
Baptiste Coudurier
14f283d849 disable annoying debug messages
Originally committed as revision 6758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 14:14:36 +00:00
Luca Abeni
7c7e7464e3 Make read_packet fail is the v4l2 driver returns an unexpected frame size
(driver's bug? If not, we will have to support this in some way)

Originally committed as revision 6756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 09:56:08 +00:00
Andreas Öman
71bd023da5 avoid crashing when trying to parse invalid files, patch by Andreas Oman, andreas at olebyn dot nu
Originally committed as revision 6752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-21 11:17:39 +00:00
Andreas Öman
487240b026 fix probe, patch by Andreas Oman, andreas at olebyn dot nu
Originally committed as revision 6751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-21 11:08:39 +00:00
Baptiste Coudurier
d966b2f0db warn about zlib support needed if file has compressed moov atom
Originally committed as revision 6747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 13:06:50 +00:00
Michael Niedermayer
942f3bb528 move memory reading ByteIOContext init from mov.c to avobuf.c
Originally committed as revision 6744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 09:32:48 +00:00
Michael Niedermayer
143bf7d7c3 dont mess with ByteIOContext internal variables (fixes showdown2.mov)
Originally committed as revision 6733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 10:05:36 +00:00
Baptiste Coudurier
99fd05cbdd use AVFormatContext to log
Originally committed as revision 6731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 15:10:14 +00:00
Diego Biurrun
3d1eed611b Fix license header error notice by Steve LHomme.
Originally committed as revision 6730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 13:15:27 +00:00
Baptiste Coudurier
708e3e7d2d simplify pcm read seek, use av_get_bits_per_sample
Originally committed as revision 6728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 11:57:24 +00:00
Baptiste Coudurier
5b9d79bd77 avoid overwriting pkt
Originally committed as revision 6723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 17:44:06 +00:00
Aurelien Jacobs
595da759de 10l inverted condition check generated an endless loop
Originally committed as revision 6722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 17:19:11 +00:00
Baptiste Coudurier
4d6ac1a47b skip packet if no stream index is found, fix proxy_pal030926.mxf
Originally committed as revision 6721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 11:30:22 +00:00
Baptiste Coudurier
ee71ef5cf4 skip run in sequence, fix C0023S01.mxf
Originally committed as revision 6720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 11:23:04 +00:00
Roman Shaposhnik
d1bc38f34a * Simplifying the setting of STYPE for AAUX AS
* Fixing a bug in how SPEED was encoded for AAUX ASC

Originally committed as revision 6716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 21:47:48 +00:00
Diego Biurrun
39051d5d6e Replace FLAC FourCC by TwoCC.
Originally committed as revision 6708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 11:18:26 +00:00
Diego Biurrun
14f29f795d Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
Originally committed as revision 6700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 12:59:45 +00:00
Diego Biurrun
827f056124 Remove unused variable.
Originally committed as revision 6696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 10:31:50 +00:00
Diego Biurrun
07a1b05e66 Consistently use $(BUILD_ROOT).
Originally committed as revision 6695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 10:02:21 +00:00
Kostya Shishkov
a8789714ba Ignore blocks with no samples and flags (but usually with MD5 sum)
Originally committed as revision 6694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 04:50:19 +00:00
Dominik Mierzejewski
ccd3228e54 Use proper PRI?64 macros for %ll? format to fix printf format warnings:
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’
utils.c:854: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’
utils.c:854: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’
asf.c:872: warning: format ‘%Lx’ expects type ‘long long unsigned int’, but argument 4 has type ‘int64_t’
mov.c:1754: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 5 has type ‘int64_t’

Approved by Michael.

Originally committed as revision 6692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 20:43:39 +00:00
Kostya Shishkov
4ec0beaa59 Move block size check to decoder
Originally committed as revision 6688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 05:01:05 +00:00
Michael Niedermayer
03bb9ae58c 10l CODEC vs. FORMAT
Originally committed as revision 6687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 19:19:07 +00:00
Roberto Togni
12b6992b6f flv files from myspace with mp3 audio require need_parsing because the
frames are fragmented.

Originally committed as revision 6686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 18:21:28 +00:00
Kostya Shishkov
a991b1fecb TIFF decoder
Originally committed as revision 6682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 10:48:29 +00:00
Diego Biurrun
6ae177aa3b Add a note about illegal codec IDs.
Originally committed as revision 6681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 00:02:33 +00:00
Diego Biurrun
7e547cb4c3 Add codec ID for Shorten audio.
Originally committed as revision 6680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 00:01:25 +00:00
Baptiste Coudurier
29f86228a0 support for Tiertex .seq files demuxing/video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
Originally committed as revision 6672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 12:02:58 +00:00
Reynaldo H. Verdejo Pinochet
28146a8c7a new mtv demuxer
Originally committed as revision 6667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 01:04:32 +00:00
Diego Biurrun
c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Baptiste Coudurier
72450e50a5 support for Delphine Software .cin files demuxing / audio and video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
Originally committed as revision 6659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 16:57:00 +00:00
Baptiste Coudurier
777f46493d fix bit rate
Originally committed as revision 6646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:22:21 +00:00
Baptiste Coudurier
d50756cdf9 use av_get_bits_per_sample
Originally committed as revision 6645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:17:18 +00:00
Baptiste Coudurier
e27d92773e use av_get_bits_per_sample, compute block align if not set
Originally committed as revision 6644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:15:05 +00:00
Baptiste Coudurier
8d41fe285b simplify by not writing unneeded codec name to fix segfault when stream copy
Originally committed as revision 6643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 10:09:45 +00:00
Diego Biurrun
dadb850a50 Move CFLAGS handling to common.mak.
Originally committed as revision 6642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 08:30:13 +00:00
Kostya Shishkov
3689cf1649 Targa image decoder
Originally committed as revision 6640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 04:15:04 +00:00
Michael Niedermayer
d95442c03e unused #define
Originally committed as revision 6638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:59:08 +00:00
Michael Niedermayer
ab2c12ec90 remove dummy amr_read_close()
Originally committed as revision 6637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:57:44 +00:00
Michael Niedermayer
b49638928b more factoriztaion and a FIXME note
Originally committed as revision 6636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:56:49 +00:00
Michael Niedermayer
d84fd5d153 factorze another 2 lines
Originally committed as revision 6635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:53:14 +00:00
Michael Niedermayer
ce2f3c8b0c set duration and timebase (based on a patch by Simon Morlat simon.morlat linphone org)
Originally committed as revision 6634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:49:45 +00:00
Michael Niedermayer
b1bf48aa91 factorize (untested)
Originally committed as revision 6633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:45:12 +00:00
Michael Niedermayer
effdc8ef2a return cleanup
Originally committed as revision 6632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 23:28:27 +00:00
Baptiste Coudurier
c74915cda4 fix d-10 mapping detection
Originally committed as revision 6631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 14:29:03 +00:00
Baptiste Coudurier
de9fe002f8 rewind completely if sample time is negative
Originally committed as revision 6629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 13:00:50 +00:00
Baptiste Coudurier
4a775c19cd dont seek back if no sync to let eof happen
Originally committed as revision 6628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 12:58:34 +00:00
Baptiste Coudurier
31903634b6 quiet gcc about enum value not handled in switch
Originally committed as revision 6624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 09:17:51 +00:00
Kostya Shishkov
ee56f2c020 10l: remove alien seek function from demuxer
Originally committed as revision 6617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 04:10:53 +00:00
Yong
104f8c10b8 Add fourccs for Wavpak and TTA
Patch by yong ||| y0ngc |a| yahoo dot com |||

Originally committed as revision 6579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 18:30:41 +00:00
Diego Biurrun
b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Diego Biurrun
cbeee4d8e5 Replace -I../-I. by -I$(BUILD_ROOT).
Originally committed as revision 6572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 09:22:44 +00:00
Michael Niedermayer
4b1a1a2a69 flac fourcc (fixes mplayer -demuxer 35 with flac)
Originally committed as revision 6569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-06 18:36:58 +00:00
Michael Niedermayer
92eb82325e prevent >16bit tags to be truncated and used in creating .wav files
Originally committed as revision 6568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-06 18:20:40 +00:00
Baptiste Coudurier
885e691aaf support D-10, XDCAM, fix ebu_small_d10_50_audio_resampling_problem.mxf, xdcam-pal-d10-imx50.mxf
Originally committed as revision 6561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 09:01:04 +00:00
Baptiste Coudurier
b95d44b6f4 remove useless casts
Originally committed as revision 6552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-04 13:18:51 +00:00
Diego Biurrun
0533322ea3 Move EXTRALIBS handling to common.mak.
Originally committed as revision 6545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 19:23:39 +00:00
Michael Niedermayer
5523d5f41e fix r_frame_rate detection in mpeg4 streams with non integer fps
Originally committed as revision 6544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 19:13:27 +00:00
Diego Biurrun
36c32bdddf Remove unused variables and the corresponding warnings along with them.
Originally committed as revision 6536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 17:12:48 +00:00
Diego Biurrun
e8b409b50f rtp.o needs mpegts.o
Originally committed as revision 6533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 17:15:00 +00:00
Baptiste Coudurier
c86ecbb7ce fix audio for mog_op1a_prompeg_mpeg.mxf
Originally committed as revision 6530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 14:12:50 +00:00
Baptiste Coudurier
03da8726f6 return 0 as stream index if only one stream, this is completely non standard, fix Cars_TL4IO6_239_DEXX_MPEG_TDC_072006.wav.mxf
Originally committed as revision 6528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 13:22:51 +00:00
Steve L'Homme
e0769997cb add support for some MS DIB formats for avisynth
Patch by Steve Lhomme % slhomme AH divxcorp P com %
Original thread:
Date: Sep 27, 2006 7:20 PM
Subject: [Ffmpeg-devel] [PATCH] AVISynth support for some MS DIB formats

Originally committed as revision 6411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 20:41:02 +00:00
Brian Brice
4336886c52 Fix wrong ASF duration of generated files
Patch by Brian Brice % bbrice AH newtek.com %
Original thread:
Message-ID: <451DA316.6060001@newtek.com>
Date: Fri, 29 Sep 2006 17:49:58 -0500
Subject: [Ffmpeg-devel] [PATCH] ASF Duration

Originally committed as revision 6407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 17:05:25 +00:00
Michael Niedermayer
cb37931d78 dont set sub_id as its completly redundant and silly
Originally committed as revision 6393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-30 11:50:03 +00:00
Baptiste Coudurier
3a6ccf4f3e rudimentary binary seek
Originally committed as revision 6382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 14:28:55 +00:00
Baptiste Coudurier
1159f6340a add another data definition ul
Originally committed as revision 6381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 12:25:44 +00:00
Baptiste Coudurier
dd202ff65d use a data definition uls table to fetch codec type
Originally committed as revision 6380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 12:23:38 +00:00
Baptiste Coudurier
996c9ad0a4 add string param to PRINT_KEY for debug
Originally committed as revision 6379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 11:25:40 +00:00
Baptiste Coudurier
94c12d458f shut up gcc about incompatible pointer type
Originally committed as revision 6378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 10:38:27 +00:00
Baptiste Coudurier
9a630c2532 remove useless casts
Originally committed as revision 6377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 10:30:52 +00:00
Baptiste Coudurier
626a8fe724 remove gcc warnings about void * used in arithmetic
Originally committed as revision 6376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 10:28:11 +00:00
Baptiste Coudurier
9770089d34 move sample size adjusting code after audio stsd v2 parsing to let v2 set correct channel number, fix Sony-hdv2.mov
Originally committed as revision 6373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:59:26 +00:00
Baptiste Coudurier
e6f4c806e3 add lpcm fourcc
Originally committed as revision 6372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:54:59 +00:00
Baptiste Coudurier
0299a87c41 change codec id if sample size field is set to 24 in stsd, fix Sony-mx5p.mov
Originally committed as revision 6371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-28 17:52:48 +00:00
Michael Niedermayer
5b11e08171 prevent infinite loop with VORC012.WMA
Originally committed as revision 6361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 21:19:47 +00:00
Måns Rullgård
191e8ca752 fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Måns Rullgård
0c6309225d remove useless memset()
Originally committed as revision 6353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:39:41 +00:00
Michael Niedermayer
730ba4067c fix r_frame_rate init code for groundhog.vob
Originally committed as revision 6345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 18:34:07 +00:00
Michael Niedermayer
6c17a956b4 drop broken telecine detection code
Originally committed as revision 6343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 18:03:17 +00:00
Michael Niedermayer
35eab0c043 reindent
Originally committed as revision 6342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 17:27:08 +00:00
Michael Niedermayer
5fb83c3844 dont ignore MAX_READ_SIZE
Originally committed as revision 6341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 17:25:28 +00:00
Michael Niedermayer
398f5d3f1d support forward seeking in non seekable streams
Originally committed as revision 6340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 17:09:03 +00:00
Michael Niedermayer
3b9a913db4 simplify seek() failure check
Originally committed as revision 6339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 16:09:56 +00:00
Kostya Shishkov
730581f3b4 WavPack lossless audio decoder
Originally committed as revision 6336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 03:41:51 +00:00
Michael Niedermayer
f40d17398d simplify url_fseek()
Originally committed as revision 6316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-22 10:03:04 +00:00
Roman Shaposhnik
f5a478f65d * Moving FifoBuffer out of libavformat/avformat.h and
libavformat/utils.c into libavutil

Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 07:31:53 +00:00
Michael Niedermayer
22668218f9 reduce scores if the mp3 frames dont start from the begin of the file (fixes flv deteted as mp3 issues)
Originally committed as revision 6304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 21:23:32 +00:00
Panagiotis Issaris
4ff8fcefd2 Migrate the "packetsize" OptionDef option to become an AVOption.
Originally committed as revision 6293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:24:17 +00:00
Panagiotis Issaris
09a455764b Migrate the "muxrate" OptionDef option to become an AVOption.
Originally committed as revision 6292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:23:01 +00:00
Nazo
aeb20f7f9d FLV seeking patch by Nazo. lovesyao at aol com.
Originally committed as revision 6285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-17 09:39:49 +00:00
Panagiotis Issaris
d4fc91b449 Split the DV demuxer and muxer into separate files (as suggested by Diego
Biurrun).

Originally committed as revision 6272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 19:14:24 +00:00
Michael Benjamin
1733fc4a6b Add support for 8-bit grayscale to V4L grabber
patch by Michael Benjamin % neuroptik AH gmail.com %
Original thread:
Date: Aug 24, 2006 5:40 PM
Subject: [Ffmpeg-devel] V4L grab.c patch for Grayscale

Originally committed as revision 6259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 11:17:41 +00:00
Philippe De Muyter
3c61983828 add support for grayscale rawvideo avi
patch by Philippe De Muyter %phdm A macqel P be%
Original thread:
Date: Sep 15, 2006 10:18 AM
Subject: [Ffmpeg-devel] [PATCH] ffmpeg does not recognize his own grayscale rawvideo avi's

Originally committed as revision 6255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-15 09:42:51 +00:00
Panagiotis Issaris
66acccf05f Make OFFSET() reuse offsetof
Originally committed as revision 6251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 13:51:54 +00:00
Panagiotis Issaris
5894991f94 Remove a redundant memset from libavformat.
Originally committed as revision 6250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 12:04:07 +00:00
Michael Niedermayer
d0702de9af 10l typo
Originally committed as revision 6240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 14:16:48 +00:00
Aurelien Jacobs
aa8f4cee32 add a VP6F fourcc for apps which rely on fourcc
Originally committed as revision 6232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-12 00:06:44 +00:00
Baptiste Coudurier
d70e3ff410 workaround for files, mainly d-cinema, with 0 sized tags especially UMID in source clip, 377M B.10,13 clearly mentions that this is non standard though
Originally committed as revision 6230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-11 22:05:43 +00:00
Panagiotis Issaris
8c3dd5dc9c Use and set sane AVOption defaults
Patch by Takis
Original thread:
Date: Sep 8, 2006 3:26 PM
Subject: [Ffmpeg-devel] [PATCH 2/2] Use and set sane AVOption defaults

Originally committed as revision 6227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 21:51:08 +00:00
Andreas Öman
abade1429e allow ffmpeg to read mp3s beginning with partial frames
Patch by Andreas Oman andreas A olebyn P nu
Original thread:
Date: Sep 10, 2006 7:26 AM
Subject: Re: [Ffmpeg-devel] [PATCH] allow ffmpeg to read mp3s beginning with partial frames

Originally committed as revision 6225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 20:31:58 +00:00
Panagiotis Issaris
73a8ceaa17 make AVOptions default value field work.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value

Originally committed as revision 6224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 20:21:40 +00:00
Diego Biurrun
04d7f60143 Add official LGPL license headers to the files that were missing them.
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 14:02:42 +00:00
Aurelien Jacobs
5ce117c37c VP5 and VP6 video decoder
Originally committed as revision 6213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 17:19:37 +00:00
Michael Niedermayer
0288a7474b AVPROBE_SCORE_MAX doc
Originally committed as revision 6206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 08:57:55 +00:00
Panagiotis Issaris
5e89b50b29 undefines a few temporary defines which were not undefined after their usage.
Patch by Panagiotis Issaris

Originally committed as revision 6205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 08:49:28 +00:00
Diego Biurrun
ec53e1109a Remove empty variable declaration.
Originally committed as revision 6199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 17:24:48 +00:00
Panagiotis Issaris
ec1b10f4b9 enable setting the year and track number using AVOption
Patch by Takis
Original thread:
Date: Sep 6, 2006 5:43 PM
Subject: [Ffmpeg-devel] [PATCH] Enhance genre, year and track tag
support

Originally committed as revision 6196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 12:28:28 +00:00
Panagiotis Issaris
57c244f6c7 makes avformat_get_context_defaults() static
when the next compatibility breaking change occurs, as suggested by
Michael Niedermayer here:
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/36377
Patch by Takis
Original thread:
Date: Sep 8, 2006 11:19 AM
Subject: [Ffmpeg-devel] [PATCH] Make avformat_get_context_defaults static

Originally committed as revision 6195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 12:12:38 +00:00
Michael Niedermayer
a41104f86a fix sound of SampleVideo.mov (mp2 in mov)
Originally committed as revision 6191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 20:19:37 +00:00
Panagiotis Issaris
2ad4648f97 Allow to get the the track number in the IPRT (part) tag in AVI.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 6, 2006 6:00 PM
Subject: [Ffmpeg-devel] [PATCH] Enable track tag in AVI

Originally committed as revision 6190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 16:35:22 +00:00
Panagiotis Issaris
2eb291c4bb Allow to store the the track number though the IPRT (part) tag in AVI.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be%
Original thread:
Date: Sep 6, 2006 6:00 PM
Subject: [Ffmpeg-devel] [PATCH] Enable track tag in AVI

Originally committed as revision 6189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 16:33:24 +00:00
Panagiotis Issaris
f0861f466f Better tag support:
- Make ffplay show comments and copyright info besides the current track, title, author, album, year and genre.
- Makes the AVI demuxer parse the album name stores in the IPRD tag by the AVI muxer.
Patch by takis P issaris A uhasselt P be
Original thread:
[Ffmpeg-devel] [PATCH] Better tag support
Date: 09/06/06 16:58

Originally committed as revision 6186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-07 08:09:15 +00:00
Javier Garcia
af5ba08e83 Allow RGB Raw encoding
Patch by Javier garcia % garcofra A hotmail P com %
Original thread:
Date: Aug 30, 2006 1:49 PM
Subject: [Ffmpeg-devel] [PATCH] RGB Raw ecoding

Originally committed as revision 6180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-06 09:00:11 +00:00
Michael Niedermayer
2c00106c2b ignore index parameter to ignore the ODML index in avi
Originally committed as revision 6177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 19:23:32 +00:00
Kostya Shishkov
eb57c88973 VMware Video decoder (fourcc: VMnc)
Originally committed as revision 6171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 04:37:14 +00:00
Baptiste Coudurier
ffb512e349 move track timescale/sampleDuration init to write_header and return error if not set
Originally committed as revision 6167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 14:22:44 +00:00
Michel Bardiaux
5c07cf535f Clarified API for numbered sequences, patch by Michel Bardiaux % mbardiaux A mediaxim P be %
Original thread:
Date: Aug 30, 2006 4:54 PM
Subject: [Ffmpeg-devel] [PATCH] Clarified API for numbered sequences

Originally committed as revision 6166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 09:57:47 +00:00
Kostya Shishkov
04ae12e91b WVC1 is now decodeable with VC-1 decoder.
Originally committed as revision 6163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 04:25:47 +00:00
Roman Shaposhnik
3c8f30a745 * Restructuring the division of labor between DV codec and DV format
[ Based on a patch by Brian Brice (bbrice at newtek dot com) ]

Originally committed as revision 6161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 03:33:11 +00:00
Diego Biurrun
efa4b887d5 Switch license from GPL to LGPL, this file originates from libdv, which
changed license from GPL to LGPL eventually, see
http://sourceforge.net/mailarchive/forum.php?thread_id=3320020&forum_id=5458

Originally committed as revision 6158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-03 18:51:10 +00:00
Måns Rullgård
0e176c3eb5 remove redundant declarations
Originally committed as revision 6153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-02 23:10:28 +00:00
David Conrad
2064c77ab9 Fix for AVI files with odd sized 'movi' list
Patch by David Conrad <davedc_@umbc.edu>
Original thread:
Date: Wed, 30 Aug 2006 15:12:35 -0400
Subject: [Ffmpeg-devel] [PATCH] Fix for AVI files with odd sized 'movi' list

Originally committed as revision 6140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-31 09:43:29 +00:00
Michael Niedermayer
504ee036ee fix b pyramid in mp4 muxing if no dts are provided to the muxer
Originally committed as revision 6133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-30 21:18:17 +00:00
Allan Sandfeld Jensen
c5e331155c add support for information in CDXA format
patch by Allan Sandfeld Jensen % kde A carewolf P com %
Original thread:
Date: Aug 18, 2006 6:33 PM
Subject: [Ffmpeg-devel] CDXA in libavformat [patch]

Originally committed as revision 6124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-29 12:03:07 +00:00
Guillaume Poirier
9dc5607b3c Add missing file from commit r6122 (AVISynth support)
Originally committed as revision 6123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-29 08:15:38 +00:00
Steve L'Homme
8ac17293d3 AVISynth support, patch by Steve Lhomme % slhomme A divxcorp P com %
Original Thread:
Date: Aug 16, 2006 11:45 PM
Subject: [Ffmpeg-devel] [PATCH] AVISynth support

Originally committed as revision 6122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-29 07:34:58 +00:00
Aurelien Jacobs
51ebd13654 ALT_BITSTREAM_READER_LE is obviously not needed for the tta demuxer, as there was a typo in the define
Originally committed as revision 6119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 18:53:10 +00:00
Nico Sabbi
ec6913d267 scan s->probesize packets instead of MAX_SCAN_PACKETS (that is still the default value)
Originally committed as revision 6110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 12:22:40 +00:00
Nico Sabbi
9e6c94707e added option probesize; at the moment only used by mpegts.c
Originally committed as revision 6109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 12:21:19 +00:00
Nico Sabbi
4eb72c6b23 initial support for AVOption in AVFormatContext
Originally committed as revision 6108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 12:14:13 +00:00
Michael Niedermayer
965a63af2b support some totally broken ODML variant
Originally committed as revision 6091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-25 20:50:18 +00:00
Baptiste Coudurier
c61900c6e9 fix mac3audio.mov, pcm_s8 and pcm_u8 can only have sample size of 1 and only if mono, dont rely on bits per sample which can be wrong
Originally committed as revision 6079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 18:39:57 +00:00
Baptiste Coudurier
acf36dba18 correct uid, and enable JPEG 2000 detection
Originally committed as revision 6078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 14:22:40 +00:00
Baptiste Coudurier
f31065f6e5 add codec id and tag for JPEG 2000
Originally committed as revision 6076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 14:13:57 +00:00
Baptiste Coudurier
5340a0bc9c wide atom is only defined in mov, use free for mp4/3gp
Originally committed as revision 6072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 10:32:09 +00:00
Baptiste Coudurier
b95319a2f2 move amr parameters adjusting like other codecs
Originally committed as revision 6071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 09:53:53 +00:00
Baptiste Coudurier
d00f8e1771 dont set width/height for h261/h263/mpeg4 since they are oftenly wrong, let decoder init them
Originally committed as revision 6069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 09:09:20 +00:00
Baptiste Coudurier
312954f056 put dv demuxing code around ifdef
Originally committed as revision 6066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 08:37:51 +00:00
Baptiste Coudurier
989ac5a685 put dv demuxing code around ifdef
Originally committed as revision 6065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 08:32:52 +00:00
Baptiste Coudurier
b60c04547c support vdva fourcc (dv + dv audio in mov)
Originally committed as revision 6064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 08:28:11 +00:00
Brian Brice
5bce834e84 fix ODML AVI Duration for files > 2GB
Patch by Brian Brice % bbrice A newtek P com %
Original thread:
Date: Aug 22, 2006 10:21 PM
Subject: [Ffmpeg-devel] [PATCH] ODML AVI Duration

Originally committed as revision 6063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 08:22:26 +00:00
Michael Niedermayer
52e5461288 fix fallback if theres no index
fix index less seeking

Originally committed as revision 6055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-23 20:24:58 +00:00
Michael Niedermayer
56c96a229b read and use index (based on a patch by John Donaghy on the 23-03-2006 '[Ffmpeg-devel] dvr-ms seek help request')
Originally committed as revision 6054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-23 17:07:01 +00:00
Steve L'Homme
052aa2ad3c value_num should also be 64bit (1 hunk from the asf seeking patch by DrDivx/Steve Lhomme)
Originally committed as revision 6053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-23 16:26:59 +00:00
Michael Niedermayer
7ad5455cd7 total_size should be 64bit (1 hunk of the asf seeking patch from DrDivx / Steve Lhomme)
Originally committed as revision 6052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-23 16:24:39 +00:00
Baptiste Coudurier
afbbe5e34f set correct first gop closed value
Originally committed as revision 6043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-21 15:49:08 +00:00
Baptiste Coudurier
2b7e230b10 rename closed_gop to first_gop_closed
Originally committed as revision 6042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-21 15:14:36 +00:00
Baptiste Coudurier
6a7eba1f07 init buffer
Originally committed as revision 6040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-21 13:57:12 +00:00
Benjamin Larsson
6c496518e8 Added codec id for QCELP.
Originally committed as revision 6036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-20 19:08:05 +00:00
Michael Niedermayer
955ab9a4d8 attribute_deprecated
Originally committed as revision 6033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-20 10:42:11 +00:00
Michael Niedermayer
a1c69e0b50 fix probing of 02-Penguin.flac
= a single startcode should not override extension based detection

Originally committed as revision 6025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-19 08:39:00 +00:00
David Conrad
57060f8936 AVI tag reading and writing patch by David Conrad.
umovimus at gmail dot com

Originally committed as revision 6022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 16:48:35 +00:00
Steve L'Homme
0b23d689d8 Add YV12 support, patch by Steve Lhomme % steve P lhomme A free P fr %
Original thread:
Date: Aug 17, 2006 5:45 PM
Subject: Re: [Ffmpeg-devel] [PATCH] AVISynth support

Originally committed as revision 6018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 07:55:08 +00:00
Diego Biurrun
7981555d89 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.

Originally committed as revision 6016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-17 16:32:08 +00:00
Baptiste Coudurier
201f1d4546 use packet dts as correct media field number and use av_interleave_pkt_per_dts
Originally committed as revision 5987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-12 00:18:58 +00:00
Baptiste Coudurier
81f0f93826 update documentation
Originally committed as revision 5985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 21:24:54 +00:00
Baptiste Coudurier
f21c0b4c43 export av_interleave_packet_per_dts
Originally committed as revision 5984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 21:21:51 +00:00
Baptiste Coudurier
7228914047 set elst start time to first pts
Originally committed as revision 5981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 09:27:40 +00:00
Baptiste Coudurier
b361ba2a45 fourcc cleanup
Originally committed as revision 5969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-09 12:11:32 +00:00
Baptiste Coudurier
61e3dd7865 enable 'NONE' audio fourcc
Originally committed as revision 5968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-09 12:10:25 +00:00
Baptiste Coudurier
76c9cb0a7a parse mpeg frame to get pict type and closed gop flag
Originally committed as revision 5967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-09 10:48:32 +00:00
David Conrad
8331891957 Support AAC audio in AVI with tag 0xff
Patch by David Conrad ( davedc_ | umbc edu )

Originally committed as revision 5963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 22:16:34 +00:00
Michael Niedermayer
494bbf5805 dont be too picky about timestampsbeing wrong if the destination container is without timestamps and raw of the raw video / raw audio sort
Originally committed as revision 5961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 20:31:19 +00:00
Michael Niedermayer
434cab9e0f timestamp debugging av_logs()
Originally committed as revision 5960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 19:55:32 +00:00
Michael Niedermayer
b9b18fbdea both timestamps are dts, (checked trailer.gxf, spec is unclear)
Originally committed as revision 5958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 18:02:09 +00:00
Diego Biurrun
ed4e20ac7f Fix some "'static' is not at beginning of declaration" warnings.
Originally committed as revision 5956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 10:24:26 +00:00
Baptiste Coudurier
2c5ad5fd74 use correct tag for h263 in mov
Originally committed as revision 5953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 15:48:26 +00:00
Baptiste Coudurier
87494ea03c detailed infos about d263 atom
Originally committed as revision 5952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 15:04:15 +00:00
Baptiste Coudurier
915282e5b8 indention
Originally committed as revision 5950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:19:33 +00:00
Baptiste Coudurier
5997ed786a only set fields for mov, reserved for 3gp, mp4
Originally committed as revision 5949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:18:43 +00:00
Baptiste Coudurier
80f05e7981 sampleSize field to 16, reserved for mp4 and 3gp
Originally committed as revision 5948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:15:05 +00:00
Baptiste Coudurier
86ca5710bb mp4, 3gp field is reserved and value is 2
Originally committed as revision 5947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:11:17 +00:00
Baptiste Coudurier
57ef6acc39 use ternary
Originally committed as revision 5946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:09:17 +00:00
Baptiste Coudurier
c096ebca48 vbr compression id is only used in mov
Originally committed as revision 5945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-07 14:06:23 +00:00
Baptiste Coudurier
634b8cfaf4 always write duration and file size, fix seeking, progress bar is now active
Originally committed as revision 5939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-06 15:29:50 +00:00
Baptiste Coudurier
2965f17b4f sample size is 1 if bits per sample is 8 and mono channel
Originally committed as revision 5920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 16:22:01 +00:00
Baptiste Coudurier
f8503792f0 revert r5909, dont use non constant static variable, breaks multithreaded apps
Originally committed as revision 5917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 15:33:48 +00:00
Baptiste Coudurier
e1dacee11e parse SONY hidden MPEG-4 extradata, fix C0023S01.mxf
Originally committed as revision 5910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 12:31:15 +00:00
Baptiste Coudurier
61ca932e4a skip run-in sequence before reading header
Originally committed as revision 5909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 12:08:06 +00:00
Baptiste Coudurier
49b6f16239 again, disable DEBUG
Originally committed as revision 5908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:59:38 +00:00
Baptiste Coudurier
f0d4729212 10l, check container_ul existence
Originally committed as revision 5907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:57:28 +00:00
Baptiste Coudurier
c2e8805441 remove duplicate code
Originally committed as revision 5906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:28:08 +00:00
Baptiste Coudurier
3bb63b822f attempt to demux clip wrapped content
Originally committed as revision 5905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:21:54 +00:00
Baptiste Coudurier
8c5002db17 add codec detection based on essence container ul
Originally committed as revision 5904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 09:14:56 +00:00
Baptiste Coudurier
d2cdbd5f18 resolve strong refs in parse_structural_metadata since objects may not be ordered, use object oriented approach
Originally committed as revision 5892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 15:02:42 +00:00
Baptiste Coudurier
51a0a721ab remove unneeded audio fourcc as well
Originally committed as revision 5889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 10:37:10 +00:00
Reimar Döffinger
0019b662ae Minor resync optimization
Originally committed as revision 5888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 09:59:10 +00:00
Luca Abeni
20dd25adc3 Do not set the codec's pixel format in the format's write_header()
Originally committed as revision 5887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 09:48:05 +00:00
Baptiste Coudurier
e81e3ced6d do not set unneeded fourcc
Originally committed as revision 5886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 08:45:10 +00:00
Baptiste Coudurier
7fe4744bcd fix ending null entry in table
Originally committed as revision 5885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 22:30:15 +00:00
Baptiste Coudurier
28f1280820 more codecs uls
Originally committed as revision 5883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 17:00:27 +00:00
Baptiste Coudurier
e40ee6a268 move common code from mov.c and movenc.c to isom.c
Originally committed as revision 5882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 14:58:15 +00:00
Baptiste Coudurier
986c2ccb19 add some useful debug info
Originally committed as revision 5881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 13:43:24 +00:00
Reimar Döffinger
907a051009 Support for seeking, both with and without index and correct timestamps
Originally committed as revision 5880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 10:19:25 +00:00
Baptiste Coudurier
0e15b7b0dd negative to_pad won't provoke infinite loop
Originally committed as revision 5879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 10:00:12 +00:00
Baptiste Coudurier
3068f1c813 avoid reading beyond packet size
Originally committed as revision 5878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 09:56:27 +00:00
Baptiste Coudurier
ba32c8dfd9 skip run-in sequence during probe
Originally committed as revision 5876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 00:32:47 +00:00
Baptiste Coudurier
b92c61e08c simplify using function table
Originally committed as revision 5871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 15:26:33 +00:00
Baptiste Coudurier
53512a22cb parse aes3 audio descriptor
Originally committed as revision 5870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 09:46:05 +00:00
Baptiste Coudurier
6c6ec47a0e use parenthesis around value
Originally committed as revision 5866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-30 15:30:00 +00:00
Reimar Döffinger
adb0208bf2 Fix typo in comment
Originally committed as revision 5865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-30 14:44:38 +00:00
Kohn Emil Dan
b6eaae39b4 The reader ignores the size of the ASF data object and keeps on
reading even beyond it.
Therefore if the ASF file includes an index object at its end, the
reader will treat the index like data, but of course will fail since
it thinks that the data is corrupted.
When reading an asf file with an index object, ffmpeg will
complain at the end of the file that it read an invalid header.
Patch by Kohn Emil Dan, < emild A cs P technion P ac P il >
Original thead:
Date: Apr 18, 2006 4:11 PM
Subject: [Ffmpeg-devel] Two ASF related bugs and fixes

Originally committed as revision 5857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 16:07:19 +00:00
Baptiste Coudurier
ea3a790e0d add information about codec uls
Originally committed as revision 5856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:36:13 +00:00
Baptiste Coudurier
7d2a0d3120 another MPEG-2 long gop codec ul
Originally committed as revision 5855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:31:27 +00:00
Baptiste Coudurier
649084c310 another MPEG-2 long gop codec ul
Originally committed as revision 5854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:25:08 +00:00
Baptiste Coudurier
59b5673853 add uncompressed picture support
Originally committed as revision 5853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:19:31 +00:00
Baptiste Coudurier
8ce2215b23 parse rgba descriptor (jpeg2000, uncompressed)
Originally committed as revision 5852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 14:00:47 +00:00
Baptiste Coudurier
54a3360b20 add common codecs uls
Originally committed as revision 5851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:40:04 +00:00
Baptiste Coudurier
eec3fec094 simplify PRINT_KEY
Originally committed as revision 5850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:23:56 +00:00
Baptiste Coudurier
6d0c3bebc7 add some debug infos
Originally committed as revision 5849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:18:24 +00:00
Baptiste Coudurier
f03b6426df get rid of DECLARED_ALIGNED
Originally committed as revision 5848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:13:08 +00:00
Stefan Gehrer
67630cff64 add new tag 'CAVS' for Chinese AVS codec
Originally committed as revision 5847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 08:50:29 +00:00
Baptiste Coudurier
dd15f9bf48 cosmetics
Originally committed as revision 5842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:10:03 +00:00
Baptiste Coudurier
b752222439 use ternary
Originally committed as revision 5841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:07:03 +00:00
Baptiste Coudurier
834bff48cb remove useless variables
Originally committed as revision 5840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:03:00 +00:00
Baptiste Coudurier
e076173f67 rename variables
Originally committed as revision 5839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:00:53 +00:00
Baptiste Coudurier
5e441e31cc add error messages
Originally committed as revision 5838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 22:53:15 +00:00
Baptiste Coudurier
743d772c61 demuxer reworked, more accurate parsing, prepare handling of other operational patterns, streaming demuxing, simplified codec detection
Originally committed as revision 5837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 22:42:31 +00:00
Baptiste Coudurier
4bfff76814 declare and use UID type
Originally committed as revision 5836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 18:18:12 +00:00
Reimar Döffinger
7c87a2f0c0 Set duration to AV_NOPTS_VALUE instead of 0 when unknown.
Set start_time to 0 when duration is known to indicate we have
valid timestamps for this track.

Originally committed as revision 5835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 13:31:08 +00:00
Diego Biurrun
538389c981 Fix FSF postal address.
Originally committed as revision 5829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-26 01:12:26 +00:00
Baptiste Coudurier
07bf2af864 MXF demuxer
Originally committed as revision 5826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-25 14:30:14 +00:00
Reimar Döffinger
22ffac707e Try to find out correct start time to make seeking faster and add some
extra checks to make sure the seeking function will not hang forever.

Originally committed as revision 5814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-23 18:19:33 +00:00
Michael Niedermayer
ccb159940b fix regression failure after adler simplification
Originally committed as revision 5803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-20 10:22:07 +00:00
Baptiste Coudurier
86329cce04 GXF muxer
Originally committed as revision 5787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 09:38:22 +00:00
Michael Niedermayer
1d94a6620f simplify
Originally committed as revision 5786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 08:39:50 +00:00
I. Po
cfc4bd4695 Fix memleak, patch by I. Po % yyymmmm # gmail O com %
Original thread:
Date: Jul 18, 2006 3:49 PM
Subject: Re: [Ffmpeg-devel] [PATCH] http.c: http_connect() memleak

Originally committed as revision 5785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 08:06:24 +00:00
Michael Niedermayer
7028259a0d simplify b64_encode()
maybe this should be moved to libavutil ...

Originally committed as revision 5782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-18 18:51:35 +00:00
Michael Niedermayer
fd0fb3064d add header info to flv format based on a patch by (Philipp Klaus >ffmpegdevel ad pylonsoft mot ch )
Originally committed as revision 5779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 21:51:21 +00:00
Matthieu Castet
116d866ca5 fix playback of theora.ogg on mphq patch by (matthieu castet %% castet dat matthieu ot free dat fr %%)
Originally committed as revision 5776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-17 10:44:53 +00:00
Måns Rullgård
4b65d88fd7 replace -D_GNU_SOURCE with -D_ISOC9X_SOURCE to avoid accidental use
of gnu extensions

Originally committed as revision 5733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 23:10:01 +00:00
Måns Rullgård
b9a73d8d2f move adler32 to libavutil
Originally committed as revision 5731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 21:29:01 +00:00
Víctor Paesa
5894e1bbf2 add loop_input to AVFormatContext, getting rid of old hack
patch by Víctor Paesa <wzrlpy at arsystel com>

Originally committed as revision 5729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 21:13:49 +00:00
Måns Rullgård
ebd7617ba7 add lost raw pcm input/output formats
Originally committed as revision 5726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-13 08:05:42 +00:00
Måns Rullgård
3ab60c830a nut needs crc.o
Originally committed as revision 5721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 00:10:12 +00:00
Måns Rullgård
9d9f4119bd move common stuff from avienc.c and wav.c to new file riff.c
Originally committed as revision 5720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 00:09:34 +00:00
Diego Biurrun
2f30a81d19 CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
CONFIG_MINGW or __MINGW32__ instead.

Originally committed as revision 5718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 21:45:45 +00:00
Diego Biurrun
8a85f46d2b CONFIG_AIFF_DEMUXER vs CONFIG_AIFF_MUXER typo
Originally committed as revision 5708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-11 00:53:55 +00:00
Måns Rullgård
ff70e60176 allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 21:14:37 +00:00
Baptiste Coudurier
2ec7b29b98 assign exact codec id, needed when stream copy
Originally committed as revision 5705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 12:10:10 +00:00
Måns Rullgård
d2a067d1d9 give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
Michael Niedermayer
a7702890bd remove STATS code (probably hasnt been used for years ..., and its not completely clear what it was good for anyway)
Originally committed as revision 5689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 10:33:49 +00:00
Baptiste Coudurier
4990951be8 simplify, use LE_32, BE_32 macros
Originally committed as revision 5682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 23:23:47 +00:00
Nico Sabbi
2eb1a65d91 Etsi identifies DTS audio with stream_private+descriptor 0x7b (in the PMT).
This patch permits to recognize these streams but it's untested for
lack of samples.

Patch by Nico Sabbi <nicola_sabbi at fastwebnet it>

Originally committed as revision 5671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 16:25:45 +00:00
Baptiste Coudurier
cfca95f14d clean up useless code
Originally committed as revision 5669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 13:36:31 +00:00
Baptiste Coudurier
1f1890c754 better handling of partial files
Originally committed as revision 5668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 12:58:50 +00:00
Baptiste Coudurier
b72708f8f3 new mov_read_packet, mov_read_seek, fix seeking in ni mov, fix demuxing adpcm
Originally committed as revision 5667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 12:14:41 +00:00
Aurelien Jacobs
f1b163e01e set proper bits_per_sample value for ADPCM codecs
Originally committed as revision 5666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 07:14:00 +00:00
Aurelien Jacobs
5da714699d simplify the voc demuxer using av_get_bits_per_sample()
Originally committed as revision 5663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 22:42:36 +00:00
Baptiste Coudurier
ac3e183403 av_get_bits_per_sample and due simplifications
Originally committed as revision 5661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 17:50:09 +00:00
Baptiste Coudurier
e8d2507c1a add MS ADPCM fourcc
Originally committed as revision 5655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 09:43:46 +00:00
Baptiste Coudurier
e7cc4b52f9 skip others fourcc, if present
Originally committed as revision 5654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 08:56:05 +00:00
Baptiste Coudurier
421de2575b clean
Originally committed as revision 5653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 08:45:50 +00:00
Baptiste Coudurier
06fcf56c50 typo fix
Originally committed as revision 5642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 14:57:55 +00:00
Baptiste Coudurier
875f92876a 10l, all modes is 0x81FF
Originally committed as revision 5641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 14:46:01 +00:00
Baptiste Coudurier
b7d9da100d simplify and write correct values conforming to specs
Originally committed as revision 5640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 14:38:50 +00:00
Michael Niedermayer
2111e3f9f2 check for unparsed AMR input
Originally committed as revision 5637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 12:27:43 +00:00
Michael Niedermayer
9a39cd35b8 vbr requires version=1 and samplesize=0 per QT spec
untested, but if this doesnt work the issue is likely somewhere else, as iam just chaning the random nonsense we do to what the spec says should be done

Originally committed as revision 5636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-06 12:17:01 +00:00
Gianluigi Tiesi
277e84f564 Fix compilation with --disable-muxers.
patch by Gianluigi Tiesi, mplayer==at==netfarm==dot==it

Originally committed as revision 5632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 22:01:49 +00:00
Diego Biurrun
f130fd4630 cosmetics: Break overly long lines.
Originally committed as revision 5622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-05 14:12:00 +00:00
Baptiste Coudurier
5cb49ca11b write exact values for audio stsd v1
Originally committed as revision 5606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-04 14:03:59 +00:00
Måns Rullgård
83d0731364 attempt to detect Chinese AVS video
Originally committed as revision 5604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 21:40:01 +00:00
Reimar Döffinger
cc0bc648f0 add GXF demuxer
Originally committed as revision 5598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 16:32:57 +00:00
Måns Rullgård
26b891356c kill warnings
Originally committed as revision 5586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 19:35:07 +00:00
Guillaume Poirier
c99ddfa42a Woops, this file was supposed to be added in r5556: "Move initialisations and internal symbols in allformats.h"
Originally committed as revision 5560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 08:26:29 +00:00
Diego Pettenò
e006c307fe Move initialisations and internal symbols in allformats.h,
patch by Diego "Flameeyes" Petteno flameeyes AA gentoo PP org
Original thread:
Date: Jun 30, 2006 2:07 AM
Subject: [Ffmpeg-devel] [PATCH] Move initialisations and internal symbols in allformats.h

Originally committed as revision 5556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 07:41:25 +00:00
Måns Rullgård
62c52121e0 extradata may be used as bitstream reader input so allocate with padding
Originally committed as revision 5547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 19:42:34 +00:00
Måns Rullgård
25c533a2c2 detect audio-only program streams and broken files made by VDR
Originally committed as revision 5546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 19:03:53 +00:00
Måns Rullgård
344a18c3b8 do not fail av_find_stream_info() if params for all streams could not be found
Originally committed as revision 5545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 19:02:15 +00:00
Måns Rullgård
19e0e403f3 detect MPEG PES streams as MPEG PS; the PS demuxer will cope
Originally committed as revision 5540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-28 21:40:08 +00:00
Luca Abeni
76a77ff291 Properly set the image depth
Originally committed as revision 5538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-28 12:18:22 +00:00
Michael Niedermayer
b582d7ba4d dont read over the end of a data chunk and at the end search for the next
Originally committed as revision 5537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-28 10:51:56 +00:00
Luca Barbato
f3a30e3a9c cleanup patch from Diego Pettenò <flameeyes@gentoo.org>
Originally committed as revision 5526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 17:37:12 +00:00
Måns Rullgård
ea02862a9b s/u_char/uint8_t/ accidentally copied from tcvp
Originally committed as revision 5524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 12:46:01 +00:00
Måns Rullgård
40c5e1fa2e 10l: don't allocate a new buffer quite so often
Originally committed as revision 5523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 12:23:54 +00:00
Måns Rullgård
12a195e32f cleaned up buffer management
Originally committed as revision 5522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 00:41:13 +00:00
Baptiste Coudurier
42fb414804 check only existing streams
Originally committed as revision 5521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 00:10:52 +00:00
Luca Barbato
24e1591036 minor cleanup
Originally committed as revision 5518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 20:09:49 +00:00
Baptiste Coudurier
0aec3c5cbf simplify
Originally committed as revision 5517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-24 18:09:20 +00:00
Stefan Huehner
ea138e978a Remove unused variable, patch by Stefan Huehner stefan__at__huehner__dot__org.
Originally committed as revision 5506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 22:19:11 +00:00
Måns Rullgård
c10824ea67 increase search limit in av_find_stream_info
Originally committed as revision 5505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 19:46:09 +00:00
Måns Rullgård
d8bee8dd1c allow packets with non-zero PES_scrambling_control
Originally committed as revision 5499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-19 22:20:38 +00:00
Baptiste Coudurier
aa1c1c615a fix aac in mov for ipod
Originally committed as revision 5498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-19 11:28:28 +00:00
Stefan Huehner
7b49ce2e34 Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org

Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-18 11:33:14 +00:00
Stefan Huehner
a97c1e93aa Add (mostly) const to variable and parameter declaration, where a char* was
used and 'const char*' should be, plus make some function declarations
static if they aren't used outside their declaring source file.
patch by Stefan Huehner stefan%%at%%huehner%%dot%%org

Originally committed as revision 5492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 15:53:23 +00:00
Måns Rullgård
79d1ec9129 use standard codec tag if the specified tag is out of range and would be
truncated

Originally committed as revision 5488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-16 20:45:29 +00:00
Diego Biurrun
2c8e201429 Fix compilation with all combinations of --disable-(de)muxers.
Originally committed as revision 5485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-16 10:06:57 +00:00
Måns Rullgård
a5e9102b4b free codec extradata in av_close_input_file
Originally committed as revision 5484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-16 07:54:37 +00:00
Baptiste Coudurier
47dd81c75f make dump_format output more homogenous
Originally committed as revision 5483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-15 23:26:48 +00:00
Baptiste Coudurier
05edc1a75a export all tracks to libavformat layer
Originally committed as revision 5482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-15 23:22:32 +00:00
R. Brian Anderson
eaddc4717b Fix segfault
Patch by R. Brian Anderson (andersrb AT cliftonlabs DOT com)

Originally committed as revision 5480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-15 15:15:20 +00:00
Luca Abeni
3c47c1744a Fix typo
Originally committed as revision 5478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-15 07:36:57 +00:00
Michael Niedermayer
b7b225581f dont load the index if we cant seek back
Originally committed as revision 5475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-14 00:32:10 +00:00
Baptiste Coudurier
ef4c8bbfb7 check fseek return value
Originally committed as revision 5474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-13 23:13:59 +00:00
Baptiste Coudurier
c3daf8d833 fix unused computed value
Originally committed as revision 5473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-13 22:49:05 +00:00
Baptiste Coudurier
543eebd568 fix mp3 muxing
Originally committed as revision 5472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-13 14:38:44 +00:00
Michael Niedermayer
329b1e755e fix probe of high bitrate mpeg2video
Originally committed as revision 5471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-13 11:10:55 +00:00
Baptiste Coudurier
a2fe3b5869 simplify, completely ignore streams not recognized, that fixes seeking for some files
Originally committed as revision 5468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-12 13:09:19 +00:00
Reimar Döffinger
a7b286e89c read_packet return value must be < 0 when no packet is returned, including EOF.
Originally committed as revision 5466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-11 10:09:33 +00:00
Diego Biurrun
38f0d3ce76 Add support for GNU/kFreeBSD systems.
patch from Petr Salinger submitted by Sam Hocevar

Originally committed as revision 5464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-10 12:30:51 +00:00
Måns Rullgård
dc4ed3b141 probe for mpeg audio
Originally committed as revision 5457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-05 22:41:14 +00:00
Roberto Togni
a9d4a6ef34 rm_read_audio_stream_info return type is not void
Check for errors returned by rm_read_audio_stream_info
Check for overflow in aac extradata allocation

Originally committed as revision 5455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-04 21:01:02 +00:00
Roberto Togni
a194f595c8 Support for AAC (fourcc raac and racp) in rm files
Originally committed as revision 5454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-04 17:26:58 +00:00
Måns Rullgård
56466d7b4e fix seek related bugs
Originally committed as revision 5453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-04 15:06:18 +00:00
Måns Rullgård
42225a3058 remove redundant make variable SUBDIR
Originally committed as revision 5442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-01 21:57:44 +00:00
Benjamin Larsson
0919e788ae Flash Screen Video decoder (fourcc:FSV1)
Originally committed as revision 5436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-01 07:31:59 +00:00
Luca Abeni
f743a06236 Include the correct video4linux2 header
Originally committed as revision 5430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-30 13:04:18 +00:00
Michael Niedermayer
ac2750ec79 suggest solution for 2 fixmies
Originally committed as revision 5415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-27 20:56:14 +00:00
Diego Biurrun
16862398a2 Remove all .cvsignore files, they are no longer necessary.
Originally committed as revision 5410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-26 15:37:11 +00:00
Michael Niedermayer
7cf0e16f96 fixing title on PSP (0x60 != 'a') someone needs a 10x10km ascii table ...
merging some related stuff from mobilehackers

Originally committed as revision 5406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-19 01:53:59 +00:00
Michael Niedermayer
ed90d370ec dont store mov style meta tags in mp4 (fixes ffmpeg -title + gtkpod)
Originally committed as revision 5405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-18 23:32:42 +00:00
Michael Niedermayer
6f276720ac dont write LAVF_ID if bitexact and any meta tag is set
Originally committed as revision 5404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-18 23:03:16 +00:00
Michael Niedermayer
efda33957f simplify meta tag writing code
Originally committed as revision 5403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-18 22:49:27 +00:00
Baptiste Coudurier
dae5b496fd fix seeking, typo provoking hard segfault
Originally committed as revision 5402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-18 15:18:25 +00:00
Baptiste Coudurier
c7e63546dc fix keyframe check, stss might be there but count set to 0
Originally committed as revision 5401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-18 15:17:09 +00:00
Diego Biurrun
c4052af07d Add MPEG FourCC for MPEG-2 video.
Originally committed as revision 5391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-17 21:52:38 +00:00
Kostya Shishkov
386b9b5f53 Proper PTS generation for Smacker audio
Originally committed as revision 5390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-17 03:05:34 +00:00
Kostya Shishkov
103eee5352 Now MPlayer should understand Smacker audio and video codecs.
Originally committed as revision 5389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-17 03:03:53 +00:00
Baptiste Coudurier
2c95f59f06 fix avc nal parsing
Originally committed as revision 5382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-15 17:11:50 +00:00
Baptiste Coudurier
a959f0ea7a fix pcm_s24be demuxing, simplify
Originally committed as revision 5381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-15 12:38:33 +00:00
Baptiste Coudurier
ed70a5099e add quicktime uncompressed 8bit 4:2:2 support
Originally committed as revision 5379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-14 14:21:06 +00:00
Baptiste Coudurier
5e0c720a4e fix mulaw muxing
Originally committed as revision 5378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 23:47:29 +00:00
Baptiste Coudurier
6dd19fff4d do not write wave if not needed
Originally committed as revision 5377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 22:25:17 +00:00
Baptiste Coudurier
3a72cbd9f0 fix AMR muxing in mov
Originally committed as revision 5376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 21:00:52 +00:00
Baptiste Coudurier
fcef991a85 add pcm 24/32 le/be support
Originally committed as revision 5375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 20:05:02 +00:00
Michael Niedermayer
08db8f1846 simplify
Originally committed as revision 5374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 18:45:29 +00:00
Baptiste Coudurier
039627cf48 clean and simplify
Originally committed as revision 5373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 18:01:16 +00:00
Michael Niedermayer
a443a2530d sanity checks some might have been exploitable
Originally committed as revision 5370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-13 11:37:56 +00:00
Justin Ruggles
ce1d2a95c3 Raw flac muxer, patch by Justin Ruggles (jruggle earthlink net). Can be
used with "-acodec copy" to either copy a flac file verbatim or extract
the raw flac from an ogg-flac file.

Originally committed as revision 5368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-12 15:13:51 +00:00
Måns Rullgård
3644cb8ff9 set stream time_base properly
Originally committed as revision 5367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-12 00:50:43 +00:00
Måns Rullgård
e1203ac098 ogm demuxing
Originally committed as revision 5365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-11 23:07:22 +00:00
Baptiste Coudurier
b565ea09c7 fix spliting chunks, simplify
Originally committed as revision 5363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-11 21:29:37 +00:00
Baptiste Coudurier
b451719e07 simplify, amr.c sets frame_size to 160, and sample size is always 8000
Originally committed as revision 5359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-10 18:00:16 +00:00
Baptiste Coudurier
9c09db541e fix damr atom, needed for quicktime player
Originally committed as revision 5358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-10 17:56:39 +00:00
Baptiste Coudurier
bfc2a19d7a 10l, undef DEBUG
Originally committed as revision 5354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-09 22:10:17 +00:00
Baptiste Coudurier
750b4aaabb assing correct codec_id for mjpegb
Originally committed as revision 5353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-09 22:07:49 +00:00
Benjamin Larsson
89ca8c497f Add support for raw flac decoding based on the .flac suffix of input files.
Originally committed as revision 5352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-09 12:34:35 +00:00
Diego Biurrun
60827a1a80 Further simplify AMR build.
Originally committed as revision 5347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-06 10:57:38 +00:00
Flavio Pimentel Duarte
c787ba854e Fix v4l grabbing with some webcams, and simplify the code.
Patch by Flavio Pimentel Duarte

Originally committed as revision 5343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-04 12:23:12 +00:00
Baptiste Coudurier
a20da52cbf skip null fourcc, fix ep2_mystery_m640_dummy.mov
Originally committed as revision 5340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-01 15:52:57 +00:00
Oded Shimon
9d4461b9f2 Disable lavf NUT until it is synced to spec
Originally committed as revision 5312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-23 13:47:13 +00:00
Alex Beregszaszi
c2ea5f060c report to user if mmf with midi found (and not supported)
Originally committed as revision 5308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 22:17:11 +00:00
Reimar Döffinger
50a6c318b2 Avoid crash if there is a rtjpeg quant header but no video stream in file
Originally committed as revision 5305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 10:38:15 +00:00
Baptiste Coudurier
3cb4ee5124 set width and height even for mpeg4, pix_fmt to NONE will force decoding anwyay
Originally committed as revision 5303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 14:18:13 +00:00
Baptiste Coudurier
b6c1bfe097 add AVID DV fourcc
Originally committed as revision 5302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 12:56:28 +00:00
Baptiste Coudurier
e0977c8045 indention
Originally committed as revision 5301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 12:53:47 +00:00
Baptiste Coudurier
5c72cad888 always skip garbage at end of atom
Originally committed as revision 5300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 12:51:58 +00:00
Baptiste Coudurier
98d12b09af move declaration to mov.h
Originally committed as revision 5299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 10:02:41 +00:00
Diego Biurrun
2cf30841b5 Have EXTRALIBS appear after other link options, fixes shared build on Cygwin.
based on patch by Marcus Engene, ffmpeg AATT engene DDOOTT se

Originally committed as revision 5295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 15:05:53 +00:00
Baptiste Coudurier
5616f85deb clean and simplify mov_write_packet
Originally committed as revision 5289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 10:51:32 +00:00
Baptiste Coudurier
611fd605a3 get avcC profile and level indication from sps (from handbrake)
Originally committed as revision 5287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 09:54:17 +00:00
Baptiste Coudurier
18c697acce write mdat in write_header avoid check in write_packet
Originally committed as revision 5286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-13 13:21:20 +00:00
Baptiste Coudurier
32ba6fb141 dont write stss atom if keyframes only
Originally committed as revision 5284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-11 08:12:54 +00:00
Baptiste Coudurier
a336965e70 fix edts for tracks without b frames
Originally committed as revision 5282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 17:04:22 +00:00
Kostya Shishkov
fd7b199199 KMVC (used in Worms games) decoder. Works fine with samples from MPHQ
Originally committed as revision 5273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 16:59:57 +00:00
Kostya Shishkov
1c6606e2d0 Fix demuxing of AVIs with pad streams.
Originally committed as revision 5271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-06 03:33:10 +00:00
Michael Niedermayer
87b041e0f0 little h.264 related hunk from diff between cvs and mobile hackerz
Originally committed as revision 5268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 17:44:59 +00:00
Michael Niedermayer
9e282ba382 the PSP rejects video with too high bitrates so lets claim they arent too high ...
Originally committed as revision 5267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 12:58:56 +00:00
Roman Shaposhnik
c4e7baa85c * fixing DV-in-AVI type1 packet production bug
Originally committed as revision 5262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-01 23:13:53 +00:00
Måns Rullgård
9d9b432ae9 This patch simply adds demuxing support for AC-3 streams in DVB TS
files.  In these streams AC-3 is given type 0x06 (private stream) and
includes a descriptor with either tag 0x6A or 0x7A.  The code already
handles ATSC AC-3 which uses stream type 0x81.  All the new patch does
is look for any stream type 0x06 that has a descriptor with the proper
tag (i.e. 0x6A or 0x7A) and if found forces it to be recognized as an
AC-3 stream.
From Andy Brown <abrown at daqtron com>

Originally committed as revision 5260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-01 19:02:40 +00:00
Måns Rullgård
00a6b92bdd fix memory leak on mpegts close
found by Andy Brown <abrown at daqtron com>

Originally committed as revision 5259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-01 18:19:00 +00:00
D Richard Felker III
f880199375 fix constraint violation: libavformat is not allowed to modify state of caller, including rng state
Originally committed as revision 5249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 16:44:32 +00:00
Reimar Döffinger
dfca23e361 NuppelVideo/MythTVVideo support, including rtjpeg decoder
Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 22:22:50 +00:00
Baptiste Coudurier
4f6a6e1f81 skip 0byte packets
Originally committed as revision 5231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 16:43:04 +00:00
Baptiste Coudurier
b0519015f0 ignore wrong negative cts values created by quicktime
Originally committed as revision 5229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 16:19:51 +00:00
Baptiste Coudurier
302ed0ddcd flush packets
Originally committed as revision 5226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 10:36:22 +00:00
Baptiste Coudurier
3ed73c46ca let vorbis decoder init too, fix mi2_vorbis51.mp4
Originally committed as revision 5223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 17:05:28 +00:00
Baptiste Coudurier
e31bd3e309 add mp3on4 detection, fix red.mp4
Originally committed as revision 5222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 16:54:53 +00:00
Baptiste Coudurier
94ede53e57 fix double free, priv_data is freed in av_open_input_stream
Originally committed as revision 5221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 14:06:00 +00:00
Baptiste Coudurier
a3a80ddca0 use 64bit atom version if needed
Originally committed as revision 5220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 13:34:51 +00:00
Michael Niedermayer
d766800b78 dont set random timestamps if they are not known
Originally committed as revision 5219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 19:51:12 +00:00
Michael Niedermayer
78a11456a1 fixing timebase
Originally committed as revision 5218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 19:40:27 +00:00
Steve L'Homme
662710ed35 Rename time variable to the more descriptive block_time.
patch by Steve Lhomme steve.....lhomme..@..free.....fr

Originally committed as revision 5216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 13:37:34 +00:00
Baptiste Coudurier
ec04d244b5 let faad init parameters properly, fix many SBR samples
Originally committed as revision 5212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 17:03:49 +00:00
Baptiste Coudurier
99487f42b1 fix demuxing of CDR-Dinner_LAN_800k.mp4
Originally committed as revision 5211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 16:52:56 +00:00
Baptiste Coudurier
e1017f2b87 need to dissociate pcm 16bit and 8bit cases
Originally committed as revision 5210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 16:01:00 +00:00
Baptiste Coudurier
67dd33f90e use av_d2q to parse frame rate
Originally committed as revision 5209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 15:47:44 +00:00
Baptiste Coudurier
0dd39bfe5d Quicktime creates S8 that way too
Originally committed as revision 5208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 15:38:15 +00:00
Baptiste Coudurier
a66abcb1b5 vorbis seems to be 221, decodes borgcube_vorbis20.mp4, demux mi2_vorbis51.mp4 though not decoded properly (5:1), 249608749a89.3g2 is 225 and is Qclp
Originally committed as revision 5207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 15:25:43 +00:00
Baptiste Coudurier
7e815047e5 use 64bit types
Originally committed as revision 5202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-23 12:11:51 +00:00
Baptiste Coudurier
3cdc7eb474 dvcpro is 411p in fact
Originally committed as revision 5199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 16:49:05 +00:00
Steve L'Homme
d439facb3d duration and subitle fix from the patch by Steve Lhomme
Originally committed as revision 5196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 11:11:02 +00:00
Michael Niedermayer
70596d04a8 cleanup codec_id mapping (untested)
Originally committed as revision 5195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 11:06:08 +00:00
Baptiste Coudurier
f444b977a5 clean
Originally committed as revision 5194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 10:56:51 +00:00
Baptiste Coudurier
1175561e19 support 64bit date/duration
Originally committed as revision 5193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 10:45:04 +00:00
Michael Niedermayer
68ca39b21a fix aspect ratio
Originally committed as revision 5192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 10:33:21 +00:00
Michael Niedermayer
8fcdd831f4 fixing current_sample vs. next_sample mess
Originally committed as revision 5190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 18:32:58 +00:00
Kostya Shishkov
348efc1836 Smacker demuxer and decoder.
Originally committed as revision 5189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 17:27:47 +00:00
Michael Niedermayer
305ee50fbb provide more info on which streams lack codec parameters
Originally committed as revision 5188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 11:29:50 +00:00
Diego Biurrun
b0e6636b2d Reenable NUT and NUT regression tests as requested by Michael.
Originally committed as revision 5177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 23:21:18 +00:00
Diego Biurrun
8859312001 Disable the NUT (de)muxer until it has been synced with the specification.
Originally committed as revision 5174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 00:47:48 +00:00
Michael Niedermayer
dbdaebe28d extract duration
Originally committed as revision 5171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-16 17:04:31 +00:00
Baptiste Coudurier
f4c7b001ab fix sample size for uncompressed sound
Originally committed as revision 5165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-14 00:25:46 +00:00
Luca Abeni
60023e3234 Do not be too verbose
Originally committed as revision 5161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 09:48:32 +00:00
Luca Abeni
11b9c0f4d3 Tell the user why video capture is failing
Originally committed as revision 5160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 09:47:37 +00:00
Baptiste Coudurier
576f144529 indention
Originally committed as revision 5156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 23:55:34 +00:00
Baptiste Coudurier
6f2741f4a8 use of PRI macros in dprintf
Originally committed as revision 5154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 15:43:22 +00:00
Baptiste Coudurier
5148a2aeeb fix conversion types in dprintf
Originally committed as revision 5153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 13:38:56 +00:00
Baptiste Coudurier
0ab16fe09d fix a warning when DEBUG is defined
Originally committed as revision 5152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 18:43:10 +00:00
Baptiste Coudurier
c6e722e5e9 create edts atom when muxing B frames, needed to compute cts
Originally committed as revision 5151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 18:21:28 +00:00
Baptiste Coudurier
c1b8e6d8a8 do nal reformating when muxing H264, create avcc atom
Originally committed as revision 5150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 18:18:17 +00:00
Michael Niedermayer
70a61ed4e4 some mov files have invalid pts so we need to consider these pts too in calculating the timabase
Originally committed as revision 5149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 11:30:07 +00:00
Kostya Shishkov
d82da3a880 More correct demuxing and timestamp setting fot Sierra VMD
Originally committed as revision 5148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 04:27:58 +00:00
Michael Niedermayer
c04c3282b4 simplify AVFormatParameters NULL checks
Originally committed as revision 5146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:22:21 +00:00
Diego Biurrun
6c953a6af3 Use AV_LOG_DEBUG loglevel instead of AV_LOG_ERROR where appropriate.
Originally committed as revision 5128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 21:51:39 +00:00
Steve L'Homme
267f7edcd1 (f)printf --> av_log conversion
taken from a patch by Steve L'Homme

Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 11:43:10 +00:00
Baptiste Coudurier
8e32161943 correct computing of DV fourcc in mov muxer
Patch by Baptiste COUDURIER, baptiste <<dot>> coudurier <<at>> smartjog <<dot>> com

Originally committed as revision 5124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 00:39:23 +00:00
Baptiste Coudurier
6e2695947d set track timescale to mov timescale if 0 patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 22:15:43 +00:00
Baptiste Coudurier
79c343c024 referencing more FCP fourccs patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 21:29:48 +00:00
Baptiste Coudurier
fc5188f3d1 add support for Motion JPEG 2000 file format patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 21:22:02 +00:00
Michael Niedermayer
43a80ccee5 generic crc calculation code
Originally committed as revision 5115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 14:13:01 +00:00
Daniel Maas
0b297700b7 DVCPRO50 support.
Patch by Daniel Maas dmaas at maasdigital dot com

Originally committed as revision 5113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 08:54:33 +00:00
Baptiste Coudurier
6a045bf3bd Support mov stsd atom version 2.
Patch by Baptiste COUDURIER, baptiste <<dot>> coudurier <<at>> smartjog <<dot>> com

Originally committed as revision 5106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 01:13:13 +00:00
Michael Niedermayer
61452d5637 fixing total_frames
Originally committed as revision 5101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 20:44:35 +00:00
Michael Niedermayer
98740f5a79 indention
Originally committed as revision 5100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 20:08:01 +00:00
Michael Niedermayer
38cf2a723c timebase fix
Originally committed as revision 5099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 19:50:21 +00:00
Baptiste Coudurier
26f86eaf03 ftyp patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 19:28:35 +00:00
Michael Niedermayer
b72a2bc82f dwstart support
Originally committed as revision 5097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 14:50:31 +00:00
Michael Niedermayer
e84dab5f57 fixing demuxing of minorityreport.AVI
Originally committed as revision 5096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 14:27:41 +00:00
Baptiste Coudurier
1522767d0d compute output format before setting language patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 01:37:38 +00:00
François Revol
7581c5f50c fix debug code: do not try to take st->codec if st is NULL. This makes ffplay give me pics from FreeBoxTV \o/
Originally committed as revision 5090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 22:45:27 +00:00
Måns Rullgård
e01dc227f3 can't have PES headers in MPEG video elementary streams so fail probe
if we see one

Originally committed as revision 5089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 20:09:44 +00:00
Michael Niedermayer
8945ebb9c1 fixing av sync in videotest.avi (index doesnt match chunks, header doesnt indicate that)
Originally committed as revision 5088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 16:11:04 +00:00
Michael Niedermayer
115e8ae577 support seeking in RenderAvi.avi (audio stream == single huge chunk)
Originally committed as revision 5087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 15:42:07 +00:00
Michael Niedermayer
8223bca50d 10l forgot to set packet_size
Originally committed as revision 5086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 15:21:53 +00:00
Michael Niedermayer
1894edeb74 fix demuxing of XviD_with_3_AAC-HE_audio_streams.avi
Originally committed as revision 5085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 12:04:22 +00:00
Michael Niedermayer
5c89153e90 add movi_list offset into index
Originally committed as revision 5084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 11:41:16 +00:00
Michael Niedermayer
30a43f2d09 add size to AVIndex
Originally committed as revision 5083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 11:29:55 +00:00
Benjamin Larsson
26d6d03270 Set 'MJLS' FOURCC for JPEG-LS in AVI and documentation fix. Patch by
kostya shishkov - gmail - com.

Originally committed as revision 5082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 07:42:55 +00:00
Michael Niedermayer
94d1d6c02d ODML index parsing support
Originally committed as revision 5081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 01:32:32 +00:00
Michael Niedermayer
9eb40bcf41 replace if by assert as it should never by true
Originally committed as revision 5080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 01:29:12 +00:00
Luca Abeni
24300af416 Add support for drivers that can change the capture size on VIDIOC_S_FMT
Originally committed as revision 5076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 11:28:09 +00:00
Flavio Pimentel Duarte
2b63c22255 Error path fix: close the video device on failure
Original patch by Flavio Pimentel Duarte (flaviop AT land DOT ufrj DOT br)

Originally committed as revision 5075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 11:14:59 +00:00
Alex Beregszaszi
c16601bb8e print a hint when trying V4L2 on V4L device
Originally committed as revision 5065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-26 13:22:32 +00:00
Måns Rullgård
1bd8624697 kill some warnings
Originally committed as revision 5063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:41:31 +00:00
Baptiste Coudurier
b4712e3c8b CTTS support patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com>)
Originally committed as revision 5051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-22 23:46:20 +00:00
Alex Beregszaszi
571fa53105 support correct ptses on other than version 3.2.0 aswell
Originally committed as revision 5047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-22 00:18:12 +00:00
Alex Beregszaszi
fb7a2bf695 check for CODEC_ID_NONE instead 0, tobe compatible with movenc.c and possible CODEC_ID_NONE value change
Originally committed as revision 5043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 20:32:47 +00:00
Baptiste Coudurier
de23f234df Cleans reading stsd audio, and makes it more generic patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com>)
Originally committed as revision 5038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-19 20:00:00 +00:00
Julian Scheid
a7f41f91e7 The current_sample field is meant to be the sample number, not an offset into
the sample data.  Don't increment it by multiples of sc->sample_size.
patch by Julian Scheid, julian _-at-_ sektor37 _-dot-_ de

Originally committed as revision 5037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-19 12:49:17 +00:00
Michael Niedermayer
c2ca19d7f9 RMP4 ("xvid fork") decoding support
Originally committed as revision 5035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-19 10:20:27 +00:00
Baptiste Coudurier
73920f079a simplify mov_read_hdlr patch by (Baptiste COUDURIER <baptiste.coudurier 0 smartjog o com>)
Originally committed as revision 5033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-18 09:08:34 +00:00
Baptiste Coudurier
bd12d3e9dc add 'in32' fourcc support patch by (Baptiste COUDURIER <baptiste.coudurier 0 smartjog o com>)
Originally committed as revision 5032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-18 09:05:07 +00:00
Baptiste Coudurier
4ea28253b6 add mov_read_ftyp to check iso media file type and set c->mp4 patch by (Baptiste COUDURIER <baptiste.coudurier 0 smartjog o com>)
Originally committed as revision 5031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-18 09:03:22 +00:00
Luca Abeni
8cecedfbe8 ff_asts_init needs to be inside #ifdef CONFIG_MUXERS, remove some misplaced
CONFIG_MUXERS from adtsenc.c, fixes compilation with --disable-muxers.
patch by Luca Abeni, lucabe72 &at& email &dot& it

Originally committed as revision 5030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-17 21:06:51 +00:00
Mike Melanson
2637670144 complete AVS playback system (from Creature Shock computer game),
courtesy of Aurelien Jacobs <aurel at gnuage dot org>

Originally committed as revision 5028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-17 03:17:42 +00:00
Aurelien Jacobs
2433f24f60 add Creative 8 bits ADPCM schemes support
Originally committed as revision 5024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-16 00:09:23 +00:00
Michael Niedermayer
dcadd216f1 mov fourccs for handling FCP files by (Baptiste COUDURIER )(baptiste.coudurier smartjog com)
Originally committed as revision 5023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-14 23:21:17 +00:00
Måns Rullgård
8b2121e3de move common parts of makefiles into common.mak
Originally committed as revision 5015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 12:53:25 +00:00
Alex Beregszaszi
aa11db2f23 10l, allocate bitbuffer with regard to the padding size
Originally committed as revision 5014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 12:05:06 +00:00
Michael Niedermayer
3253c51f3d useless code removal by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-13 10:40:41 +00:00
Michael Niedermayer
75b5b63179 fix demuxing of Video006.3gp
Originally committed as revision 5006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 15:06:03 +00:00
Baptiste Coudurier
232d8a1fba mov split chunks removal patch by (Baptiste COUDURIER / baptiste.coudurier smartjog com>
Originally committed as revision 5005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 14:53:47 +00:00
Michael Niedermayer
dbb4f00a2c 10l for myself
Originally committed as revision 5004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 14:50:53 +00:00
Baptiste Coudurier
4e5ef14f0a mov debug clean patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 5001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 10:24:43 +00:00
Mike Melanson
9c8d8e84e0 dosbox native ZMBV decoder, courtesy of Kostya
Originally committed as revision 5000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 08:53:29 +00:00
Mike Melanson
4e114829b1 complete American Laser Games MM playback system, courtesy of Peter Ross
(suxen_drol at hotmail dot com)

Originally committed as revision 4999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 06:49:40 +00:00
Alex Beregszaszi
6df84c3ad4 10l, fails to compile when debug enabled
Originally committed as revision 4998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 02:24:37 +00:00
Alex Beregszaszi
aafaeabb47 tta demuxer, also usable for moving tta audio data into an other container
Originally committed as revision 4997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-12 02:18:37 +00:00
Michael Niedermayer
3840147e12 stsd fix by (Baptiste COUDURIER )baptiste.coudurier smartjog com)
Originally committed as revision 4994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 21:43:21 +00:00
Diego Biurrun
a050253f8c Use the incdir variable.
Originally committed as revision 4990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 20:51:26 +00:00
Diego Biurrun
dc2a1ce5c0 Simplify header installation.
Originally committed as revision 4986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 19:30:55 +00:00
Diego Biurrun
b12f8273fa Separate library install into static and shared installation.
Originally committed as revision 4983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 18:50:45 +00:00
Baptiste Coudurier
e60b4ced1f mp4 codecs objecttype handling patch by (Baptiste COUDURIER <baptiste.coudurier smartjog com)
Originally committed as revision 4982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 18:27:57 +00:00
Diego Biurrun
f29f3b5d9f Separate header file installation from the general install target.
Originally committed as revision 4981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 17:44:06 +00:00
Michael Niedermayer
5e43b17e7c Fix for url_fclose() being called on an already closed file based on a patch by (<Colin Ward> hitman codehq org)
Originally committed as revision 4980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 17:17:37 +00:00
Michael Niedermayer
0b2bb3543f mpeg-ps probe 2nd try
Originally committed as revision 4974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 09:27:00 +00:00
Måns Rullgård
a283db3962 generate adts frame headers if required
Originally committed as revision 4970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-10 01:24:32 +00:00
Aurelien Jacobs
b96532e970 voc: set bits_per_sample correctly (fix mplayer playback)
Originally committed as revision 4968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 23:53:07 +00:00
Aurelien Jacobs
ea395e8c6c add a Creative VOC (de)muxer
Originally committed as revision 4967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-09 22:52:23 +00:00
Michael Niedermayer
9870a7bdb8 replace probe() by one similar to MPEG-ES
Originally committed as revision 4964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 17:35:44 +00:00
Colin Ward
72fbc5092a Move CONIG_MUXERS below struct frame_attributes, it's not muxer-specific.
patch by Colin Ward, hitman*at*codehq*dot*org

Originally committed as revision 4962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 15:39:12 +00:00
Luca Abeni
ad97e414e2 Correctly set the interlaced_frame and top_field_first fields.
patch by Luca Abeni, lucabe72 =at= email =dot= it

Originally committed as revision 4961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 11:54:05 +00:00
Diego Biurrun
064cf25155 typo
Originally committed as revision 4960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 11:43:47 +00:00
Måns Rullgård
4accd1fd18 bump version numbers and update docs for adts aac support
Originally committed as revision 4957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 01:11:48 +00:00
Måns Rullgård
fda885c703 read/write adts aac
Originally committed as revision 4955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-08 00:51:55 +00:00
Michael Niedermayer
8f0df75438 3rd try for mpeg-es probe ...
Originally committed as revision 4938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 16:57:58 +00:00
Michael Niedermayer
efac2613e7 fix regression tests
Originally committed as revision 4932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-04 02:05:51 +00:00
Michael Niedermayer
cd7352d5aa simplify timebase if possible
ignore edit lists instead of always failing

Originally committed as revision 4930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 20:56:35 +00:00
Michael Niedermayer
9f75260e68 improve fps guessing code
Originally committed as revision 4929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 20:54:41 +00:00
Michael Niedermayer
53f7c43fcc sanity checks for seeking
Originally committed as revision 4927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 19:23:33 +00:00
Michael Niedermayer
f11288dab4 AIFF format support by (Patrick Guimond <patg a.t patg d.o.t homeunix d.o.t org)
Originally committed as revision 4924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 15:21:19 +00:00
Michael Niedermayer
93d3e278cd improve mpeg1/2-es detection
Originally committed as revision 4923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 13:56:42 +00:00
Michael Niedermayer
e2a5fd2049 os2 thread, network and freetype2 support by (Paul Smedley | paulat a t smedleydot d o t info)
Originally committed as revision 4922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 13:07:30 +00:00
Michael Niedermayer
a877eedce5 dynamically increase probe buffer until format is detected
Originally committed as revision 4920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 11:27:35 +00:00
Luca Abeni
0a7b514f13 video4linux2 input support
patch by Luca Abeni, lucabe72 $$at$$ email $$dot$$ it

Originally committed as revision 4916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-01 11:31:33 +00:00
Dieter
a851b8e898 add missing #includes
patch by Dieter <freebsd at sopwith solgatos com>

Originally committed as revision 4912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 23:32:14 +00:00
Diego Biurrun
320d060ae9 On MinGW it is not possible to build shared and static libraries at once.
Add means to disable building the static libraries and fix a few issues
with the MinGW build.
All the hard work done by Alexander Strasser, minor changes by myself.

Originally committed as revision 4909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-30 00:22:41 +00:00
Diego Biurrun
c0af384013 Simplify LDFLAGS handling for MinGW.
Originally committed as revision 4907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-29 18:32:55 +00:00
Diego Biurrun
04c07634d6 Remove obscure Makefile.bak entry from distclean rules.
Originally committed as revision 4901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-26 23:42:30 +00:00
Fabien Cosse
d9d434b839 Add fourcc "SEDG" for MPEG-4 files produced by Samsung VP-M110 Miniket
camcorder

Patch by Fabien Cosse *** fabien ! cosse !a! wanadoo ! fr ***

Originally committed as revision 4900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-26 19:42:45 +00:00
Diego Biurrun
f038fe8b4a warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it
Originally committed as revision 4898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 22:10:13 +00:00
Michael Niedermayer
82e415b1fc avoid using non constant fields of AVCodecContext in avi muxer
Originally committed as revision 4897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 17:14:16 +00:00
Michael Niedermayer
378251ad08 try avi video name -> codec_id mapping if the mov one has no match
Originally committed as revision 4896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 16:04:31 +00:00
Diego Biurrun
4f59b684a6 Remove all stray tabs and trailing whitespace, this time for good.
Originally committed as revision 4891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-24 10:33:14 +00:00
Benjamin Larsson
dcfdb046ee Fix for title field in PSP compatible mp4 files. Patch by
Olivier, oandrieu <at> gmail.com.

Originally committed as revision 4889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-24 08:03:42 +00:00
Benjamin Larsson
ed06cf6d1d gcc 2.95 fix
Originally committed as revision 4887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-23 14:28:50 +00:00
Michael Niedermayer
b29af723de >4gb fixes by (Dirk Musfeldt | d.musfeldt meilenstein de)
Originally committed as revision 4886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-23 14:12:03 +00:00
Diego Biurrun
fdc7b57042 Skip all includes for WinCE, instead of falling through to the #else case.
Originally committed as revision 4884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-23 00:57:59 +00:00
Gildas Bazin
ac44871c77 WinCE cross-compilation support
patch by Gildas Bazin < gbazin **@** altern **.** org >

Originally committed as revision 4881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-22 18:34:17 +00:00
Gianluigi Tiesi
0e6c947df3 Place proper #ifdef around muxer-specific code.
patch by Gianluigi Tiesi < mplayer at@at netfarm dot.dot it >

Originally committed as revision 4880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-22 13:50:59 +00:00
Gildas Bazin
04f46ced8c Add --disable-protocols option to configure to disable I/O protocol from
libavformat.  Also fix build with --disable-muxers and --disable-ffserver.
patch by Gildas Bazin < gbazin **@** altern **.** org >

Originally committed as revision 4879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-21 18:36:32 +00:00
Michael Niedermayer
88141c9192 audio in dvr-ms demuxing support by (John Donaghy <johnfdonaghy gmail com<)
Originally committed as revision 4874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-20 23:48:16 +00:00
Diego Biurrun
8228bff5c6 Put muxer-specific code parts in #ifdef CONFIG_MUXERS.
based on a patch by Luca Abeni <  lucabe72  #@#  email  #.#  it  >

Originally committed as revision 4871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-19 23:36:50 +00:00
Gildas Bazin
6d276a9e91 Properly #ifdef muxer-specific parts.
Taken from a patch by Gildas Bazin < gbazin -- @@ -- altern -- . -- org >

Originally committed as revision 4869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-19 22:30:37 +00:00
Michael Niedermayer
d271481f1a pts fix by (Bryan Mayland / bmayland O leoninedev o com)
Originally committed as revision 4867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-19 00:54:10 +00:00
Diego Biurrun
98013cc16c Make clean/distclean consistent throughout all the Makefiles.
Originally committed as revision 4863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-16 14:59:54 +00:00
Diego Biurrun
29a10be0d4 Don't use 'rm -f *$(SLIBSUF)' in a clean rule, $(SLIBSUF) might be empty.
Remove all possible shared libs suffixes instead.

Originally committed as revision 4860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-15 00:28:36 +00:00
Diego Biurrun
4bdd05e76f Move library name generation to configure, simplifies build system a bit more.
Originally committed as revision 4856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 15:54:58 +00:00
Diego Biurrun
f3b6010916 Create symbolic links for all library sonames and clean up Makefiles.
based on a patch by Luca Barbato < lu_zero -- at -- gentoo -- dot -- org >

Originally committed as revision 4851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-14 03:39:02 +00:00
Diego Biurrun
5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
fb3d46da69 Move Darwin shared library build peculiarities to configure.
Originally committed as revision 4838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 00:00:00 +00:00
Reimar Döffinger
e0f80bd744 CamStudio decoder, only 32 bit lzo mode is tested
Originally committed as revision 4836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-09 15:41:39 +00:00
Diego Biurrun
bf3027c87b TrueSpeech compatible audio decoder by Konstantin Shishkov
Originally committed as revision 4803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-03 02:30:38 +00:00
Nico Sabbi
27c748b576 try with auto_guess if first detection fails
Originally committed as revision 4802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-02 20:27:15 +00:00
Nico Sabbi
5d4d67e0ff added support for DVHS (192) packet size
Originally committed as revision 4801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-02 20:13:24 +00:00
François Revol
ab561df995 finally found what those >138 codes were... crappy compressed 5bit ascii. this gets them correctly, and adds setting track lang in movenc too.
Originally committed as revision 4792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 20:34:08 +00:00
François Revol
b9a87c4d6c fix parsing version 1 mdhd atom (64 bit) as suggested by b-o-n-d AT gmx DOT net (unstested); added code to map language codes to stream->language[]
Originally committed as revision 4791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 18:25:46 +00:00
Roberto Togni
c69e7914be Support for 28_8 in old ar. files
Originally committed as revision 4772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-25 00:48:12 +00:00
Diego Biurrun
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Roberto Togni
1e4668d160 Fix for Real "old" files version 3 with no 4cc. Fixes thankyou144.ra
Based on patch by "mkhodor7 <-> yahoo | com"

Originally committed as revision 4759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-19 20:49:00 +00:00
Diego Biurrun
115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Jindřich Makovička
d76319b1ab malloc padding to avoid reading past the malloc()ed area.
Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz)

Originally committed as revision 4748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 17:57:03 +00:00
Michael Niedermayer
dcb2fb79b7 total == 0 seems like it should be valid (based upon patch by Steve Lhomme | slhomme divxcorp com)
Originally committed as revision 4745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 11:27:37 +00:00
Michael Niedermayer
780eb1c9b9 nan fps fix
Originally committed as revision 4744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-16 15:51:16 +00:00
Måns Rullgård
4733abcbf3 use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:56:46 +00:00
Luca Barbato
5a872801d5 SONAME support for shared libs
patch by Luca Barbato < .. lu_zero .. @@ .. gentoo .. . .. org .. >

Originally committed as revision 4730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-10 17:14:24 +00:00
Benjamin Larsson
e0f7e32970 Cook compatibe decoder, patch by Benjamin Larsson
Add cook demucing, change rm demuxer so that it reorders audio packets
before sending them to the decoder, and send minimum decodeable sized
packets; pass only real codec extradata fo the decoder
Fix 28_8 decoder for the new demuxer strategy

Originally committed as revision 4726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-09 16:08:18 +00:00
Diego Biurrun
6f72dcf7e7 Unify include paths, -I.. is in CFLAGS.
Originally committed as revision 4720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-05 20:44:56 +00:00
Måns Rullgård
2e70e4aa57 ogg format probe function by Ivo <ivop at euronet nl>
Originally committed as revision 4719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-05 00:15:51 +00:00
Guillaume Poirier
0bb0289c3a add some h.264 fourccs to codec_bmp_tags[]
Originally committed as revision 4712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-30 10:50:13 +00:00
Måns Rullgård
9fa62f2aad BMP image decoder
Originally committed as revision 4711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-30 01:40:50 +00:00
Corey Hickey
1fd7ec4412 DTS is 0x2001 according to: http://www1.mplayerhq.hu/MPlayer/DOCS/codecs-status.html
Patch by Corey Hickey < bugfood DAH ml AH fatooh POIS org >

Originally committed as revision 4700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 09:18:14 +00:00
Alex Beregszaszi
a2a2668d57 Support for streaming: dont write indexes and dont signal HAS_INDEX in header. Also set filesize to max in this case.
Originally committed as revision 4698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 03:32:12 +00:00
Alex Beregszaszi
2fde8aaeba support transcoding adpcm
Originally committed as revision 4689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-12 20:01:23 +00:00
Fredrik Orderud
25f8db58ee Put double-quotes around the install path in the "install-headers" section
of the makefiles for libavcodec, libavformat and libavutil.
Fixes installing into paths with spaces in them, i.e. Windows.
patch by Fredrik Orderud < fredrik . orderud -- at -- idi . ntnu . no >

Originally committed as revision 4680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-07 01:32:29 +00:00
Michael Niedermayer
840fb7a76d per frame crc support
Originally committed as revision 4677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 00:10:22 +00:00
Michael Niedermayer
31e11451f7 allow NULL write_header() and write_trailer()
Originally committed as revision 4675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-04 23:50:11 +00:00
Alex Beregszaszi
84c63c013a Ingenient MJPEG support, more at http://www.artificis.hu/files/texts/ingenient.txt
Originally committed as revision 4671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-29 00:52:02 +00:00
Patrice Bensoussan
fa379405bb Fix asf header decoding issue, patch by < patrice -- bensoussan AH gmail -- com >
http://avifile.sourceforge.net/asf-1.0.htm has more info about asf headers
Original thread:
Date: Oct 22, 2005 11:44 PM
Subject: [Ffmpeg-devel] [PATCH] Fix asf header decoding issue

Originally committed as revision 4663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-26 12:15:09 +00:00
Roberto Togni
f9c7872c66 Increase version: 'wave' atom parsing added to mov demuxer
Originally committed as revision 4655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-20 20:06:16 +00:00
Roberto Togni
d9b1c197e5 QDM2 compatible decoder
Originally committed as revision 4649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-18 20:16:43 +00:00
Mike Melanson
515ae4760a support for FLX and DTA extensions in the FLIC format, courtesy of
Steven Johnson (mplayer -at- sakuraindustries.com)

Originally committed as revision 4639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-13 04:35:31 +00:00
Mike Melanson
64af6168f7 Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 4638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-13 04:31:55 +00:00
Alex Beregszaszi
26aa0f8956 fix feed read_header, avoid using put_tag in write_header, to be consistent with read_header, also some minor cosmetics
Originally committed as revision 4636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 23:25:15 +00:00
Alex Beregszaszi
4209fad989 lame bit_rate calculation
Originally committed as revision 4632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:35:06 +00:00
j@v2v.cc
c99dd23307 Move all definitions of external dependencies into configure instead of
defining it in configure and the Makefiles in a random fashion.
patch by j -- at -- v2v -- dot -- cc

Originally committed as revision 4628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-04 11:19:08 +00:00
Diego Biurrun
4e159595b5 support for building dynamic libraries on Mac OS X
based on a patch by Lina Pezzella <J4rg0n -- at -- gentoo -- dot -- org>

Originally committed as revision 4616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-26 10:05:13 +00:00
Diego Biurrun
a9e3509529 Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.

Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-23 00:25:41 +00:00
Aurelien Jacobs
62ab0b7822 fix unused variable warnings
Originally committed as revision 4609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 23:09:16 +00:00
Diego Biurrun
4bc113a937 Misplaced #ifdef, the MMFContext struct is needed outside CONFIG_ENCODERS.
Originally committed as revision 4604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 23:52:29 +00:00
Michael Niedermayer
2118901192 print more time_base fps stuff if av_log level is at debug or above
print more likely correct fps
not sure if this is formated optimally ...

Originally committed as revision 4596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 14:45:17 +00:00
Michael Niedermayer
a26e1d4c1f checksum doesnt cover the forward_ptr anymore
Originally committed as revision 4579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 08:32:25 +00:00
Michael Niedermayer
177e5460b9 forward_ptr doesnt contain its own length anymore
Originally committed as revision 4578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 08:28:03 +00:00
Michael Niedermayer
da7272b335 set time_base as soon as time_scale is known instead of in a unrelated chunck which might be missing
Originally committed as revision 4569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 22:50:58 +00:00
Måns Rullgård
79396ac685 Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:25:35 +00:00
Michael Niedermayer
d57d8cbc25 a few more raw yuv fourccs
Originally committed as revision 4565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 15:02:43 +00:00
Michael Niedermayer
302c389e4f sample_rate value is not always correct (is there anything in quicktime which is?) so try to guess it from time_scale
Originally committed as revision 4558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 21:04:25 +00:00
Diego Biurrun
d156a7b7f1 typo: viedo --> video
Originally committed as revision 4553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-03 12:57:21 +00:00
Reimar Döffinger
b93f738fde Support D-Cinema audio demuxing.
Originally committed as revision 4549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:18:59 +00:00
Reimar Döffinger
b461b3bc4a Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:16:48 +00:00
Michael Niedermayer
4325ffd0a2 lowres support
Originally committed as revision 4545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 08:30:26 +00:00
Michael Niedermayer
5b28c8c355 time_base description by Rich Felker | dalias, aerifal cx
Originally committed as revision 4536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 22:31:01 +00:00
Alexander Strasser
30545b2f47 Make ogg `muxer' expect new vorbis extradata format.
This makes for example encoding vorbis in ogg again.

Originally committed as revision 4528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 20:42:56 +00:00
Michael Niedermayer
7cbaa7bafa parse pict_type for streams in avi
fix mpeg4 parser so it outputs te pict_type
support header only parseing without repacking

Originally committed as revision 4527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 15:58:21 +00:00
Michael Niedermayer
30bc6613fe support fixing missing pts by parsing future frames
Originally committed as revision 4526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 14:22:43 +00:00
Wolfram Gloger
f0ff20a197 minor fixes for invalid audio data patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 16:37:29 +00:00
Michael Niedermayer
9450118bc7 a few checks, seems i forgot to commit this
Originally committed as revision 4523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 16:19:20 +00:00
Måns Rullgård
bf4e3bd2d0 kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Michael Niedermayer
8341e4e338 set timebase correctly? this thing is always 15fps?
Originally committed as revision 4519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 21:56:57 +00:00
Steven M. Schultz
2fcb1a5bf4 '#elseif' needs to be '#elif' patch by ("Steven M. Schultz": sms, 2BSD COM)
Originally committed as revision 4510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 16:17:50 +00:00
Måns Rullgård
a71a1dfc37 fix building in separate directory
Originally committed as revision 4509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 13:45:42 +00:00
Alex Beregszaszi
9c633e9a6f FreeBSD ipv6 multicast patch from ports tree
Originally committed as revision 4507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-12 14:01:03 +00:00
Sam Hocevar
9f747cc328 minor compilation fix
A few files are not in sync with the change of AVStream's codec
member from inline struct to pointer.
patch by (Sam Hocevar: sam, zoy org)

Originally committed as revision 4505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-11 22:26:12 +00:00
Alexander Strasser
dbbcfd6bc3 Fix building shared version of lavf on some systems.
Originally committed as revision 4504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-11 22:16:25 +00:00
Mike Brown
ae38261ee8 changes to ignore command media embedded in MS WMV files patch by ("Brown, Mike": mikeb, vibephone com)
Originally committed as revision 4501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-10 23:41:20 +00:00
Alexander Strasser
c11c2bc20b libavutil: Utility code from libavcodec moved to a separate library.
Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 20:07:05 +00:00
Michael Niedermayer
5aa083eec1 A.B.C versions
Originally committed as revision 4486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-31 10:51:04 +00:00
Michael Niedermayer
47627aec61 round pointer up to next packet_size multiple
Originally committed as revision 4479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 07:31:40 +00:00
Michael Niedermayer
760fb54f7c mpeg1video m bit fix by (Luca Abeni: lucabe72, email it)
Originally committed as revision 4470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-23 21:52:41 +00:00
Luca Abeni
003640635a MPEG4 streaming over RTP patch by (Luca Abeni: lucabe72, email it)
Originally committed as revision 4469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-23 21:48:58 +00:00
Hans Zandbelt
276358c1c4 udp ipv6 localhost resolving patch by ("Hans Zandbelt": Hans Zandbelt, telin nl)
Originally committed as revision 4463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-21 21:10:23 +00:00
Michael Niedermayer
8baa661498 more non portable float parsing code ...
Originally committed as revision 4462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 15:32:43 +00:00
Michael Niedermayer
7cb8f314db remove non portable get/put_be64_double()
Originally committed as revision 4461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 14:50:22 +00:00
Michael Niedermayer
a254c5745b kill duplicated get/put_be24()
Originally committed as revision 4460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 14:41:08 +00:00
Michael Niedermayer
dd9f59160e extract duration if available
Originally committed as revision 4459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 14:26:41 +00:00
Michael Niedermayer
01f4895c68 changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 22:24:36 +00:00
Michael Niedermayer
c6ec28b18c DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 00:28:12 +00:00
Vidar Madsen
93a2362752 Yamaha SMAF file format support patch by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-15 12:50:00 +00:00
Vidar Madsen
694eaead0c Yamaha ADPCM in wav patch by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-15 09:14:25 +00:00
Michael Niedermayer
8c3eba7c62 skip_idct
skip_frame
skip_loop_filter

Originally committed as revision 4440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:39:36 +00:00
Benjamin Larsson
58379c062f printf-> av_log patch by (Benjamin Larsson, banan: student ltu se)
Originally committed as revision 4437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-13 10:18:35 +00:00
Michael Niedermayer
e0827ba440 .m1v and .m2a (feature req #1178960)
Originally committed as revision 4431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 01:16:47 +00:00
Niki W. Waibel
56b04ceb47 compiling using nonstd include/library locations / add LDFLAGS to a few places patch by (Niki W. Waibel - nikiwaibel)
Originally committed as revision 4429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 00:15:37 +00:00
Michael Niedermayer
c6fa36cf58 remove -f singlejpeg as its identical to -f mjpeg
Originally committed as revision 4428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-10 10:28:59 +00:00
Jan Kratochvil
11bec29441 AMR-WB for 3GPP patch by (Jan Kratochvil - kratochvil) / bugreport #1187101
Originally committed as revision 4427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-10 00:38:46 +00:00
Kenneth Aafløy
6fd93ce271 avformat/av_seek_frame_binary with growing file patch by (Kenneth Aafløy: kenneth, aafloy net)
Originally committed as revision 4423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-08 09:14:05 +00:00
Michael Niedermayer
9c98cdbc8a av_seek_frame() docs timestamp clarification
Originally committed as revision 4422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-05 09:07:51 +00:00
Michael Niedermayer
ba5697d53b .264
Originally committed as revision 4421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-03 14:57:23 +00:00
Alex Beregszaszi
98d82b22c8 10l
Originally committed as revision 4420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 22:00:36 +00:00
Alex Beregszaszi
e227d197e4 tell the user if compressed swf found
Originally committed as revision 4419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 21:59:33 +00:00
Aurelien Jacobs
a3075830f2 add hdv2 fourcc to MPEG2 codec mapping
Originally committed as revision 4412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-30 11:42:17 +00:00
Michael Niedermayer
2577897d2b fix assertion failure
Originally committed as revision 4411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-29 08:48:26 +00:00
Michael Niedermayer
33785a3a9d RTCP_* conflict with live.com and they seem not to be used anywhere so commenting them out
Originally committed as revision 4406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 14:51:56 +00:00
Daniel Kristjansson
e36bdf8bf5 part of the 'libavformat/utils.c doxygen documentation' patch by (Daniel Kristjansson: danielk, cat nyu edu)
Originally committed as revision 4405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 12:55:08 +00:00
Michael Niedermayer
43c0040a65 dont open and close codec at every call of try_decode_frame() as this is not only slow but also fails if the previous frame is needed for setting some parameters correctly
Originally committed as revision 4400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 20:54:36 +00:00
Michael Niedermayer
edfaf6de29 better dont read the width/height at all, its random anyway
Originally committed as revision 4398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 07:09:48 +00:00
Michael Niedermayer
80581e9887 x86_64 + PIC fix by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:55:29 +00:00
Michael Niedermayer
16423e179b nut prefers extradata style global headers
Originally committed as revision 4396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:24:34 +00:00
Michael Niedermayer
90ad92b39d support changing in bitstream global headers into extradata style and back
Originally committed as revision 4395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:04:03 +00:00
Roberto Togni
3a1d8db354 Theora fourcc
Originally committed as revision 4393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-26 20:26:47 +00:00
Michael Niedermayer
6beefa4085 *BSD bktr grab support by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-25 09:04:08 +00:00
Michael Niedermayer
961e0ccdca another chapter in the neverending mov demuxer cleanup
a timebase isnt an average frame rate neither can highlevel (considering edit lists) duration be mixed with lowlevel ones

Originally committed as revision 4391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-24 11:43:08 +00:00
Michael Niedermayer
b4b87d4841 AVStream.nb_frames and docs for r_frame_rate
Originally committed as revision 4390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-24 11:38:22 +00:00
Michael Niedermayer
724dc20cf9 typo
Originally committed as revision 4387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-23 00:12:36 +00:00
Erik Slagter
0c1e0bab66 This trivial patch adds "avc1" as fourcc for h264 in mp4, which makes it
a little bit more standard, although it still seems to lack some
metadata. Anyway, recent mplayer plays these streams without problems.

It also has two globally scoped global structs changed to "static".
patch by (Erik Slagter <erik slagter name)

Originally committed as revision 4386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-19 23:45:54 +00:00
Todd Kirby
8108551a5c Animated GIF looping patch by (Todd Kirby // ffmpeg.php gmail com)
Originally committed as revision 4383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-18 01:52:24 +00:00
Aurelien Jacobs
9ba73f1f40 add support for muxing subtitles in mpeg-ps
Originally committed as revision 4380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-15 20:50:12 +00:00
Ronald S. Bultje
7dc1bea30f non-avc h264 stream problems patch by ("Ronald S. Bultje" rbultje, ronald bitfreak net)
Originally committed as revision 4368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-09 20:01:02 +00:00
Alex Beregszaszi
fc565b22fc some nut.hu hype
Originally committed as revision 4358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-07 21:21:54 +00:00
Michael Niedermayer
69d93a1344 typo fix by (lists: kenneth aafloy net)
Originally committed as revision 4354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-05 11:09:50 +00:00
Fabrice Bellard
8b475508d4 buggy PCR output (just to keep HW decoders happy) - audio and subtitle language support - 'title' stream field sets the service name - fixed TS packet stuffing code - support for subtitle PES packets
Originally committed as revision 4349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:05:41 +00:00
Fabrice Bellard
0973026090 optional ISO 639 3 letter language field
Originally committed as revision 4348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:02:29 +00:00
Fabrice Bellard
a9c3213f96 DVD subtitle parsing - show mpeg component IDs by default
Originally committed as revision 4347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 14:01:49 +00:00
Michael Niedermayer
01bd1ed2db fix stream class
fix a infinite loop on corrupted streams

Originally committed as revision 4343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 08:54:32 +00:00
Michael Niedermayer
1d92cc2bf2 a step toward CODEC_TYPE_DATA support
remove a little duplicated code

Originally committed as revision 4342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 08:50:46 +00:00
Michael Niedermayer
0f0680c553 10l (segfault fix)
Originally committed as revision 4341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 08:48:10 +00:00
Nico Sabbi
5cad192d50 according to the standard the object_type for H264 is 33, not 241
Originally committed as revision 4323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 17:32:02 +00:00
Wolfram Gloger
536ffa59e9 Fix url_fsize for large files patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 16:45:08 +00:00
Michael Niedermayer
d3655fad7c trivial pre-C99 fix for rtp.c by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 16:42:36 +00:00
Michael Niedermayer
2143116dd9 changing a few AV_LOG_DEBUG to AV_LOG_INFO
Originally committed as revision 4315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 11:44:21 +00:00
Michael Niedermayer
2692067a45 AVPacket.pos
Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 20:17:12 +00:00
Romain Degez
d1ccf0e0a6 RTP/RTSP and MPEG4-AAC audio
- preliminary support for mpeg4-aac rtp payload (no interleaving support)
  - use udp transport as default (makes more sense with rtp, doesn't it ?)
  - some code factorization, so adding support for new rtp payload will be easier
  (I hope ;-)
patch by (Romain DEGEZ: romain degez, smartjog com)

Originally committed as revision 4306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 07:47:51 +00:00
Jacob Meuser
f39e56a84b ldconfig as config.mak variable patch by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-22 23:58:58 +00:00
Michael Niedermayer
cefe0607dd av_find_stream_info() end check fixes
10l (wrong time base)
  use timestamps if duration isnt available

Originally committed as revision 4301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-22 08:47:09 +00:00
Michael Niedermayer
e2b9cf4e2e update current_sample number for non split mode
fix chunk split decission

Originally committed as revision 4296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 10:41:52 +00:00
Michael Niedermayer
45139adf30 segfault fix
Originally committed as revision 4295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 10:25:58 +00:00
Michael Niedermayer
86d8602f62 support non interleaved mov files
Originally committed as revision 4294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 09:50:25 +00:00
Michael Niedermayer
d57b7316c5 10l (overwriting w/h with 0)
Originally committed as revision 4289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 02:06:45 +00:00
Joakim Plate
3f2bf07ba7 fix ac3 and dts detection (patch by Joakim Plate <joakim.plate at ecce.se>)
Originally committed as revision 4285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-20 13:10:09 +00:00
Måns Rullgård
69599eeada don't try to find file length if streaming
Originally committed as revision 4283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 21:03:03 +00:00
Aurelien Jacobs
def4272a03 install libav(codec|format).pc/libpostproc.pc for pkg-config (original patch from <j at v2v.cc>)
Originally committed as revision 4276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 00:17:50 +00:00
Aurelien Jacobs
a965c478b2 drop most url_fileno() calls (allows to use ByteIOContext directly in caller apps instead of URLProtocol)
Originally committed as revision 4275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 00:06:27 +00:00
Mike Melanson
b81f89490f Fraps FPS1 video decoder (v1 & v2), courtesy of Roine Gustafsson <roine
at users sf net>

Originally committed as revision 4264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-17 22:47:34 +00:00
Måns Rullgård
d3f28f0526 add VP30 fourcc
Originally committed as revision 4247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-16 13:21:39 +00:00
Michael Niedermayer
83fa2ef8cb round duration up in mov
Originally committed as revision 4242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-14 19:48:32 +00:00
Måns Rullgård
ad2b531d3f change extradata format for vorbis
Originally committed as revision 4235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 18:10:23 +00:00
Michael Niedermayer
e817a73daa fix mimetype
Originally committed as revision 4234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 12:09:45 +00:00
Måns Rullgård
5b558574ba check theora version
Originally committed as revision 4229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 22:33:05 +00:00
Michael Niedermayer
1677155df8 10l (overflows)
Originally committed as revision 4226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 16:27:05 +00:00
Måns Rullgård
bcfc40aed4 flac in ogg support
based on patch by Matthieu Castet <castet dot matthieu at free dot fr>

Originally committed as revision 4220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 22:47:26 +00:00
Måns Rullgård
1ed923eab3 support theora in ogg, plus required ogg core changes
Originally committed as revision 4217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-11 16:38:34 +00:00
Jacob Meuser
8c802695b9 OpenBSD support patch by (Jacob Meuser // jakemsr jakemsr com)
Originally committed as revision 4208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-09 13:24:23 +00:00
Diego Biurrun
01cf54f041 Mac OS X 10.4 compilation fix by Steven M. Schultz <sms at 2BSD dot COM>
Originally committed as revision 4207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-09 10:48:12 +00:00
Charles Yates
eb94aca926 support BUILDSUF patch by <charles dot yates at pandora dot be>
Originally committed as revision 4203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 15:04:59 +00:00
Philip Gladstone
34f633dfcb Flush the ffm packet to the wire (or file) whenever we flush the ffm packet.
This helps streaming no end.

Originally committed as revision 4195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-07 00:58:28 +00:00
Michael Niedermayer
3c150d16c6 better r_frame_rate guessing code
Originally committed as revision 4193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 23:41:47 +00:00
Michael Niedermayer
bfc7f165bb default to YUV420P if none specified for rawvideo input
a few more common extensions for rawvideo detection

Originally committed as revision 4192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 21:28:55 +00:00
Michael Niedermayer
09f75b5b38 division by zero fix
Originally committed as revision 4191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 21:11:38 +00:00
Michael Niedermayer
327c4076a3 prefer container time_base for frame duration guess
Originally committed as revision 4190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 20:26:50 +00:00
Wolfram Gloger
415264045f Correct number of bits for PTS.
Patch by Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>

Originally committed as revision 4188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 16:14:29 +00:00
Michael Niedermayer
80ce3254ac always honor the user specified frame rate if set
Originally committed as revision 4186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 14:19:17 +00:00
Philip Gladstone
223321268f Add in many fields that have been added to the Codec structure. This means
that ffm will now carry most of the important fields over between ffserver
and ffmpeg

Originally committed as revision 4184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 03:19:45 +00:00
Michael Niedermayer
c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer
c8389233cb fix useless framerate messup
Originally committed as revision 4167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-26 21:46:46 +00:00
Michael Niedermayer
eb1bde3e10 fix nonsense timestamp mess
Originally committed as revision 4166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-26 11:04:34 +00:00
Michael Niedermayer
caf5fb95ae fix nonsens timestamp calculation
Originally committed as revision 4165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-26 10:01:17 +00:00
Roine Gustafsson
8cf71eadd2 Adds read probe to y4m, and changes the extension to .y4m patch by (Roine Gustafsson <roine users sourceforge net)
Originally committed as revision 4164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-26 09:06:39 +00:00
Roine Gustafsson
93b2b333b9 Update yuv4mpeg to use PIX_FMT_NONE patch by (Roine Gustafsson <roine users sourceforge net)
Originally committed as revision 4163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-26 08:57:41 +00:00
Michael Niedermayer
644a92626a PIX_FMT_NONE and related fixes
Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:29:06 +00:00
Michael Niedermayer
9786bd4d94 fixing broken_rv20_1mb_.rm
Originally committed as revision 4155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 22:08:31 +00:00
Mike Melanson
160d679c07 Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 17:21:11 +00:00
Roberto Togni
93ccc14df5 Put correct fourcc in tag field for amr_nb (samr) and amr_wb (sawb)
Originally committed as revision 4152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 11:15:35 +00:00
Michael Niedermayer
856dbbff7f Indeo 2 decoder by (Kostya <> kostya.shishkov gmail com)
Originally committed as revision 4141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-20 09:42:47 +00:00
Michael Niedermayer
0ffd77b96b fixing demuxing of DV5700.asf
Originally committed as revision 4138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-19 00:35:08 +00:00
Michael Niedermayer
2c34596ff7 non 4:2:0 foobar.{Y,U,V} support
Originally committed as revision 4125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-13 01:07:30 +00:00
Måns Rullgård
17929c0468 fix seeking bug
Originally committed as revision 4123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-12 13:33:22 +00:00
Måns Rullgård
056f6179f0 s/u_char/uint8_t/
Originally committed as revision 4121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 18:03:06 +00:00
Måns Rullgård
2d2f443d53 s/u_char/uint8_t/
Originally committed as revision 4120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 17:25:54 +00:00
Måns Rullgård
ad3aa87456 pre-c99 compatibility
Originally committed as revision 4116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 23:27:48 +00:00
Måns Rullgård
9146ca3700 Ogg demuxer ported from tcvp by Luca Barbato <lu_zero at gentoo dot org>,
fixups by me.

Originally committed as revision 4113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 15:32:58 +00:00
Mike Melanson
589f82202c Autodesk Animator Studio Codec (AASC) video decoder, courtesy of
Konstantin Shishkov

Originally committed as revision 4099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-03 05:02:08 +00:00
Michael Niedermayer
16543599cc fix vorbis in avi
Originally committed as revision 4098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-01 21:21:12 +00:00
Michael Niedermayer
de39cdf542 reverting 1.66 -> 1.67 change
Originally committed as revision 4096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-30 00:36:30 +00:00
Måns Rullgård
e3d1cd8ee9 PSM support in MPEG-PS demuxer.
Based on a patch by Leon Woestenberg <leonw at mailcan dot com>

Originally committed as revision 4093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-28 17:33:21 +00:00
Michael Niedermayer
ced225a762 fix psp muxing (probably this fix is wrong but its better then nothing)
Originally committed as revision 4086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 00:16:17 +00:00
Mike Melanson
a8a15e9db2 Winnov WNV1 video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 4083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-26 20:32:55 +00:00
Michael Niedermayer
3e2b6358e0 bypass internal buffer for "large" packets
Originally committed as revision 4080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-24 22:07:54 +00:00
Michael Niedermayer
d46db490b1 segfault fix
Originally committed as revision 4079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-24 21:27:54 +00:00
Michael Niedermayer
3ce16b30f7 discard dummy packets before doing inapropriate checks on them and failing as a result
Originally committed as revision 4078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-24 01:51:57 +00:00
Calcium
982e53fe44 31_ASF_compatibility_with_WMP_and_add_index.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 13:30:27 +00:00
Calcium
c64d476ccd 30_clean_up_global_header_flag.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 12:52:24 +00:00
Calcium
649b918c9f 29_vtag_in_ASF_not_effective.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 12:42:12 +00:00
Calcium
58d2a1506d 28_fix_parameters_in_G726.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 12:35:27 +00:00
François Revol
0d23cb8439 Patch for "uuid" atom followed after atom "ftyp" by "QuickTime <ffmpeg AT gmail DOT com>"
Originally committed as revision 4068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 11:20:47 +00:00
Michael Niedermayer
8272de4ea2 fix time stored in mov
based upon 23_fix_timestamp_in_mov.patch by (Calcium | calcium nurs or jp)

Originally committed as revision 4067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 11:15:45 +00:00
Michael Niedermayer
6c13c880fa trying to fix a few minor values in the mp4/mov muxer
Originally committed as revision 4063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 00:26:43 +00:00
Michael Niedermayer
8bb8f41375 initalize has_b_frames
Originally committed as revision 4054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 21:38:29 +00:00
Michael Niedermayer
f3356e9c9e more fine grained discarding of packets
Originally committed as revision 4051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 01:25:01 +00:00
Luca Barbato
cc973ecbe7 add libdir support to configure patch by (Luca Barbato )lu_zero gentoo org)
Originally committed as revision 4050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-16 19:11:58 +00:00
Michael Niedermayer
0e1ceacde9 buffer overflow in sdp_probe() fix by (Gildas Bazin )gbazin altern org)
Originally committed as revision 4049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-16 19:06:34 +00:00
Michael Niedermayer
80e3a08c97 reverse zero packet dissapearence "feature"
Originally committed as revision 4046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-16 13:26:52 +00:00
Michael Niedermayer
4a7d265176 sample_size fix
Originally committed as revision 4043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 23:50:24 +00:00
Michael Niedermayer
b53f10648b cleanup strh parser
Originally committed as revision 4041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 21:25:59 +00:00
Michael Niedermayer
1f8f50efbe dont link with libavcodec twice on win32
Originally committed as revision 4039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 12:37:39 +00:00
Michael Niedermayer
7c7f386677 non interleaved avi support
various fixes/workarounds

Originally committed as revision 4038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 03:42:57 +00:00
Michael Niedermayer
52a0bbff1f use libavformats index system instead of the half duplicated mess in avidec.c
Originally committed as revision 4036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-13 02:04:35 +00:00
Luca Barbato
7071e56799 "put_s should store signed values. Spotted on #mplayerdev by someone I
don't remember." patch by (Luca Barbato [lu_zero gentoo org)

Originally committed as revision 4035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-13 01:58:29 +00:00
Michael Niedermayer
27a5fe5fdf keyframe & non keyframe index fixes
Originally committed as revision 4034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-13 00:13:01 +00:00
François Revol
fcc872422e Add 3IV2 4CC by "Rob Coenen" <rob AT massive-interactive DOT nl>
Originally committed as revision 4033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-12 13:31:03 +00:00
D Richard Felker III
b2866c5cb5 Patch from Gianluigi Tiesi (sherpya at netfarm dot it):
"A small patch to avoid error compiling matroska.c on mingw"
My comment: using typedefs for things like this is always ridiculous.

Originally committed as revision 4031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-11 19:52:43 +00:00
Måns Rullgård
a0f1f16597 uuid patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 4030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-11 17:13:03 +00:00
Michael Niedermayer
efd9e75cb0 fix lib order and remove nonsense avcodec double linking
Originally committed as revision 4029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-11 11:34:31 +00:00
Måns Rullgård
0044a8f80d double free patch by (Måns Rullgård <mru inprovide com>)
"This free is handled in av_write_trailer() since Oct 1 2004, but apparently mpegts was missed at the time."

Originally committed as revision 4023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-09 02:12:44 +00:00
Måns Rullgård
d5be317cbe H.264 and Vorbis support in matroska patch by (Måns Rullgård |mru inprovide com)
Originally committed as revision 4014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 19:52:41 +00:00
Mike Melanson
6d6d7970e7 first pass at ALAC decoder from David Hammerton; while David's original
decoder works great, this decoder is not completely and seamlessly
integrated yet with FFmpeg

Originally committed as revision 4008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 00:43:55 +00:00
Michael Niedermayer
2f1e1ed3dd mp4a fix based on some code by (Song.Itany inventec-inc com)
Originally committed as revision 4002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-04 00:30:18 +00:00
Mike Melanson
9c7fb60816 go LOCO, courtesy of Kostya Shishkov
Originally committed as revision 3995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-01 02:24:58 +00:00
Michael Niedermayer
386b26c9fe set block align
Originally committed as revision 3993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-28 03:16:13 +00:00
Michael Niedermayer
72aef1987e ra288 demuxing support (doesnt really work, might be demuxer or decoder bug)
Originally committed as revision 3992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-28 02:51:53 +00:00
Michael Niedermayer
85ad569574 shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>)
Originally committed as revision 3984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-26 03:36:04 +00:00
Alex Beregszaszi
a50ff23cc8 pseudo codec tag for adpcm_swf
Originally committed as revision 3981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-25 11:15:31 +00:00
Alex Beregszaszi
2f5132e7a8 proper handling of samplesize
Originally committed as revision 3980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-25 11:15:12 +00:00
Måns Rullgård
88730be651 kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
Nilesh Bansal
5c5dea3f0c 01-makefile_fix_updated.patch
Adds --enable-theora/--enable-vorbis/--enable-ogg to configure
   If compiled WITHOUT --enable-theora, native VP3 decoder is used
patch by (Nilesh Bansal <nileshbansal gmail com>)

Originally committed as revision 3975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 15:18:02 +00:00
Michael Niedermayer
420370d4aa switch MPEG4 fourcc to FMP4
Originally committed as revision 3972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-22 19:48:07 +00:00
Alex Beregszaszi
ae26a016b4 support adpcm audio, also some more verbose messages
Originally committed as revision 3970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 19:28:32 +00:00
Alex Beregszaszi
923bd441fe correct pcm in flv handling
Originally committed as revision 3968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 18:05:21 +00:00
Josh Varner
fe533bb3a7 removing --disable-risky patch by (Josh Varner <jlvarner gmail com>)
Originally committed as revision 3966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-21 17:50:48 +00:00
tjraivio@cc.hut.fi
8536ab8964 quick patch for adding 3g2 support to ffmpeg (muxer and demuxer). No movie fragment support yet patch by (tjraivio cc.hut fi)
Originally committed as revision 3959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 23:14:38 +00:00
Michael Niedermayer
0078e9b9c5 nonsense comment
Originally committed as revision 3958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 23:11:11 +00:00
Wolfram Gloger
27bb1ed348 Writing to freed memory in write_section_data() patch by (Wolfram Gloger <wmglo dent dot med dot uni-muenchen de>)
Originally committed as revision 3957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-16 23:04:11 +00:00
Chriss
7be806f31b -target dvd minimum vobu length patch by ("Chris" [chris garveycocker com])
Originally committed as revision 3953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-09 03:00:50 +00:00
Michael Niedermayer
cb43c0e10d audio duration fix?
Originally committed as revision 3952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-08 00:38:24 +00:00
Michael Niedermayer
87094371db .wma
Originally committed as revision 3951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 23:13:38 +00:00
Michael Niedermayer
c4ac052b85 set timestamps correctly
Originally committed as revision 3944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 16:58:15 +00:00
Michael Niedermayer
cd461d482d cleanup
Originally committed as revision 3943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-07 13:50:39 +00:00
Michael Niedermayer
360130378b fixing an integer overflow, which could lead to overwriting the end of a malloced buffer by 8 bytes
Originally committed as revision 3937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 18:58:59 +00:00
Michael Niedermayer
8d65750ef1 overflows
Originally committed as revision 3935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 11:26:40 +00:00
Kostya Shishkov
3a615bb548 VMD playing error patch by (Kostya (cannonball bw-team com>)
"I recently got a game called Lighthouse from Sierra with FMV in VMD
format. Some of them played OK, some of them FFmpeg refused to open,
some caused a crash.

I investigated files which couldn't be opened by FFmpeg and it appeared
that they had no audio (and bytes 2-3 from beginning of file contained
01 00, all other have 00 00 insted). Attached patch fixes this issue."

Originally committed as revision 3934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 03:38:33 +00:00
Michael Niedermayer
a603bf8d68 dont predict missing timestamps if we lack the required information to do so
Originally committed as revision 3898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-29 02:27:33 +00:00
François Revol
0c716ab71d fix segfault by matthieu castet <castet DOT matthieu AT free DOT fr>
Originally committed as revision 3896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 12:13:53 +00:00
François Revol
25cf9062ba don't crash on null codec; by matthieu castet <castet DOT matthieu AT free DOT fr>
Originally committed as revision 3894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 11:19:47 +00:00
François Revol
46103f6bbd fix the patch to allow Sony PSP MP4 creation
Originally committed as revision 3893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 08:08:42 +00:00
Roine Gustafsson
888053179c support colon-separated rates patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
Originally committed as revision 3892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 16:11:31 +00:00
Roine Gustafsson
501866a1fa movenc illegal access patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
Originally committed as revision 3891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 15:41:03 +00:00
Roine Gustafsson
92e51b66cf chunk support in mov patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
Originally committed as revision 3890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 15:39:13 +00:00
tjcannell@blueyonder.co.uk
8af1815481 Sony PSP variation of MP4 patch by <tjcannell AT blueyonder DOT co DOT uk>
Originally committed as revision 3889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 14:48:15 +00:00
François Revol
2497479f2b probe for 'junk' and 'pict', changed the scores.
Originally committed as revision 3888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 06:53:09 +00:00
Roine Gustafsson
53ffdd1434 mov header field and compressor name patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
Originally committed as revision 3885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-26 09:31:49 +00:00
Michael Niedermayer
b636365a5e wmv3
Originally committed as revision 3875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 21:54:07 +00:00
François Revol
f219664071 AAC fix by Thomas Raivio <tjraivio AT cc DOT hut DOT fi>
Originally committed as revision 3866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 10:44:50 +00:00
Gael Chardon
7fe5a3c0c7 Timestamp patch by Gael Chardon <gael DOT ffmpeg AT 4now DOT net>
Originally committed as revision 3865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 10:34:10 +00:00
François Revol
7dbab4a9b4 Revert the fixed-size-sample patch as it brokes and others
WTF I thought I had commited this yesterday... was probably too asleep :°)

Originally committed as revision 3864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 09:59:36 +00:00
Michael Niedermayer
b9866ebcc7 support discarding uninterresting packets
Originally committed as revision 3860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 13:36:02 +00:00
Michael Niedermayer
e19456e3ee fixing demuxing for short files where the framerate detection failed
Originally committed as revision 3859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 02:30:45 +00:00
Michael Niedermayer
b4aea108eb support discarding of uninterresting packets
Originally committed as revision 3858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 01:48:11 +00:00
Michael Niedermayer
0fbc6961eb 1/0 fix
Originally committed as revision 3856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-21 23:38:09 +00:00
Roine Gustafsson
f96b17c5d6 add luma only support to yuv4mpeg patch by (Roine Gustafsson <roine users.sourceforge net>)
Originally committed as revision 3846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-19 12:27:48 +00:00
Wolfram Gloger
b6c7f870be 10l (a level of indirection too much) patch by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)
Originally committed as revision 3834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-13 13:09:35 +00:00
Michael Niedermayer
3eaa8b7e38 timestamp truncation fix?
Originally committed as revision 3832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 19:07:24 +00:00
Michael Niedermayer
a1e568bd23 wav timestamp truncation fix by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)
Originally committed as revision 3831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 18:42:21 +00:00
Michael Niedermayer
2fc8ea249f dissallow sprintf
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:59:42 +00:00
Michael Niedermayer
0ecca7a49f various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Diego Biurrun
f14d4e7e21 Quote path expression to take care of $(prefix) possibly containing spaces.
Originally committed as revision 3821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-11 08:16:04 +00:00
François Revol
c3ea71a097 get debug code to compile again.
Originally committed as revision 3815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 19:35:08 +00:00
Roine Gustafsson
7619ed2be4 handle fixed sample_size patch by Roine Gustafsson <roine AT users.sourceforge.net>
Originally committed as revision 3814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 16:07:34 +00:00
Michael Niedermayer
568e18b15e integer overflows, heap corruption
possible arbitrary code execution cannot be ruled out in some cases
precautionary checks

Originally committed as revision 3813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 14:21:33 +00:00
Michael Niedermayer
3f05305d73 RV30/RV40 demuxing (untested)
Originally committed as revision 3809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-06 00:54:03 +00:00
Michael Niedermayer
6ec864da45 Patch for creating m2v files by (Fabrizio Gennari <fabrizio.ge tiscali it)
Originally committed as revision 3805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 18:32:38 +00:00
Michael Niedermayer
348979519c disable yuv_image_format
Originally committed as revision 3803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 14:38:52 +00:00
Michael Niedermayer
55cf195952 .{Y,U,V} image2 support
Originally committed as revision 3802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 13:27:35 +00:00
Roine Gustafsson
2d74541476 - Writes correct unknown aspect
- Adds read and write support for yuv422p and yuv444p
- New parser will read all well-formed YUV4MPEG2 stream headers
patch by (Roine Gustafsson <roine users.sourceforge net>)

Originally committed as revision 3800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 01:55:50 +00:00
Michael Niedermayer
96db7add10 10l
Originally committed as revision 3798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 20:33:52 +00:00
Michael Niedermayer
119cebf429 skip INDX chunks
Originally committed as revision 3796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 02:52:11 +00:00
Michael Niedermayer
2d2651f821 WV1F support
Originally committed as revision 3790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-01 23:02:09 +00:00
Michael Niedermayer
18107921c4 ffm_init() for win32, so the regression tests dont fail there
Originally committed as revision 3783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-30 11:48:23 +00:00
Roberto Togni
4d4bb927ce Fix compilation when both amr_nb and amr_wb are enabled
Originally committed as revision 3782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 23:17:42 +00:00
Michael Niedermayer
2de7795ad2 common.h -> common.h/bitstream.h
Originally committed as revision 3778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 18:31:28 +00:00
Michael Niedermayer
6c55fd7968 preroll is in ms
pts should start at start_time

Originally committed as revision 3771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-22 03:04:21 +00:00
Michael Niedermayer
5375644323 1/0l fix
Originally committed as revision 3770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-22 01:33:04 +00:00
Michael Niedermayer
b3506cb42f prefer integer fps if possible when guessing
Originally committed as revision 3769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-21 02:27:40 +00:00
Michael Niedermayer
3e76d1b526 guess fps for the variable fps case
Originally committed as revision 3768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-21 02:16:11 +00:00
Michael Niedermayer
6260de6ab0 fix regression test failure
Originally committed as revision 3767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-21 02:01:32 +00:00
Michael Niedermayer
ae895a40c5 10l (double free)
Originally committed as revision 3764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 20:25:55 +00:00
Michael Niedermayer
55c7e4ad5d broken avi / div by zero fix
Originally committed as revision 3761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 02:55:40 +00:00
Michael Niedermayer
15bc38e57c try to guess the fps if they are variable
Originally committed as revision 3760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 01:23:22 +00:00
Roine Gustafsson
caacd4deea add -vtag and-atag support to mov patch by (Roine Gustafsson <roine at users sourceforge net>)
Originally committed as revision 3756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-17 19:23:53 +00:00
Michael Niedermayer
90bb394dcc workaround some broken mpeg-ps timestamps
Originally committed as revision 3755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-15 02:36:03 +00:00
Michael Niedermayer
5edea431d0 some sanity checks on what is muxed, invalid timestamps in mpeg are very common and lead to strange errors in the mpeg muxer otherwise
Originally committed as revision 3752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 16:19:26 +00:00
Michael Niedermayer
7984bbe2ce fix timestamp prediction for low_delay mpeg streams
Originally committed as revision 3751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 12:04:45 +00:00
Mike Melanson
169eb021d0 load the 'avcC' atom needed for 'avc1' decoding
Originally committed as revision 3745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-09 19:44:55 +00:00
Michael Niedermayer
d0271e8a3a rv20 encoding
Originally committed as revision 3739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-07 13:14:37 +00:00
Michael Niedermayer
37e85dacd0 seeking in rm 2nd try
Originally committed as revision 3738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 23:43:28 +00:00
Michael Niedermayer
bc17df09d4 seeking in rm
Originally committed as revision 3737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 22:44:03 +00:00
Michael Niedermayer
80016c48b0 rm encoding fix
Originally committed as revision 3736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 21:38:05 +00:00
Michael Niedermayer
012cd15fc4 try to recover from errors instead of failing fataly
Originally committed as revision 3735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 20:03:42 +00:00
Michael Niedermayer
a8b81ec199 various demuxer fixes
Originally committed as revision 3734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 18:57:59 +00:00
Michael Niedermayer
18ade9543f rv10 thread safety fix / rv10 ffplay fix
Originally committed as revision 3733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 17:21:17 +00:00
Michael Niedermayer
d880240e18 timestamp fix
Originally committed as revision 3732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 16:40:10 +00:00
Michael Niedermayer
d43ed92def use pts based duration/bitrate guessing code for mpeg-ts
Originally committed as revision 3731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 00:15:52 +00:00
Michael Niedermayer
f9a35124a7 fixing pipe seek bug
Originally committed as revision 3730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 00:08:37 +00:00
Michael Niedermayer
423962dc01 next try at fixing rv20 decoding
Originally committed as revision 3728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 23:21:39 +00:00
Chriss
20b02bc628 This patch takes into account that fifo_realloc may adjust fifo.wptr
patch by ("Chris" chris at garveycocker dot com)

Originally committed as revision 3727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 02:46:00 +00:00
Michael Niedermayer
0d71240921 fifo_realloc()
Originally committed as revision 3726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-01 02:28:28 +00:00
Michael Niedermayer
61f4aa96ba kill a annoying debug printf
Originally committed as revision 3725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 21:57:51 +00:00
Michael Niedermayer
1b307febc4 fixing playback of ftp://ftp.mplayerhq.hu/MPlayer/incoming/blender_raw.avi
Originally committed as revision 3723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 18:45:34 +00:00
Loren Merritt
f37b9768f6 split ffhuffyuv into 2 codecs:
"huffyuv" is compatible with the official version
"ffvhuff" contains our improvements

Originally committed as revision 3720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 18:29:38 +00:00
Chriss
7e0fda0a4e DVDNav4 patch by ("Chris" <chris at garveycocker d0t com>)
Originally committed as revision 3706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 22:25:12 +00:00
Michael Niedermayer
dc56fc3802 int / int64 fix by (Wolfram Gloger <wmglo @@@ dent:med:uni-muenchen:de>)
Originally committed as revision 3704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 18:23:56 +00:00
Michael Niedermayer
cbb6e405c0 parts of the dvd patch from ("Chris" <chris <at< garveycocker >dot< com> and Paul Curtis <pfc >at> terrapin <dot< com>)
Originally committed as revision 3700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 03:37:33 +00:00
Mike Melanson
e4917f59a5 use correct types
Originally committed as revision 3698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-20 23:53:24 +00:00
François Revol
27d5f18f66 First implementation of nsv demuxer.
Get libavformat linked with lavc and lmp3lame is required. BeOS requires no undefined syms on link! (besides it's bad to leave undef syms)

Originally committed as revision 3696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-20 23:10:07 +00:00
Michael Niedermayer
f7ff7bc648 skip unknown streams instead of failing
Originally committed as revision 3693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 18:16:36 +00:00
Michael Niedermayer
6ccedec0fd rv20 demuxing fix
Originally committed as revision 3691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 16:36:30 +00:00
Mike Melanson
acfd8f0fdb native QPEG video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-17 03:45:53 +00:00
Michael Niedermayer
b339fb00ba loop hack
Originally committed as revision 3687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-16 16:28:27 +00:00
Michael Niedermayer
9286699a67 disable redundant image formats, otherwise we wont get any bugreports about -f image2
Originally committed as revision 3683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 22:30:44 +00:00
Michael Niedermayer
61c7c3e347 raw h261 demuxing fix
Originally committed as revision 3680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-13 17:35:09 +00:00
Michael Niedermayer
3129cd0140 allocate a few bytes more for extradata so the bitstream reader if its used by the codec for parsing extardata, doesnt read over the end
Originally committed as revision 3679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-13 01:27:35 +00:00
Michael Niedermayer
ae214ac39e try to guess the codec for imag2pipe too
Originally committed as revision 3674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 22:51:52 +00:00
Michael Niedermayer
4d4f7158ee last packet size fix
Originally committed as revision 3673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 22:49:55 +00:00
Kostya Shishkov
61c52ead7c When playing
ftp://ftp.mplayerhq.hu/MPlayer/samples/V-codecs/QPEG/VWbig6.avi with my
decoder (should appear soon) it hadn't changed palette even there are
palette change chunks in that AVI.
Here is small patch to make it work (zero number of colors to change in
that chunk actually means to change ALL colors).
patch by (Kostya <cannonball>at<bw-team>dot<com>)

Originally committed as revision 3670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 01:32:35 +00:00
Michael Niedermayer
5b6d559680 move p*m from image/lavf -> image2/lavc
video/audio_codec_id in AVFormatParameters to override/help demuxer
av_guess_codec() to guess the default codecs based upon muxer + filename

Originally committed as revision 3668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 18:09:28 +00:00
Michael Niedermayer
f4824c0f30 prefer image2 over image
Originally committed as revision 3666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-10 00:02:06 +00:00
Michael Niedermayer
4eff7cf42d porting png support from -f image to -f image2
Originally committed as revision 3665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-09 23:31:46 +00:00
Michael Niedermayer
f6506a541a doxy
Originally committed as revision 3664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-09 17:27:33 +00:00
Hans Zandbelt
7a91333f73 IPv6 support patch by ("Hans Zandbelt" <Hans.Zandbelt <at> telin {dot} nl>)
Originally committed as revision 3663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-09 00:27:16 +00:00
Michael Niedermayer
d07730ddd1 fix image stream copy
Originally committed as revision 3662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-08 23:36:32 +00:00
Michael Niedermayer
359fa0febc cbr audio muxing fix
Originally committed as revision 3661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-06 19:11:34 +00:00
Michael Niedermayer
1c3990dbba H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
Originally committed as revision 3643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-28 10:12:57 +00:00
Mike Melanson
ab711b3c8d Miro VideoXL (VIXL) decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-27 04:30:48 +00:00
Michael Niedermayer
146210caf9 image2pipe fix
Originally committed as revision 3635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 22:39:08 +00:00
Michael Niedermayer
afbb5ce406 dvr-ms video decoding support
Originally committed as revision 3631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 13:07:59 +00:00
Nathan Kurz
1a1dc611ce bug in libavformat av_update_cur_dts(), patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 13:15:18 +00:00
Roman Shaposhnik
f02be79d61 * Introducing IIDC1394 grabbing interface.
Use it with -grab dc1394

   * Introducing yet another packed pix_fmt in order to support some of
     the IIDC1394 modes: uyvy411 (Cb Y0 Y1 Cr Y2 Y3).

Originally committed as revision 3621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 02:04:30 +00:00
Michael Niedermayer
5ba7c3d7c9 set keyframe flag at a more central place instead of in every demuxer for containers which only store intra only streams
Originally committed as revision 3620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 01:51:17 +00:00
Michael Niedermayer
4a8d51356f fixing demuxing of vc2_intro.avi
Originally committed as revision 3610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-19 10:37:02 +00:00
Alex Beregszaszi
d08f4bcbbd report keyframes
Originally committed as revision 3608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 11:42:40 +00:00
Michael Niedermayer
595bf4ef63 set correct timebase
Originally committed as revision 3607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 09:43:39 +00:00
Michael Niedermayer
17c88cb0ce user setable preload and max_mux_delay
Originally committed as revision 3602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 21:27:42 +00:00
Mike Melanson
ad81a9fe41 Electronic Arts Game Multimedia format demuxer (WVE/UV2/etc.)
Originally committed as revision 3600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-16 19:33:57 +00:00
Nathan Kurz
ecc2c0a464 set keyframe flag for au/wav patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-15 22:06:46 +00:00
Michael Niedermayer
528c2c737e fix assertion failure in case of timestamp discontinuities
Originally committed as revision 3592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-13 23:58:28 +00:00
Roman Shaposhnik
664f583665 * static allocation for audio packets. This will make it a little bit
faster and easier to follow.

   * misc. fixes for problems with seeking

Originally committed as revision 3590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-13 00:03:00 +00:00
Mike Melanson
b3bfb29980 Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov
Originally committed as revision 3589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 12:47:49 +00:00
Michael Niedermayer
8bcb147f54 generic cur_dts update
removing cur_dts update code from dv again, i think its not needed

Originally committed as revision 3588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 10:28:27 +00:00
Michael Niedermayer
83582de4c1 flags, rounding and cliping fix by (Nathan Kurz <nate at verse dot com>)
max_pos, buffer flush, audio and video timestamp fix by me

Originally committed as revision 3586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-12 01:51:04 +00:00
Michael Niedermayer
7b3c1382bf 100l (forgoten seeking functions)
Originally committed as revision 3585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 23:53:53 +00:00
Nathan Kurz
eb497825fe default stream timebase docs patch by (Nathan Kurz <nate at verse dot com>)
Originally committed as revision 3581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 19:42:18 +00:00
Wolfram Gloger
d0f3f15945 print start_time patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 17:12:52 +00:00
Michael Niedermayer
3ba1438dec use native timebase for seeking
direction flag for seeking

Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-10 22:05:43 +00:00
Michael Niedermayer
576ae256a4 write error handling
Originally committed as revision 3572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-08 20:09:52 +00:00
Michael Niedermayer
caaeefc591 prevent multiple av_register_all()
Originally committed as revision 3570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 21:11:08 +00:00
Michael Niedermayer
6c55b27f8f do not randomize unknown timestamps
Originally committed as revision 3568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-07 01:55:34 +00:00
Michael Niedermayer
2db3c638a7 user selectable packet_size and mux_rate
Originally committed as revision 3566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 22:29:30 +00:00
Måns Rullgård
ca37721277 untested AAC in WAV/AVI patch by (Måns Rullgård <mru at mru dot ath dot cx>)
Originally committed as revision 3565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 20:12:58 +00:00
Zdenek Kabelac
7fea94ce4a * fixing a few of gcc 'clean-code' warnings
Originally committed as revision 3563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-06 08:50:46 +00:00
Paul Curtis
78a0efb4fc AVOutputFormat mpeg2dvd_mux and int is_dvd from the dvd patch by (Paul Curtis <pfc at terrapin dot com>)
Originally committed as revision 3557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 18:21:45 +00:00
Michael Niedermayer
e0c91bc23b initial dts fix
Originally committed as revision 3555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 12:58:14 +00:00
Michael Niedermayer
2031ba1bf2 remove wrong 33bit truncation of internal timestamps
Originally committed as revision 3554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 12:17:46 +00:00
Michael Niedermayer
bc3429e382 pts/dts 100l fix
Originally committed as revision 3553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 11:16:40 +00:00
Michael Niedermayer
7e05155850 cleanup video buffer size
Originally committed as revision 3552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 03:14:09 +00:00
Michael Niedermayer
9205093333 cleanup
Originally committed as revision 3551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 02:57:42 +00:00
Michael Niedermayer
7000a17542 SCR timestamp fix try #1
Originally committed as revision 3550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-03 02:42:01 +00:00
Michael Niedermayer
d8b5abfa70 simplify put_padding_packet()
Originally committed as revision 3549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 20:05:04 +00:00
Michael Niedermayer
c40a3a42e1 move free() of AVStream priv data to av_write_trailer()
Originally committed as revision 3548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 16:30:15 +00:00
Michael Niedermayer
95f97de146 64bit and reading over the end of the array fixes
Originally committed as revision 3547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 16:00:00 +00:00
Michel Bardiaux
65d1bea201 Help debugging by keeping symbols ans line numbers patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 13:32:13 +00:00
Michael Niedermayer
71c32f19b3 do not call (av_)abort()
Originally committed as revision 3544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 13:16:16 +00:00
Michael Niedermayer
fe2d6fe235 move packet interleaving function into AVOutputFormat, so it can be overriden easily instead of doing reordering twice if the muxer needs some other interleaving then dts based
Originally committed as revision 3540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-29 23:25:01 +00:00
Michael Niedermayer
63dd1377b3 uninitalized variables
Originally committed as revision 3534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 21:09:25 +00:00
Michael Niedermayer
30667f42f5 pads stream
Originally committed as revision 3531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 09:55:44 +00:00
Mike Melanson
d08d7142fd support for Sierra Online audio files and Apple QuickDraw codec,
courtesy of Konstantin Shishkov

Originally committed as revision 3529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 03:09:49 +00:00
Roman Shaposhnik
5088363247 * experimental dynamic audio stream allocation for DV demuxer. This
should make Nathan Kurz and if I don't hear too much complaints
     about it -- that's the way it will be from now on.

   * updating regressions

Originally committed as revision 3527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 22:53:27 +00:00
Roman Shaposhnik
96319c3922 * let DV muxer generate audioless DV streams. This might not be 100%
complaint with the SMPTE & IEC specs, but it seems harmless enough.
     The way we "specify" that there's no audio is by simply leaving
     audio DIFs filled with 0xff (I bet there's a way to mark this
     properly in the system info section!).

Originally committed as revision 3526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 22:46:36 +00:00
Michael Niedermayer
3ed0212929 10l
Originally committed as revision 3495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 21:25:09 +00:00
Michael Niedermayer
c4f8d5d9f9 write shorter headers if possible
Originally committed as revision 3494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 20:01:56 +00:00
Roman Shaposhnik
457c649ac4 * fixing a regression introduced by the last seek-support patch
Originally committed as revision 3490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 04:51:01 +00:00
Michael Niedermayer
aace1f9b86 gcc 2.95 compile fix by (Jan Knutar <jknutar at nic dot fi>)
Originally committed as revision 3486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-21 10:19:30 +00:00
Roman Shaposhnik
2c3cee348f * fix for a DV regression introduced with the last round of avi_read_packet
fixes.

Originally committed as revision 3482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 19:24:56 +00:00
Roman Shaposhnik
f520cf1ba9 * a couple of silly defaults to make everybody happy.
Originally committed as revision 3479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 02:57:56 +00:00
Roman Shaposhnik
c4e554701e * misc. fixes and hacks to improve timing detection in raw DV
Originally committed as revision 3478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 02:05:22 +00:00
Nathan Kurz
0bf4e2b8a3 * seek in raw DV patch by Nathan Kurz (nate at verse dot com)
Originally committed as revision 3477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-18 00:32:36 +00:00
Todd Kirby
e1e98dbd57 removing the .so file when make clean is run patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 17:15:58 +00:00
Mike Melanson
d0a0bbd22c IBM Ultimotion video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 03:31:41 +00:00
Mike Melanson
69bde0b258 added support for the elusive AVI palette change chunk, courtesy of
Kostya <cannonball at bw-team.com>

Originally committed as revision 3467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 02:14:50 +00:00
Michael Niedermayer
d2c5f0a4bf various fixes for the main chunk demux loop
Originally committed as revision 3464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 01:35:09 +00:00
Roberto Togni
c931e60860 h261
Originally committed as revision 3409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-22 15:35:21 +00:00
Alex Beregszaszi
7251dfafda unofficial ids for sonic for using in nut (fixme)
Originally committed as revision 3406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-21 19:24:40 +00:00
Michael Niedermayer
14a68b8910 nonsense removial
Originally committed as revision 3400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-18 11:22:15 +00:00
Roman Shaposhnik
0c9fc6e187 * replacing calls to not-always-available gmtime_r with our own code.
The new helper function actually differs in semantics from gmtime_r,
     so if that seems to be a problem I can actually move it to dv.c
     completely, since only DV muxer uses the code anyway.

Originally committed as revision 3399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-18 08:15:07 +00:00
Mike Melanson
9d53d58ea7 TechSmith Camtasia (TSCC) video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 15:08:09 +00:00
Patrice Bensoussan
b6c50eb17c iTunes metadata encoding support patch by (Patrice Bensoussan <patrice.bensoussan at free dot fr>)
Originally committed as revision 3388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 14:05:48 +00:00
Michael Niedermayer
8b69867f2e Minor Patch for shared libs on Mac OSX by (Bill May <wmay at cisco dot com>)
Originally committed as revision 3387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 15:30:42 +00:00
Petr Doubek
6ba5cbc699 HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz dot ch>)
tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>)

Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-12 00:09:32 +00:00
Roman Shaposhnik
8f9298f801 * simplifying OpenDML AVI handling.
* adding code to skip over JUNK. It turns out that video editing
     software uses junk to resize ix## chunks without actually
     scrubbing the data. That trips up our packet extraction
     code since it recognizes ix## entries as "packets". Basically
     we have to skip over JUNK chunks for exactly the same reason
     we have to skip over ix## entries.

Originally committed as revision 3378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-04 20:57:35 +00:00
Michael Niedermayer
13859ac9da dont be so picky
Originally committed as revision 3370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 13:00:58 +00:00
Roman Shaposhnik
d8665b1274 * fixing a bug in DV timestamp generation. Now libavtest doesn't
depend on a local TZ anymore.

Originally committed as revision 3368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-02 05:42:49 +00:00
Roman Shaposhnik
f5fc28d23c * fixing a buffer overrun in gif.c
Originally committed as revision 3363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 21:56:59 +00:00
Sebastien Bechet
15c8dbe778 2000/00/00 to 2001/03/01 QT fileformat documentation patch by (Sebastien Bechet <s.bechet at av7 dot net>)
Originally committed as revision 3360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 10:04:14 +00:00
Gildas Bazin
ef19c7eb3f AAC in mov/mp4 patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 3359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-28 09:40:59 +00:00
Roman Shaposhnik
3ea1ce2146 * fixing a small quirk with DV audio muxing
* making DV testable via libavtest

Originally committed as revision 3355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-27 17:58:47 +00:00
Michael Niedermayer
791e7b83c3 my experimental wavelet codec
note, this is far from finished, dont expect todays encodings to be decodeable with cvs tomorrow ...

Originally committed as revision 3341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 23:36:44 +00:00
Michael Niedermayer
53e2f9caf8 ffserver fixes by (Koos Vriezen <koos.vriezen at xs4all dot nl>)
Originally committed as revision 3340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 11:59:34 +00:00
Michael Niedermayer
627c50b7fc raw rgb support
Originally committed as revision 3330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-21 01:21:06 +00:00
Michael Niedermayer
58e555d4ba mov_read_elst fix, based upon a patch by (Sebastien Bechet <s.bechet at av7 dot net>)
Originally committed as revision 3327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-17 21:01:03 +00:00
Michael Niedermayer
7c4a25c89f disable mov_read_elst
Originally committed as revision 3326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-17 16:35:47 +00:00
Michael Niedermayer
61fb3183b7 support single images, remove copy/paste junk
Originally committed as revision 3320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-15 20:15:40 +00:00
Michael Niedermayer
03cfe134ca image2 / image API cleanup phase-1
with this its possible to encode&decode any video codec to individual (1 file per frame) files

Originally committed as revision 3319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-15 18:32:54 +00:00
Michael Niedermayer
23c9925329 libdts support by (Benjamin Zores <ben at geexbox dot org>)
Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 01:32:14 +00:00
Michael Niedermayer
f8facaaf41 play more broken files
Originally committed as revision 3308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 00:10:06 +00:00
Michael Niedermayer
ffdd57d47e warn user if ms style codec tag is used
remove "    " codec tag

Originally committed as revision 3307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-13 20:59:29 +00:00
Michael Niedermayer
240ae82c51 h264 in mpeg-ts fix by (Måns Rullgård <mru at kth dot se>)
Originally committed as revision 3293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-07 20:19:29 +00:00
Michel Bardiaux
5c030d3ee9 compilation of mov.c broken patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-06 18:06:17 +00:00
Gael Chardon
baf25c9dd9 Seeking in .mov/.mp4 files
printf->av_log
patch by (Gael Chardon <gael.ffmpeg at 4now dot net>)

Originally committed as revision 3290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-06 02:35:39 +00:00
Michael Niedermayer
37cdf93d6e assert(0) -> retunrn -1
Originally committed as revision 3285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-02 19:26:51 +00:00
Cedric Vincent
3c13647a8a The atom 'skip' should be handled by 'mov_read_leaf()', not by
'mov_read_default()'. This atom has the same behaviour than the atom 'free'.
patch by (Cedric VINCENT <c-vinc02 at bat710 dot univ-lyon1 dot fr>)
the second part of the patch hasnt been applied, but fixed slightly differently

Originally committed as revision 3276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 19:24:43 +00:00
Michael Niedermayer
0ff7199f59 fix first timestamp when decoding mpeg-ps
Originally committed as revision 3274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 17:34:15 +00:00
Michael Niedermayer
75293f05f9 simplify
Originally committed as revision 3252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-25 20:03:51 +00:00
Michael Niedermayer
504c8380a3 ogg with ffplay fix
Originally committed as revision 3247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-24 20:20:16 +00:00
Michael Niedermayer
6f82497728 flush audio encoder buffers at the end
fix vorbis in nut again

Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:14:01 +00:00
Michael Niedermayer
cf7eef66ce 1000l
Originally committed as revision 3241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-20 11:28:01 +00:00
Mike Melanson
9be653d0e9 cvs diff before cvs commit
Originally committed as revision 3240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 14:51:46 +00:00
Mike Melanson
0bd586c50d sweeping change from -EIO -> AVERROR_IO
Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-19 03:59:34 +00:00
Luca Abeni
6e454c38b0 A/V Synch in ffmpeg patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 03:03:32 +00:00
Michael Niedermayer
4904d6c2d3 10l fix by (Bohdan Horst <nexus at irc dot pl>)
Originally committed as revision 3227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-17 10:46:08 +00:00
Michael Niedermayer
50c3dd32fd pass timestamps correctly for -sync 0
use zero sized frames in avi to handle duplicate frames

Originally committed as revision 3225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-15 13:49:12 +00:00
Michael Niedermayer
ca6ecf50f9 file id string
max short startcode distance

Originally committed as revision 3223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-14 21:30:36 +00:00
Wolfram Gloger
a6a92a9aa6 user specified start time offset
frame dup/drop info
typos
patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)

Originally committed as revision 3217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 22:03:16 +00:00
Michael Niedermayer
c60d6ad4bc more fourccs
Originally committed as revision 3212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-10 14:08:57 +00:00
Michael Niedermayer
573ab01eb7 ac3 bugfix, bug found by "Ben Cooley" <bcooley at dstreamtech dot com>
Originally committed as revision 3209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-09 00:38:52 +00:00
Michael Niedermayer
e05655fbbd fix playback of http://www.zonque.org/test-long.ps
better seeking, (not to keyframes but at least to the start of packets ...)

Originally committed as revision 3182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-31 16:57:00 +00:00
Michael Niedermayer
c6148de232 h261 decoder by (Maarten Daniels <maarten.daniels at student dot luc dot ac dot be>)
Originally committed as revision 3176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 20:37:15 +00:00
Michael Niedermayer
7520409245 10l
Originally committed as revision 3174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 01:04:50 +00:00
Michael Niedermayer
cc11e2b3e4 skip subtitle streams instead of perishing
Originally committed as revision 3173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-30 00:43:43 +00:00
Michael Niedermayer
3c895fc098 correctly interleave packets during encoding
dts/pts fixed for streamcopy
dont use coded_frame->key_frame hack in muxers, use AVPacket.flags instead

Originally committed as revision 3171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 18:50:31 +00:00
Michael Niedermayer
42feef6b70 exporting keyframe flags, fixes keyframe stuff with streamcopy
Originally committed as revision 3169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 12:01:28 +00:00
Michael Niedermayer
e928649b0b pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 02:06:32 +00:00
Sidik Isani
9e9080b6f0 dont add padding in the middle of the data patch by (Sidik Isani <isani at cfht dot hawaii dot edu>)
Originally committed as revision 3158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-25 23:06:00 +00:00
Michael Niedermayer
4fc2c6447f 100l (avi seeking)
Originally committed as revision 3155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-24 15:13:23 +00:00
Michael Niedermayer
cde073b448 100l (AVStream.duration)
Originally committed as revision 3154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-24 13:08:00 +00:00
Michael Niedermayer
77405fc866 cur_dts in native timebase
Originally committed as revision 3153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 21:36:23 +00:00
Michael Niedermayer
cdd5034f89 store index for seeking in the native timebase of each stream
set correct timebase for nut
merge mpeg-ts seeking with existing seeking code
10l fix in mpegts (27mhz vs. 90khz)

Originally committed as revision 3152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 16:26:12 +00:00
Michael Niedermayer
9ee91c2f53 move time_base (pts_num/pts_den) from AVFormatContext -> AVStream
Originally committed as revision 3148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 20:43:21 +00:00
Michael Niedermayer
84ad613008 bytestream tracing support
sync points
removing timestamp lru prediction
extendible frame_code / frame_code table

Originally committed as revision 3142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-20 16:00:22 +00:00
Roman Shaposhnik
12cccabd0f * IEC DV seems to accept SMPTE way of tagging 16:9 too.
Originally committed as revision 3139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-18 02:33:27 +00:00
Michael Niedermayer
7f2ca68a84 segfault fix
Originally committed as revision 3135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-13 14:54:57 +00:00
Mike Melanson
d91712990c support SVQ1 in AVI files, just for fun
Originally committed as revision 3112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-07 02:57:13 +00:00
Michael Niedermayer
1fa3d65d57 vbr audio fix
Originally committed as revision 3111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-06 21:52:38 +00:00
Michael Niedermayer
0b43db1448 match latest spec
seeking to startcode-less frames

Originally committed as revision 3102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-02 01:03:55 +00:00
Luca Abeni
3834be5858 fix rounding errors with NTSC patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 13:28:16 +00:00
Michael Niedermayer
c0c37848d8 export pts if available
Originally committed as revision 3081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 03:35:14 +00:00
Michael Niedermayer
293ed23f12 NULL pointers ...
Originally committed as revision 3080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-27 02:55:05 +00:00
Hauke Duden
224944895e mpeg SVCD compatibility, SCR fixes, standard compliance
- fixed VBR+constrained bitstream header flags for non-VCD
- more sane (and SVCD compatible) value for video stream->max_buffer_size
- always write at least one PES header stuffing byte for MPEG-2 to
prevent accidental start code generation
- do not write more than 16 stuffing bytes in a PES header (not
allowed). Use padding packets instead.
- include a PES extension in the first MPEG-2 packet
- fill the first pack of SVCD files with padding
- "sanity hack" that prevents the SCR from overtaking the PTS for non-VCD
- fixed VCD PTS values to correspond to the SCR
- always include DTS in the first SVCD packet (fixes lots of
compatibility problems with DVD players)

patch by (Hauke Duden <H.NS.Duden at gmx dot net>)

Originally committed as revision 3078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 22:16:06 +00:00
Michael Niedermayer
7aae316869 ring buffer fix by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 13:30:21 +00:00
James Morrison
bb476ff367 vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 15:16:23 +00:00
Sascha Sommer
45d6de9258 nut files in cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 3054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 13:10:35 +00:00
Sascha Sommer
2a86d50bd9 cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
Originally committed as revision 3053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 11:51:38 +00:00
Dmitry Borisov
df70de1f61 Mpeg start codes patch by ("Dmitry Borisov" <jbors at mail dot ru>)
Originally committed as revision 3046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 21:02:01 +00:00
Michael Niedermayer
11a8e42573 various fixes
Originally committed as revision 3031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 15:26:57 +00:00
Michael Niedermayer
068f2a22db cleanup
fix streamcopy

Originally committed as revision 3026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 12:04:59 +00:00
Wolfram Gloger
550f0a9b07 Off-by-two in mpegts.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-13 13:33:02 +00:00
Steven M. Schultz
17c22f574b libavformat/os_support.c HAVE_LOCALTIME_R patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 3009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 22:54:48 +00:00
Michael Niedermayer
31179d85cb store correct pts
Originally committed as revision 3008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 22:23:16 +00:00
Michael Niedermayer
75553f825c bit-exact
Originally committed as revision 3007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 20:06:23 +00:00
Michael Niedermayer
2fefb2201d distclean by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 3006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 18:42:23 +00:00
Michael Niedermayer
e5d64d6892 10l
Originally committed as revision 3005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 18:32:36 +00:00
Steven M. Schultz
3ec34bfdb2 libavformat/mov.c fails with gcc 2.95.3 patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 3004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 17:40:31 +00:00
Michael Niedermayer
8d14a25c3e moving nearly identical binary search code from nut/mpeg/asf to utils.c
Originally committed as revision 3003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 16:50:03 +00:00
Michael Niedermayer
ee77723580 codec tag for FLV
Originally committed as revision 3002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 19:32:24 +00:00
Michael Niedermayer
7585aa5c4e 4xm codec tag
Originally committed as revision 3001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 19:18:53 +00:00
Michael Niedermayer
b4c64c5092 some tag for mpeg2, so looking MPEG2VIDEO up works
Originally committed as revision 2999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 14:58:51 +00:00
Michael Niedermayer
31290c2b9b avoid seeking to the end, as it confuses some crappy code
Originally committed as revision 2996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 02:07:31 +00:00
Michael Niedermayer
ee76016c79 set codec_tag
Originally committed as revision 2995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-10 20:11:00 +00:00
Michael Niedermayer
a90466f741 prefix global
Originally committed as revision 2994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-10 19:42:18 +00:00
Mike Melanson
44f110f509 patch courtesy of Todd Kirby:
* Fixes a small memory leak in read_rle_sgi()
* Remove temp buffer in read_rle_sgi(). Write rle data directly to image
buffer.
* Adds sanity check to read_rle_sgi() to insure decoded rle data row
equals image width.

Originally committed as revision 2993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-10 15:09:46 +00:00
Michael Niedermayer
aec8f88a9e removing keyframe prediction and checksum threshold
Originally committed as revision 2991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 16:46:12 +00:00
Thomas Raivio
2768b0d99f correctly identify AAC audio in mov/mp4/etc. files. patch by ("Thomas Raivio" <tjraivio at cc dot hut dot fi>)
Originally committed as revision 2984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 13:13:24 +00:00
Steven M. Schultz
1c24c51dec gcc 2.95.3 patch by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 2983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 12:31:36 +00:00
Michael Niedermayer
7dddf251a2 fourcc & language code v->vb type
some minor cleanups
some bugfixes
seeking to type 1 and 2 frames (no index needed)
timestamp/position cache so seeking without an index is fast

Originally committed as revision 2980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-08 00:22:22 +00:00
Michael Niedermayer
c9247fc37a dont reduce the min_distance of AVIndexEntry
Originally committed as revision 2979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 21:33:53 +00:00
Alex Beregszaszi
21f52609dd support for -timestamp
Originally committed as revision 2978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 14:00:16 +00:00
Alex Beregszaszi
e9afa2f4dd unknown format char
Originally committed as revision 2976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 13:27:53 +00:00
Alex Beregszaszi
8cc7a34dd0 support for wider range of codecs
Originally committed as revision 2973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-07 12:47:33 +00:00
Michael Niedermayer
465e1dadbe 10l (bytes_left() -> url_feof())
10l (updating LRU delta pts for type 1/2 frames)
ensure that checksumming isnt enabled if its not needed
search for next startcode and then search backward to the next valid frame if an inconsistancy is detected
deal with non-frame startcodes in the middle of the stream

Originally committed as revision 2972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-06 17:40:17 +00:00
Roman Shaposhnik
4568325a18 * making it possible to specify recording date and time in a stream
Originally committed as revision 2971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-06 06:31:12 +00:00
Michael Niedermayer
7c5934ede9 search for undamaged headers
Originally committed as revision 2970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 22:00:59 +00:00
Michael Niedermayer
ee9f36a88e checksuming for nut & nice checksum API for libavformat
Originally committed as revision 2969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 12:02:10 +00:00
Michael Niedermayer
5e9b83f5d7 antitime
Originally committed as revision 2968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 11:36:13 +00:00
Michael Niedermayer
5a75750785 10l (Titel->Title)
Originally committed as revision 2967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 10:38:01 +00:00
Michael Niedermayer
e52788d069 info packet read/write & simplify
Originally committed as revision 2965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 22:34:26 +00:00
Michael Niedermayer
ae3fa4ea9c make vorbis default again
Originally committed as revision 2964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 20:24:28 +00:00
Michael Niedermayer
5062c202e2 10l
Originally committed as revision 2963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 20:00:04 +00:00
Michael Niedermayer
6748046eaa store extradata, vorbis in avi works now, dont expect av sync though
Originally committed as revision 2962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 19:28:49 +00:00
Michael Niedermayer
2926db54ba some random id for vorbis so we can do some experiments with vorbis in various containers, anyone knows if vorbis in WAV/AVI has a official id?
Originally committed as revision 2961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 19:18:15 +00:00
Michael Niedermayer
a1d4d70c7a large extradata fix
use 3 pts predictors for vorbis, slightly more efficient

Originally committed as revision 2960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 18:37:41 +00:00
Michael Niedermayer
b0c7f5a9d8 move zero size hack from ogg.c to utils.c
Originally committed as revision 2959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 18:33:07 +00:00
Michael Niedermayer
a03cbe5f7f fix global header passing from demuxer to decoder
Originally committed as revision 2958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 17:55:59 +00:00
Michael Niedermayer
bbb77e7c2e remove function call from muxer->encoder and cleanly pass global headers
Originally committed as revision 2956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 15:19:20 +00:00
Michael Niedermayer
6d8f985ecf fix obnoxious ogg_packet passing from encoder to muxer
Originally committed as revision 2955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 14:39:20 +00:00
Michael Niedermayer
d76f581ff5 kill obnoxious ogg_packet passing from demuxer to decoder
Originally committed as revision 2953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 02:07:15 +00:00
Michael Niedermayer
8bfed902f3 remove spyware from ogg*.c
fix vorbis in ogg decoding

Originally committed as revision 2952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 01:10:50 +00:00
Michael Niedermayer
a5247e3d8d nut (de)muxer update
conform to latest spec
 remove get/put_s() not needed anymore
 update_packetheader() fixed (wasnt always working)
 store/load extradata & aspect ratio
 memleak fix
 dont use vorbis by default yet
 use frame_size from the codec instead of hardcoding it in the source

Originally committed as revision 2951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-03 21:00:14 +00:00
Steven M. Schultz
d298185c73 yuv4mpeg output 'C' tag patch by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 2944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-01 23:32:53 +00:00
Roman Shaposhnik
cac0a56c55 * .mov files with uncompressed audio can't be correctly processed
because of the sample_size == 1 and MINOLTA hack relying on
      the information. So in a way, it's a hack of a hack.

      btw, if somebody knows why in the world even Apple's software
      thinks that for PCM 16bit sample_size == 1 please let me know.
      It clearly isn't documented that way.

Originally committed as revision 2941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-31 04:51:14 +00:00
Roman Shaposhnik
906b578f16 * fixing 10l in movenc.c + updating regression patterns.
Originally committed as revision 2938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-28 03:29:00 +00:00
Roman Shaposhnik
9a4d938874 * making .mov files generated by ffmpeg compatible with Apple software.
Originally committed as revision 2937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-28 02:17:06 +00:00
Wolfram Gloger
6fb316d563 Support raw mpegts streams from dvr patch by (wmglo at dent dot med dot uni-muenchen dot de)
Originally committed as revision 2931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 17:40:40 +00:00
Roman Shaposhnik
ca20f118d1 * enabling DV-in-QT
* fixing a bug in movenc.c: for QT files hdrl should contain 'mhlr'

Originally committed as revision 2928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 09:04:06 +00:00
Falk Hüffner
7906085fcc warning patrol
Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 23:32:48 +00:00
Michael Niedermayer
d957696f17 cleanup frame_rate code, this may also fix some large file bugs
Originally committed as revision 2924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 19:03:20 +00:00
Michael Niedermayer
c43e7a6611 untested win32 binary pipe fix
Originally committed as revision 2922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 18:29:30 +00:00
Roman Shaposhnik
490c735d1b * turns out raw DV files can have .dif extension
Originally committed as revision 2921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-24 06:32:57 +00:00
Roman Shaposhnik
8066e59fa4 * enabling seek in raw DV files
* generic DV demuxer now sets correct pts for every packet

Originally committed as revision 2919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-23 05:35:10 +00:00
Leon van Stuivenberg
2a42b5c37f support url_read which reads less then requested patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)
this is needed for compatibility with tcp.c 1.10

Originally committed as revision 2911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-20 19:57:28 +00:00
Michael Niedermayer
79292510a8 adjust_write_index() fix by ("Curi Fabio Eduardo (SFL)" <curif at TELEFONICA dot COM dot AR>)
Originally committed as revision 2903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 20:52:40 +00:00
Leon van Stuivenberg
e15dec10d5 decode latency patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)
Originally committed as revision 2896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-15 03:29:32 +00:00
Leon van Stuivenberg
b51469a0c5 tcp select() check and enables pressing 'q' when reading/(writing) from
tcp/http in ffmpeg.c patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)

Originally committed as revision 2891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 19:40:43 +00:00
Mike Melanson
23fe14bb20 minor VMD system update; still not perfect, but should not crash either
Originally committed as revision 2887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 04:08:11 +00:00
Mike Melanson
3a278992bd remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG

Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 04:04:08 +00:00
Michael Niedermayer
9eef2b77b2 no read loop tcp/http and http CRLF fix by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)
Originally committed as revision 2885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 02:59:33 +00:00
Ronald S. Bultje
c3775e542f fix global name conflicts patch by ("Ronald S. Bultje" <R dot S dot Bultje at students dot uu dot nl>)
Originally committed as revision 2884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 23:04:37 +00:00
Brian Becker
247d56f568 Parse stss info in MOV files to get key frames patch by ("Brian Becker" <Brian dot Becker at palmone dot com>)
Originally committed as revision 2879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 21:02:26 +00:00
Mike Melanson
6a91ec51fd added SGI image format, encoding and decoding, courtesy of Todd Kirby
<doubleshot@pacbell.net>

Originally committed as revision 2876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-13 17:30:37 +00:00
Michael Niedermayer
6e046750d8 big endian compile fix by ("Ronald S. Bultje" <R dot S dot Bultje at students dot uu dot nl>)
Originally committed as revision 2873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-12 02:26:01 +00:00
Michael Niedermayer
08abe0fd66 matroska demuxer by ("Ronald S. Bultje" <R dot S dot Bultje at students dot uu dot nl>)
Originally committed as revision 2872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-11 16:26:42 +00:00
Brian Becker
361b1b8676 Correcting the header size for ADPCM_IMA_WAV files patch by (Brian Becker <brian dot becker at palmone dot com>)
Originally committed as revision 2867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 03:54:56 +00:00
Michael Niedermayer
bb01a3f021 guess framerate
Originally committed as revision 2866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-10 03:45:14 +00:00
Michael Niedermayer
4bfc029f83 10l (1 vs. descrLength(1)) found by (Jean Le Feuvre - jeanlf)
Originally committed as revision 2864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 21:54:25 +00:00
Michael Niedermayer
92a267756f flv fixes
Originally committed as revision 2863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-09 20:14:34 +00:00
Michael Niedermayer
6ed08157ca channel count & samplerate fix
Originally committed as revision 2858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-08 02:38:43 +00:00
Konstantin Andreyev
e4053d526b forgot to commit from patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)
Originally committed as revision 2853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-06 11:07:37 +00:00
Konstantin Andreyev
615b92fd8e asf patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)
1. Corrected packet sent time. (Packet sent time => previous packet sent
     time)
  2. Corrected payload playing time. (Payload playing time => packet sent
     time)
  3. Used different format for packets with one payload and multi payloads.

Originally committed as revision 2851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 22:10:50 +00:00
Konstantin Andreyev
542993b06e split asf patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)
Originally committed as revision 2850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 21:34:30 +00:00
Michael Niedermayer
4346539522 av_log() cleanup
null pointer segfaults
 dont print redundant spam
 dont print prefix if reference==NULL
 class -> av_class
 dont copy AVClass to every object, its a waste of memory and not a good idea at all

Originally committed as revision 2841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 17:53:55 +00:00