Michael Niedermayer
4e15960c78
ffmpeg: add rmvol command line option to set swr rematrix volume.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
6bca574a98
Allow to overwrite input stream tags.
13 years ago
Clément Bœsch
3473639952
ffmpeg: fix two stream related comments.
13 years ago
Michael Niedermayer
e084cad45f
ffmpeg: fix y/N regression so that \n is always needed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
96fad826ff
ffmpeg: put space back that was lost during someone reformating it.
...
Found-by: Ramiro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f3bacced24
ffmpeg: fix read_yn() if HAVE_TERMIOS_H || HAVE_KBHIT == 0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dc46692ded
ffmpeg: fix setting codecs for demuxers.
...
Bug introduced by:
commit e3bf4e292c
Author: Anton Khirnov <anton@khirnov.net>
Date: Tue Aug 30 04:10:54 2011 +0200
ffmpeg: 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]
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
92ec66f983
ffmpeg: limit read_key() calls to get a tiny speed boost.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c09abba1d9
ffmpeg: avoid multiple redundant av_gettime() calls, rather reuse the value in a iteration of the main loop.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f3afc9d772
ffmpeg: fix run_as_daemon when HAVE_TERMIOS_H is false
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d6c231bac1
ffmpeg: cosmetic renamings to reduce difference to qatar.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0732dceef1
ffmpeg: call term_init() earlier
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
570fb660d6
ffmpeg: make q_pressed volatile, it can be changed from signal handlers.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fb79558516
ffmpeg: dont call read_key() in decode_interrupt_cb() this can cause keys to be lost
...
also its slow when read_key() is slow and there are a very large number of calls
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
481747c6f7
ffmpeg: make -a/v/sn work with -map
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
2c1c0c5024
ffmpeg: fix forced key frames.
...
Now that the option was moved in the per-stream context,
the parsing is done before the time_base for the stream is decided.
This patch does the parsing in AV_TIME_BASE units and rescales the
timestamps later when the correct time base is known.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
1d3b280e71
ffmpeg: Replace av_realloc by av_realloc_f when relevant.
...
Also mark with a visible comment "FIXME realloc failure" places where
av_realloc seems to lack a proper test for failure.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2f3dd904f4
ffmpeg: fix wrong indention that leaked in from merge
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Lars Täuber
6c0a902d12
ffmpeg: fix typo in warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
eb11cca530
ffmpeg: document alternative to the lossless libx264 presets
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1edf33f7f2
ffmpeg: fix -b -ab mixes with -b overriding the audio bitrate
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
182cbe433a
avtools: parse loglevel before all the other options.
...
This way it can be applied to cmdutils too -- e.g. showing the banner
and printing startup messages.
13 years ago
Stefano Sabatini
01fbcc6fd6
ffmpeg: improve feedback when processing filtergraph events
13 years ago
Stefano Sabatini
68b897ef15
ffmpeg: apply misc cosmetics fixes in the filtergraph event processing code
...
In particular provides more consistent and expressive names,
supposedly improves readability and user feedback.
13 years ago
Michael Niedermayer
d8289ff9a9
ffmpeg: increase bit_buffer_size, the header size is clearly too small for rgb48 raw based formats
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
9aa1f87dfd
Revert "ffmpeg: get rid of useless AVInputStream.nb_streams."
...
This reverts commit 2cf8355f98
.
AVInputStream.nb_streams tracks number of streams found at the
beginning, new streams may appear that ffmpeg doesn't know about. Fixes
crash in this case.
13 years ago
Michael Niedermayer
b5875b9111
Add libswresample.
...
Similar to libswscale this does resampling and format convertion, just for audio
instead of video.
changing sampling rate, sample formats, channel layouts and sample packing all
in one with a very simple public interface.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8f5bb35f40
ffmpeg: fix video synchronization code to be exact on constant fps videos. Fixes Ticket137
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
677a831ec6
ffmpeg: remove unused data_codec_name.
13 years ago
Clément Bœsch
525d4852b9
ffmpeg: set {audio,video,subtitle}_codec_name const.
...
This fixes "assignment discards ‘const’ qualifier from pointer target
type." warnings.
13 years ago
Clément Bœsch
4b961ddfea
ffmpeg: a bit more consistent prototypes.
13 years ago
Michael Niedermayer
0c0ec4be6b
ffmpeg: dont copy duration when -t is used
...
Fixes Ticket445
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7ba8e6bbae
ffmpeg: replace messy duplicated tag compatibility functions by more generic solution.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cec92fe49a
ffmpeg: add vbsf & absf for compatibility.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1bb766a988
ffmpeg: fix -re
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
4f7dfe12ea
lavfi: rename vsink_buffer.c to sink_buffer.c, and vsink_buffer.h to buffersink.h
...
This is done in order to clarify the non-video-specific nature of the
buffersink code, as the result of the video/audio API unification of
the previous commit, and for improving overall consistency.
14 years ago
Stefano Sabatini
c4415f6ec9
lavfi: unify asink_buffer and vsink_buffer API
...
The new API is more generic (no distinction between audio/video for
pulling frames), and avoids code duplication.
A backward compatibility layer is kept for avoiding tools ABI breaks
(only for the video binary interface, audio interface was never used
in the tools).
14 years ago
Michael Niedermayer
d543b3bb52
ffmpeg: map subtitle stream by default when user specified -scodec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
6f8b1fcd4b
ffmpeg: tell reset_options() if it is used on input or output files.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
7cc8d6385a
cmdutils: add support for caller-provided option context.
...
This is the first step to removing the globals plague from avtools.
14 years ago
Anton Khirnov
cac651c834
cmdutils: move grow_array() from avconv to cmdutils.
14 years ago
Anton Khirnov
dad09ff93f
cmdutils: move exit_program() declaration to cmdutils from avconv
...
Allows cmdutils to call each tool's own cleanup function.
14 years ago
Michael Niedermayer
ca4d71b149
ffmpeg: fix reading from stdin on windows
...
Based on code by Rolf Siegrist
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
20c21f8b75
cmdutils: get rid of dummy contexts for examining AVOptions.
...
Replace it with newly introduced libavutil API.
14 years ago
Michael Niedermayer
6233a3a153
Revert "ffmpeg: remove presets." and reimplement the needed parts that no longer exist.
...
Needed by libvpx
This reverts commit a0147957e7
.
14 years ago
Chiranjeevi Melam
e6ea4c715d
ffmpeg: Fix minor memleak of input_tmp
14 years ago
Clément Bœsch
df8737eb35
ffmpeg: fix two unused variables warnings.
14 years ago
Carl Eugen Hoyos
c0e8bce349
Fix compilation with --disable-avfilter.
...
Fixes ticket #425 .
14 years ago
Michael Niedermayer
3584b01e4e
ffmpeg: Fix typos introduced in:
...
commit 630902a1e1
Author: Anton Khirnov <anton@khirnov.net>
Date: Wed Jul 6 08:49:07 2011 +0200
avconv: factor out initializing input streams.
These caused scrambled error messages to be printed and
floating point exceptions.
For example when there was no decoder available for a
stream
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7c3f4fb42d
ffmpeg: ffmpeg: fix reading commands from the keyboard
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago