Alexander Strange
28db32159e
ffmpeg: cosmetics: combine two variable declarations
...
Originally committed as revision 23677 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
54a13282bd
Deprecate -crop* arguments, they currently are buggy (issue1957) and probably
...
will be fixed by removing them.
Originally committed as revision 23607 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
e91376d1f6
10l: audio_buf is already a uint8_t* so no need to cast it
...
Originally committed as revision 23571 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
79c85beba8
Allocate enough memory for audio_buf to fit a full output frame.
...
Also, use audio_buf when encoding the final frame.
Fixes Issue 1921.
Originally committed as revision 23570 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
a1629e2848
Remove support for pre-Haiku, non-POSIX, non-C99 BeOS variants.
...
BeOS support has been broken for many years and the "maintainer" of the port
has not reacted to countless requests to get the port fixed.
approved by Mans
Originally committed as revision 23562 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Abeni
b659c8b4b7
In case of stream copy, copy the extradata from the input codec context to
...
the output codec context (instead of just copying a pointer to the extradata).
Originally committed as revision 23538 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
83a36b2e0b
Change type of {audio,video,subtitle}_codec_tag variables from int to
...
unsigned int, as the corresponding variable set in
AVCodecContext.codec_tag is unsigned int.
Originally committed as revision 23441 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Janne Grunau
770e50ae80
ffmpeg: offer alternatives for experimental codecs if they exist
...
Originally committed as revision 23398 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Janne Grunau
4e605bc3fd
ffmpeg: fail if user selected codec is experimental and strict_std_compliance > experimental
...
Originally committed as revision 23397 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
c56e9e05ab
Open 2-pass logfile in binary mode for both reading and writing.
...
This fixes a regression on Windows introduced by r22769 in which the data read
from the file was not properly zero terminated. The file was read as text,
which caused the \r characters to be suppressed. Since the zero termination
happens at the end of the buffer, and there was one byte less read per line,
this caused the remaining space on the buffer to contain random data.
Originally committed as revision 23251 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
521cfa4aae
rename -vfilters cli option to -vf
...
Originally committed as revision 23100 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
d21f58b52d
cosmetics, rename loop to frame_available
...
Originally committed as revision 23092 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
a9f3cb9372
rename curr_filter to last_filter, factorize filter declaration
...
Originally committed as revision 23091 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
79b90b2549
cosmetics: indentation, whitespaces
...
Originally committed as revision 23090 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
6e82e7fa48
simplify, reuse existing args variable
...
Originally committed as revision 23089 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
aa1249b8aa
cosmetics: filt_graph_all -> graph, like in ffplay.c
...
Originally committed as revision 23088 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0c22311b56
Remove messy pading hack in ffmpeg.c.
...
Use avfilters if you want padding!
Originally committed as revision 23050 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
bdab692f48
Make sure get_filtered_video_pic() doesnt loose interlacedframe/tff.
...
Originally committed as revision 23049 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
46847a336e
avfilter support for ffmpeg
...
Originally committed as revision 23043 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ff866063e9
Print warnig if requested samplingrate is unsupported.
...
Originally committed as revision 22991 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
a31e795607
Make ffmpeg use print_error() to make apparent the exact cause of
...
failure happened when trying to open the output file.
Originally committed as revision 22973 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2ef6c1242a
Mark av_metadata_set() as deprecated, and use av_metadata_set2()
...
in its place.
av_metadata_set() is going to be dropped at the next major bump.
Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
10d0f5e035
Make sure ffmpeg chooses a supported samplerte if the encoder supports
...
just some.
Originally committed as revision 22943 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Cyril Russo
9b157b0ccd
Fix compilation error of ffmpeg and ffplay with --disable-avdevice.
...
Patch by Cyril Russo, stage D nexvision A laposte net
Originally committed as revision 22940 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Robert Krüger
2328e5a289
Allow setting the environment variable FFMPEG_DATADIR to locate preset files.
...
Patch by Robert Krüger <krueger signal7 de>.
Originally committed as revision 22923 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
f32f7d8b24
Take ticks per frame into account when warning about difference between
...
container and codec frame rate.
Originally committed as revision 22895 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
46e6fb4c54
Simplify writing stream metadata.
...
Patch by Anton Khirnov <wyskas gmail com>.
Originally committed as revision 22809 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
1a6498d78c
Don't overwrite user-supplied metadata with metadata mapped from an input file.
...
Patch by Anton Khirnov <wyskas gmail com>.
Originally committed as revision 22808 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
685598f58d
Reindent.
...
Originally committed as revision 22798 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ac61f59a76
Rename av_encode() to av_transcode(), the new name is more meaningful.
...
Originally committed as revision 22797 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
18590be655
Use AVDISCARD_DEFAULT for 0 where appropriate.
...
Originally committed as revision 22787 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
458b062d61
Implement cmdutils.c:read_file(), and use it in ffmpeg.c for reading
...
the second pass encoding log file.
Originally committed as revision 22769 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
d9521cb119
Fix FFM-based streaming from ffmpeg to ffserver. The basic problem is that
...
we'd memset() the codec context to zero, thereby setting audio input to U8
and video to YUV420P. For most video encoders, that actually works, but for
most audio codecs, it doesn't. This patch changes defaults to those set by
avcodec_context_get_defaults() and have ffmpeg figure out the optimal encoding
format itself if not set explicitely (as it does for the non-ffserver-cases
also).
Originally committed as revision 22751 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jean-Daniel Dupas
cc947f04cc
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
...
Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
aa1de0d9ed
Split out code that auto-chooses a default pix_fmt/sample_fmt in their own
...
functions.
Originally committed as revision 22731 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
64f6e357fd
10l: fix build without termios.h
...
Originally committed as revision 22604 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9a9509e6ee
Register atexit handler only when needed
...
Originally committed as revision 22599 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
7a39f142a8
ffmpeg.c: copy chapters by default.
...
Patch by Anton Khirnov wyskas gmail com
Originally committed as revision 22598 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
562f22a699
Typo: if output (video) stream's pix_fmt is not set, then the stream cannot
...
be ENcoded, not DEcoded.
Originally committed as revision 22566 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
802323508c
Allow mpeg style yuv in jpeg when strict standard compliance is small enough.
...
Originally committed as revision 22553 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Strange
d55065a29f
ffmpeg: Combine variable declaration and definition
...
Originally committed as revision 22537 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Strange
47b229dbab
ffmpeg: Factor out redundant sync_ipts calculation
...
Originally committed as revision 22536 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
335ee1aadd
Move libm replacements to new header libm.h
...
ffmpeg.c uses lrintf(), which is missing on some systems. Previously
it picked up the replacement via libavutil/internal.h due to
HAVE_AV_CONFIG_H being erroneously defined.
Moving these replacements to a separate header enables ffmpeg.c to
use them without being exposed to internal interfaces.
This use of a non-public header is justified by the header in question
not being part of the internal interface either. It should rather be
considered as part of the build system, which is shared between the
libraries and the applications.
This header cannot be installed since the tested conditions depend on
the compiler.
Originally committed as revision 22399 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6580d5e377
Remove hacks not required since HAVE_AV_CONFIG_H was unset for the apps
...
Originally committed as revision 22295 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
660822f0ae
ffmpeg.c: Don't use NULL for integer metadata flags.
...
Originally committed as revision 22205 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8c8bf9ecfc
Make ffmpeg print a message and abort if the name of the format
...
provided with -f was unknown.
Originally committed as revision 22140 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Chris Stones
49b609820d
Don't let output pixel format influence input pixel format.
...
Patch by Chris Stones, chris D stones A gmail
Originally committed as revision 22130 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
c71591a509
ffmpeg: copy stream metadata.
...
Patch by Anton Khirnov wyskasgmailcom
Originally committed as revision 22126 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Francesco Cosoleto
6abda15f56
Prevent overflow of start_time + recording_time.
...
Patch by Francesco Cosoleto gmail($name)
Originally committed as revision 22077 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago