Michael Niedermayer
b6b9c150f0
ffmpeg: add max_error_rate to allow tuning the point decoding errors are considered a failure of the whole transcoding.
...
Suggested-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
4d5d905eed
ffmpeg: avoid direct access to lowres use av_codec_g/set_lowres()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
64327aabb9
ffmpeg: add support to force specific AVCodecs
...
previously only codec_ids could be forced, which did not allow
forcing a specific implementation like libopenjpeg vs jpeg2000.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
6d77279ed8
ffmpeg_opt: Remove support for specifying -t anywhere to set the duration
...
This would otherwise conflict with the semantics of using -t for the input
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d0a7933991
ffmpeg_opt: do not warn about unused gop_timecode
...
The option is injected by generic code and being sometimes unused is normal.
Fixes Ticket2762
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d1e8d4b055
ffmpeg: Allow overriding ffservers input
...
Fixes Ticket1970
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d7fbe926d3
ffmpeg: move creation_time for ffserver setting up
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
eeddeb6579
ffmpeg_opt: replace exit() by exit_program()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
33ff943f70
ffmpeg: add -apad option which injects a apad filter only in the presence of video streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
449704b475
ffmpeg: move a local variable definition later.
...
Fix a segfault when using the -map option without input files.
12 years ago
Nicolas George
b1cc12d0e3
ffmpeg: make -aspect work with -vcodec copy.
12 years ago
Nicolas George
de38e7c8c3
ffmpeg: use a rational for -aspect option.
12 years ago
Michael Niedermayer
4bcb75cc48
ffmpeg: Print a warning when -frames is affecting non video frames
...
Fixes Ticket2395
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bd03afb5bb
ffmpeg_opt: avoid strcpy()
...
This fixes a warning on openbsd and is more robust
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4257b804e2
ffmpeg: Replace -deinterlace (which was broken by the buffer ref stuff) with yadif injection
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
40ea006b76
ffmpeg: make -lavfi an alias for -filter_complex.
12 years ago
Nicolas George
639a9e21a6
ffmpeg_opt: add OPT_INPUT to -fix_sub_duration and -canvas_size.
12 years ago
Nicolas George
0eb56a085d
ffmpeg: add OPT_INPUT to -guess_layout_max.
12 years ago
Nicolas George
da397173df
ffmpeg: add OPT_OUTPUT to -to option.
...
Fix trac ticket #2355 .
12 years ago
Michael Niedermayer
bd93f3c5bd
ffmpeg: fix reinit_filter type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
cb2bd91413
ffmpeg: add the -canvas_size option.
...
Allows, amongst other things, to override the size guessed
by the sub2video hack.
Note: the -s option could have more or less the same semantic,
but it receives a special treatment by the options system.
12 years ago
Michael Niedermayer
e2427f04b7
ffmpeg_opt: Ask for overwrite in single image2 files too
...
Fixes Ticket1637
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ronald S. Bultje
2cffe38df3
Deprecate deinterlaced in libavcodec.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9af8179cdb
ffmpeg: fix -stats -v 0
...
Fixes Ticket1687
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Jean First
2d7044683f
ffmpeg_opt: add -to option to specify stop time
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Jean First
af0e8144cd
ffmpeg_opt: cosmetics
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ad899522ff
ffmpeg: use a AVDictionary instead of the context to move swr parameters around
...
This avoids per parameter changes in ffmpeg at the cost of making access
somewhat more annoying.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ccf9dd00da
ffmpeg: dont allow -flags to override -pass
...
Fixes Ticket2154
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0cecaa9e2e
ffmpeg: free attachments, fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Matthieu Bouron
5a67e30b1c
ffmpeg: fix broken channel_layout option
...
Fixes ticket #2163 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
27db2bf000
ffmpeg: remove -crop* and -pad* options
...
The options have been deprecated and are non-operational since more than
two years.
12 years ago
Nicolas George
fccd8c21c4
ffmpeg: add -guess_layout_max option.
12 years ago
Stefano Sabatini
c4738c3196
ffmpeg: fix typo in open_files() message
...
Found-By: Justin Ruggles
12 years ago
Stefano Sabatini
89ef586867
doc/ffmpeg: extend documentation for the -filter options and -af/vf aliases
12 years ago
Michael Niedermayer
a260c79733
ffmpeg: fix dither to 24bit PCM output
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2a23f6035e
mpegpsenc: Fix SCR handling for DVD
...
This makes the initial SCR equal 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
69a1667b06
ffmpeg: mark attachment streams finished.
...
Fix trac ticket #2083 .
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
Michael Niedermayer
103410d67e
ffmpeg_opt: fix recording time in->out carryover.
...
This should fix valgrind complaints.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a46c565796
ffmpeg_opt: fix pointer types
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
cb0881c794
ffmpeg: use GROW_ARRAY in opt_map_channel.
12 years ago
Clément Bœsch
b684f744ac
ffmpeg: use avformat_seek_file() instead of av_seek_frame().
...
avformat_seek_file() is the new API. It will make sure the read_seek2()
callback is called when the demuxer has it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Clément Bœsch <ubitux@gmail.com>
12 years ago
Michael Niedermayer
b5e0e327ce
ffmpeg: fix swr filter_type for auto inserted aresample filters
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0efcf16a3e
replace av_log(0, by av_log(NULL,
...
The first parameter is a pointer and NULL is more correct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
a62242678f
ffmpeg: complain loudly and exit in case removed -sameq option is specified
...
This is better than silently ignoring the option, which results in
unexpected quality results.
12 years ago
Michael Niedermayer
a9d97e1b0a
ffmpeg: use av_rescale_delta() on the audio filter input
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3e0b29ccd0
ffmpeg: Make video filter graph reinit user selectable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago