Commit Graph

3047 Commits

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