Make write_streamheader() and write_headers() accept anAVFormatContext * in input rather than a NUTContext *, which allows tolog messages with av_log().
Originally committed as revision 23431 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the error message issued in case of invalid codec tag moreinformative.
Originally committed as revision 23423 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change default number of channels (used if unspecified in the format desc)from 2 to 1, which is the actual value used in the spec. Fixes issue1978.
Path by John Wimer <john at god dot vtic dot net>.
Originally committed as revision 23414 to svn://svn.ffmpeg.org/ffmpeg/trunk
Print an error when MAX_STREAMS is reached.
Originally committed as revision 23413 to svn://svn.ffmpeg.org/ffmpeg/trunk
Declare the url_write buffer parameter as const
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
Prevent au_read_packet() looping endlessly when .au file contains unsupported codec type.
Originally committed as revision 23392 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent after r23361.
Patch by Francesco Lavra <francescolavra interfree it>.
Originally committed as revision 23362 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use ff_rm_codec_tags[] in RM muxer. This, incidentally, also allows muxingother audio codecs rather than only AC-3, so add some code that makesword byte-swapping only happen for AC-3, not for all audio codecs.
Patch by Francesco Lavra <francescolavra interfree it>....
Move rm_codec_tags to rm.c so muxer/demuxer can share it.
Originally committed as revision 23360 to svn://svn.ffmpeg.org/ffmpeg/trunk
On2 IVF demuxer
Originally committed as revision 23357 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make sure that when the parser is feeded with frame==packet that thepackets are passed through and wont be marked as static which wouldrequire them to be copied by av_dup_packet().
Originally committed as revision 23352 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add support for the newly added Nut codec tags (added in Nut r669):Y100[16], [16][00]1Y, Y311[16], [16][11]3Y, Y310[16],[16][10]3Y, Y300[16], [16][00]3Y, Y411[ 8], Y200[ 8].
Originally committed as revision 23342 to svn://svn.ffmpeg.org/ffmpeg/trunk
Parse and repack the first frame of H.264 in ASF because SPS+PPS lives in its own packet.
Originally committed as revision 23333 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.
Originally committed as revision 23332 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskadec: avoid potential crash after r23169
Originally committed as revision 23330 to svn://svn.ffmpeg.org/ffmpeg/trunk
We're using generic tag-to-ID functions, so specific codec_id assignmentsare no longer necessary. Patch by Zhou Zongyi <zhouzy AT os pku edu cn>.
Originally committed as revision 23312 to svn://svn.ffmpeg.org/ffmpeg/trunk
Samsung uses SIPP as FourCC for MPEG-4 ASP.
Originally committed as revision 23309 to svn://svn.ffmpeg.org/ffmpeg/trunk
24l trocadero: RTMP reader forgot to shift high byte of timestamp to itsproper position
Patch by trueice (his gmail account is obvious)
Originally committed as revision 23305 to svn://svn.ffmpeg.org/ffmpeg/trunk
In ogg muxer, use random serial number of each ogg streams
Originally committed as revision 23302 to svn://svn.ffmpeg.org/ffmpeg/trunk
MMS-over-TCP protocol support. Patch by Zhentan Feng <spyfeng gmail com>.
Originally committed as revision 23301 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add missing codec id <-> codec tag entries:CODEC_ID_RAWVIDEO <-> Y41BCODEC_ID_RAWVIDEO <-> Y42BCODEC_ID_RAWVIDEO <-> YUV9CODEC_ID_RAWVIDEO <-> YVU9
These codec tags are listed in fourcc.org, and are already listed inlibavcodec/raw.c:ff_raw_pix_fmt_tags as AVI tags....
Add -f framemd5 muxer similar to framecrc.
Originally committed as revision 23289 to svn://svn.ffmpeg.org/ffmpeg/trunk
Display a more descriptive log message when probe buffer limit isreached.
Originally committed as revision 23288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Skip pes payload during probing to avoid start code emulation.
Patch by Janne Grunau, janne-ffmpeg jannau net
Originally committed as revision 23286 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskaenc: Write codec time base as default duration for video tracks.
This isn't exactly semantically equivalent, but the field has already beenlong abused to mean this, and writing it helps in determining a decent cfrtime base when transcoding from a mkv where the video codec stores none (VP8)....
Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the manyseeks needed for binary search when seeking to a previously seenlocation.
Originally committed as revision 23279 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskadec: Revert adding the doctype to metadata; it has no meaning elsewhere
Originally committed as revision 23275 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reduce the score for the aea demuxer probing function.
Originally committed as revision 23273 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix detection of some stereo atrac files by not comparing theblock size mode and info byte.
Originally committed as revision 23272 to svn://svn.ffmpeg.org/ffmpeg/trunk
oups, 100l, revert unrelated hunk from commit r23266
Originally committed as revision 23269 to svn://svn.ffmpeg.org/ffmpeg/trunk
write 3gp perf tag for artist metadata
Originally committed as revision 23268 to svn://svn.ffmpeg.org/ffmpeg/trunk
albm 3gp tag has optional track field not date
Originally committed as revision 23267 to svn://svn.ffmpeg.org/ffmpeg/trunk
change author metadata to artist in mov de/muxer
Originally committed as revision 23266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the nut decoder read the ff_nut_video_tags to detect codec id ofthe input file.
This is required as Nut codec tags are not contained inff_codec_bmp_tags.
Originally committed as revision 23260 to svn://svn.ffmpeg.org/ffmpeg/trunk
Define ff_nut_video_tags and make Nut muxer and demuxer set it incodec_tag.
Originally committed as revision 23259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a md5 muxer that allows checking the md5 sums of generated streams withoutneeding an external MD5 command.
Originally committed as revision 23257 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make ff_random_get_seed public, rename to av_get_random_seed, export the header
Keep an old ff_ named function for binary compatibility until thenext major bump.
Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make av_write_header() return AVERROR rather than -1 if theinput parameters are not valid.
Originally committed as revision 23253 to svn://svn.ffmpeg.org/ffmpeg/trunk
Store in a dedicated array the format name - codec id - codec typemapping. Simplify.
Originally committed as revision 23252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move AVCodecTag from riff.h into internal.h.
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23250 to svn://svn.ffmpeg.org/ffmpeg/trunk
Prefer enum CodecID over int in ff_codec_get_tag().
Originally committed as revision 23249 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskaenc: Don't write track timecode scale
It's not required for mkv and unsupported in webm
Originally committed as revision 23247 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskadec: Allow unknown EBML doctype
Originally committed as revision 23246 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskadec: Support webm doctype
Patch by James Zern <jzern at google>
Originally committed as revision 23245 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove unused field
Originally committed as revision 23232 to svn://svn.ffmpeg.org/ffmpeg/trunk
In ogg muxer, pack multiple frames into one page, much lower overhead
Originally committed as revision 23231 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change the default codecs for the rtsp muxer to mpeg4 and aac
These codecs in RTP are supported by many players.
Originally committed as revision 23209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Take ff_write_chained in use in the mov rtp hinter and in the rtsp muxer
Originally committed as revision 23208 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a libavformat internal function ff_write_chained
Originally committed as revision 23207 to svn://svn.ffmpeg.org/ffmpeg/trunk
Disable non interleaved avi code when there is no index available.Fixes issue1956.
Originally committed as revision 23202 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add VP80 fourcc
Patch by Google
Originally committed as revision 23193 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroska: Add V_VP8
Originally committed as revision 23192 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix a crash when opening WMS RTSP streamsFixes issue 1948
Originally committed as revision 23181 to svn://svn.ffmpeg.org/ffmpeg/trunk
Late bump of the minor version, for the addition of AVFMT_FLAG_RTP_HINT
Originally committed as revision 23179 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskadec: Free ebml binary buffer on error
Based on a Chromium patch
Originally committed as revision 23169 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskadec: Fix buffer overread in matroska_ebmlnum_uint
Originally committed as revision 23168 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskadec: Ensure time_scale is nonzero, fixes divide-by-zero if the filehas 0 written
Originally committed as revision 23167 to svn://svn.ffmpeg.org/ffmpeg/trunk
matroskadec: Use av_freep in ebml_read_ascii
Originally committed as revision 23166 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use a heuristic for describing the RTP packets using sample data
Originally committed as revision 23165 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add initial support for RTP hinting in the mov muxer
Originally committed as revision 23164 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make mov_write_packet non-static, add ff_ prefix
Originally committed as revision 23163 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move the mov muxer structures to a separate header
Originally committed as revision 23162 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a flag for enabling RTP hinting
Originally committed as revision 23161 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make ff_sdp_write_media a lavf-internal function
This is in preparation for RTP hinting in the MOV muxer, whereit needs to be able to create SDP fragments for each media stream.
Originally committed as revision 23160 to svn://svn.ffmpeg.org/ffmpeg/trunk
Validate AVCodecTag vs CodecID.
Originally committed as revision 23159 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize some code into the new function ff_toupper4().
Originally committed as revision 23158 to svn://svn.ffmpeg.org/ffmpeg/trunk
In ts demuxer, output pes packet as soon as they are complete.This is needed for subtitles where packets are infrequent.Patch by Janne Grunau, janne-ffmpeg at jannau dot net.
Originally committed as revision 23157 to svn://svn.ffmpeg.org/ffmpeg/trunk
set avg frame rate in mkv demuxer
Originally committed as revision 23152 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add NV12 and NV21 AVI tags.
Both are listed in fourcc.org.
Originally committed as revision 23145 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change MAX_READ_SIZE message during av_find_stream_info to DEBUG level.It is not harmful and it scares too many users.
Originally committed as revision 23139 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent after r23112.
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23113 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move handling of paletted data to the IFF demuxer. This allows futurehandling of things such as masking/EHB/HAM for this type of data.
Originally committed as revision 23112 to svn://svn.ffmpeg.org/ffmpeg/trunk
Doxygen av_codec_get_id() and av_codec_get_tag().
Originally committed as revision 23102 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add FourCC MJPG for CODEC_ID_JPEGLS.
Originally committed as revision 23076 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add support to the Y411 codec tag, corresponding to the rawvideo pixelformat uyyvyy411.
The codec tag is referenced in fourcc.org.
Originally committed as revision 23072 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the nut demuxer issue a more meaningful error message if itcannot recognize the provided codec tag.
Originally committed as revision 23071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace usage of s->streams0->* with st->*, which is shorter.
Originally committed as revision 23069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Favor chunk size over hitting the correct position after reading the chunk size in asf.Fixes issue1923
Originally committed as revision 23040 to svn://svn.ffmpeg.org/ffmpeg/trunk
Parse IFF metadata.
Patch by Sebastian Vater, cdgs D basty A googlemail
Originally committed as revision 23024 to svn://svn.ffmpeg.org/ffmpeg/trunk
movenc: Write QuickTime chapters
Originally committed as revision 23022 to svn://svn.ffmpeg.org/ffmpeg/trunk
movenc: Swap positions of mov_write_header and mov_write_packet
Originally committed as revision 23021 to svn://svn.ffmpeg.org/ffmpeg/trunk
mov: Read nero chapters
Originally committed as revision 23020 to svn://svn.ffmpeg.org/ffmpeg/trunk
Do not use pkt->size when it is potentially uninitialized.
Patch by Thierry Foucu, tfoucu gmail
Originally committed as revision 23017 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix off-by-one errors in description of score_max argument forav_probe_input_format2
Originally committed as revision 23004 to svn://svn.ffmpeg.org/ffmpeg/trunk
Export av_probe_input_format2.
Originally committed as revision 23002 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix FourCC when remuxing VP6F, regression introduced in r22941.
Patch by Anssi Hannula, anssi D hannula A iki fi
Originally committed as revision 22985 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent after rr22977.
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22978 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the IFF demuxer a little more standards-compliant, e.g. respect the sizefields of common media header chunks (these can have different sizes dependingon the type of IFF file you read), better handle odd sizes (like RIFF, everyfield is padded to word) and handle headerchunks after the BODY chunk....
Make file_open() return the error code set in errno if open() fails,rather than always ENOENT.
Originally committed as revision 22972 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mark av_metadata_set() as deprecated, and use av_metadata_set2()in its place.
av_metadata_set() is going to be dropped at the next major bump.
Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Disable LATM AAC in mpegts, this is not supported and produce too manybug reports. Also warn the user about it.
Originally committed as revision 22947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix off-by-1 error in the tag parsing code.
Originally committed as revision 22945 to svn://svn.ffmpeg.org/ffmpeg/trunk
Made FLIC demuxer capable of handling the videos from "X-COM: Terror from the Deep".
Originally committed as revision 22942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Support VP6F in Matroska.
Patch by Christian Schmidt, schmidt digadd de
Originally committed as revision 22941 to svn://svn.ffmpeg.org/ffmpeg/trunk
Do not initialize res in url_fseek(), in the case !s->seek directlyreturn AVERROR rather than the pre-defined value of res.
Slightly improve readability.
Originally committed as revision 22939 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix MTV decoding on big-endian systems
Originally committed as revision 22929 to svn://svn.ffmpeg.org/ffmpeg/trunk
mov: Read QuickTime chapters
Originally committed as revision 22928 to svn://svn.ffmpeg.org/ffmpeg/trunk
movenc: Write nero chapters
Originally committed as revision 22927 to svn://svn.ffmpeg.org/ffmpeg/trunk
seems aac gets screwed up by the parser so disable it
Originally committed as revision 22926 to svn://svn.ffmpeg.org/ffmpeg/trunk