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
Jordi Ortiz
fcd0298c05
rtsp: Add content-type message header parsing
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Jean First
f7f6aaf988
yuv4mpeg: support 9/10/16 bit pixel formats
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Samuel Pitoiset
b2e495afa8
rtmp: Support 'rtmp_live', an option which specifies if the media is a live stream.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Carl Eugen Hoyos
299d58e18a
Support yuva422p rawvideo in nut.
13 years ago
Carl Eugen Hoyos
8ba543eb3b
Add Avid Meridien (AVUI) decoder.
13 years ago
Michael Niedermayer
7da0a07283
mp3demux: fix id3 discard code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f46185c289
mp3demux: fix off by 1 error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
520c1ec699
dv: Split profile handling code into a separate file.
13 years ago
Michael Niedermayer
364c71c80e
movenc: store codecs that dont provide a frame_size as audio_vbr=1
...
Fixes Ticket1240
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
0a3ad7ff80
flvenc: use AVFormatContext, not AVCodecContext for logging.
...
Encoder tag being used for muxer messages is confusing.
13 years ago
Diego Biurrun
455245ca8a
mov: Remove write-only variable in mov_read_chan().
...
libavformat/mov.c:597:25: warning: variable ‘cflags’ set but not used
13 years ago