Michael Niedermayer
740e6042a0
ffmpeg: change ost->finished to an enum
...
Idea-by: ramiro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d7ebeba80c
ffmpeg: Do not fill gap before the first decodable frame on single stream input files unless the user explicitly requests it.
...
Fixes different behavior to JM and probably several if not all
reference decoders.
We cannot just do this unconditionally as it would ruin AV sync in
some use cases.
Bug-Found-by: BugMaster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stefano Sabatini
0f8bdfe3e8
ffmpeg: store value of -filter and -filter_script per-stream option in OutputStream struct
...
Avoid the need for multiple potentially inconsistent access operations,
slightly factorize code.
11 years ago
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
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
de38e7c8c3
ffmpeg: use a rational for -aspect option.
12 years ago
Michael Niedermayer
4c1f61b1e8
ffmpeg: Correct inter stream timestamp discontinuities
...
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
Nicolas George
f9b34b8bf9
ffmpeg: port sub2video to AVFrame.
...
And re-enable the FATE test.
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
Michael Niedermayer
e42028925b
ffmpeg: Force a first_pts of 0 for the first configuration of -async use
...
This is very close to what the default does currently
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
Stefano Sabatini
43af18ef8b
ffmpeg: implement -force_key_frames expression evalution
12 years ago
Nicolas George
fccd8c21c4
ffmpeg: add -guess_layout_max option.
12 years ago
Nicolas George
0f236345fb
ffmpeg: sub2video: use start and end time.
...
Until now, the end_display_time was ignored, making single
packets subtitles (like dvdsub) stay indefinitely.
start_display_time was also ignored, but is it almost always 0.
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
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
Michael Niedermayer
65f7aee63b
ffmpeg: add option to control copying of frames prior to start.
...
Normally we discard things prior to the intended start
for stream copy this is not always possible, and its not done by default
this option allows discarding to be enabled
this is primarely usefull when transcoding a video and stream copying an
audio stream.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
6d8b32633e
ffmpeg: use PTS from the AVSubtitle structure.
12 years ago
Nicolas George
0cad101ea1
ffmpeg: add an option to fix subtitles durations.
...
With this option, transcoding DVB subtitles becomes possible.
13 years ago