Michael Niedermayer
a4f94f24b4
udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined
...
This happens with for example mplayer.
Fixing it in ffmpeg allows new ffmpeg to be compiled with older mplayer
which would not be possible if the fix was just in mplayer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
b0629366a2
lavf: make cmdutils's check_stream_specifier public.
...
The new function is called avformat_match_stream_specifier()
and does not include logging the error message.
13 years ago
Nicolas George
30549294ef
matroska: add support for Opus.
...
Opus in Matroska is still a draft.
13 years ago
Nicolas George
e62fd6619f
oggdec: add support for Opus codec.
...
This patch also introduces CODEC_ID_OPUS.
13 years ago
Justin Ruggles
1749e12f45
cafdec: allow larger ALAC magic cookie
...
It already skips any extra bytes at the end, and apparently there are some
samples in the wild with larger 'kuki' chunks.
13 years ago
Nicolas George
885fc05865
lavf: count skipped samples for initial timestamps.
...
If skip_samples is set and timestamps are synthesized using durations,
make them start at -skip_samples (rescaled) instead of 0,
so that the timestamp of the first undiscarded sample is 0.
13 years ago
Nicolas George
0e57d79b0c
lavf: set pkt_timebase at the same time as stream->time_base.
13 years ago
Stefano Sabatini
a8d8e868c6
lavf/udp: warn in case the circular_buffer_size or overrun_nonfatal options are not supported
...
They are only supported if pthread is available.
13 years ago
Justin Ruggles
3bab7cd128
avformat: move 'chan' tag parsing to mov_chan.c to share with the CAF demuxer
13 years ago
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