Michael Niedermayer
949938d1ca
ffmpeg_opt: remove casts for OPT_FUNC2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
581537cfd5
ffmpeg_opt: fix copy_tb
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
927022a753
Merge commit 'd3810c47fe8c9509c28c65c0244e743c1d353daf'
* commit 'd3810c47fe8c9509c28c65c0244e743c1d353daf':
avconv: get rid of ugly casts in the options table.
avconv: try to match codecs by codec descriptor name as a last resort.
avtools: fix show_foo() signatures.
Conflicts:
cmdutils.c
cmdutils.h
cmdutils_common_opts.h
ffmpeg_opt.c
ffplay.c
ffprobe.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Wolfram Gloger
a5a0dedf11
Fix duplicate packet init introduced by 7f9aaa4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jan Ekström
b96509c93c
fate: Add FATE tests for the Ut Video encoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Jan Ekström
1ab5a78042
lavc: add Ut Video encoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
677e763a55
mpegvideo_enc: remove stray duplicate line from 7f9aaa4
13 years ago
Michael Niedermayer
76c3fff2f3
h264: Workaround invalid MPEG-TS broadcasts
Fixes seeking to the first keyframe
Fixes Ticket1029
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9e5f79ed8a
avrndec: add DR1 capability flag
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b1acf5d7a6
AVRn: fix progressive
Fixes Ticket970
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ba2cf854d0
lavc: move AVRn to a seperate decoder.
The special cases in demuxers and decoders are a mess otherwise (and more
would be needed to support it fully)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Giorgio Vazzana
1e6072139b
swscale: x86: fix #endif comments in rgb2rgb template file
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Anton Khirnov
602b1898e5
avconv: mark more options as expert.
13 years ago
Anton Khirnov
f9fada2704
avconv: split printing "main options" into global and per-file.
13 years ago
Anton Khirnov
6e3857fa8c
avconv: refactor help printing.
By default don't dump every single option on the user, but print only
the basic options.
Add -h long/full to print more options.
13 years ago
Anton Khirnov
f8b1e66553
avconv: print info/capabilities options in a separate help group.
13 years ago
Anton Khirnov
1136bd362a
avtools: add -h demuxer/muxer
13 years ago
Anton Khirnov
a3ad68d36c
cmdutils: extend -h to allow printing codec details.
13 years ago
Anton Khirnov
7c5012127f
cmdutils: change semantics of show_help_options() and document it.
Currently it takes a mask and value, such that options for which
(flags & mask) == value.
Change it to take required flags and forbidden flags instead. This is
shorter and simpler to understand.
13 years ago
Anton Khirnov
dc4c24a3d3
avtools: move some newlines to show_help_options().
Don't require every caller to supply them.
13 years ago
Anton Khirnov
79600a8354
avconv: deprecate -isync.
This option does not do anything.
Also remove OPT_GRAB, since -isync is the last option using it.
13 years ago
Anton Khirnov
8fc83fb081
avconv: reformat the options table.
13 years ago
Anton Khirnov
d3810c47fe
avconv: get rid of ugly casts in the options table.
13 years ago
Anton Khirnov
db4766ad1b
avconv: try to match codecs by codec descriptor name as a last resort.
This allows e.g. -c:v h264 to select the libx264 encoder.
13 years ago
Anton Khirnov
f617135bc9
avtools: fix show_foo() signatures.
show_foo() functions are declared as void show_foo(void), but called as
int show_foo(const char*, const char*).
13 years ago
rogerdpack
a93c221ccd
dshow: protect access to curbufsize
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
rogerdpack
42dbf06df0
dshow: cleanup reference
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
c28d80f4c9
lavc: avcodec_get_name: return "none" for AV_CODEC_ID_NONE.
13 years ago
Michael Niedermayer
c9fe864472
Merge remote-tracking branch 'qatar/master'
* qatar/master:
vorbisdec: remove some pointless comments
avprobe: add const to AVCodec pointer
libavformat: add const to AVCodec pointers
pthread: add const to AVCodec pointers
Conflicts:
ffprobe.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
4855022aa1
vorbisdec: remove some pointless comments
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
5980e57cf9
lavfi: add volumedetect filter.
13 years ago
Nicolas George
13b965ead4
ffmpeg: reindent after last commit.
13 years ago
Nicolas George
429c6cab1c
ffmpeg: reduce differences with avconv for in/out scheduling.
Rework the transcode() function and its immediate annexes to have
the same structure as in avconv, while still maintaining proper
scheduling to avoid accumulation.
Using -filter_complex without inputs now works.
13 years ago
Michael Niedermayer
af5086087e
ffmpeg: Clip invalid video timestamps like audio instead of failing hard.
Fixes Ticket976
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0de4918f32
rawdec: support AVRn 1:1 raw interlaced mode
Fixes Ticket971
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
e35c0ee05c
lavf/segment: fix computation of M3U8 segment target duration
Use ceil on the max duration, rather than approximating it to the nearest
integer.
13 years ago
Michael Niedermayer
a21f65b55e
elbg: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9018f8c328
elbg: fix assert
It seems the condition was flipped from what was intended
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
28ff17fa97
lavf: add use_wallclock_as_timestamps
This may fix Ticket730
Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
92b8c9d89e
lavf/au: check bits per coded sample.
Without that, it would repeatedly produce empty packets
if the codec if forced to something invalid.
Fix trac ticket #1652 .
13 years ago
Michael Niedermayer
7f46f042d1
buildsys: fix cleaning of libmpcodecs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Uoti Urpala
e70730045a
h264: vdpau: fix crash with unsupported colorspace
The h264_vdpau decoder crashed if output colorspace was not 8-bit 420.
Add a check to error out instead (current hardware does not support
other colorspaces, so successful decoding is not possible).
Check implemented at a different place by michael, thus blame for bugs goes to michael
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
8b13445791
avprobe: add const to AVCodec pointer
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
edb5238ccb
libavformat: add const to AVCodec pointers
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
11434c9b13
pthread: add const to AVCodec pointers
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
6c180b35c4
Merge remote-tracking branch 'qatar/master'
* qatar/master:
mpegvideo_enc: don't use deprecated avcodec_encode_video().
cmdutils: refactor -codecs option.
avconv: make -shortest a per-output file option.
lavc: add avcodec_descriptor_get_by_name().
lavc: add const to AVCodec* function parameters.
swf(dec): replace CODEC_ID with AV_CODEC_ID
dvenc: don't use deprecated AVCODEC_MAX_AUDIO_FRAME_SIZE
rtmpdh: Do not generate the same private key every time when using libnettle
rtp: remove ff_rtp_get_rtcp_file_handle().
rtsp.c: use ffurl_get_multi_file_handle() instead of ff_rtp_get_rtcp_file_handle()
avio: add (ff)url_get_multi_file_handle() for getting more than one fd
h264: vdpau: fix crash with unsupported colorspace
amrwbdec: Decode the fr_quality bit properly
Conflicts:
Changelog
cmdutils.c
cmdutils_common_opts.h
doc/ffmpeg.texi
ffmpeg.c
ffmpeg.h
ffmpeg_opt.c
libavcodec/h264.c
libavcodec/options.c
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
69fc2489c4
doc/muxers: simplify segment examples
The simplifications are due to the recent option changes.
13 years ago
Stefano Sabatini
2d31ae2921
lavf/segment: change default value for segment_list_size option, from 5 to 0
This is technically a major compatibility break, but seems the most
natural default and what users would expect without reading the docs.
13 years ago
Stefano Sabatini
1c522e3868
lavf/segment: guess list type from list filename suffix
13 years ago
Stefano Sabatini
dc7e4d685f
lavfi/mp: remove framestep wrapped filter
An equivalent framestep filter has been natively integrated.
13 years ago