Martin Storsjö
0abb07bad7
movenc: Update a comment to reflect how the code actually behaves
...
This codepath isn't quite as bad as it used to sound, if fragments
are cut automatically at video packets.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Luca Barbato
79fdbfdb3e
img2enc: Refactor the atomic renaming code
...
And use it for the separate-plane side-feature as well.
Bug-Id: 935
9 years ago
Anton Khirnov
06edef3d5e
Generate the lists of enabled protocols/bsfs from configure.
9 years ago
James Almer
b63ba3a517
avformat/hashenc: add missing avio_flush to hash_write_trailer
...
It was accidentally deleted in the previous hashenc commit
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
c4fad02779
avformat/matroskaenc: Undo bits_per_coded_sample change as bits_per_raw_sample is available again
...
Reminded-by: James Almer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
a676c29af5
lavf/bink: Cosmetics: Reindent after last commit.
9 years ago
Carl Eugen Hoyos
6d39132fd4
lavf/bink: Support Monkey Island 4 (SMUSH) files.
...
Fixes ticket #5410 .
9 years ago
James Almer
bb505cd505
avformat/hashenc: simplify hash_write_trailer
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
c8ed93efcf
avformat/yop: alloc codecpar extradata only once
...
Fixes memleak
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
323b8c95e4
avformat: add AVFormatContext to ff_get_extradata()
...
Needed for av_log() inside that function.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
James Almer
0efafc5849
avformat/framehash: enable new output
...
Also, make every addition except for sidedata part of version 1 instead of the
new version 2.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
868bce48f6
avformat/framehash: add sidedata checksum
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Jan Sebechlebsky
2ea5ab6fc6
avformat/tee: Refactor close_slaves function in tee muxer
...
Closing single slave operation is pulled out into separate
function close_slave(TeeSlave*).
Both close_slave and close_slaves function are moved before
open_slave function.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Bryan Huh
949444348b
avformat/dump: Fix sign bug in reported "start" time
...
Previously, the bug was that if -1 < start_time < 0, the reported
"start" time would lose the negative-sign.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
5557e881c9
avformat/framehash: add extradata checksum
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
33aa8a6221
avformat/framecrc: enable new output
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Derek Buitenhuis
2691a8399f
Revert "Merge commit '1ceb07eb313c2d51383408025e57a2fe50ccd164'"
...
Broke a lot of stuff and didn't fix anything.
This reverts commit 3c461eecd4
, reversing
changes made to 884dd175f0
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
James Almer
3674a53d17
avformat/uncodedframecrc: fix incompatible pointer type warning
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
e3111b1ff8
avformat/framehash: Add more information to the output
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Moritz Barsnick
f4a0236cbd
avformat: add hash and framehash muxers
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
196cfc278d
avformat/utils: use av_codec_g/set_lowres()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timo Rothenpieler
901b0f1a21
avformat/concatdec: Use correct stream count on close
9 years ago
Michael Niedermayer
15fa01786c
avformat/hdsenc: Pass flags to child context
...
This is needed as the bitexact flag is not in the codecpar context, and thus not copied
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
0c9ad94e97
avformat/dashenc: Pass flags to child context
...
This is needed as the bitexact flag is not in the codecpar context, and thus not copied
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4104f18358
avformat/segment: Pass flags to child context
...
This is needed as the bitexact flag is not in the codecpar context, and thus not copied
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
7e1e25c2dc
lavf/avio: Remove linebreak from https warning.
9 years ago
Michael Niedermayer
38a6242b27
avformat/mpegts: Remove unused argument from analyze()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
ee7a642b0e
avformat/mpegts: Check adaption field control in analyze() more instead of transport_error_indicator
...
transport_error_indicator is not required to be 0
Fixes probing
Fixes Ticket 4862
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
b0c026a27f
lavf/rawenc: Add a raw gsm muxer.
9 years ago
Carl Eugen Hoyos
56cb465b38
lavf/gsmdec: Add raw gsm autodetection.
...
Fixes bug 555.
9 years ago
Paul B Mahol
a4790e1890
avformat/nistshperedec: add support for mu-law as sample-byte-format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
259879d32d
avformat/nistspheredec: fix silly bug
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
0c9490609d
avformat: support shorten in nistshpere demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Diego Biurrun
d12b5b2f13
build: Split test programs off into separate files
...
This avoids spurious library rebuilds when only the test program
code is changed and simplifies the build system.
9 years ago
Diego Biurrun
01621202aa
build: miscellaneous cosmetics
...
Restore alphabetical order in lists, break overly long lines, do some
prettyprinting, add some explanatory section comments, group parts
together that belong together logically.
9 years ago
Paul B Mahol
2d720069a9
avformat: add aix demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
56a3a3f01c
avformat: add musx demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Luca Barbato
e3453fd444
matroska: Write the field order information
...
And bump the document version to 4.
9 years ago
Paul B Mahol
76466ab214
avformat/brstm: lower magic number, fixes decoding of some files
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Hendrik Leppkes
6518cbc52a
lavc/utils: Introduce ff_bprint_to_codecpar_extradata for avformat
...
It will be used by text subtitle demuxers to construct format instructions
straight into extradata. They all currently a similar function that accepts
an AVCodecContext instead.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Michael Niedermayer
06c4ed0c0e
avformat/wavdec: fix typo with len
...
Found-by: carl
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
cf4d050b72
avformat/wavdec: Remove direct s->pb->buffer access
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Derek Buitenhuis
fcbdc44f4e
wavdec: Only set the codec ID in read_header
...
WAV is not a NOHEADER format, and thus should not be changing
stream codec IDs and probing in read_packet.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Rodger Combs
4b150fbe1f
lavf/segment: add option to write empty filler segments as needed
9 years ago
Rodger Combs
5b4f44f66a
lavf/segment: slight refactor to seg_write_packet
...
This reduces some code duplication, and ensures that cur_entry.last_duration is
always set.
9 years ago
Rodger Combs
44a9395b5a
lavf/segment: style nit
9 years ago
Rodger Combs
d38fe9f493
lavf/segment: support automatic bitstream filtering
...
Most useful for MPEG-TS. Works by having the underlying muxer configure the
bitstream filters, then moving them to our own AVStreams.
9 years ago
Derek Buitenhuis
54ccaaeb2b
psxstr: Remove some commented out code
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Luca Barbato
5f02266681
matroska: Support interlaced content correctly
...
The matroska specification now has two elements for it.
9 years ago
James Almer
9bf3d01d91
avformat/latmenc: auto-insert aac_adtstoasc bitstream filter when needed
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago