Peter Ross
b372723f6a
wtvenc: ensure fat tables are padded to the sector boundary
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
41ab24bad8
lavf: remove commented check in compute_pkt_fields2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
3b4798a873
wtvdec: ignore another known guid
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
ea83b032af
matroskaenc: base default duration on avg_frame_rate if possible.
Fixed Ticket432
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 years ago
Peter Ross
b7c9512fca
asfenc: rename put_guid to ff_put_guid
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
1efe4ff91d
wtvenc: add @file comment
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
3852c29fd4
fix whitespace nits
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Martin Storsjö
18ae362640
http: Remove the custom function for disabling chunked posts
Signed-off-by: Martin Storsjö <martin@martin.st>
15 years ago
Martin Storsjö
d450cc4f4a
rtsp: Disable chunked http post through AVOptions
This avoids having to use a private function.
Signed-off-by: Martin Storsjö <martin@martin.st>
15 years ago
Carl Eugen Hoyos
237f13290b
movdec: Set frame_size for AMR
Earlier, sc->samples_per_frame was used for setting the frame size,
but all files don't have that set properly. The frame size is a
known constant for these codecs.
If frame_size isn't set, the mov/3gp muxer refuses to mux it.
This fixes stream copy of audio from
https://roundup.libav.org/file1248/Video_With_AMR-NB_Audio.3gp
to another 3gp file (roundup issue 2468).
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Clément Bœsch
0e5ecd806e
Replace remaining av_new_stream() with avformat_new_stream().
14 years ago
Ronald S. Bultje
d31fb1a9e7
matroskadec: empty blocks are in fact valid.
14 years ago
Carl Eugen Hoyos
ed669c9bec
movenc: Set a correct packet size for AMR-NB mode 15, "no data"
These packets are valid packets, and consist of 1 byte (which
contains the mode bits).
This had been analyzed and reported by Igor Levin, igor d levin comverse com.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
b6d08f40aa
avformat: Add functions for doing global network initialization
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
183baeadca
avformat: Add the https protocol
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
558d192d23
avformat: Add the tls protocol, using OpenSSL or gnutls
Note, this protocol doesn't yet check verify the server
certificate against a local database of trusted CA root
certificates.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
1606e551ff
avformat: Initialize gnutls in ff_tls_init()
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
48e59ad8e7
avformat: Add ff_tls_init()/deinit() that initialize OpenSSL
If the application hasn't set up mutex callbacks, we set up
our own using pthreads (or w32pthreads).
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
f6d3710096
avformat: Split out functions from network.h to a new file, network.c
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
bb99ae3ae9
lavf: fix null pointer dereference in rdt
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
b3f4ff2876
id3v2enc: av_strcasecmp()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
a487378ef5
Set frame_size for AMR_NB in mov.
This copies the behaviour of the amr demuxer.
14 years ago
Carl Eugen Hoyos
4eb86d348f
Do not use strcpy for "strings" starting with \0.
14 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>
14 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>
14 years ago
Carl Eugen Hoyos
d6af8e68c4
Cosmetics: Reindent after last commit.
14 years ago
Carl Eugen Hoyos
80af00b4b2
Support new ALAC magic cookie in caf files.
14 years ago
Justin Ruggles
894bc1d322
gsm demuxer: do not allocate packet twice.
fixes memleak with raw gsm demuxing.
14 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.
14 years ago
Mean
f68742bf5b
mpegtsenc: EAC3 support
Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 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.
14 years ago
Michael Niedermayer
ce451c6b3a
id3v2enc: include strings.h for strcasecmp()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 years ago
Diego Biurrun
c6cd0e17f3
Replace vendor string in Ogg and FLAC muxers.
14 years ago
Diego Biurrun
2f5df0b12c
Replace ffmpeg references with more accurate libav* references.
14 years ago
Diego Biurrun
20566eb0f0
Replace outdated references to ffmpeg tool with avconv.
14 years ago
Diego Biurrun
124e28847b
Remove some stray unnecessary ffmpeg references.
14 years ago
Anton Khirnov
ec22979a1d
id3v2: fix type of ID3v2EMFunc.free()
14 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.
14 years ago
Matthieu Bouron
2264afa1c2
gxf: add timecode information to metadata
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Michael Niedermayer
26b64550d6
mmsh: add return value for mmsh_open()
Found-by: cptspiff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 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>
14 years ago
Michael Niedermayer
33789862aa
mmsh_read_seek: skip header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 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>
14 years ago
Michael Niedermayer
60fcc19bff
asfdec: Check packet_replic_size earlier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
8475ec190c
mmsh: mmsh_read_seek()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
86a4e55e66
mmsh: split out mmsh_open_internal()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago