Michael Niedermayer
2a622c2369
lavf: add a "warning" when discarding a oddly backward subtitle or data starttime
...
Idea-by: ohsix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
47695b1d65
lavf: handle data like subtitles in start time calculation.
...
This fixes an issue with a crazy data track starting with a large
negative timestamp.
It could as well be solved in all user apps, but this is looking
attractively simpler ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Samuel Pitoiset
0a9a225733
rtmp: Fix a possible access to invalid memory location when the playpath is too short.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
f91b635b52
rtmpproto: replace strtok_r by av_strtok its unavailable in mingw
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d9a9518fba
flvenc: use av_assert instead of assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Samuel Pitoiset
f862537de8
rtmp: Do not send extension for flv files
...
This fixes bugzilla bug #304 .
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
8ee3e1874e
rtmp: support connection parameters
...
Allow using connection parameters in order to append arbitrary
AMF data like "B:1 S:authMe O:1 NN:code:1.23 NS:flag:ok O:0" to the
Connect message. You can pass these parameters through the -rtmp_conn
option.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Clément Bœsch
20e46aafbd
mov: export orphan tmcd track metadata to global format metadata.
13 years ago
Clément Bœsch
1ec23d9c02
mov: copy timecode metadata from tmcd track to the related video stream.
...
Apple softwares seem not to add a tref for the timecode (the next commit
fixes this issue), but at least FFmpeg does.
This can be used to generate a sample that demonstrates the feature:
./ffmpeg -f lavfi -i testsrc \
-f lavfi -i mptestsrc \
-f lavfi -i rgbtestsrc \
-map 0 -map 1 -map 2 \
-metadata:s:0 timecode=00:00:00:12 \
-metadata:s:2 timecode=01:02:12:20 \
-t 10 -y out.mov
./ffprobe out.mov
The timecode metadata being transmitted to the video streams, it can be
kept while transmuxed/transcoded.
13 years ago
Clément Bœsch
0d96ec19eb
mov: parse tref atom.
13 years ago
Clément Bœsch
9fb2e234d0
movenc: add timecode track support.
13 years ago
Clément Bœsch
9846a9c701
riff: add ISMP/timecode tag.
13 years ago
Michael Niedermayer
91bdced363
mpegtsenc: prevent pcr_packet_period==0
...
a period of 1 is the smallest that makes sense
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
8aa93e9004
mov: set AVCodecContext.width/height for h264
...
This is required for correct cropping of files from Canon
cameras.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
c61c8536ef
lavf/bintext: allocate FF_INPUT_BUFFER_PADDING_SIZE for extradata
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
e400b95b32
bink: check av_mallocz() return value
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Carl Eugen Hoyos
8a880d6918
Fix latm muxer Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
13 years ago
Carl Eugen Hoyos
b8e2dcd266
Fix jacosub muxer Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
13 years ago
Michael Niedermayer
80485a4f9a
mpegtsenc: make pts/dts offseting optional
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a21c212681
swfenc: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alex Converse
a8656cd425
mpegts: Remove disabled extension matching probe.
13 years ago
Michael Niedermayer
610a52647b
xmv: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
107b42388c
lavf: fix missing "parser not found" message
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Matthieu Bouron
f6d952f584
mxfenc: write optional field dominance flag in picture description
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alex Converse
f0ff9eb493
avformat: Probe codecs at score 0 on buffer exhaustion conditions.
13 years ago
Alex Converse
62bebf6edb
avformat: Factorize codec probing.
13 years ago
Kostya Shishkov
c6061443f7
Indeo Audio decoder
13 years ago
Piotr Bandurski
a489db6cde
isom: add Radius DV YUV FourCCs
13 years ago
Carl Eugen Hoyos
1faf0d6a7a
Add missing CRLFs to avisynth error messages.
13 years ago
Carl Eugen Hoyos
757d5b9bfd
Fix MP2 muxer Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes ticket #1411
13 years ago
Alex Converse
41e9682af2
movenc: Write chan atom for all audio tracks in mov mode movies.
13 years ago
Jindřich Makovička
84e430dd7b
mpegtsenc: use avio_open_dyn_buf(), zero pointers after freeing
...
Per suggestion by Michael Niedermayer.
Signed-off-by: Jindřich Makovička <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
a982e5a031
avidec: make scale and rate unsigned.
...
The specs say they are unsigned 32bit integers.
13 years ago
Clément Bœsch
6b35f1a2a6
timecode: move timecode muxer options to metadata.
...
Some demuxers set a timecode in the format or streams metadata. The
muxers now make use of this metadata instead of a duplicated private
option.
This makes possible transparent copy of the timecode when transmuxing
and transcoding.
-timecode option for MPEG1/2 codec is also renamed to -gop_timecode. The
global ffmpeg -timecode option will set it anyway so no option change
visible for the user.
13 years ago
Michael Niedermayer
a5c7525bcb
set some categories of some AVClass structs
...
Please help setting the category for all remaining AVClasses
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
19dfbf1915
librtmp: return AVERROR_UNKNOWN instead of -1.
13 years ago
Anton Khirnov
a91943bcef
librtmp: don't abuse a variable for two unrelated things.
13 years ago
Anton Khirnov
007aedeebf
librtmp: add rtmp_app and rtmp_playpath private options.
...
This makes it easier to switch between native rtmp and librtmp.
13 years ago
Carl Eugen Hoyos
169dae8114
Unconditionally compile init_stream() in bintext.
...
Fixes compilation of xbin, adf and idf demuxer if
bintext demuxer was disabled.
Fixes ticket #1399
13 years ago
Michael Niedermayer
c983ca5b90
mpegtsenc: zero pointers after freeing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
328e203ca9
mpegts_audio_write: fix potential integer overflow
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
21e2dc9fb7
flv: support stream text data as onTextData
...
Adobe specifies onTextData as the standard message to use to deliver
text information.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Jindrich Makovicka
2439bd8681
mpegtsenc: Support LATM packetization for AAC
...
This adds the avoption mpegts_flags and converts the existing
resend_headers option into a flag, keeping the old option as
fallback for now.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jindrich Makovicka
485d3ea064
adtsenc: Don't expose the muxer internals to the rest of lavf
...
This isn't required any longer, when the mpegts muxer uses it
as a proper chained muxer.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jindrich Makovicka
b1c56eabe8
mpegtsenc: use AVFormatContext for AAC packetization
...
This removes the dependency on adts.c internals, and simplifies
adding other packetization formats.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jindrich Makovicka
d1a3a3d4b2
mpegtsenc: use AVERROR() for return codes
...
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
e0eaf10049
oggdec: fix regression that caused reading the whole file during open
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5665674b55
lavf: use input keyframe flag when muxer does not provide keyframe flags.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
dbaf79c9d7
http: Add the url_shutdown function for https, too
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
5952564185
http: Simplify code by removing a local variable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago