Michael Niedermayer
19d8954966
find_stream_info: update last_dts more often
...
This improves dts validity checks and consequently fps detection of files with invalid dts
Fixes Ticket1681
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
370bb893d2
mp3enc: fix const correctness
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
5e363bb9b3
flvenc: kill a uninitialized variable warning.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b3facc4af8
ac3dec: fix uninitialized var warning
...
This commit should be purely cosmetic
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
158a70f17a
mov: fix av_log int type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Mans Rullgard
8db73c61a7
build: allow non-standard variations of linker -l/-L flags
...
This enables replacing the -l and -L flags used to specify the
just-built libraries when linking the tools and shared libs with
non-standard syntaxes. System library flags are already handled
by the filtering mechanism in configure.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Andrey Utkin
028b6d2b5c
Add 'timeout' option to UDP protocol
...
This patch accepts 'timeout' option for input mode only. As far as i know, UDP output cannot introduce delays.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrey Utkin
7870722592
Add 'rw_timeout' into URLContext
...
If set non-zero, limits duration of retry_transfer_wrapper() loop, thus
affects ffurl_read*(), ffurl_write()
Measured in microseconds.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6c06b566d2
rtpenc_xiph: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
d4bba93f4d
sdp: Use static const char arrays instead of pointers to strings
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
06b5246c84
sdp: Include profile-level-id for H264
...
This is required for playback with the Stagefright RTSP framework
on Android.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Samuel Pitoiset
6af2480aa6
rtpdec_h264: Don't set the pixel format
...
There is no need for this depacketizer to set the pixel format,
the decoder can do that just fine.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
e367d90664
aiffdec: support QDM2
...
Fixes ticket204
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 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>
12 years ago
Michael Niedermayer
99f5090714
aiffdec: try #2 to fix bps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 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>
12 years ago
Carl Eugen Hoyos
73b40dafc8
Use correct format identifier for uint64_t.
12 years ago
Michael Niedermayer
4e8b206092
mpc: fix seeking to the end
...
Fixes Ticket1689
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a503afb11f
mpc: clip seeking timestamp in valid range
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b9b97c2fb9
aiffdec: fix bits per sample
...
Fixes Ticket1660
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 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>
12 years ago
Michael Niedermayer
b2a8ce4e67
nutenc: keep track of max_pts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c2a134c66c
nutenc: keep track if keyframe PTS
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 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>
12 years ago
Michael Niedermayer
cebbaf578d
nutdec: improve information in error message
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d1ee2cf74a
nutenc: keep track of the written syncpoint count
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0c3a3b75d7
ac3_probe: fix probing of non standard AC3
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4b9e44868b
lavf: fix avio statistics for packets directly read without the buffer.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 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>
12 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>
12 years ago
Michael Niedermayer
6b72615c32
rtpdec_xiph: switch to av_assert()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 years ago
Clément Bœsch
26ec392a0e
lavf: remove unused AVStream pointer.
12 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.
12 years ago
Michael Niedermayer
62527dc245
rmdec: parse logical-fileinfo, instead of creating phantom tracks
...
Fixes Ticket1090
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
19a61bf39d
rmdec: pass mime type to ff_rm_read_mdpr_codecdata()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
85a576775e
lavf: factor ff_free_stream() out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3ac754b93b
hls: fix min DTS code, try #2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bf606334ad
hls: fix EOF check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 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>
12 years ago
Nicolas George
ac45637324
lavf/nutenc: write stream metadata.
12 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.
12 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>
12 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.
12 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>
12 years ago