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
Michael Niedermayer
ed9238593e
Set next_pts to pts if it is unknown and pkt->dts is not known either. This
...
is needed because next_pts is used to calculate the next pts and adding
to AV_NOPTS_VALUE does not achieve the intended result.
Originally committed as revision 12132 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b1b818fce8
simplify (next_)pts code
...
Originally committed as revision 12131 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
da0ef2d557
Use next_pts if pkt->dts is unknown. In an ideal world this would not be needed
...
but sadly there are cases where the timestamps cannot be found without decoding.
Originally committed as revision 12130 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
19d5da500f
Update ist->pts after decoding a codec frame not after decoding a container
...
frame.
Originally committed as revision 12062 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
880add3743
-vsync 2 (drop frames if there are too many but do not duplicate any)
...
Originally committed as revision 11934 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c4c52acc36
Remove pointless #if.
...
Originally committed as revision 11888 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f73008d820
const
...
Originally committed as revision 11844 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
815f98cce4
non-const 2nd parameter for strtol/strtod
...
Originally committed as revision 11803 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
99fb79b55a
Do not print quality when stream copy,
...
Silence valgrind complaint:
==14746== Conditional jump or move depends on uninitialised value(s)
==14746== at 0x43488DF: (within /lib/i686/cmov/libc-2.7.so)
==14746== by 0x434ED81: __printf_fp (in /lib/i686/cmov/libc-2.7.so)
==14746== by 0x434A3F3: vfprintf (in /lib/i686/cmov/libc-2.7.so)
==14746== by 0x436EA93: vsnprintf (in /lib/i686/cmov/libc-2.7.so)
==14746== by 0x4353234: snprintf (in /lib/i686/cmov/libc-2.7.so)
==14746== by 0x806247C: print_report (ffmpeg.c:963)
Originally committed as revision 11728 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
e1cc833926
Add sbsf option for subtitle bitstream filter
...
Originally committed as revision 11658 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
f8d7c9d373
Add support for Matroska attachments.
...
patch by eugeni _dot_ stepanov _at_ gmail.com and myself
Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
1f8e32cda1
cosmetics: Fix Benoit's ugly formatting.
...
Originally committed as revision 11593 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
7055cdacab
Inform user when bitstream filter fails.
...
Originally committed as revision 11587 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
kweiner@spamcop.net
ab759f6e1e
Add "genre" command line option
...
Patch by kweiner spamcop net
closes Issue318
Originally committed as revision 11489 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
8b389f15cd
Correctly use output format stream index for bitstream filter when doing stream copy.
...
Originally committed as revision 11480 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
8e4270c551
Dont crash if resampling is requested but no audio packets are ever processed.
...
Originally committed as revision 11449 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Morten Hustveit
ebde2a2cd8
Fix prototype and return value of opt_bitrate and opt_bsf.
...
Patch by Morten Hustveit: lists rashbox org
Originally committed as revision 11370 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Morten Hustveit
464a631c34
Define rc override string as const.
...
Patch by Morten Hustveit: lists rashbox org
Originally committed as revision 11369 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9de0be61be
Do not force fps unless the user actually specified one.
...
fixes issue309
Originally committed as revision 11322 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b4dba580f9
fix pts and keyframe flags for yuv4mpeg
...
fixes issue258
Originally committed as revision 11320 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a5baedea01
Prevent silent overwriting of files on windows.
...
fixes issue308
untested
Originally committed as revision 11315 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b7d8f6e095
Fix "suggest parentheses around assignment used as truth value" warnings.
...
Originally committed as revision 11293 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a06a18c55d
reset manually selected codecs at the end of opt_input_file, to avoid propagating selection to output file
...
Originally committed as revision 11289 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
626004690c
Allow overriding codec_ids.
...
Originally committed as revision 11266 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
2886f3113e
Notify the input coder about the number of requested channels.
...
If the decoder does not fulfill our request, try using lavf's audio_resample().
If that also fails, bail out.
Originally committed as revision 11222 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
a309073bf4
use av_log_get/set_level()
...
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
84be6e7239
av_*_next() API for libavformat
...
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
55b9e69a31
av_*_next() API for libavcodec
...
Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Panagiotis Issaris
8540e8c3ec
Show which bitstreamfilters were compiled in, similar to the protocols etc
...
enumerations.
Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
6b80f1a12d
add const to remove warnings, ffmpeg.c:2892: warning: initialization discards qualifiers from pointer target type
...
Originally committed as revision 11151 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e515221618
Remove rc_eq-specific code, it is passed by AVOption now.
...
Originally committed as revision 11143 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4b59cf6c1c
Fix non-numeric AVOptions.
...
Originally committed as revision 11142 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago