Michael Niedermayer
96470ca22b
avformat/mov: allow seeking back to the begin even if nothing is marked as keyframe
...
Fixes Ticket 3663
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-26 01:23:46 +02:00
Michael Niedermayer
d236d4907c
update APIchanges & version for c37d179
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-26 00:20:07 +02:00
Michael Niedermayer
c37d179295
avformat: add format_probesize to allow tuning the maximum amount of bytes to identify the filetype
...
Currently probesize is cliped at 1mb before being used for format detection.
Alternatively this cliping could be removed but this would then tie various
things like stream analysis to the file detection.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-25 23:54:34 +02:00
Michael Niedermayer
ee9b0199c8
Merge commit 'e0d01dc7d7fc3ce4c23f286a10870e9599c8b8b9'
...
* commit 'e0d01dc7d7fc3ce4c23f286a10870e9599c8b8b9':
smoothstream: check malloc calls
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-25 13:07:45 +02:00
Aman Gupta
4372fb7a57
avcodec/webvttenc: add webvtt encoder
...
Based off the srt encoder. The following features are unimplemented:
- fonts, colors, sizes
- alignment and positioning
The rest works well. For example, use ffmpeg to convert subtitles into the .vtt format:
ffmpeg -i input.srt output.vtt
Signed-off-by: Aman Gupta <ffmpeg@tmm1.net>
Signed-off-by: Clément Bœsch <u@pkh.me>
2014-05-25 03:04:14 +02:00
Michael Niedermayer
726316240b
Merge commit '8692e6284f5169257a537c8fc25addf32fc67c87'
...
* commit '8692e6284f5169257a537c8fc25addf32fc67c87':
rdt: check malloc calls
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-24 13:21:33 +02:00
Clément Bœsch
cba92a2226
avformat/vobsub: do not create empty streams.
...
Fixes NULL dereference in vobsub_read_packet() on vobsub->q[i]->subs.
Fixes ticket #3669 .
2014-05-24 11:08:34 +02:00
Nidhi Makhijani
e0d01dc7d7
smoothstream: check malloc calls
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-05-24 08:21:49 +02:00
Nidhi Makhijani
8692e6284f
rdt: check malloc calls
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-05-24 07:51:12 +02:00
Clément Bœsch
e63a17bfdc
avformat/mov: use av_display_rotation_get() for rotate metadata.
2014-05-23 23:30:21 +02:00
Carl Eugen Hoyos
27d460fe98
Refuse to mux H.264 with fourcc H264 into avi without startcode.
...
Fixes ticket #3638 .
2014-05-23 16:20:22 +02:00
Michael Niedermayer
64bf845544
avformat/mov: Dont blindly trust the stream duration in seting chapter times
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-23 04:39:55 +02:00
Michael Niedermayer
220df143b9
avformat/utils: Check end time in avpriv_new_chapter()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-23 04:33:05 +02:00
Michael Niedermayer
744df0a031
avformat/movenc: Check that packet duration is valid in ff_mov_write_packet()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-23 04:00:29 +02:00
Florent Le Coz
fdcb2873e1
Fix the mime types for MPEG and MPEG-TS formats
...
As per the RFCs:
http://tools.ietf.org/html/rfc3555#page-38
http://tools.ietf.org/html/rfc3003
2014-05-22 23:34:59 +02:00
Vignesh Venkatasubramanian
37cef8c774
libavformat/matroskaenc: Add WebM DASH support
...
WebM DASH specification [1] requires the Clusters and Cues to be output in a
specific way. Adding a flag to matroskaenc that will enable support for
creating WebM/Mkv files conforming to the WebM DASH specification.
[1] http://wiki.webmproject.org/adaptive-streaming/webm-dash-specification
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-22 18:53:13 +02:00
Carl Eugen Hoyos
eff913c972
Autodetect Asterisk raw pcm with extension "sln".
2014-05-22 15:15:04 +02:00
Carl Eugen Hoyos
afaa39b46d
Don't overwrite codec_id with 0 in ff_mp4_read_dec_config_descr().
...
Fixes ticket #3660 .
2014-05-21 22:48:11 +02:00
Michael Niedermayer
7f7080dc73
avformat: add av_stream_get_end_pts()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-21 18:53:12 +02:00
Michael Niedermayer
7d25af1547
Merge commit 'c23c96b638cbf6c489fd301e6b3d5555632fba37'
...
* commit 'c23c96b638cbf6c489fd301e6b3d5555632fba37':
lavf: add av_stream_get_side_data
Conflicts:
doc/APIchanges
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-20 03:39:04 +02:00
Michael Niedermayer
9893e883ea
avformat/mux: Remove localized encoder strings
...
Fixes muxing to end up with a encoder=Lavf... and encoder_eng=somethingelse
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-20 02:46:42 +02:00
Janne Grunau
c23c96b638
lavf: add av_stream_get_side_data
2014-05-20 00:43:52 +02:00
Lukasz Marek
b9419b5882
lavf/ftp: favour EPSV over PASV command
...
EPSV is newer version of PASV and allows to use IPv6.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-05-20 00:00:45 +02:00
Lukasz Marek
37fa4b9bb9
lavf/audiointerleave: return more meaningful error codes
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-05-20 00:00:45 +02:00
Lukasz Marek
2ed9e17ed1
lavf/audiointerleave: check for allocation failure
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-05-20 00:00:45 +02:00
Lukasz Marek
c61cdefa4d
lavf/audiointerleave: use av_fifo_alloc_array
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-05-20 00:00:45 +02:00
Lukasz Marek
74f9c5947d
lavf/dvenc: use av_fifo_alloc_array
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-05-20 00:00:45 +02:00
Michael Niedermayer
07941c2cb2
Merge commit '853cc025d63ee2539fc0460dab62c5b9a3fd2043'
...
* commit '853cc025d63ee2539fc0460dab62c5b9a3fd2043':
mov: store display matrix in a stream side data
Conflicts:
libavformat/isom.h
libavformat/mov.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-19 19:21:53 +02:00
Michael Niedermayer
999a99c865
Merge commit 'a312f71090ee620ee252f2034aef6b13e2dafe9c'
...
* commit 'a312f71090ee620ee252f2034aef6b13e2dafe9c':
lavf: deprecate now unused AVStream.pts
Conflicts:
libavformat/mux.c
libavformat/version.h
mostly not merged as the code is needed for a/vsync drop handling
and what the code does is what is needed, it could maybe be moved
elsewhere or factored somehow but simply removing it would be droping
these features.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-19 18:38:10 +02:00
Michael Niedermayer
6552e23d56
avformat/mpegtsenc: fix dts for chained muxing aac in mpegts
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-19 16:30:46 +02:00
Vittorio Giovara
853cc025d6
mov: store display matrix in a stream side data
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-05-19 13:13:16 +02:00
Anton Khirnov
a312f71090
lavf: deprecate now unused AVStream.pts
2014-05-19 07:14:24 +02:00
Anton Khirnov
ed7922faac
mux: drop one of the hacks comprising compute_pkt_fields2()
...
All encoders should output proper timestamps now.
2014-05-19 07:14:18 +02:00
Carl Eugen Hoyos
e705d0ce1c
Set dwSuggestBufferSize to largest chunk size for every stream in avi.
...
Fixes playback with WMP 9 for files with large (rawvideo) frames
as explained in ticket #2145 .
Fixes ticket #2818 .
2014-05-19 00:05:40 +02:00
Michael Niedermayer
5771efde87
Merge commit '0ba5299a805e9ccaef1a757381fc2ada4d54b8a1'
...
* commit '0ba5299a805e9ccaef1a757381fc2ada4d54b8a1':
movenc: use the "encoder" metadata tag to write stsd Compressorname
Conflicts:
libavformat/movenc.c
libavformat/movenc.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 22:29:27 +02:00
Michael Niedermayer
c01bcce495
Merge commit 'd246231e4714119faac6c7acd881d3b687bb8b11'
...
* commit 'd246231e4714119faac6c7acd881d3b687bb8b11':
wavenc: use codec descriptors to get the codec name
Conflicts:
libavformat/wavenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 21:05:46 +02:00
Anton Khirnov
0ba5299a80
movenc: use the "encoder" metadata tag to write stsd Compressorname
...
This mirrors the demuxer behaviour and avoids accessing
AVCodecContext.codec, which should not be done in muxers.
2014-05-18 20:34:03 +02:00
Anton Khirnov
d246231e47
wavenc: use codec descriptors to get the codec name
...
Also, return a proper error code.
2014-05-18 20:33:38 +02:00
Michael Niedermayer
b06741d267
Merge commit '79f2c426fde6e71c40b29504112d0528b85be623'
...
* commit '79f2c426fde6e71c40b29504112d0528b85be623':
dv: do not set codec timebase
Conflicts:
libavformat/dv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 14:53:41 +02:00
Michael Niedermayer
8636b11bdc
Merge commit '7a5f4f6853047eea74a6443d73f4d74d52b2799f'
...
* commit '7a5f4f6853047eea74a6443d73f4d74d52b2799f':
lavf: extend avg_frame_rate documentation.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 14:27:29 +02:00
Michael Niedermayer
4f32efdff0
Merge commit 'c3311d472a7528c67f76d0d061704ae70a99b32e'
...
* commit 'c3311d472a7528c67f76d0d061704ae70a99b32e':
avienc: sanitize variable naming in write_header()
Conflicts:
libavformat/avienc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 14:14:33 +02:00
Michael Niedermayer
213e82b55c
Merge commit 'b513bf6f69e26e724de6d5dca642c3582dcd0517'
...
* commit 'b513bf6f69e26e724de6d5dca642c3582dcd0517':
yuv4mpegdec: do not set coded_frame properties
Conflicts:
libavformat/yuv4mpegdec.c
See: b45a3e167f
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 14:02:31 +02:00
Michael Niedermayer
56d3cd1455
Merge commit 'e4dc1000d7bbbcb5b45cf9849fc5315f19578e37'
...
* commit 'e4dc1000d7bbbcb5b45cf9849fc5315f19578e37':
yuv4mpeg: split the demuxer and muxer into separate files
Conflicts:
libavformat/yuv4mpegdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 13:37:25 +02:00
Michael Niedermayer
47a721348a
Merge commit '3ef6c5264b2590781b4ed556443ff49709dd45fb'
...
* commit '3ef6c5264b2590781b4ed556443ff49709dd45fb':
a64: check that extradata exists before reading from it
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 13:25:18 +02:00
Michael Niedermayer
c7c11058ab
Merge commit 'b136564909adec2043be4c94ade08b67ad443124'
...
* commit 'b136564909adec2043be4c94ade08b67ad443124':
a64: remove unneeded struct qualifier
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 13:17:10 +02:00
Michael Niedermayer
6a51090924
Merge commit 'd256ed78ffe202a4dcc8d625becffc716bfa3977'
...
* commit 'd256ed78ffe202a4dcc8d625becffc716bfa3977':
4xm: allocate extradata properly.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 13:10:24 +02:00
Anton Khirnov
79f2c426fd
dv: do not set codec timebase
...
It is not supposed to be set from outside of libavcodec.
Set average framerate instead.
2014-05-18 10:24:43 +02:00
Anton Khirnov
7a5f4f6853
lavf: extend avg_frame_rate documentation.
2014-05-18 10:24:24 +02:00
Anton Khirnov
c3311d472a
avienc: sanitize variable naming in write_header()
...
Do not call an AVCodecContext 'stream', that is highly confusing.
Also, add a local variable for the current AVStream in the loop over all
streams.
2014-05-18 10:24:02 +02:00
Anton Khirnov
ab3fdaa713
yop: only set extradata size after it has been successfully allocated
...
Do not leave a non-zero extradata_size set on failure
2014-05-18 10:22:42 +02:00