Stefano Sabatini
3022cd10a5
Factorize options context setting.
...
Patch by Stefano Sabatini stefano sabatini-lala posteit
Originally committed as revision 13756 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
837d248df6
enable stream copy with ffserver, to be able to chain
...
Originally committed as revision 13753 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
6dfafe109d
set log debug when avformat debug is set
...
Originally committed as revision 13750 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
3438d82d4b
remove ugly ffm_nopts hack, use AVFormatContext->timestamp
...
Originally committed as revision 13718 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e66ace6f0b
Support longer paths for and longer names in preset files.
...
Originally committed as revision 13710 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
439c18c75d
indent
...
Originally committed as revision 13709 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
23b20b5cf3
Search /usr(/local)/share for preset files as well.
...
This also fixed a null pointer dereference if HOME isnt set.
Originally committed as revision 13708 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d9f1b68cf5
Presets support.
...
How per codec defaults and ranges will be supported is still being discussed.
Originally committed as revision 13685 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
e992fba4ba
Add a few newlines to 'ffmpeg -h' output to make it more readable.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13583 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
418a0b9fc4
Compiling ffmpeg.c fails when when the .ffm demuxer is enabled, but the .ffm
...
muxer is disabled. The cause is an incorrect #ifdef that assumes that the
ffm_nopts symbol (global define in ffmenc) is present when either ffm muxer
OR demuxer is enabled.
patch by Peter Ross, pross xvid org
Originally committed as revision 13573 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
573e8cb309
Remove incorrect usage of av_free_static(), ffmpeg.c is not a
...
windows dll which can be unloaded and loaded again.
Originally committed as revision 13565 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
9d58e0a9e1
cosmetics, space before and after parenthesis, weird indentation
...
Originally committed as revision 13539 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Erik Hovland
f094b6627d
Remove unnecessary header #includes.
...
Extracted from a patch by Erik Hovland, erik hovland org.
Originally committed as revision 13531 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
ea9c581f61
Simplify show_banner() so that it does not require arguments, similar
...
to what was previously done with show_version().
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13526 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
e5f6b7e5ac
Slightly clarify bitstream filter help output.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13494 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e6b4e4ff5f
Remove coded_frame==NULL checks for video encoders.
...
Originally committed as revision 13493 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
1234da4caf
use av_fifo_generic_write, old func is deprecated
...
Originally committed as revision 13455 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
bcbd328e17
Make stream copy of ac3 from riff based formats work.
...
Originally committed as revision 13408 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fa3b98182d
Ensure that one can store X bytes in a fifo of size X.
...
Fixed issue417.
Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0871ae1a93
Make av_fifo*_read() ignore the available amount of data.
...
This is more efficient as in practice the check is redundant most of the
time. Callers which do not know if enough data is available have to check
it with av_fifo_size(). Doing the check in *read() means the caller has
no choice to skip the check when its known to be redundant.
Also the return value was never documented in a public header so
changing it should not break the API. Besides this fixes the case where
read() failed on a 100% full fifo.
Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
46eab09341
Make opt_verbose() work again.
...
Originally committed as revision 13403 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
ba9880c13a
Move show_formats() to cmdutils.c.
...
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13236 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
20176cbc73
Get rid of more senseless wrapper functions and use OPT_EXIT instead.
...
Originally committed as revision 13233 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
64555bd9b1
Do not pass program_name as argument to show_version(), this allows some
...
future simplifications.
Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a0b3bcd9fe
OPT_EXIT
...
Originally committed as revision 13231 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Bolt
475f4d8d4b
Print timestamp with increased precision.
...
Patch by David Bolt
Originally committed as revision 13217 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
54d2d4f698
Make 'ffmpeg -formats' print codec long names.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13142 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Dave Yeo
0a1b29dea7
sys/resource.h needs sys/types.h on OS/2, patch by Dave Yeo, daveryeo telus net
...
Originally committed as revision 13116 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
b091aa44b7
Check for sys/resource.h and include it conditionally.
...
Originally committed as revision 13075 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Pettenò
580a6c57a3
Mark symbols as static, patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com
...
Originally committed as revision 13026 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
c48da33c63
Send context to some ffmpeg.c opt* function
...
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
Originally committed as revision 12927 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
66824f990b
Make some ffmpeg opts use parse-number-or-die.
...
Patch by Stefano Sabatini stefano sabatini-lala posteit
Originally committed as revision 12919 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
8767060cd2
Fix bug introduced by r12827.
...
If av_exit() was called after an AVFormatContext was created, but before
its file was opened, av_exit() would pass a NULL pointer to url_fclose().
Originally committed as revision 12915 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
296df4e75f
Use av_exit() instead of exit() for a minimal cleanup
...
before leaving ffmpeg.
Needed by some grab devices and possibly network streams.
Originally committed as revision 12827 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
e5295c0dd9
Move av_exit() so it can be used by more functions
...
without needing forward declaration.
Originally committed as revision 12826 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
6363827e13
Complete argument information in ffmpeg.c:options for non-number arguments
...
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
Originally committed as revision 12766 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
7542157d8a
Export parse_time_or_die from ffmpeg.c to cmdutils.c
...
Patch by Stefano Sabatini (stefano sabatini-lala poste it)
Originally committed as revision 12647 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
b19221c8ce
Make option time parsing functions take argument from options
...
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
Originally committed as revision 12551 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
972d628a8b
Provide a context to parse_time_or_die().
...
Patch by Stefano Sabatini: stefano sabatini-lala poste it
Originally committed as revision 12472 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
90c2295b24
Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
...
of matroska and nut.
Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e60da588e3
sws_flags is unsigned.
...
This together with the last commit fixes the strange behavior of -sws_flags.
(issue229)
Originally committed as revision 12325 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3948c74f80
Remove INFINITY.
...
Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
53d1bdbaed
Clarify the documentation for 'ffmpeg -v'.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 12216 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
10e7fc7ce4
Reduce initial fifo size, so as not to senselessly waste memory.
...
Originally committed as revision 12186 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a6ebca9e09
realloc fifo
...
Originally committed as revision 12185 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
b3574faa06
Remove a superfluous call to atoi in ffmpeg.c:opt_verbose
...
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
[FFmpeg-devel] [PATCH] Cosmetics: remove a superfluos call to atoi in
ffmpeg.c:opt_verbose
Originally committed as revision 12136 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5bc440e7e8
Add notes where known timestamp issues remain.
...
Originally committed as revision 12135 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
48291040ea
Set initial next_pts to unknown, this avoids the nonsense timestamp
...
discontinuity at the start. I hope this has no sideeffects, if it does
send a bugreport!
fixes issue137
Originally committed as revision 12134 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
40cb57a287
Print a warning if a decoder produces more than 1 frame of output for
...
a single frame it got from the demuxer+parser.
Originally committed as revision 12133 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago