Justin Ruggles
c0196a14b9
caf: use int64_t for num_packets
...
It is used to store a value read by avio_rb64().
13 years ago
Justin Ruggles
f5a9c35f88
caf: fix 'pakt' chunk parsing
...
according to the CAF specification:
"... the value for mChunkSize can be greater than the actual valid content
of the packet table chunk"
13 years ago
Justin Ruggles
b0b77b9ca5
caf: support either old or new style ALAC magic kuki chunk
13 years ago
Michael Niedermayer
daa290580d
mxfdec: simplify code by using av_calloc()
...
Reviewed a long time ago by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
83d6ad3616
avidec: Mark first frame as keyframe in case there are no keyframes.
...
This fixes seeking in filecopy.avi of Ticket504
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
5784a46986
lavf/utils: show the number of stream in case of missing parameter
...
Increase feedback provided in avformat_find_stream_info().
13 years ago
Stefano Sabatini
739ec710c4
lavf/utils: suggest what to do in case of missing codec information
...
In particular, fix trac issue #218 .
13 years ago
Stefano Sabatini
a293549b32
lavf/utils: extend has_codec_parameters() to make it show what info is missing
...
Improve feedback.
13 years ago
Diego Biurrun
7a249625fd
os_support: K&R formatting cosmetics
13 years ago
Michael Niedermayer
ad8dabfe9c
mov/aac: skip initial aac padding
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
b688c7b7f9
riff: add "SM4V" FourCC
...
Reviewed-by: compn <tempn@twmi.rr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
William Yu
6d4e0d1b7e
avf:rmdec.c fill duration to AVFormatContext
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Samuel Pitoiset
86991ce2dd
RTMPTS protocol support
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
6aedabc9b6
RTMPS protocol support
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Carl Eugen Hoyos
6dfea3a361
Remove internal MPlayer FourCC viv1.
...
Reviewed-by: Derek Buitenhuis
Reviewed-by: Paul B Mahol
13 years ago
Samuel Pitoiset
775c4d3625
rtmp: Rename rtmphttp to ffrtmphttp
...
The prefix makes it easier to distinguish the proper end-user
protocols from the internal ones.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jordi Ortiz
08e087ccf7
rtmp: rtmp_parse_result() add case for video and audio packets to avoid undesired debug output.
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Diego Biurrun
20d569dd61
mpeg: remove disabled code
13 years ago
Martin Storsjö
9e4b04f8b9
network: Always use our version of gai_strerror on windows
...
Even if linking directly to getaddrinfo, use our version of
gai_strerror instead of the system's version. Microsoft explicitly
documents that their version of gai_strerror is thread-unsafe.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
c98e2053f5
network: Undefine existing gai_strerror definitions
...
This avoids warnings if there already exists a definition.
This is the case on windows, where the getaddrinfo isn't available
and linked to (and we use our fallbacks instead, which actually
try to use the proper getaddrinfo version if found at runtime),
but gai_strerror still exists as a define.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
2ca6e9bb47
network: Extend the fallback gai_strerror implementation to handle more error codes
...
This is useful if a proper getaddrinfo is loaded dynamically on
windows, while using the fallback implementation of gai_strerror.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Piotr Bandurski
a8ff7e3f96
riff: Assign U263 FourCC to CODEC_ID_H263
13 years ago
Piotr Bandurski
96e2507363
isom: add "NO16" FourCC
...
samples:
http://www.datafilehost.com/download-46d9a0fa.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
198c4ea200
riff: add dvis/pdvc FourCCs
...
samples:
http://www.datafilehost.com/download-4b49270d.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
8d0ec6e060
isom: add "MNG" FourCC
...
sample:
http://www.datafilehost.com/download-92da395c.html
Reviewed-by: compn <tempn@twmi.rr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
57d5a224ce
mp3enc: add lame tag with start padding info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefan Gehrer
e98330df90
movenc: write track header transformation matrix depending on "rotate" metadata
...
should fix ticket #505
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Compn
c3a4c1bd5a
add PLV1 fourcc to mpeg4
...
works on http://samples.ffmpeg.org/V-codecs/PLV1/york-water-meteor.avi
13 years ago
Derek Buitenhuis
29470bb940
doxy: move av_guess_sample_aspect_ratio to correct place
...
It should not be a part of the RIFF FourCCs group.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Michael Niedermayer
c5cc94982d
matroskaenc: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
47aed43990
build: Fix APE tag dependencies
13 years ago
Kostya Shishkov
5b7e3a195d
MS Expression Encoder Screen decoder
13 years ago
Michael Niedermayer
db03f91f4b
mxfenc: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
19ff479f69
mp3dec: parse initial silence padding information from lame tag
...
And pass the information on to the lavf core.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
018601dbf9
lavf: inject sample skip side data when requested by the demuxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
b7884ff7af
build: Fix MP2 muxer dependencies
13 years ago
Diego Biurrun
d648de61e6
build: Add missing build rules for the ISMV muxer
13 years ago
Michael Niedermayer
e3c2d83183
avidec: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
781888da89
TechSmith Screen Codec 2 decoder
13 years ago
Matthieu Bouron
b8a90976da
lavf/mxfenc: fix dnxhd codec uls and aspect ratio
...
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
a8ad6ffafe
rtsp: Add listen mode
...
This makes the RTSP demuxer act as a server, listening for an
incoming connection.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jordi Ortiz
6e71c1202b
rtsp: Make rtsp_open_transport_ctx() non-static
...
This is required for the upcoming RTSP listen mode.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jordi Ortiz
6bbb362218
rtsp: Move rtsp_read_close
...
This avoids having to add forward declarations in the following
RTSP listen mode commit.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jordi Ortiz
45b068580b
rtsp: Parse the mode=receive/record parameter in transport lines
...
We need to support the nonstandard mode=receive, for compatibility
with older libavformat clients.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
f39bbc9d21
mxfdec: fix off by one error.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Tomas Härdin
83728d2d36
mxfdec: only parse next partition pack if parsing forward
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Tomas Härdin
34ca5ae51d
mxfdec: let pkt->pts = mxf->current_edit_unit if intra-only
...
We cannot do this in general since we could be reading
a file with B-frames while lacking an index.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Joseph Artsimovich
634d670538
mxfdec: fix frame height vs field height confusion
...
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Reveiwed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Tomas Härdin
5ed032fb8b
mxfdec: Add intra_only flag to MXFTrack
...
This allows future assumptions to be made without affecting non-intra files.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Tomas Härdin
fb8fa3c67c
mxfdec: fix Avid AirSpeed files being misinterpreted as OP1a
...
The "ECs != 1 -> OP1a" assumption was wrong. Luckily, the file
that triggered that behavior had two ECs, not zero. Hence
distinguishing between them is simple in this case.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago