Michael Niedermayer
98db905896
avformat_seek_file: Dont attempt to rescale INT64_MIN/MAX
...
This fixes a integer overflow in fate
Reviewed-by: Clément Bœsch <ubitux@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
740e740895
av_rescale: support passing MIN/MAX through
...
Reviewed-by: Clément Bœsch <ubitux@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Lou Logan
091ce6bcb2
doc/faq: add -start_number example
...
Also add example showing cat piping images to ffmpeg.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Stefano Sabatini
69d75dc4dd
lavu/base64: extend/clarify doxy for the base64 API
...
Also improve overall consistency.
12 years ago
Clément Bœsch
49a78e6b8c
lavu/eval: handle div by zero in mod().
...
Similarly to 03f5043f5
, we use the FTRAPV config setting.
12 years ago
Michael Niedermayer
aa86d2d884
lavf: move stream==-1 handling from ff_subtitles_queue_seek() to avformat_seek_file()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
fc86f86353
fate/sub2video: move sws flags globally in the filtergraph.
...
The flags are necessary for the auto inserted scaler (because the
overlay filter needs an alpha channel for the overlay surface).
12 years ago
Michael Niedermayer
ccb7f20309
fate: add missing bitexact flag to scale filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
b252d9e777
fate: add sub2video test.
12 years ago
Nicolas George
e4f14c32b9
examples/muxing: improve error messages.
...
Illustrate the use of return values, av_err2str and
avcodec_get_name.
12 years ago
Nicolas George
b99bef17b4
lavfi/avfiltergraph: check pick_format return code.
12 years ago
Stefano Sabatini
82deb0c42e
doc/muxers: adopt new -codec:SPEC syntax in segment example
12 years ago
Stefano Sabatini
8bbe9d90fa
doc/muxers: add a dedicated section for segment examples
12 years ago
Stefano Sabatini
fd44dfb29d
doc/muxers: fix typos in the segment chapter
12 years ago
Clément Bœsch
8bc74221f8
lavf: remove generic index flag from text subtitles.
...
This flag is not necessary.
12 years ago
Clément Bœsch
5a2f3f0bca
lavf/vobsub: do not count trailing NUL char in extradata.
...
See 36e61e24
.
12 years ago
Michael Niedermayer
1e28fa21de
rawdec: fix NV12
...
Fixes Ticket646
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Janne Grunau
e9fd51b0d6
h264: check SPS entries directly to detect pixel format changes
...
Comparing AVCodecContext.pix_fmt against the get_pixel_format() return
value has the side effect of calling the get_format() callback on each
slice. Users of the callback will probably handle hardware accelerator
initialization in the callback.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
341e40f1e1
lavf: Fix codec id forcing with probed codecs
...
Fixes Ticket2088
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3a6b6f425e
lavf: move force_codec_ids() up
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
98ce9b8468
fate: merge mapchan and options into ffmpeg.
...
They were two very short files that cover ffmpeg-specific features.
12 years ago
Nicolas George
102cf964dd
ffmpeg: sub2video: set resample size.
...
Necessary after 04a530f
.
12 years ago
Nicolas George
5ed5e90f2a
lavc/dvdsubenc: improve color distance function.
...
Consider the color space as an hypercone with apex alpha=0
and base alpha=1 instead of an hypercube.
Make the encoder consider very transparent colors more similar
even if the hue is very different.
This corresponds roughly to using the alpha as a weight for the
color difference.
Only 4 bits of alpha are used, because this is what dvdsub uses,
and it avoids overflows.
Fix trac ticket #2005 .
12 years ago
Nicolas George
8dbbaf568e
lavf/matroskaenc: respect bitexact for attachments.
...
Use the first 64 bits of the SHA1 of the content as file UID
instead of a random number if the bitexact flag is set.
12 years ago
Nicolas George
5bab99baea
ffmpeg: apply flags to attachments too.
12 years ago
Nicolas George
951a03b3a8
ffmpeg: move stream_copy flags handling after attachments.
12 years ago
rogerdpack
10a9277562
better filter error message when accidentally reusing outputs
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
ecda1d3cbe
lavf: add data: URI scheme.
12 years ago
Paul B Mahol
ba1cbf40ce
lavfi/lut: use ff_fill_rgba_map()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Piotr Bandurski
fde13052fb
aiffdec: set block duration for QDM2
...
Fixes #1697 .
12 years ago
Clément Bœsch
7d66bc7920
lavc/movtextdec: keep the min size instead of max to fix overread.
...
Fixes Ticket #2087 .
12 years ago
Clément Bœsch
1dd4a21cb7
fate: re-enable fate-sub-mpsub.
...
This reverts commit 580ee973d1
.
12 years ago
Clément Bœsch
c14f8a52b0
lavf/mov: fix timecode track reference usage.
12 years ago
Clément Bœsch
8d398f40b4
lavf/mov: simplify timecode track ref.
...
There can be only one track reference. The multiple tref handling is
handled at a different level.
12 years ago
Nicolas George
69a1667b06
ffmpeg: mark attachment streams finished.
...
Fix trac ticket #2083 .
12 years ago
Michael Niedermayer
9b53306178
cmdutils: we have 2013
...
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
82541d8330
lavfi: merge all filtering code into ff_filter_frame.
12 years ago
Hendrik Leppkes
765158dd82
mov: fix parsing of the chap atom.
...
This was broken in 0d96ec19eb
under the
assumption that there is only one tref leaf atom.
Fixes Ticket #2081 .
12 years ago
Paul B Mahol
8c33cb5c77
fate: add nistsphere demuxer test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
9336a980bb
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
rtmp: Add support for limelight authentication
rtmp: Add support for adobe authentication
Conflicts:
Changelog
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
8e4e532bb2
lavfi/avcodec: fix typo
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
c047a41bc5
Merge commit '33f28a3be3092f642778253d9529dd66fe2a014a'
...
* commit '33f28a3be3092f642778253d9529dd66fe2a014a':
rtmp: Add a function for writing AMF strings based on two substrings
rtmp: Return a proper error code in handle_invoke_error
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
d079d1d368
ffprobe: do not escape '"' between single quotes.
12 years ago
Clément Bœsch
c1abfcd7d6
doc/resampler: remove .html from link text.
12 years ago
Michael Niedermayer
13131685f1
ffmpeg: avoid negative timestamps for DVD
...
dvdauthor cannot handle files with ts wraps
Fixes ticket383
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
2eb2e1798e
lavfi: add avfilter_get_audio_buffer_ref_from_arrays_channels.
...
It is the same as avfilter_get_audio_buffer_ref_from_arrays
except it has a "channels" and the channel layout can be 0.
12 years ago
Michael Niedermayer
f105fe5c22
rawdec: fix decoding of odd dimensioned raw yv12
...
Fix Ticket339 part 2 of 2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
67abe21c0b
mov: fix handling of odd sized yv12
...
Part 1 of 2 to fix Ticket339
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6e8df250fd
mpeg12: fix frame_pred_frame_dct handling in field pictures
...
Fixes Ticket254
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
49ec0d8ed2
mpeg12: print invalid cbp value
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago