Michael Niedermayer
e367d90664
aiffdec: support QDM2
...
Fixes ticket204
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kari Lentz
be862c0dac
movenc: support for itunes tempo tag
...
Implements support for tmpo atom for mp4 files, typically used to store BPM. -metadata "tmpo=127" as a command line option will record 127 as the BPM in the meta data.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
99f5090714
aiffdec: try #2 to fix bps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
125c6c0752
rtsp: Free the rtpdec context properly
...
The condition for calling the rtpdec cleanup was broken in
df8cf076c8
.
This fixes a memory leak.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Carl Eugen Hoyos
73b40dafc8
Use correct format identifier for uint64_t.
13 years ago
Michael Niedermayer
4e8b206092
mpc: fix seeking to the end
...
Fixes Ticket1689
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a503afb11f
mpc: clip seeking timestamp in valid range
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b9b97c2fb9
aiffdec: fix bits per sample
...
Fixes Ticket1660
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3a621c9d99
nutenc: Support writing an index
...
The seek test improves in accuracy
Fixes Ticket877
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b2a8ce4e67
nutenc: keep track of max_pts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c2a134c66c
nutenc: keep track if keyframe PTS
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e6a045ba56
nutdec: Flip the direction for seeking with an index in the failure case.
...
This is closer to how seeking works without an index
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cebbaf578d
nutdec: improve information in error message
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d1ee2cf74a
nutenc: keep track of the written syncpoint count
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0c3a3b75d7
ac3_probe: fix probing of non standard AC3
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4b9e44868b
lavf: fix avio statistics for packets directly read without the buffer.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Philip Langdale
2626cc4580
matroska: Mark S_TEXT/UTF-8 as Subrip encoded subtitles.
...
While not explicitly stated in the specs, the original author
has stated that S_TEXT/UTF-8 is expected to be text using Subrip
markup, but without Subrip in-band timing.
So, now that we have a decoder that conforms to this expectation,
let's use it.
Note that this change will impact tools that use libavformat. If
they expect srt subtitles to have CODEC_ID_TEXT, they must be
adjusted to expect CODEC_ID_SUBRIP. The actual content is, obviously,
unchanged.
Signed-off-by: Philip Langdale <philipl@overt.org>
13 years ago
Piotr Bandurski
0bb37bbc0f
riff: fix remuxing of atrac3 in wav
...
The original codec expects 0 as bps or refuses to play the remuxed file.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6b72615c32
rtpdec_xiph: switch to av_assert()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
12b1512e85
lavf/utils: Try to unwrap pts/dts so as to minimize wraps
...
Based on code by: Andrey Utkin <andrey.krieger.utkin@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
254917f078
lavf/utils: run update_initial_timestamps() outside some if()
...
This way it gets executed earlier and updated timestamps become available earlier.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
jamal
732dfc7660
lavf/ape: Fix stream duration calculation
...
Fixes ticket #1662
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Samuel Pitoiset
7011a42b1a
rtmp: support strict rtmp servers
...
In order to send or receive a stream FCPublish, FCSubscribe and _checkbw
are completely optional and often not implemented. releaseStream over a
non-existen stream might report an error instead of being silent.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Justin Greer
e16fda9236
mov: Change default aac priming fallback from 2112 to 1024
...
This fixes priming for faac
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Greer
37a15f3e66
mov: parse custom "----" Metadata
...
This fixes the priming samples for NERO AAC LC
Simplified-by: Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
26ec392a0e
lavf: remove unused AVStream pointer.
13 years ago
Clément Bœsch
3dba9e19c8
lavf: add const qualifier to AVCodecDescriptor pointer in is_intra_only().
...
Fix "assignment discards ‘const’ qualifier from pointer target type" warnings.
13 years ago
Michael Niedermayer
62527dc245
rmdec: parse logical-fileinfo, instead of creating phantom tracks
...
Fixes Ticket1090
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
19a61bf39d
rmdec: pass mime type to ff_rm_read_mdpr_codecdata()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
85a576775e
lavf: factor ff_free_stream() out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3ac754b93b
hls: fix min DTS code, try #2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bf606334ad
hls: fix EOF check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7123e9506b
hls: use av_compare_ts() instead of comparing apples to oranges.
...
Fixes Ticket983
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
ac45637324
lavf/nutenc: write stream metadata.
13 years ago
Nicolas George
454e37ce0c
lavf/nut: define fourcc DVBT for DVB_TELETEXT.
...
Allow "-map 0:s -c:s copy" to copy all subtitles streams.
13 years ago
Michael Niedermayer
ba2cf854d0
lavc: move AVRn to a seperate decoder.
...
The special cases in demuxers and decoders are a mess otherwise (and more
would be needed to support it fully)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
e35c0ee05c
lavf/segment: fix computation of M3U8 segment target duration
...
Use ceil on the max duration, rather than approximating it to the nearest
integer.
13 years ago
Michael Niedermayer
28ff17fa97
lavf: add use_wallclock_as_timestamps
...
This may fix Ticket730
Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
92b8c9d89e
lavf/au: check bits per coded sample.
...
Without that, it would repeatedly produce empty packets
if the codec if forced to something invalid.
Fix trac ticket #1652 .
13 years ago
Mans Rullgard
edb5238ccb
libavformat: add const to AVCodec pointers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Stefano Sabatini
2d31ae2921
lavf/segment: change default value for segment_list_size option, from 5 to 0
...
This is technically a major compatibility break, but seems the most
natural default and what users would expect without reading the docs.
13 years ago
Stefano Sabatini
1c522e3868
lavf/segment: guess list type from list filename suffix
13 years ago
Stefano Sabatini
e5ae2f9126
lavf/segment: add M3U8 list support
...
Address trac ticket #1642 .
13 years ago
Stefano Sabatini
4a12d1e8e7
lavf/segment: compute max list segment duration
...
This is useful for the M3U8 format incoming patch.
13 years ago
Stefano Sabatini
769500c2a3
lavf/segment: create segment_list_open and close functions
...
Allow factorization for the incoming patches, and avoid code/logic
duplication.
13 years ago
Stefano Sabatini
d3a2a614bf
lavf/segment: fix bogus segment index rewrapping logic
...
Decouple segment index wrapping and segment count logic. The counter
should not be reset since it detects the segment increasing timeframe.
13 years ago
Stefano Sabatini
b89e00bd1c
lavf/segment: move file description to @file doxy
13 years ago
Stefano Sabatini
725213545d
lavf/avio: flush internal buffer when calling avio_close()
...
This seems the expected behavior.
13 years ago
Stefano Sabatini
63f57f8530
lavf/avio.h: doxygen avio_flush()
13 years ago
Anton Khirnov
15c71dfd03
swf(dec): replace CODEC_ID with AV_CODEC_ID
13 years ago