Michael Niedermayer
036c1382a7
Fix stream copy & transcoding one stream at the same time.
...
Fixes issue1660.
Originally committed as revision 21042 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
9f907d853f
Correct indention.
...
Originally committed as revision 21041 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8157483d64
Move the definitions of data_buf and data_size closer to where they are used.
...
Originally committed as revision 21040 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
0f52ef1a00
Use av_guess_format() in place of the deprecated guess_format().
...
Originally committed as revision 20994 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Dorr
322aa1e2d8
Do not explicitely set thread_count in the codec context.
...
This is already done by avcodec_thread_init().
Patch by Michael Dorr <dorr <at> inb.uni-luebeck.de>.
Originally committed as revision 20955 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
37ce3d6ba7
Do not copy codec_tag in stream copy case if it is associated with a different codec_id
...
fixes issue1568
Originally committed as revision 20921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
a6831e885c
Use positive logic, improve readability, consistent with r20877.
...
Originally committed as revision 20920 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
7f11e745b2
Print usage instead of help when no files are specified.
...
Originally committed as revision 20905 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
0c2a18cbcd
Split show_usage() out of show_help().
...
Originally committed as revision 20904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
8319aefeec
Add a general [options] to the basic usage string.
...
Originally committed as revision 20903 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
27daa420fc
First print the program description and then the basic usage line.
...
Originally committed as revision 20902 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Matthieu Crapet
0fc2c0f618
Add -vlang option to set ISO 639 video stream language code.
...
This is similar to existing -alang & -slang options.
Patch by Matthieu Crapet m${surname} ^ gmail com.
Originally committed as revision 20880 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
06a3c9c45a
Use positive logic in opt_target() for selecting the PAL/others
...
options, make its semantics mildly easier to compile by human minds.
Originally committed as revision 20877 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Matthieu Crapet
e6db28ceb2
Simplify freeing of audio_language and subtitle_language.
...
Patch by Matthieu, mcrapet gmail com
Originally committed as revision 20875 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
01558ee6c9
Use symbolic names for PAL/NTSC/FILM rather than numeric constants in opt_target().
...
Improve readability.
Originally committed as revision 20870 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
8b484d0f07
Correct typo
...
Originally committed as revision 20868 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0f649d667e
Include dup/drop info if any frames where duplicated or droped
...
instead of when verbose>1.
From ffmbc0.3
Originally committed as revision 20865 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ed30e518e3
Off by 1 bugfix for nb_frames_dup.
...
From ffmbc0.3
Originally committed as revision 20864 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
22b16e6a5d
Factorize ic->streams[i] out,
...
change from ffmbc
Originally committed as revision 20852 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e4637d6a60
Show help if no cmd line options are provided at all.
...
This safes the users time to find out which of -h --help -? works.
Originally committed as revision 20822 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
c5dc602600
Move list_fmts() from ffmpeg.c to cmdutils.{h,c}, so that it can be
...
shared by the other ff* tools code.
Originally committed as revision 20812 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e185a2f649
Do as the comment says and signal an error.
...
Originally committed as revision 20770 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b8919a3092
10l bug, use av_fast_malloc() instead if av_malloc() for allocating audio
...
buffers.
This and the previous revision fix a heap overflow.
Originally committed as revision 20769 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
15bfe412b7
Try to allocate audio buffer sizes depending on the number of input bytes.
...
Fixes issue1167.
Originally committed as revision 20768 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
5ee05a62f9
Check that the buffer size speified to avcodec_encode_audio() is not larger than the actual size.
...
Originally committed as revision 20767 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
060b8592d2
Do not assume that av_get_bits_per_sample() is a multiple of 8.
...
Originally committed as revision 20766 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
80f4725060
Get rid of audio_out2, it seems unneeded.
...
Originally committed as revision 20760 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
3394653306
Update frame_width and frame_height based on the lowres value.
...
Fixes issues 1387, 1097 and probably some other lowres related problems.
Originally committed as revision 20741 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ef6fc64762
Add 'const' attribute to the last_asked_format variable, fix a
...
compiler warning.
Originally committed as revision 20740 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b83ccbffe9
Do not crash on frame size changes.
...
Fixes issue1481.
Originally committed as revision 20730 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
15e65f83ec
Update help text for -fpre option to make it a little less confusing.
...
Originally committed as revision 20713 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
992f8eaee7
Factorize common commandline options definition.
...
Originally committed as revision 20664 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
bc7eb330e3
Remove "frame size must be a multiple of 2" check.
...
This check only caught explicitly set sizes from the cmd line and overriding
the users wish seems silly, especially as it seems to work.
Originally committed as revision 20634 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
9ff261a2b2
Remove special case that changed video sync behavior for av_q2d(enc->time_base) <= 0.001.
...
This should make the default behave more like one would expect and not
change behavior at 1000fps.
Originally committed as revision 20615 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8447f0bd74
Split show_formats().
...
Originally committed as revision 20553 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
200267333c
Indent.
...
Originally committed as revision 20436 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
a75e103432
Add -fpre option to take a preset file as parameter. The -[avs]pre options no
...
longer accept filenames, and -fpre should be used instead.
Originally committed as revision 20435 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Etienne Buira
a5abfd8fd1
Issue an error when forced format cannot be honored.
...
Patch by Etienne Buira $name $surname lists chez free.fr
Originally committed as revision 20417 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
43d160fd00
Prefer "loglevel" over "logging level number or string" as argname of
...
the loglevel command line option.
Make the loglevel option help message more clear, since the option
argument is shown as a single token, and make the whole message better
aligned with the other help messages.
Originally committed as revision 20149 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
d859bb1db0
Add CODEC_CAP_SUBFRAMES for codecs that output multiple subframes
...
per AVPacket
No longer print "Multiple frames in a packet" error message
when CODEC_CAP_SUBFRAMES is set (wmapro, wavpack)
Originally committed as revision 19881 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
9d66ef18fa
fix PTS calculation for audio formats with bits per sample != 16
...
Originally committed as revision 19880 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
7ef618796a
Check for return value of some context allocations.
...
Originally committed as revision 19826 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
7f4fca038d
Increase maximum encoded subtitle size from 64 kB to 1 MB.
...
Fixes "dvd_subtitle too big" errors when encoding HD video subtitles
to DVD format.
Originally committed as revision 19713 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
8b03c014f0
Make sure that start_display_time is 0 by moving its value onto pts.
...
If it was not 0, subtitle encoding would fail.
Originally committed as revision 19710 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
266649a52f
100l, error out if subtitle encoder failed instead of writing an AVPacket
...
with ridiculous size and thus crashing.
Originally committed as revision 19641 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
966116b9f7
Remove some hunks of unused and disabled code cruft.
...
Originally committed as revision 19606 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
e9a832e508
Change type of received_sigterm variable from sig_atomic_t to int,
...
which is more portable (works on Windows CE).
patch by Martin Storsjö, martin martin st
Originally committed as revision 19515 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Martin Storsjö
a2f4324bb6
Check for HAVE_ISATTY.
...
Patch by Martin Storsjö <martin at martin dot st>
Originally committed as revision 19505 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Lou Logan
64cd805071
Rename invalid option name "gop" to "g" in opt_target(), so that
...
-target *-dvd works correctly.
Patch by Lou Logan <$firstname@fakeoutdoorsman com>.
Originally committed as revision 19447 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
340e230392
Use enum CodecID instead of int.
...
Fixes the following icc warning:
warning #188 : enumerated type mixed with another type
Originally committed as revision 19340 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago