Anton Khirnov
b0c9e8e024
avconv: get rid of the arbitrary MAX_FILES limit.
13 years ago
Anton Khirnov
4288e0316a
avconv: get rid of the output_streams_for_file vs. ost_table schizophrenia
...
Instead store output streams in the same way as input streams.
13 years ago
Anton Khirnov
af70aa4526
avconv: add a wrapper for output AVFormatContexts and merge output_opts into it
13 years ago
Anton Khirnov
09af7fb309
avconv: make itsscale syntax consistent with other options.
...
Move the stream specifier to the option name.
13 years ago
Anton Khirnov
88867844c6
avconv: factor out adding input streams.
13 years ago
Alex Converse
553735f5a8
avconv: Factorize combining auto vsync with format.
13 years ago
Alex Converse
87ef060c3b
avconv: Factorize video resampling.
13 years ago
Alex Converse
9be3c1245f
avconv: Don't unnecessarily convert ipts to a double.
13 years ago
Michael Niedermayer
d071df888d
avconv: Correct Copyright statement.
...
this more than 4000 line file has less than 600 lines that are not in ffmpeg.c
and they are largely cosmetic changes from ffmpeg.c.
Thus the copyright statement from ffmpeg.c should be used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
6cd9d0f77d
Revert "avconv: use stream copy by default when possible."
...
This reverts commit 4f4f33844a
.
This commit has some ugly corner cases and needs to be discussed
further.
13 years ago
Anton Khirnov
ad42126abc
avconv: print stream copy information.
13 years ago
Anton Khirnov
4f4f33844a
avconv: use stream copy by default when possible.
13 years ago
Anton Khirnov
5759cce70d
avconv: don't segfault on 0 input files.
13 years ago
Michael Niedermayer
47219e1c0c
avconv: fix uninitialized variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
2c81d5f4c5
avconv: remove a write-only variable
13 years ago
Anton Khirnov
40fc281087
avconv: remove pointless parameter from new_*_stream().
...
New streams are always added to the last output file.
13 years ago
Anton Khirnov
169f0647b7
avconv: cosmetics, move code
...
Move find_codec_or_die(), choose_codec(), new_output_stream() and
read_avserver_streams() below transcode() where they belong.
13 years ago
Anton Khirnov
86530f418e
avconv: cosmetics -- move copy_chapters().
...
It's only used in opt_output_file(), so move it right above
opt_output_file().
13 years ago
Anton Khirnov
f233cfed7b
avconv: cosmetics -- move parse_forced_key_frames().
...
parse_forced_key_frames() is only used in new_video_stream(), so move it
right above new_video_stream().
13 years ago
Anton Khirnov
64db1a82d6
lavc: add audio flag to the 'b' option, deprecate 'ab'.
...
Its only reason for its existence was ffmpeg's inability to properly assign
AVOptions to streams. Now this is not a problem anymore, so 'ab' should
go.
13 years ago
Anton Khirnov
f4ad238c6c
avconv: rename sameq to same_quant
...
It's often mistakenly used as 'same quality', emphasize that it's not
true in the manual.
13 years ago
Anton Khirnov
92f1940e99
avconv: replace -vcodec/-acodec/-scodec with a better system.
...
The new option doesn't depend on its placement wrt -new* options (which
don't exist anymore) and works in a similar way as per-stream AVOptions.
-[vas]codec remain as aliases to -codec:[vas]
13 years ago
Anton Khirnov
ff884c79ee
avconv: remove presets.
...
Nothing except x264 uses them and native x264 presets should be used
with private options.
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
Kostya
5c59fa56ed
Turn on resampling on sudden size change instead of bailing out during recode.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Kostya
428c59d911
avtools: reinitialise filter chain when input video stream changes dimensions
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
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
Michael Niedermayer
36e0585a00
avconv: remove trailing whitespace
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
8d2e4a7e68
avconv: 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
3d4f0dab79
avconv: 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
d4863fc1a8
cmdutils: allow precisely specifying a stream for AVOptions.
13 years ago
Anton Khirnov
e6e6060c9b
avconv: 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
c9065c2917
avconv: remove deprecated options.
13 years ago
Anton Khirnov
b9aac90bd8
avconv: make -map_chapters accept only the input file index.
...
This is consistent with how all the other options work.
13 years ago
Anton Khirnov
6291d7e416
Make a copy of ffmpeg under a new name -- avconv.
...
It will be further developed with a few incompatible changes.
ffmpeg.c will stay as is for some time, so any scripts using it won't be
broken.
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.
14 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