Michael Niedermayer
0a23129bfc
avformat: Add prefix to get_codec_guid()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Daniel Verkamp
5e7d21c7ad
ff_put_wav_header: add flag to force WAVEFORMATEX
...
Partially undoes commit 2c4e08d89327595f7f4be57dda4b3775e1198d5e:
riff: always generate a proper WAVEFORMATEX structure in
ff_put_wav_header
A new flag, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX, is added to force the
use of WAVEFORMATEX rather than PCMWAVEFORMAT even for PCM codecs.
This flag is used in the Matroska muxer (the cause of the original
change) and in the ASF muxer, because the specifications for
these formats indicate explicitly that WAVEFORMATEX should be used.
Muxers for other formats will return to the original behavior of writing
PCMWAVEFORMAT when writing a header for raw PCM.
In particular, this causes raw PCM in WAV to generate the canonical
44-byte header expected by some tools.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
92d657b5f1
avformat/wtvenc: advise user when H264 startcode is not present
...
Fixes ticket #3473 .
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
31ac3f306c
avformat/wtvenc: pad judiciously when writing mpeg2 extradata
...
Padding rule described here http://msdn.microsoft.com/en-us/library/windows/desktop/dd390707(v=vs.85).aspx
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Carl Eugen Hoyos
862174ec83
Move GUID-related objects to riffenc.c and riff.c.
...
This simplifies the following eac3-in-wav patch.
11 years ago
Peter Ross
e93a73cbef
wtvenc: output ff_format_none if ff_put_wav_header fails
...
This occurs when muxing E-AC-3.
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
e4be076570
wtvenc: use codec tag + MEDIASUBTYPE_BASE_GUID, if there is no suitable guid
...
This permits H264, AAC, AAC-LATM muxing.
Fixes ticket #536 .
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
6da21c1f81
wtvenc: populate VIDEOINFOHEADER2
...
Fixes ticket #2835 .
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
38fefbc474
wtvenc: use ffio_fill()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
6d02bdc338
vformat/wtvenc: fix doxygen comments
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
8de9bb6e5e
lavf: remove some flushing in write_packet muxers callbacks.
...
Since 4f112a8e3
, this is not necessary anymore. Also, it allows to
actually disable the flushing.
12 years ago
Peter Ross
801b636633
wtvenc: mux thumbnail picture
12 years ago
Peter Ross
95015634f5
wtv: permit root table and first sectors to be located beyond 2GB boundary
...
Fixes ticket #2025 .
Signed-off-by: Peter Ross <pross@xvid.org>
12 years ago
Clément Bœsch
41ebbb3b04
lavf/wtvenc: fix s[tp]_pairs memleak.
12 years ago
Peter Ross
a373f35272
wtvenc: produce seekable files
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
b89cd2a028
wtvenc: simplify write_timestamp
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
3e65134326
wtvenc: output third video pts in timestamp chunk (this is what Microsoft Windows Media Center expects)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
0d9435048c
wtvenc: indent fixup
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
b50759cd6b
wtvenc: do not emit stream2 and DSATTRIB_TRANSPORT_PROPERTY chunks; these are not required for playback
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
e6ef628b1e
wtv: move duplicated guids into wtv.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
1701a22fce
wtv: rename ff_stream_guid to ff_SBE2_STREAM_DESC_EVENT
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
9632f5efcf
wtvenc: fix typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bb2f13c19f
rename missed CodecID to AVCodecID
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
215b7724e7
lavf: rename remaining av_set_pts_info() to avpriv_set_pts_info().
13 years ago
Clément Bœsch
4da45aff28
cleanup: remove various double end ';' all over the code.
13 years ago
Carl Eugen Hoyos
5f36065ca6
Use AC-3 as default codec for wtv.
13 years ago
Peter Ross
b372723f6a
wtvenc: ensure fat tables are padded to the sector boundary
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Peter Ross
42b5a6f634
wtvenc: use ff_put_guid and remove local copy of this function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Peter Ross
1efe4ff91d
wtvenc: add @file comment
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Peter Ross
3852c29fd4
fix whitespace nits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Aurelien Jacobs
c894449fc4
act, bintext, wtvenc: use named struct initializers
13 years ago
Michael Niedermayer
6a507ccfe5
wtvenc: add some asserts because iam paranoid
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
zhentan feng
438debd095
WTV muxer (2_wtvenc.patch, 3_add_wtv_muxer.patch)
13 years ago