Marton Balint
94a9ac1277
lavf: add av_guess_frame_sample_aspect_ratio function
...
Guesses the sample aspect ratio of a frame, based on both the stream and the
frame aspect ratio.
Since the frame aspect ratio is set by the codec but the stream aspect ratio
is set by the demuxer, these two may not be equal. This function tries to
return the value that you should use if you would like to display the frame.
Basic logic is to use the stream aspect ratio if it is set to something sane
otherwise use the frame aspect ratio. This way a container setting, which is
usually easy to modify can override the coded value in the frames.
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
9ae570fb5f
JACOsub demuxer, decoder and muxer.
13 years ago
Paul B Mahol
680981832f
"Metal Gear Solid: The Twin Snakes" demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
a6733202cc
lavf: make av_interleave_packet_per_dts() private.
...
There is no reason for it to be public, it's only meant to be used
internally.
13 years ago
Anton Khirnov
3c90cc2ef2
lavf: deprecate av_read_packet().
...
The caller can achieve the same effect (i.e. getting raw unparsed/mangled
packets) with av_read_frame() and AVFMT_FLAG_NOPARSE |
AVFMT_FLAG_NOFILLIN
13 years ago
Anton Khirnov
322537478b
Add a minor bump, changelog/APIchanges entry and some documentation for APIC support.
13 years ago
Paul B Mahol
dc4e57489f
CDXL demuxer and decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Martin Storsjö
8bdab32f4e
libavformat: Rename the applehttp protocol to hls
...
Keep the old protocol name around for backwards compatibility
until the next bump.
Deprecate the method of implicitly assuming the nested protocol.
For applehttp://server/path , it might have felt logical, but
supporting hls://server/path isn't quite as intuitive. Therefore
only support hls+http://server/path from now on.
Using this protocol at all is discouraged, since the hls demuxer
is more complete and fits into the architecture better. There
have been cases where the protocol implementation worked better
than the demuxer, but this should no longer be the case.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
c5254755c0
lavf: remove disabled FF_API_SET_PTS_INFO cruft
13 years ago
Anton Khirnov
374e469b8d
lavf: remove disabled FF_API_OLD_INTERRUPT_CB cruft
13 years ago
Anton Khirnov
bf868727d7
lavf: remove disabled FF_API_REORDER_PRIVATE cruft
13 years ago
Anton Khirnov
fd87ba3220
lavf: remove disabled FF_API_SEEK_PUBLIC cruft
13 years ago
Anton Khirnov
bd4c51312b
lavf: remove disabled FF_API_STREAM_COPY cruft
13 years ago
Anton Khirnov
2a0f868cfa
lavf: remove disabled FF_API_PRELOAD cruft
13 years ago
Anton Khirnov
1329827e79
lavf: remove disabled FF_API_NEW_STREAM cruft
13 years ago
Anton Khirnov
adad5b88f8
lavf: remove disabled FF_API_RTSP_URL_OPTIONS cruft
13 years ago
Anton Khirnov
f0cb13958d
lavf: remove disabled FF_API_MUXRATE cruft
13 years ago
Anton Khirnov
2f5e728b58
lavf: remove disabled FF_API_FILESIZE cruft
13 years ago
Anton Khirnov
df0bb26aca
lavf: remove disabled FF_API_TIMESTAMP cruft
13 years ago
Anton Khirnov
3bbfd3026c
lavf: remove disabled FF_API_LOOP_OUTPUT cruft
13 years ago
Anton Khirnov
6dc345555f
lavf: remove disabled FF_API_LOOP_INPUT cruft
13 years ago
Anton Khirnov
b32e30faa1
lavf: remove disabled FF_API_AVSTREAM_QUALITY cruft
13 years ago
Anton Khirnov
2d70912cc2
lavf: remove disabled FF_API_FLAG_RTP_HINT cruft
13 years ago
Anton Khirnov
1d911bb404
lavf: remove disabled FF_API_SDP_CREATE cruft
13 years ago
Anton Khirnov
64f6f6f836
lavf: remove disabled FF_API_GUESS_IMG2_CODEC cruft
13 years ago
Anton Khirnov
21824e5b88
lavf: remove disabled FF_API_PKT_DUMP cruft
13 years ago
Anton Khirnov
cc10ab79ec
lavf: remove disabled FF_API_FIND_INFO_TAG cruft
13 years ago
Anton Khirnov
ecd5f41a06
lavf: remove disabled FF_API_PARSE_DATE cruft
13 years ago
Anton Khirnov
997420abf2
lavf: remove disabled FF_API_DUMP_FORMAT cruft
13 years ago
Anton Khirnov
2fb7501938
lavf: remove disabled FF_API_FORMAT_PARAMETERS cruft
...
Also remove now unused AVFormatParameters struct and
AVOutputFormat.set_parameters().
13 years ago
Anton Khirnov
38233fc131
lavf: remove disabled FF_API_OLD_METADATA2 cruft
13 years ago
Anton Khirnov
2439f2ca82
lavf: remove disabled FF_API_OLD_AVIO cruft
13 years ago
Anton Khirnov
a17479dfce
lavf: increase major version from 53 to 54.
13 years ago
Martin Storsjö
4ddd54dab4
movenc: Add a separate ismv/isma (smooth streaming) muxer
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
f1caf01d5e
libavformat: Add a flag for muxers that support write_packet(NULL) for flushing
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
83988d58ed
movenc: Add support for writing fragmented mov files
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
dc7ad30fa5
lavf: postpone removing av_close_input_file().
...
It has been deprecated only recently.
13 years ago
Paul B Mahol
ffa0923eee
add SMJPEG muxer
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Anton Khirnov
e5c708151e
lavf: undeprecate read_seek().
...
The "new seeking API" was never finished and nobody is working on it.
13 years ago
Paul B Mahol
b5aecc6bc0
avformat: Add SMJPEG demuxer.
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Paul B Mahol
a4209ad631
lavf: Add SMJPEG demuxer.
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2a85358d4f
libavformat: increase LIBAVFORMAT_VERSION_MICRO to 100
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Karcher
f40e7eb573
lavf: add OpenMG audio muxer.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Nicolas George
2c82ab946b
lavf: add SBG demuxer.
13 years ago
Anton Khirnov
526604545f
lavf: add avformat_close_input().
...
It sets the supplied AVFormatContext pointer to NULL after freeing it,
which is safer and its name is consistent with other lavf functions.
Also deprecate av_close_input_file().
13 years ago
Anton Khirnov
eca06cbed9
lavf doxy: add installed headers to groups.
13 years ago
Michael Niedermayer
ec20fc1581
lavf: allow grouping packets in chunks of a user specified size and duration.
...
This is similar to MP4Boxs -inter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
31f9032b78
lavf: add audio_preload option, this allows interleaving audio earlier
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
13 years ago
Justin Ruggles
a17c3c7d15
avformat: add CRI ADX format demuxer
13 years ago