Stefano Sabatini
6c18f1cda2
Make opt_audio_sample_fmt() abort in case of invalid sample format
...
name.
Originally committed as revision 26335 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
8e8a3cc221
Reindent after 26330.
...
Originally committed as revision 26331 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
7f88a5bf9b
Introduce av_metadata_copy() to copy metadata from one struct to another.
...
Originally committed as revision 26330 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
8a774d3deb
Do not allocate unused swscale context when libavfilter is compiled in
...
Originally committed as revision 26317 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
4618637aca
Fix warnings:
...
ffmpeg.c: In function ‘new_video_stream’:
ffmpeg.c:3701:18: warning: ‘codec_id’ may be used uninitialized in this function
ffmpeg.c: In function ‘new_audio_stream’:
ffmpeg.c:3848:18: warning: ‘codec_id’ may be used uninitialized in this function
ffmpeg.c: In function ‘new_subtitle_stream’:
ffmpeg.c:3926:18: warning: ‘codec_id’ may be used uninitialized in this function
Originally committed as revision 26313 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
c961fb3cbb
Change 'arg' type in parse_meta_type, fix warning:
...
ffmpeg.c: In function ‘parse_meta_type’:
ffmpeg.c:3323:13: warning: assignment discards qualifiers from pointer target type
Originally committed as revision 26312 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anatoly Nenashev
ee77f986a2
Fix lowres > 0 with --enable-avfilter..
...
Fixes issue 2072 and issue 2421.
Patch by Anatoly Nenashev, anatoly d nenashev a ovsoft d ru
Originally committed as revision 26252 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
b26847b710
Fix/cleanup m/ljpeg encoding pix fmt selection code in ffmpeg.c.
...
Better ideas are welcome ...
Originally committed as revision 26219 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anssi Hannula
ef2b2243dc
Use AVOption for muxers in ffmpeg.
...
Patch by Anssi Hannula, anssi d hannula d iki d fi
Originally committed as revision 26199 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
1d6233d315
use avsubtitle_free() instead of re-implementing it partially (fix a memleak)
...
Originally committed as revision 26175 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
bb62d5c1f0
Allow output formats without any streams.
...
Required for future metadata format.
Originally committed as revision 26100 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
f671584845
Reindent.
...
Originally committed as revision 25940 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
8afab68605
Fix encoding when the input audio format/rate/channels changes during
...
transcoding.
Fix issue #2292 .
Patch sponsored by KIM Keep In Mind GmbH, srl.
Originally committed as revision 25939 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
5d7870dc76
Show per-codec options on FFmpeg commandline help.
...
Originally committed as revision 25927 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
d4a9f37938
cosmetic: indentation
...
Originally committed as revision 25885 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
118ccae030
add subtitle codec autodetection
...
Originally committed as revision 25884 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
037be76e15
Add avfilter_graph_create_filter().
...
Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
477b1aeac9
ffmpeg.c: copy global metadata by default
...
Originally committed as revision 25794 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
63e8d9760f
Use the new libavcore audio channel API.
...
This also allows to remove a linking dependency of libavfilter on
libavcodec.
Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
7f48bfa1e3
Cosmetics, fix indentation
...
Originally committed as revision 25773 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
cb2c971d91
allow passing subtitles header between decoder and encoder
...
Originally committed as revision 25745 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
8f55616fac
add global header support for subtitles encoding
...
Originally committed as revision 25742 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
5d6e4c160a
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
...
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
09f47fa44e
ffmpeg.c: add a forgotten break in chapter copying
...
only copy chapters from one file
Originally committed as revision 25729 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
a9c2bf9dc1
ffmpeg.c: reindent
...
Originally committed as revision 25728 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
91e96ebafb
ffmpeg.c: add an option for copying chapters
...
fixes issue 2068
Originally committed as revision 25727 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
7b3937360e
ffmpeg.c: allow using negative file indices to disable metadata copying
...
Originally committed as revision 25706 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
1e80a0eaa4
Remove graphparser.h header, move AVFilterInOut and
...
avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h.
Simplify, and less confusing for the user.
Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
7313132bcc
Rename AVFilterInOut field filter to filter_ctx, more semantically correct.
...
Originally committed as revision 25700 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
6e872935db
Implement get_preset_file() in cmdutils.h and use it to factorize code
...
from ffmpeg.c and ffserver.c.
Originally committed as revision 25679 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
97dd1e4a87
Rename avfilter_graph_destroy() to avfilter_graph_free().
...
The new name is shorter and more consistent with the rest of the API.
This change breaks libavfilter API/ABI.
Originally committed as revision 25674 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
e15aeea656
Implement avfilter_graph_alloc().
...
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
ba7d6e798e
Remove usage of deprecated libavcodec/audioconvert.h functions.
...
Originally committed as revision 25668 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
da1b9b88a5
Fix timestamp computation when the timebase changes during filtering.
...
The timestamps for all the buffered frames are scaled against
AV_TIME_BASE_Q, and need to be scaled back to AV_TIME_BASE_Q when they
are extracted from the filterchain.
Originally committed as revision 25646 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
45290fcdf0
ffmpeg.c: reindent
...
Originally committed as revision 25637 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
d0abe80aa4
ffmpeg.c: don't autocopy stream/chapter metadata if manual mapping is specified
...
Originally committed as revision 25636 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
1829e19528
ffmpeg.c: extend map_meta_data to allow advanced mappings
...
i.e. to/from streams/chapters/programs.
Originally committed as revision 25635 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
0422af7e49
Remove ffmpeg PGMYUV compatibility hack, which was deprecated since
...
ages.
The user is requested to specify "-f image2" in place of "-f pgmyuv"
for reading/writing PGMYUV files, as for the other image formats.
Originally committed as revision 25629 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
2839dc974d
Use AV_RL32() in opt_codec_tag().
...
Originally committed as revision 25618 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ramiro Polla
0d0778b060
ffmpeg: fix opt_codec_tag() return value
...
opt_codec_tag() is now used under OPT_FUNC2, which must return a value.
Originally committed as revision 25616 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Rocky Cardwell
b67f3d6575
Fix ffserver-related regression (and crash) introduced in r25500.
...
Fixes issue 2317.
Patch by Rocky Cardwell, rocky d cardwell a lifespringschool d org
Originally committed as revision 25603 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
ec1ca41cef
Move new_output_stream() up for upcoming fix for issue 2317.
...
Originally committed as revision 25602 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
63e856df0a
ffmpeg.c: dynamically allocate metadata maps
...
Originally committed as revision 25599 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
d0242e741d
Factorize: opt_{audio,video,subtitle}_tag() -> opt_codec_tag().
...
Originally committed as revision 25596 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
96ea6ad2a7
Remove unused variables picture_crop_temp and picture_pad_temp.
...
Originally committed as revision 25530 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Nicolas George
4ad08021e8
Add a -force_key_frames option to ffmpeg.
...
The option is useful to ensure that there is a seek point exactly at a
place the user will probably want to jump precisely sometime, the
major example would be the end of an opening and the beginning of a
chapter. The scene change detection system will often make it happen,
but not always for example if there is a fade-in.
See the thread:
Subject: [FFmpeg-devel] [PATCH] -force_key_frames option
Date: Tue, 12 Oct 2010 15:16:26 +0200
Patch by Nicolas George -mail nicolas,george,normalesup,org.
Originally committed as revision 25526 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
ff0652e503
Implement a common get_filtered_video_frame(), shared between ffplay.c
...
and ffmpeg.c.
Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
16b2691346
Make help message for the -crop* options consistent with that of the
...
-pad* options and more direct.
Originally committed as revision 25519 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
5879ea6d27
Remove -crop* options.
...
Users are required to use the libavfilter crop filter.
Originally committed as revision 25518 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
3f2a7e4277
Cosmetics: use a more compact notation, improve readability and reduce
...
line count.
Originally committed as revision 25510 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago