Anton Khirnov
88bfe4518b
ffmpeg: change semantics of -map
...
New syntax contains an optional stream type, allowing to refer to n-th
stream of specific type.
Omitting stream number now maps all streams of the given type.
13 years ago
Anton Khirnov
f12f40b31a
ffmpeg: get rid of new* options.
...
They are confusing, irregular and redundant -- -map already contains all
the information. Stream maps can now be parsed in opt_output_file().
Add a more user-friendly default behavior in case no maps are present.
Breaks -programid for now, but it never worked properly anyway. A better
solution will be written soon.
13 years ago
Anton Khirnov
7efec8dd6d
ffmpeg: rename sameq variables to same_quant
13 years ago
Anton Khirnov
5a9e42ec45
ffmpeg: make -map_metadata work consistently with the other options
...
Before, it took an input and output file index, now it only takes an
input file and applies to the next output file.
Stream/chapter/program specification is now part of the option name and
the delimiter was changed from ',' to ':' to be consistent with the
similar feature for AVOptions.
13 years ago
Anton Khirnov
6bf3c39d17
ffmpeg: make -map_chapters accept only the input file index.
...
This is consistent with how all the other options work
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
97861f5b08
ffmpeg: Set codec_type in new_output_stream
...
Ported from a change from anton khirnov to avconv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
a0ce297b69
ffmpeg: rename ffmpeg_exit in exit_program
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
50be0b911a
ffmpeg: Support queing filter commands for later times
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bb22f39fe2
ffmpeg: Support passing commands to filters at runtime
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
0249478756
doxygen: fix wrong comment syntax, //< vs. ///<
13 years ago
Nicolas George
83ff2a1153
ffmpeg: use avcodec_get_name to report missing en/decoders.
13 years ago
Nicolas George
8b52b46c97
ffmpeg: print the codecs names in the stream mapping.
13 years ago
Nicolas George
5fa98ab42d
ffmpeg: ignore forward gaps for subtitles streams.
13 years ago
Diego Biurrun
f056fc2c6c
ffmpeg: remove unsed variable nopts
13 years ago
Dustin Brody
2bfdb34c8a
mpeg12: remove repeat-field code disabled since May 2002
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
f8a1fc2623
ffmpeg: fix null pointer segfault on solaris. (ticket381)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
d4863fc1a8
cmdutils: allow precisely specifying a stream for AVOptions.
13 years ago
Anton Khirnov
791a86c37a
ffmpeg: add a warning stating that the program is deprecated.
13 years ago
Anton Khirnov
4d58e4cb4c
Rename ffserver to avserver.
13 years ago
Carl Eugen Hoyos
f8dc2e51aa
ffmpeg: fix passlogfile regression
13 years ago
Michael Niedermayer
6e19cfb083
ffmpeg: Fix doxygen comments for MetadataMap
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
31fe5d9825
Fix possible crash when decoding mpeg streams.
...
This reverts 2cf8355f98
,
fixes ticket 329.
13 years ago
Carl Eugen Hoyos
08d2cee49c
Fix -loop_input.
13 years ago
Carl Eugen Hoyos
8460b757c2
Do not ignore opt_default() return values.
13 years ago
Stefano Sabatini
8ec19f84e1
cmdutils: add codec_opts parameter to setup_find_stream_info_opts()
...
Avoid brittle and obfuscating reference to a global.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Michael Niedermayer
981f6fc988
ffmpeg: better timebase guessing for stream copy
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Nicolas George
257f274dfa
Do not use AVFMT_FLAG_NONBLOCK for the output file.
...
Restore the commit 0de8ebf
by Carl Eugen Hoyos that was lost during the
merge 58257ea
.
14 years ago
Mans Rullgard
08e09ed7db
ffmpeg: fix some indentation
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e9f98c9022
ffmpeg: fix operation with --disable-avfilter
...
The width and height must be copied from the input before
being used.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
c31a5b23b4
Revert "ffmpeg: get rid of a pointless limit on number of streams."
...
This reverts commit c7dd3e7e43
Conflicts:
ffmpeg.c
14 years ago
Michael Niedermayer
32aef7d019
ffmpeg: fix muxer private options (bug introduced by anton khirnov)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Martin Storsjö
daca33659d
ffmpeg: Fix the check for experimental codecs
...
The variable 'codec' was used uninitialized here.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Michael Niedermayer
321b2a9ded
ffmpeg: loose lowres hackery
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
1885824b20
ffmpeg: deprecate -vc and -tvstd
...
They've been replaced by demuxer private options.
55ba12e300
14 years ago
Anton Khirnov
f790d0092e
ffmpeg: use new avformat_open_* API.
...
8035f42968
14 years ago
Anton Khirnov
8d03ca085f
ffmpeg: print the low bitrate warning after the codec is openend.
...
This doesn't access avcodec_opts, so it works with the new options
passing system.
Makes opt_bitrate() unneeded, so it's removed.
14 years ago
Anton Khirnov
bf174a70cd
ffmpeg: use new avcodec_open2 and avformat_find_stream_info API.
14 years ago
Anton Khirnov
a9eb4f0899
ffmpeg: check experimental flag after codec is opened.
...
This doesn't access avcodec_opts, so it will work with the new options
passing system.
14 years ago
Anton Khirnov
8e2d085516
ffmpeg: do not set GLOBAL_HEADER flag in the options context
...
The removed lines have no effect, since the flag is set on all encoder
for the given file and avcodec_opts are reset between files.
14 years ago
Diego Biurrun
71a1d1116f
Replace some gotos that lead to single return statements by direct return.
14 years ago
Anton Khirnov
c7dd3e7e43
ffmpeg: get rid of a pointless limit on number of streams.
14 years ago
Anton Khirnov
646a9a1893
ffmpeg: remove an unused define.
14 years ago
Anton Khirnov
5f847bf61d
lavf: deprecate AVFormatContext.timestamp
...
It's replaced by 'creation_time' metadata tag.
14 years ago
Anton Khirnov
b12c259252
ffmpeg: merge input_files_ts_scale into InputStream.
14 years ago
Anton Khirnov
6fbf2485ad
ffmpeg: don't abuse a global for passing sample format from input to output
...
It's broken with multiple files or audio streams.
14 years ago
Anton Khirnov
87c739a395
ffmpeg: don't abuse a global for passing channel layout from input to output
...
It's broken with multiple files or audio streams.
14 years ago
Anton Khirnov
1cede1d011
ffmpeg: factor common code from new_a/v/s/d_stream to new_output_stream()
14 years ago
Anton Khirnov
e98bc78ca1
ffmpeg: remove unused variables from InputStream.
14 years ago
Anton Khirnov
20f9f21fd4
ffmpeg: remove pointless if (nb_input_files)
...
It's required to be non-zero since
cc58300e30
14 years ago
Anton Khirnov
27e91f37f5
ffmpeg: merge input_files_ts_offset into input_files.
14 years ago