Panagiotis H.M. Issaris
9b01a8ad5e
Prevent segfault if iformat was not yet initialized.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
7862bd3d4a
Cosmetics: Improve 'too short LIST' error message in wav.c.
13 years ago
Carl Eugen Hoyos
a8e93ce4cb
Do not reject LIST tags in wav with size 4.
...
Fixes ticket #745 .
13 years ago
Carl Eugen Hoyos
9c18a056b1
Detect 'yuv2' as rawvideo also in avi.
13 years ago
Derek Buitenhuis
309ffa4fe3
v410 encoder and decoder
...
v410 is a packed 10-bit 4:4:4 YCbCr format used in
QuickTime.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
36be045ed7
Support "VLB " audio in NSV files.
...
See samples/nsv/vlb_audio.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
b39e01a6e8
clenaup: #ifdec CONFIG*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9aeaf62903
Fix all GNU %Ld
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
4badb386ce
lavf: dealloc private options in av_write_trailer
...
Fix the iformat/oformat typo.
13 years ago
Mans Rullgard
878dda5db1
build: move inclusion of subdir.mak to main subdir loop
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
a6c4c0f274
mp4enc: Avoid storing sizes in trun when they all match.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d9a41695ed
mp4enc: Only store flags in trun when they differ from the default and set a sane default.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1f83f04609
mp4enc: dont store durations in trun if they are unneeded.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4a6855343f
mp4enc: dont store cts in trun if they are unneeded.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
13 years ago
Anton Khirnov
cd3716b9aa
Replace all uses of av_close_input_file() with avformat_close_input().
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
3a7f7678eb
lavf: deprecate av_close_input_stream().
...
And remove all its uses.
13 years ago
Anton Khirnov
59826cab8a
lavf doxy: add some basic demuxing documentation.
13 years ago
Anton Khirnov
ccbc106841
lavf doxy: add some general lavf information.
13 years ago
Anton Khirnov
abf2c2d787
lavf doxy: add misc utility functions to a group.
13 years ago
Anton Khirnov
c8dffc02fd
lavf doxy: add av_guess_codec/format to the encoding group.
13 years ago
Anton Khirnov
469c62d002
lavf doxy: add core functions to a doxy group.
13 years ago
Tomas Härdin
7d531e83b6
mxfdec: Set DTS and PTS on video packets
...
This involves computing DTS/PTS from the index tables.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
8a2cb2abbf
mxfdec: Only sort IndexTableSegments once
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
0bcada9f61
mxfdec: Add Avid's essence element key
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
1e14bfc117
mxfdec: Add support for Avid indexes
...
These indexes duplicate every entry and have the total size of the essence
container as the last entry.
This patch also computes the size of the packets when unknown.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
89cc8c17df
mxfdec: Check slice_count before freeing slice_offset_entries
...
This fixes SIGSEGV on sliceless (single stream) VBR files
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
c0ee522df6
mxfdec: Bring back accumulated_offset that was removed in 5e67e3e
...
I thought it had to do with file offsets, but's actually the offset inside
the essence container.
In other words, unbreak multiple EditUnitByteCounts.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
80914cde6f
timecode: rename internal ff_* symbols to avpriv_*.
...
Those functions are shared between libs.
Also fix a typo in function names: smtpe → smpte.
13 years ago
Michael Niedermayer
cd2f7ed000
seek-test: use standard format specifiers in snprintf()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
3383a53e7d
lavu: replace int/float punning functions
...
The existing functions defined in intfloat_readwrite.[ch] are
both slow and incorrect (infinities are not handled).
This introduces a new header with fast, inline conversion
functions using direct union punning assuming an IEEE-754
system, an assumption already made throughout the code.
The one use of Intel/Motorola extended 80-bit format is
replaced by simpler code sufficient under the present
constraints (positive normal values).
The old functions are marked deprecated and retained for
compatibility.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
16abd68779
seektest: floatfree
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
373211d828
Remove extraneous semicolons
...
These semicolons cause invalid empty top-level declarations.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Reimar Döffinger
c3068d43a8
Support VP8 in NSV.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Martin Storsjö
0ebd4083e1
sdp: Restore the original mp4 format h264 extradata if converted
...
If the sdp is generated before the rtp muxer is initialized
(e.g. as when called from the rtsp muxer), this has to be done,
otherwise the rtp muxer doesn't know that the input really is
in mp4 format.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Abeni
e0a3c287b4
rtpenc: Add support for mp4 format h264
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
4dbac18e2e
rtpenc: Simplify code by introducing a separate end pointer
...
Also remove redundant parentheses.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
e2484fb644
movenc: Use the actual converted sample for RTP hinting
...
If an annex b bitstream is muxed into mov, the actual written
sample is reformatted to mp4 syntax before writing.
Currently, the RTP hints that copy data from the normal video
track, where the payload data might be offset compared to the
original sample that the RTP hinting used (when 3 byte
annex b startcodes have been converted into 4 byte mp4 format
startcodes).
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
da9cea77e3
Fix a bunch of common typos.
13 years ago
Anton Khirnov
e745d7525a
rawdec: don't set codec timebase.
...
It's not supposed to be set outside of lavc. Set r_frame_rate and
avg_frame_rate instead.
13 years ago
Anton Khirnov
489a7b07e9
lavf doxy: add muxing stuff to lavf_encoding group
13 years ago
Anton Khirnov
370f27dee3
lavf doxy: add demuxing stuff to lavf_decoding group
13 years ago
Anton Khirnov
28b4c06b9d
lavf doxy: expand/reword metadata API doxy.
13 years ago
Anton Khirnov
eca06cbed9
lavf doxy: add installed headers to groups.
13 years ago
Anton Khirnov
fb42db7c39
lavf doxy: add avio groups into the lavf_io group.
13 years ago
Anton Khirnov
e4f4a1f93e
lavf doxy: rename lavf I/O group to lavf_io.
13 years ago
Anton Khirnov
b262a05904
lavf doxy: add metadata docs to the main lavf group
13 years ago
Paul B Mahol
3c1f60860d
flacdec: Support for tracks in cuesheet metadata block
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Reimar Döffinger
0849a0ebb2
rtmpproto: make condition work in overflow case.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago