Luca Barbato
92ebb33215
mxf: Add additional H264 PictureEssenceCoding
...
Unbreak some MXF Proxy files.
11 years ago
Daniel Verkamp
cf3fccce06
ff_put_wav_header: remove manual byte counting
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Keiji Costantini
ca80e15814
mpegts: Forward error codes in various functions
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Keiji Costantini
86ba2327e1
mpegts: K&R formatting cosmetics
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Michael Niedermayer
e21235f9b9
avformat/mov: call mov_rewrite_dvd_sub_extradata() after parsing dimensions from tkhd
...
This also moves mov_rewrite_dvd_sub_extradata() to mov.c
Fixes: NeroRecodeSample.mp4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
8ba432bc56
avformat/mov: fill in subtitle dimensions after parsing tkhd
...
Sample: NeroRecodeSample.mp4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
b6ad5893ce
avformat/isom: only write the size if its non zero in mov_rewrite_dvd_sub_extradata()
...
Fixes regression with NeroRecodeSample.mp4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
f6f3c85c0e
avformat/isom: Simplify mov_rewrite_dvd_sub_extradata()
...
This avoids the 2nd buffer and fixes the palette truncated check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Jean First
6d78e852fb
img2: add j2c file extension
...
Some applications use the j2c extension for jpeg2000 codestream files.
11 years ago
Carl Eugen Hoyos
58c215961a
raw, nut: Support rgba64 encoding
11 years ago
Michael Niedermayer
6d7b22fb8f
isom: fix C99-style declaration
11 years ago
Martin Storsjö
3b1c9eb0ff
aacdec: Lower the number of frames required to detect ADTS
...
For live audio streams, requiring 500 frames for a stream to
be detected is a bit overkill.
This allows live ADTS streams that don't start nicely at
a frame boundary to start up more quickly, e.g.
http://mp3.streampower.be/radio1.aac .
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
0412cb67cd
aacdec: Don't count probed ADTS frames if there are false positives
...
If a portion of the probe buffer seem to resemble ADTS frames,
but some data at the end is a mismatch, disregard the whole
probing attempt. If it actually is ADTS data, there shouldn't be
any mismatches within the sequential frame data.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Peter Ross
40f88796c6
Phantom Cine demuxer (iteration 2014.3)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
9b1d264e87
avformat/movenc: omit avformat ident from isml_manifest for bitexact mode
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
10c14264db
avformat/movenc: omit LIBAVCODEC_IDENT for bitexact mode from uuidusmt_tag
...
This code is apparently not tested by fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
a17ee4117d
avformat/movenc: only ommit encoder tag of the metadata for bitexact mode
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
cd0982e189
avformat/isom: fix mix of declaration and statement
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
wm4
8f629a986c
isom: convert mp4 dvdsub extradata to vobsub format
...
mp4 files embedding DVD subtitles do not use the same extradata format
as the rest of Libav expects. The subtitle decoder in libavcodec in
particular does not understand this format.
Convert the extradata to the vobsub .idx format. mp4 stores the palette
as binary 32 bit ints in YUV. The subtitle resolution is stored
separately in the track header, which we access through AVStream.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Peter Ross
847d8af59a
avformat/id3v2: decode compilation metadata
...
Described http://id3.org/iTunes%20Compilation%20Flag
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
ac9bfb1faf
avformat/movenc: encode compilation metadata
...
Fixes ticket #2960 .
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
dadf668df2
avformat/mov: decode compilation metadata
...
This flag is known as 'Part of a compilation' in Apple iTunes.
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Luca Barbato
afdf94689c
aac: K&R formatting cosmetics
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Michael Niedermayer
72d44f1583
mvformat/movenc: fix IMX
...
fixes Ticket3351
Tested-by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Alessandro Ghedini
6998a9f4c4
http: Properly initialize icy headers string
...
The icy_metadata_headers string never gets initialized, so,
during the first call to av_strlcatf() in parse_icy(),
strlen() will be called on a pointer to uninitialized memory.
At best this causes some garbage data to be left at the
start of the string.
By initializing icy_metadata_headers to the empty string, the
first call to strlen() will always return 0, so that data is
appended from the start of the string.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Fred Rothganger
3f3229cd10
avformat: extracting NTP timestamp from RTCP
...
For muxing, it accepts
both 0 and AV_NOPTS_VALUE. For demuxing, it will present
AV_NOPTS_VALUE when start_time_realtime is unknown.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Bryce McLeod
581957cd86
avformat/movenc: rescale when copying duration to timecode track
...
Fixes Ticket3453
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Martin Storsjö
e77a2ea950
http: Declare more parameters as const where possible
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Michael Niedermayer
1f36ebf63a
avformat: revert %c changes from d92024f18f
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
dbc3e1109c
avformat/flvdec: discard inconsistent timestamps
...
Fixes Ticket3425
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
2572d07c1f
http: Allow setting a Content-Type for POST requests
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Alessandro Ghedini
fe568b3d27
http: Improve options descriptions
...
Add documentation where missing.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Anssi Hannula
ab76d9f628
http: Always allow no-op seek
...
This also allows checking stream position as per ffurl_seek() doxy.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Anssi Hannula
2ec33d2712
http: Add support for selecting a request range
...
Comment from Reimar Döffinger included as pro memoria.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Clément Bœsch
ddfc989063
http: Support setting custom User-Agent
...
Contextually make the default User-Agent use the common
"Name/Version" pattern.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Michael Niedermayer
e58c85b068
http: Export Content-Type information
...
Bug-Id: https://bugs.debian.org/740421
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Luca Barbato
8075c3d8bb
http: Add support reading ICY metadata
...
Export the metadata as a icy_metadata_packet avoption.
Based on the work of wm4 and Alessandro Ghedini.
Bug-Id: https://bugs.debian.org/739936
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Luca Barbato
4ff99ab3d7
http: Refactor process_line
11 years ago
Luca Barbato
7a2fddb448
http: K&R formatting cosmetics
11 years ago
Luca Barbato
78b21c1d71
http: Drop doxy comments
11 years ago
Luca Barbato
55a215ba63
http: Return meaningful error codes
11 years ago
Luca Barbato
db9d39b4b5
avformat: Report the duration analysis reached
11 years ago
Carl Eugen Hoyos
54bbe3e2a6
Revert "Allow stream-copying grayscale mov files."
...
This reverts commit 691dec6201
.
The commit did not fix ticket #3215 , it was fixed one commit earlier.
The revert may break other use-cases but they should be fixed differently,
the offending commit introduced too many problems.
Fixes ticket #3377 .
Fixes ticket #3378 .
11 years ago
Michael Niedermayer
5d75730c58
avformat/avidec: Check required demuxing buffer sizes in guess_ni_flag()
...
Fixes Ticket3421
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
01000064c9
avidec: calculate missing bitrates from index
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anshul Maheshwari
61f96be08a
Documented av_dump_format
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Matt Oliver
99b48fd448
Fix modplug linkage on Windows.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
d92024f18f
lavf: more correct printf format specifiers
11 years ago
Michael Niedermayer
77e9123fe5
lavf: always use av_free
...
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
11 years ago
Tim Walker
34bbc81de8
lavf: simplify ff_hevc_annexb2mp4_buf
...
Use ff_hevc_annexb2mp4 instead of duplicating
its functionality, and update the documentation
to match the new behavior.
11 years ago