Michael Niedermayer
ea83b032af
matroskaenc: base default duration on avg_frame_rate if possible.
...
Fixed Ticket432
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
b7c9512fca
asfenc: rename put_guid to ff_put_guid
...
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
Clément Bœsch
0e5ecd806e
Replace remaining av_new_stream() with avformat_new_stream().
13 years ago
Michael Niedermayer
bb99ae3ae9
lavf: fix null pointer dereference in rdt
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b3f4ff2876
id3v2enc: av_strcasecmp()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
a487378ef5
Set frame_size for AMR_NB in mov.
...
This copies the behaviour of the amr demuxer.
13 years ago
Carl Eugen Hoyos
4eb86d348f
Do not use strcpy for "strings" starting with \0.
13 years ago
Reimar Döffinger
96949dafcc
Replace all strcasecmp/strncasecmp usages.
...
All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
1ed9eb5a59
lavf: Do not set cur_dts to undetermined before first_dts has been calculated as this would upset the start_time and first_dts calculation.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
d6af8e68c4
Cosmetics: Reindent after last commit.
13 years ago
Carl Eugen Hoyos
80af00b4b2
Support new ALAC magic cookie in caf files.
13 years ago
Justin Ruggles
894bc1d322
gsm demuxer: do not allocate packet twice.
...
fixes memleak with raw gsm demuxing.
13 years ago
Justin Ruggles
905de11907
flvenc: use first packet delay as global delay.
...
This keeps the streams sychronized. The packets must be interleaved per-DTS.
13 years ago
Mean
f68742bf5b
mpegtsenc: EAC3 support
...
Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
John Brooks
f011fcd67e
rtsp: add allowed_media_types option
...
Streams from RTSP or SDP that do not match an allowed type will
be skipped entirely, which allows video-only or audio-only
streaming from servers that provide both.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Justin Ruggles
87c57d807f
Create separate functions for the raw GSM demuxer.
...
Put the new raw GSM demuxer in its own file.
Fixes raw GSM demuxing.
13 years ago
Michael Niedermayer
ce451c6b3a
id3v2enc: include strings.h for strcasecmp()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tobias Rapp
f2e7ee9bf9
id3v2enc: add support for year and day/month tags when writing id3v2 version 3 metadata
...
Adds support for year (TYER) and day/month (TDAT) tags when writing
id3v2 version 3 metadata by splitting the "date" tag. The date tag
should have a format of "YYYY-MM-DD" or "YYYY".
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
c6cd0e17f3
Replace vendor string in Ogg and FLAC muxers.
13 years ago
Diego Biurrun
2f5df0b12c
Replace ffmpeg references with more accurate libav* references.
13 years ago
Diego Biurrun
20566eb0f0
Replace outdated references to ffmpeg tool with avconv.
13 years ago
Diego Biurrun
124e28847b
Remove some stray unnecessary ffmpeg references.
13 years ago
Anton Khirnov
ec22979a1d
id3v2: fix type of ID3v2EMFunc.free()
13 years ago
Justin Ruggles
6ac34eed54
g726: use bits_per_coded_sample instead of bitrate to determine mode
...
This requires some workarounds in the WAV muxer and demuxer. We need to write
the correct bits_per_coded_sample and block_align in the muxer. In the
demuxer, we cannot rely on the bits_per_coded_sample value, so we use the bit
rate and sample rate to determine the value.
This avoids having the decoder rely on AVCodecContext.bit_rate, which is not
required to be set by the user for decoding according to our API.
13 years ago
Matthieu Bouron
2264afa1c2
gxf: add timecode information to metadata
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
26b64550d6
mmsh: add return value for mmsh_open()
...
Found-by: cptspiff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8af4ac5272
mmsh: do not try to seek to negative tiimestamps, it does not work
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tobias Rapp
0f39fa0279
mp3enc: avoid truncating id3v1 tags by one byte
...
Avoid writing the trailing null-byte for id3v1 tags if length reaches max length.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
33789862aa
mmsh_read_seek: skip header
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
237bcaa275
mmsh:_implement a minimal mmsh_seek() so the stream position can be found out.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
60fcc19bff
asfdec: Check packet_replic_size earlier
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8475ec190c
mmsh: mmsh_read_seek()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
86a4e55e66
mmsh: split out mmsh_open_internal()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
aedb87c57e
mmsh: move location storage into context
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Vladimir Voroshilov
02fa529539
Fix deprecated warnings in .bit (de)muxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anssi Hannula
ab9c00b992
spdifenc: use special alignment for DTS-HD length_code
...
Align IEC 61937 length_code for DTS-HD so that
(length_code & 0xf) == 0x8. This is reportedly needed with some
receivers.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
13 years ago
Carl Eugen Hoyos
86931dc930
Bump libavformat minor version for the G.729 raw demuxer.
13 years ago
Justin Ruggles
44d2a982ac
dsicin: fix several audio-related fields in the CIN demuxer
...
bits_per_coded_sample should be 8.
block_align is calculated incorrectly, but it is not needed anyway.
packet pts should be calculated in samples.
packet duration can be set.
13 years ago
Vladimir Voroshilov
0fd59f1d45
Minimal patch for G.729 demuxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Benjamin Larsson
69e7ad8dbc
mov: Avoid divide by zero in edit list dts handling
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Hendrik Leppkes
8689d87ac6
Revert "matroskadec: forward parsing errors to caller."
...
This reverts commit 5dd514af93
.
Silently ignoring errors allows some broken files to simply be played, instead of failing.
(cherry picked from commit 7804b0693375c1a7ba1046f7a3579e9f63c2b15a)
The intended goal (as confirmed with its author) of fixing a crash has been
fixed differently prior to the application of this patch and this patch does
notsucessfully propagate parse errors either.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
eac778deb3
Some minor spelling fixes.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Carl Eugen Hoyos
7e05542aea
Add Vladimir Voroshilov's copyright header to bit.c.
13 years ago
Ronald S. Bultje
38a4be3fa7
lavf: use number of output pictures for delay checks.
...
This fixes false positives of has_codec_delay_been_guessed() for
streams where not every input picture generates an output picture,
such as interlaced H264.
13 years ago
Alex Converse
61856d06eb
probe: Restore identification of files with very large id3 tags and no extension.
...
Restore behavior of identifying files with huge id3 tags as
mp3 at AVPROBE_SCORE_MAX/4. This was broken in r25378 and subsequently
removed in r25929.
13 years ago
Alex Converse
7a773d4d59
probe: Remove id3 tag presence as a criteria to do file extension checking.
...
This only encourages our users to put id3v2 tags on non-mp3 files to opt
into extension based probing.
13 years ago
Alex Converse
ca65932bbf
mpegts: MP4 SL support
13 years ago