Matthieu Bouron
f452d6c34d
mxfdec: fix frame height computation for mixed fields layout
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1dd71e1cd5
rawdec: force timestamps from codec to be used
...
This fixes playback timing with at least m4v files
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a6b3471c44
avformat: add needs_parsing type to enable codec TS use.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
faa2930f19
flvdec: reenable extradata passing code
...
This fixes passing junk in stream.
It should not have any user vissible effect.
We are discarding the new data in the decoder as no case is known
where it is needed but it causes problems if used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
db9e00f469
Remove libnut wrapper
...
libnut is unmaintained and known to be buggy; native NUT code exists.
13 years ago
James Zern
e9cef89702
avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Marton Balint
b36a0a80fc
lavf: also use codec aspect ratio in av_guess_sample_aspect_ratio
...
Use codec aspect ratio for frame aspect ratio if AVFrame is NULL.
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Samuel Pitoiset
5d603f1b65
http: Factorize the code by adding http_read_header()
...
This function is used for reading http reply headers.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Piotr Bandurski
4d18f4c15b
id3v2: reject APICs with size of 0
...
fixes ticket #1324
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
68aef0b481
lavf: change some (de)muxer names to lowercase
...
This is consistent with other format names.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
81ad97eeda
lavf: make output format matching case insensitive
...
This is consistent with how input formats are matched.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Clément Bœsch
e5fcf3646a
lavf/id3v2: always strdup the value.
...
This simplifies the code but also fix a warning: ff_id3v1_genre_str
array contains const strings so do the string dup now instead of in
av_dict_set().
13 years ago
Clément Bœsch
6ad974ae1c
lavf/id3v2: do not export empty fields.
...
This also avoids a memleak.
13 years ago
Clément Bœsch
1308fa42ad
lavf/swf: fix make checkheaders.
13 years ago
Anton Khirnov
755cd4197d
mov: enable parsing for VC-1.
...
This makes lavf discard broken timestamps for non-B frames in
samples/isom/vc1-wmapro.ism.
13 years ago
Martin Storsjö
4b7304e80d
rtmp: Don't assume path points to a string of nonzero length
...
If using the new -rtmp_app and -rtmp_playpath parameters,
one can in many cases set the main url to just rtmp://server/.
If the trailing slash is omitted, path is a string of zero length,
and using path+1 will end up reading uninitialized data.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Piotr Bandurski
4d37877632
aasc: support "Autodesk 24 bit RLE compressor" (FourCC: aas4)
...
fixes ticket #1310
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Bradshaw
1f3f7bd444
Add AVFMT_SEEK_TO_PTS to nut demuxer flags
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Bradshaw
bb008f0ad1
Mention AVFMT_SEEK_TO_PTS in AVInputFormat flags docs
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
6439ad495e
Add SLDV FourCC for dvvideo.
13 years ago
Mans Rullgard
db465be45d
lavf: add mdec to is_intra_only() list
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
b9777797be
mtv: make output endian independant
...
should fix fate-mtv test
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
86709ce3a9
Support NTSC forward dvcpro videos (PAL looks incorrect).
13 years ago
Carl Eugen Hoyos
e013abed63
Read and write APRG mov atom to allow AVUI streamcopy.
13 years ago
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
Mans Rullgard
7c6d240665
mtv: do not byteswap raw video in demuxer
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
281bde2789
udp: check for HAVE_PTHREAD_CANCEL instead of HAVE_PTHREADS.
...
Some environments, for example Android, pretend to have pthreads
but actually have only a partial implementation.
13 years ago
Michael Niedermayer
381cc4b1e6
update_initial_durations: use av_ts2str()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c69b6649cf
update_initial_durations: add some checks to ensure things match up.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
70be4dddc8
gxfenc: remove disabled half-implemented MJPEG tag
13 years ago
Michael Niedermayer
8443082db6
ogg: rewrite first timestamp reading code.
...
this is simpler and closer to how timestamps are found for seeking.
Fixes Ticket1186
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5931c754b8
ogg: in ogg_get_length() start from data_offset not 0.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
04064e1c20
mpegts: fix handling of files smaller than 8kb
...
Fixes Ticket1094
Analyzed-by: mjs973
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
5edd4fce40
lavf/utils: make use of av_ts2str() to print timestamps.
13 years ago
Clément Bœsch
ca297513f0
lavf/mp3enc: support MPEG-2 and MPEG-2.5 sample rates when writing Xing header.
13 years ago
Michael Niedermayer
75a9479b39
lavf: extend the avi raw hack to mov
...
Fixes ticket1194
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
30fc710556
lavf: print a matching tag in case of code tag validation failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6bb35f4351
mpegtsenc: fix 10l typo, wrong stream
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3700f655c5
mpegtsenc: check max_delay in write_packet_internal().
...
Checking it during PES writing is too late.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9c409e568f
mpegtsenc: fix delay type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
91e72e3514
omadec: Check geob datasize more completely
...
Fixes out of heap array read.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Samuel Pitoiset
d55961fa82
rtmp: Implement check bandwidth notification.
...
According to the behaviour of librtmp, it is recommended to send this
message to the server after receiving the 'onBWDone' callback in order
to do bandwidth checking and improve compatibility with some servers.
13 years ago
Samuel Pitoiset
05945db9ce
rtmp: Support 'rtmp_swfurl', an option which specifies the URL of the SWF player.
13 years ago
Samuel Pitoiset
e64673e4f4
rtmp: Support 'rtmp_flashver', an option which overrides the version of the Flash plugin.
13 years ago
Samuel Pitoiset
55c9320e06
rtmp: Support 'rtmp_tcurl', an option which overrides the URL of the target stream.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
eee89f691e
cdg: fix pts
...
Fixes Ticket1226
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sean McGovern
ded69c5e21
sctp: be consistent with socket option level
...
Replace SOL_SCTP by the more portable IPPROTO_SCTP.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
59cbc4eee2
mov: make one comment slightly more specific
13 years ago
Luca Barbato
5699884c2e
sctp: Initial tcp-alike sctp support with streams
...
Signed-off-by: Jordi Ortiz <nenjordi@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Alex Converse
40f81769ae
options_table: Add some missing #includes to fix "make checkheaders".
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago