Stefano Sabatini
70899705ee
Provide more context to the opt_preset() error messages, printing the
...
name of the preset file where the error occurred.
Originally committed as revision 15637 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
b73533176b
Make ffmpeg abort if a preset file contains an invalid option or
...
argument.
Originally committed as revision 15636 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9ac1c884a0
Provide more context for the error message issued when no preset file
...
is found.
Originally committed as revision 15635 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
3ddb448d0a
Support absolute DOS paths for preset parameters
...
Originally committed as revision 15624 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a57bf69758
Add preset options documentation strings.
...
Originally committed as revision 15605 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
965530e156
Limit discontinuity handling to containers that allow discontinuities.
...
Originally committed as revision 15590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
fd2b356a62
cosmetics: indentation
...
Originally committed as revision 15588 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
6488cf9b09
lookup AVCodec by name
...
Originally committed as revision 15587 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
0093396cff
Remove unused and invalid code from ffmpeg.c.
...
Originally committed as revision 15567 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
d0feff2a5b
Uniformly define _XOPEN_SOURCE to 600.
...
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort
the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well
as POSIX.1-2001), and will only accept it to be defined to 600.
inspired by a patch from Diego Pettenò, flameeyes gmail com
Originally committed as revision 15460 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
c44c4e181f
cosmetics: Consistently use #ifdef in preprocessor directives.
...
Originally committed as revision 15459 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Wolfram Gloger
143df82789
set video_enc->sample_aspect_ratio to fix stream copy
...
patch by Wolfram Gloger wmglo _at_ dent.med.uni-muenchen _dot_ de
Originally committed as revision 15457 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
85663ef302
Move opt_default() and set_context_opts() to cmdutils so it can be used from
...
the other tools as well.
Originally committed as revision 15450 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d2845b758e
Implement the force_fps option, which disables the automatic selection
...
of the best framerate amongst the list of supported framerates of the
codec. Use the av_find_nearest_q_idx() function to choose the best
framerate.
See the thread: "Implement in lavc a flag which makes avcodec_open()
to choose the best framerate".
Originally committed as revision 15445 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
4e72f129c3
Support loading presets from random paths.
...
Fixes issue659.
Originally committed as revision 15443 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
fb1d2d7be2
include sys/select.h, fix freebsd 5.5 compilation
...
Originally committed as revision 15421 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
8a4f816a6d
Support comments in preset files.
...
Originally committed as revision 15366 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gert Vervoort
46cd15ca31
Fix setting default value of scan_offset option for target svcd.
...
Patch by Gert Vervoort gert D vervoort A hccnet D nl
Originally committed as revision 15310 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f2abc55945
add -xerror option, ffmpeg will now exit right when an error occurs
...
Originally committed as revision 15210 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6b682df233
print error when deinterlacing fails
...
Originally committed as revision 15201 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
287ba997b5
Remove further 1sample=2byte assumptions within FFmpeg to allow
...
F32LE/F64BE/F64LE audio to be encoded properly.
Originally committed as revision 15192 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
f031938343
Display error message when user attempts to resample non-S16 audio formats.
...
Patch supplied by Daniel Serpell <daniel dot serpell at gmail dotcom>.
Originally committed as revision 15119 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
de427ff48b
Simplify the indexing logic in the av_encode() streams mapping code.
...
Originally committed as revision 14992 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
c30a4489b4
export sample_aspect_ratio read by the demuxer in a separate field
...
that the one read by the decoder.
Originally committed as revision 14932 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
2fc3866d5e
Provide a context to opt_frame_rate(), and make it print the wrong
...
value in case of error. Improve error reporting and consistency with
the other opt_* functions.
Originally committed as revision 14914 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
745b39d5f9
Replace invocations of av_fifo_realloc(), which is going to be
...
deprecated, with corresponding invocations of av_fifo_realloc2().
Originally committed as revision 14848 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
7246177d80
ensure we get explicit definition of various _XOPEN_SOURCE functions we use
...
Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Loren Merritt
81b060faf9
align the audio decoding buffer, since some codecs write to it with simd
...
Originally committed as revision 14707 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
f44fd37447
Increase the maximum number of supported stream mappings in ffmpeg.c.
...
The new value is given by maximum_files_nb * maximum_streams_per_file_nb,
which looks also more correct in respect to the previous value.
Originally committed as revision 14520 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
a79db0f7c4
Add sample format converter to FFmpeg (adds -sample_fmt option)
...
Originally committed as revision 14512 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
ce1ee094d7
Add opt handler for pending "-sample_fmt" option
...
Originally committed as revision 14486 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
150d5a259b
Make ffmpeg dump output format in case of codec type mismatch between
...
an input stream and the corresponding output stream.
Originally committed as revision 14462 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
aa29709ec8
add CODEC_ID_PCM_F32BE (32-bit floating point PCM big endian decoder)
...
Originally committed as revision 14409 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e16190fa7a
cosmetics: typo fixes
...
Originally committed as revision 14376 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0042808e31
Remove explicit strict_std_compliance support as it seems to work fine over
...
AVOptions, actually it works even finer as it also gets passed to the
decoder.
Originally committed as revision 14307 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fc7ad2af05
Make ffmpeg -t X with X<=0 transcode nothing.
...
Originally committed as revision 14285 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
44eb047a5b
Correcting displayed muxing overhead and video stream size.
...
Partially fixes issue348.
Originally committed as revision 14282 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8833f375f9
-itsscale to scale timestamps
...
fixes issue511
Originally committed as revision 14226 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
89129c6b1d
Drop non-C99-compliant initialization.
...
Originally committed as revision 14224 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
bd6754aa79
On EOF keep calling the decoders until they do not output anything
...
anymore, instead of just once.
Originally committed as revision 14220 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8858816d4c
Use -vsync 0 unless the user explicitly asked for something
...
else when the framerate is above 1000.
Fixes issue259.
Originally committed as revision 14208 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
d08e3e91af
Prevent users from setting -vol and -acodec copy together.
...
They are incompatible since the frames are not decoded, so they can't be preprocessed.
Originally committed as revision 14178 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4e999ebe03
indent
...
Originally committed as revision 14137 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
385b19dfd4
Allow setting codecs through preset files
...
Originally committed as revision 14136 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8dbee6538d
Fix the av_set_string() free / alloc issue.
...
Originally committed as revision 14134 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b86f5a02ea
Register intrrupt_cb() early enough so we dont get stuck with tcp input
...
for example.
Fixes issue66
Originally committed as revision 13992 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
9010d54390
Remove unnecessary function opt_qdiff(), max_qdiff is set now through
...
the AVOption system. Also removes the previous constraints when
setting max_qdiff through opt_qdiff() (1 <= max_qdiff <= 31).
Originally committed as revision 13981 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
181782ae46
Use correct timestamp value for stream copy.
...
Originally committed as revision 13963 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
9c09099e75
Cosmetics: move ffmpeg.c dframes option definition from within the
...
video options to the generic options where it belongs.
Originally committed as revision 13893 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
d2ce2f5e5c
cosmetics, reindent
...
Originally committed as revision 13869 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago