Michael Niedermayer
a036ac5782
lavf: do not discard correct dts in favor of wrong pts for vc1-wmapro.ism
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2e4b662787
mov: add av_dlog() to CTTS reading code like is already done in STTS.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7d23a65f0d
asfdec: fix FRAME_HEADER_SIZE
...
Fixes Ticket1477
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
f5ce90f2de
rtmp: split chunk_size var into in_chunk_size and out_chunk_size
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
a8103503b3
rtmp: Factorize the code by adding find_tracked_method
...
Also fix the bytestream reader size parameter to take the
offset into account.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
885da7b082
lavf: simplify is_intra_only() by using codec descriptors.
13 years ago
Michael Niedermayer
bd6ece4609
mp3enc: fix CODEC_ID/CodecID that leaked in from older patch
...
Found-by: jamal <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7fd467f708
mp3/mp2: identify the video codecs as APIC through query_codec.
...
Fixes Ticket1408
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f9f11c1000
lavf: return APIC fourcc from query_format() if the codec is supported as an attachment pic
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b2bc48ae22
iff: replace av_abort by av_assert0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
987170cb9d
dict: add av_dict_count()
...
This adds a function to retrieve the number of entries in a
dictionary and updates the places directly accessing what should
be an opaque struct to use this new function instead.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Samuel Pitoiset
3eebc1e174
rtmp: Factorize the code by adding handle_invoke_error
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Samuel Pitoiset
71036a3a5e
rtmp: Factorize the code by adding handle_invoke_status
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Samuel Pitoiset
5e6001db8f
rtmp: Factorize the code by adding handle_invoke_result
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Mans Rullgard
6d3783d160
ffmenc: replace if/abort with assert()
...
The condition is trivially true, but keeping the assert() is
sensible to avoid FFM_HEADER_SIZE ever getting out of sync with
the actual code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
90f7e61769
swf: Move shared table out of the header file
13 years ago
Diego Biurrun
2804ba6a3b
swf: Move swf_audio_codec_tags table to the only place it is used
13 years ago
Stefano Sabatini
3a06ea8436
lavf/img2dec: add and document pattern_type option
...
Allow to override the default 'glob_sequence' value, which is deprecated
in favor of the new 'glob' and 'sequence' options.
The new pattern types should be easier on the user since they are more
predictable than 'glob_sequence', and do not require awkward escaping.
13 years ago
Samuel Pitoiset
f89584ca44
rtmp: Add message tracking
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
1243c72251
rtsp: Support mpegts in raw udp packets
...
This is basically the same way as mpegts packets are parsed in
rtpdec.c.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
df8cf076c8
rtsp: Support receiving plain data over UDP without any RTP encapsulation
...
EvoStream Media Server can serve data in this format, and
VLC/live555 already supports it.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
c864e461d2
rtpdec: Remove an unused include
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
bfb82fcddf
rtpenc: Remove an av_abort() that depends on user-supplied data
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Clément Bœsch
cb5bb521aa
lavf/movenc: use two explicit bytes instead of a short.
...
This also avoids a pointless cast.
Idea-by: Reimar Döffinger
13 years ago
Michael Niedermayer
b615dbb319
lavf: block special characters in dump metadata
...
This is limited to the chars that arent filtered by av_log() already
we might filter more aggressively if theres some case where this becomes
needed.
Fixes Ticket1181
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ee475e272e
matroskadec: fix lace vs block duration.
...
Fixes Ticket1270
Thanks-to: Moritz Bunkus
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
82613564cf
rtmp: send check_bw as notification
...
Set the transactionId to 0 to signal the server a return _result/_error
is not expected.
Solves the problems experienced with strict rtmp servers.
13 years ago
Mohammad Alsaleh
385ec296f1
id3v2: Support v2.2 PIC
...
id3 v2.2 uses image format ("JPG","PNG") instead of mimetypes.
Currently, the attached picture is skipped because the format string
does not match a known picture mimetype.
This patch fixes this behaviour.
Signed-off-by: Mohammad Alsaleh <msal@tormail.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Clément Bœsch
aca0f78114
lavf/movenc: add frame rate heuristic for timecode frame rate.
...
Fixes ticket 1576.
13 years ago
Clément Bœsch
6b3484dcbc
lavf/mxfenc: better error handling with invalid frame rate.
13 years ago
Clément Bœsch
aad737c669
lavf/mxfenc: simplify frame rate checks.
13 years ago
Michael Niedermayer
bb2f13c19f
rename missed CodecID to AVCodecID
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Samuel Pitoiset
00cb52c65c
rtmp: Add a new option 'rtmp_subscribe'
...
This option specifies the name of live stream to subscribe.
Defaults to rtmp_playpath.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
f9e77c1762
rtmp: Add support for subscribing live streams
...
When streaming live streams using the Akamai, Edgecast or Limelight CDN,
players cannot simply connect to the live stream. Instead, they have to
subscribe to it, by sending an FC Subscribe call to the server.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
12127b65b0
rtmp: Factorize simultaneous URLProtocol / AVClass declarations with a macro
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
8993c25695
avidec: fix AVStream.info memleak with dv.
...
Fixes Ticket1334
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Michael Niedermayer
a80ce390df
avidec: parse INFO tags at the end
...
Fixes Ticket1123
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
2fa57c9daf
mpc8: set packet duration and stream start time instead of tracking frames
...
Fixes mpc8 timestamps.
13 years ago
anonymous
388243bb27
udp: do not call pthread_{mutex,cond}_destroy when not initialized.
...
This seems to cause a crash on Windows.
The author of that patch was a random guy on IRC who wants to stay anonymous.
13 years ago
Michael Niedermayer
7bf16ec300
mpc8: fix pts
...
Fixes Ticket1254
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e4b53d995c
mov: dont clip timestamps at 0
...
Fixes Ticket1251
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
68f4156f44
movenv: fix remuxing of qdm2
13 years ago
Piotr Bandurski
1b72a7e8a9
aiffenc: fix remuxing of qdm2
13 years ago
Clément Bœsch
16dc5f2050
Replace various inlined inverse AVRational with av_inv_q().
13 years ago
Piotr Bandurski
5d2f89a23c
movenc: fix remuxing of svq3
13 years ago
Martin Storsjö
6c071a2b38
lavf: Declare an AVRational struct without a struct literal
...
At this place, the normal way of initializing a struct works
fine, there's no need for a struct literal.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Reimar Döffinger
69aeba1396
oggdec: Initialize stream index to -1 in ogg_packet.
...
The previous method of having to initialize it outside lead
to incorrect code: even if it was initialized, it usually was
only initialized once, thus a packet that could not be matched
to any stream would just be processed with the return values
from the previous call.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
a4163b2d65
oggdec: simplify start time calculation code.
...
Also slightly more correct behaviour in case streams_left for
some reason is 0 from the start.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Moritz Bunkus
fe40dc1cec
matroskaenc: Implement support for ALAC
13 years ago