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
Michael Niedermayer
a15fdd7ce3
Attempt to fix issue1728 and regression of issue203
...
Originally committed as revision 22011 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b8c93c483b
Set ist->pts to something that isnt guranteed to entangle itself with stream copying b frames.
...
Originally committed as revision 22010 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
247e3954fc
Favor streams with more packets if the user did not specify what she wants.
...
Fixes issue1156
Originally committed as revision 22002 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
6d3d3b836f
Redesign opt_programid code.
...
Its now possible to also select programs per input file and there is
less code duplication.
Originally committed as revision 21999 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
fc5607f862
Make -benchmark also print the maximum memory usage if possible.
...
Originally committed as revision 21973 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Wolfram Gloger
23b361baca
Remove recording_time check which is no longer necessary after r21687.
...
Patch by Wolfram Gloger, wmglo A dent D med D uni-muenchen D de
Originally committed as revision 21760 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
40938d9382
Use av_compare_ts to compare against the -t end time instead of using
...
floating point.
Should fix different results between PPC and x86 for the idroq-video-encode
FATE test.
Originally committed as revision 21745 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Wolfram Gloger
55a7e946f6
Stop reading input file when -t option value is reached.
...
Patch by Wolfram Gloger wmglo (chez) dent med uni (minus) muenchen de
Originally committed as revision 21687 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Johnson
86a4f011e6
Revert r21615 | cehoyos | 2010-02-02 23:23:09 +0100 (Tue, 02 Feb 2010) | 5 lines
...
Guess the duration before converting video and write guessed duration
into flv header.
Patch by Justin Johnson, justin D johnson3 A gmail
The change to ffmpeg.c is wrong as input and output files arent connected 1:1
(i seem to have missed that)
Also it can segfault see ([FFmpeg-devel] rtp streaming x264+audio issues (and some ideas to fix them))
Originally committed as revision 21652 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6e2fdc3eb1
Add parentheses in boolean expression: (A && B || C) => ((A && B) || C),
...
fix the warning:
ffmpeg.c: In function ‘output_packet’:
ffmpeg.c:1317: warning: suggest parentheses around && within ||
Originally committed as revision 21650 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
cedac88250
Make opt_frame_pix_fmt() call show_pix_fmts() if the provided option
...
is "list".
Originally committed as revision 21628 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f575f08ccb
Correct opts calulation in ffmpeg.c.
...
This correct the stop point for demuxing with -vcodec copy and -t as well as
packet interleaving. (we already diddrop packets but kept demuxing them
for too long due to opts being wrong)
the change to ffm is due to 2 packets with timestamp 0 being stored
in different order.
Originally committed as revision 21626 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
5bfe91e683
Alternative solution for the mpegvideo_split + mov problem.
...
Originally committed as revision 21625 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Johnson
c5e1e9827d
Guess the duration before converting video and write guessed duration
...
into flv header.
Patch by Justin Johnson, justin D johnson3 A gmail
Originally committed as revision 21615 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f8ccf72005
Check pkt.pts against the recording time.
...
This fixes at least ogg encoding with -t where the file was slightly too long.
Originally committed as revision 21598 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
718c7b18c9
Use av_get_pix_fmt() instead of the deprecated avcodec_get_pix_fmt()
...
function.
Originally committed as revision 21550 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
ecc544debd
ffmpeg.c : Don't set AVFormatParameters::[audio|video]_codec_id
...
since it is no longer required.
Originally committed as revision 21513 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
60402344af
ffmpeg.c : Increase static limit on the maximum number of
...
input files.
Originally committed as revision 21483 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
3ff0daf06d
Print "Multiple frames in a packet" warning independant of CODEC_CAP_SUBFRAMES
...
because CODEC_CAP_SUBFRAMES is primarely misused to hide this warning otherwise
which renders the flag completely useless.
Originally committed as revision 21480 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
7a086a852c
Fix heap overflow with -async.
...
Fixes issue1666
Originally committed as revision 21390 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
40ccc754e9
Indent
...
Originally committed as revision 21359 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
68cf92ee5e
Always call avcodec_thread_init()
...
The various avcodec_thread_init() functions are updated to return
immediately after setting avctx->thread_count. This allows -threads 0
to pass through to codecs. It also simplifies the usage for apps
using libavcodec.
Originally committed as revision 21358 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
ffcc6e24f5
Add -timelimit option
...
This option limits the CPU time used by ffmpeg to the number of seconds
specified. After this time, the OS sends a SIGXCPU signal, which we
handle and attempt to exit cleanly. If the process is stuck, the OS
will deliver a SIGKILL one second later, forcibly terminating the
process.
This functionality is useful in automated setups where a runaway ffmpeg
process would otherwise go undetected.
Originally committed as revision 21347 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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