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
Michael Niedermayer
f14f3bae6b
mp3enc: avoid ifdef
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tobias Rapp
8da0a6cda1
mp3enc: Fix Xing tag identification string for CBR files
...
Fixes the Xing tag identification string to be "Info" for MP3 files with
constant bitrate. The previous "Xing" caused some decoders to recognize the
file as VBR.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
1432c1c429
lavf: add missing '*' in a doxy.
13 years ago
Diego Biurrun
9eb83a56aa
build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.
13 years ago
Michael Niedermayer
16b9156b7e
ffm: disable adjust_write_index()
...
This code can in its current form not work with ffserver
Fixes Ticket1249
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
30b1961c66
Mark a number of variables only used in av_dlog() calls as av_unused.
...
This fixes a number of unused-but-set gcc warnings.
13 years ago
Janne Grunau
29d27b5425
mpegmux: add stuffing to avoid incomplete PCM frames
...
Fixes https://bugzilla.libav.org/show_bug.cgi?id=244
13 years ago
Mans Rullgard
ddce7dabd2
rtsp: avoid const warnings from strtol() call
...
The strtol() interface makes it difficult to use with
const-qualified pointers. With this change, although
the const is still lost, the compiler does not warn
about it.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Carl Eugen Hoyos
84aea80f78
oggparsevorbis.c: Check for OOM when using av_mallocz.
13 years ago