Aurelien Jacobs
49fb20cb8a
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
...
and remove all ENABLE_ definitions.
Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
528271ff67
Check the return of audio and video encoders.
...
Originally committed as revision 16538 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
95af5e1c81
All negative returns are errors not just -1.
...
Originally committed as revision 16537 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
094d9df72e
free all allocated metadata structures
...
Originally committed as revision 16457 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
25b4c651a3
Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
...
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
db4fac64db
Change AVSubtitle.rects to an array of pointers so ABI does not break
...
when the size of AVSubtitleRect changes.
Originally committed as revision 16412 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
22730e8790
Put pass_logfilename_prefix check on a single line, improve readability.
...
Originally committed as revision 16351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
ad16627fa0
Rename variables:
...
pass_logfilename -> pass_logfilename_prefix
DEFAULT_PASS_LOGFILENAME -> DEFAULT_PASS_LOGFILENAME_PREFIX
and make clear in the passlogfile OptionDef help string that it takes
a file name prefix rather than a file name.
Originally committed as revision 16350 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Wolfram Gloger
50e3477f0f
Offer an option (disabled by default) to enable the copy of the frames before
...
the first key frame in a stream.
Patch by Wolfram Gloger wmglo /!\ dent med uni (minus) muenchen de
Originally committed as revision 16269 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
09a76db8e6
Do not skip frames until the first keyframe when stream copying but
...
no starttime is set.
Fixes at least -vcodec copy with VS2k5DebugDemo-01-partial.avi.
Originally committed as revision 16159 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
76bdac6dbf
Cosmetics: remove empty comments.
...
Originally committed as revision 16124 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
42d1d06e8f
Make more informative the error messages regarding the access to the
...
2-pass log file.
Originally committed as revision 15970 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
13367a46bc
channel layout support for ffmpeg.c
...
Originally committed as revision 15956 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
3a25ca18f3
Make rate_emu a global property rather than to be settable for a
...
specific input video stream.
See the thread: Fix ffmpeg -re behaviour.
Originally committed as revision 15946 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
cdd7157bc3
Remove AVInputStream frame variable definition and usage, unnecessary
...
after the last commit.
Originally committed as revision 15945 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
cb103a194b
Make the input realtime framerate emulation code use ist->pts for
...
computing the time of the next frame to send to output.
See the thread: fix ffmpeg -re behaviour.
Originally committed as revision 15944 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
e178d7fd0f
Make ffmpeg print in the error message the exact line of a preset file
...
containing an invalid option or value, and also how the option and the
value have been parsed.
Originally committed as revision 15903 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
b04665ac02
Make ffmpeg print in the error message the exact line of a preset file
...
containing an invalid syntax.
Originally committed as revision 15902 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fc5d0db59a
Improve error message in case of output file with no streams, dumping
...
the empty file format representation and specifying the index number
of the output file.
Originally committed as revision 15870 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
bdb9fd9b7f
Improve messages printed when there is no input/output file, making
...
them more grammatically correct and consistent with other equivalent
messages.
Originally committed as revision 15869 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
7a7da6b42f
Remove unnecessary calls to show_help(), make ffmpeg/ffplay print a
...
specific error message instead.
Originally committed as revision 15868 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Barbato
536cd1db71
Flush SDP description
...
Originally committed as revision 15826 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
37d3e0667a
uses FF_ARRAY_ELEMS() where appropriate
...
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
17 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
17 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
17 years ago
Baptiste Coudurier
6b682df233
print error when deinterlacing fails
...
Originally committed as revision 15201 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 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
17 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
17 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
17 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
17 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
17 years ago