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
Michael Niedermayer
e47ab0b2c9
ffmpeg_opt: dont fail for sameq/same_quant.
...
Instead print a warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
f7c46d251c
ffserver: fix seeking with ?date=...
...
Regression since 5f847bf61d
.
After this commit, timestamps pushed by FFmpeg won't be relative
anymore, but absolute (based on the date/time at the beginning of the
push). This will allow seeking to work properly. Before this patch, the
seek was done, but ffm timestamps were way smallers than the absolute
requested timestamp (based on a date), so the seek was done, but to the
end of the stream (which was similar to no effect at all).
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
Michael Niedermayer
de73ae6b1a
ffmpeg: avoid apics for video output if possible
...
Fixes Ticket1714
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a7b483953d
ffmpeg: factor area out of video stream selection code.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
eb949544ca
ffmpeg: fix 10l (use of uninitilaized variable)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
374033ee93
ffmpeg: remove now unneeded old *_codec_name code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8ccb56abee
ffmpeg/opt_output_file: extract subtitle codec name through new API
...
This should fix specifying subtitle codecs with the new syntax in some cases.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a4271f3d4e
ffmpeg: dont match unspecified media types in MATCH_PER_TYPE_OPT
...
This would change existing behavior, and should if done, done seperately.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3db4c88ac1
ffmpeg/opt_preset: update to new option API for reading codec names.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bad953bc2d
ffmpeg: fix overriding codecs with the new syntax
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
469f8b1dcb
ffmpeg: Fix assert failure
...
Fixes Ticket1674
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
f4aeb48516
ffmpeg: remove outdated warning.
...
-t works with complex filters now.
12 years ago
Michael Niedermayer
93e75c78dd
ffmpeg_opt: get rid of casts for the HAS_ARG case
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
949938d1ca
ffmpeg_opt: remove casts for OPT_FUNC2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
581537cfd5
ffmpeg_opt: fix copy_tb
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
5296d7b971
ffmpeg,ffplay: show filter options
...
Address trac ticket #1599 .
12 years ago
Nicolas George
e4f4d99df8
ffmpeg: make -s work for subtitles too.
...
Some codecs allow to encode the frame size and some players use it.
12 years ago
Nicolas George
0cad101ea1
ffmpeg: add an option to fix subtitles durations.
...
With this option, transcoding DVB subtitles becomes possible.
12 years ago
Michael Niedermayer
22d804b7f0
ffmpeg: dont auto match videostreams with attachment pics.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago