1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Commit Graph

465 Commits

Author SHA1 Message Date
Michael Niedermayer
32019cddb4 fix assert
Originally committed as revision 3532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 14:52:24 +00:00
Michael Niedermayer
8cbd529f12 10l (wrong context)
Originally committed as revision 3508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 23:54:38 +00:00
Michael Niedermayer
178fcca848 1/2 resolution decoding
Originally committed as revision 3507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-25 23:18:58 +00:00
Michael Niedermayer
a42c7b07ae removing useless code
Originally committed as revision 3493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 18:50:15 +00:00
Michael Niedermayer
2b18dcd06d last timestamp and -vsync 0 fix
Originally committed as revision 3492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-22 17:50:53 +00:00
Michael Niedermayer
bd1b79a145 initial timestamp fix
Originally committed as revision 3485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-20 15:49:24 +00:00
Michael Niedermayer
bf0669aa87 forgotten parameter
Originally committed as revision 3428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-02 13:28:37 +00:00
Michael Niedermayer
df84ac2e7d stack overflow
Originally committed as revision 3389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-14 14:51:10 +00:00
Michael Niedermayer
baced9f598 user overrideable level & profile
Originally committed as revision 3385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 13:59:28 +00:00
Michael Niedermayer
9b7bf3c866 spelling fixes, closes bug #1005426
Originally committed as revision 3383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 00:50:56 +00:00
Michael Niedermayer
65bf3c53a7 typo fix by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-26 16:32:15 +00:00
Michael Niedermayer
8300609b78 multi frame duplication fix
Originally committed as revision 3338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 09:30:56 +00:00
Patrice Bensoussan
a9aeda81e7 Fix bug causing conversion to stop when output_packet() fails patch by (Patrice Bensoussan <patrice.bensoussan at free dot fr>)
Originally committed as revision 3337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 00:22:20 +00:00
Patrice Bensoussan
0a38bafdcd Option to copy meta data from specified file patch by (Patrice Bensoussan <patrice.bensoussan at free dot fr>)
Originally committed as revision 3331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-21 01:35:32 +00:00
Michael Niedermayer
eb5ec8fe6c segfault fix
Originally committed as revision 3322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-16 00:00:52 +00:00
Michael Niedermayer
28f88dc826 in/outfile options
Originally committed as revision 3311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 02:39:55 +00:00
Michael Niedermayer
23c9925329 libdts support by (Benjamin Zores <ben at geexbox dot org>)
Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 01:32:14 +00:00
Michael Niedermayer
eb507b21c4 comment is no longer true
Originally committed as revision 3309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 00:27:55 +00:00
Michael Niedermayer
1ac3176044 ugly missing lrintf workaround by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 3289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-05 19:19:04 +00:00
Michael Niedermayer
c43042a7d4 100l fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-02 20:20:57 +00:00
Michael Niedermayer
f41dd5aad5 100l(audio sync) fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-02 13:25:04 +00:00
Mike Melanson
da1da89044 use a more portable version macro
Originally committed as revision 3281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-01 03:34:49 +00:00
Michael Niedermayer
ff4905a524 better audio drift compensation
Originally committed as revision 3275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 17:53:05 +00:00
Michael Niedermayer
641aa661f6 10l
Originally committed as revision 3273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 15:09:21 +00:00
Michael Niedermayer
986ebcdb1b audio timestamp drift compensation
Originally committed as revision 3272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 14:47:29 +00:00
Michael Niedermayer
ff90688844 10l
Originally committed as revision 3268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 10:33:37 +00:00
Mike Melanson
13100292d3 add some expanded information when printing the banner, and always print
the banner; this will hopefully help in bug reporting

Originally committed as revision 3267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-30 00:29:52 +00:00
Michael Niedermayer
23ffe323d0 -t + capture bugfix
Originally committed as revision 3266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-29 22:56:54 +00:00
Michael Niedermayer
27537106ac try to allocate the buffer before usig it :)
Originally committed as revision 3245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:45:30 +00:00
Michael Niedermayer
6f82497728 flush audio encoder buffers at the end
fix vorbis in nut again

Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:14:01 +00:00
Wolfram Gloger
cfcbbe48b6 Correct audio parameters when grabbing and using "-acodec copy" patch by (Wolfram Gloger <wmglo at dent ot med dot uni-muenchen dot de>)
Originally committed as revision 3235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 16:32:45 +00:00
Luca Abeni
6e454c38b0 A/V Synch in ffmpeg patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-18 03:03:32 +00:00
Michael Niedermayer
50c3dd32fd pass timestamps correctly for -sync 0
use zero sized frames in avi to handle duplicate frames

Originally committed as revision 3225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-15 13:49:12 +00:00
Michael Niedermayer
72bd81008e timestamp discontinuity correction try #1
Originally committed as revision 3218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-12 03:41:36 +00:00
Wolfram Gloger
a6a92a9aa6 user specified start time offset
frame dup/drop info
typos
patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)

Originally committed as revision 3217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-11 22:03:16 +00:00
Michael Niedermayer
1a11cbcc49 -cbp
change -dc range from 0-3 to 8-11

Originally committed as revision 3193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-05 21:08:45 +00:00
Michael Niedermayer
f7e1e69e18 -qprd
Originally committed as revision 3187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-02 18:51:43 +00:00
Michael Niedermayer
2a8edc5d92 10l (-top 0)
Originally committed as revision 3186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-02 17:17:44 +00:00
Michael Niedermayer
3c895fc098 correctly interleave packets during encoding
dts/pts fixed for streamcopy
dont use coded_frame->key_frame hack in muxers, use AVPacket.flags instead

Originally committed as revision 3171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 18:50:31 +00:00
Michael Niedermayer
e928649b0b pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 02:06:32 +00:00
Michael Niedermayer
9debb40040 100l
Originally committed as revision 3151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 14:35:55 +00:00
Michael Niedermayer
9ee91c2f53 move time_base (pts_num/pts_den) from AVFormatContext -> AVStream
Originally committed as revision 3148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 20:43:21 +00:00
Michael Niedermayer
c7baf14bd4 muxing overhead statistic fix for stream copying
Originally committed as revision 3143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-20 16:05:47 +00:00
Michael Niedermayer
22f7a0601e automatic framerate selection
Originally committed as revision 3132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 16:51:39 +00:00
Michael Niedermayer
fcee016467 automatic pixel format selection
Originally committed as revision 3131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-12 16:00:44 +00:00
Michael Niedermayer
dd17409ca0 next_pts fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
note, dont take the PSNR/stddev values serious, they are caused by a bug in ffmpeg.c which drops one frame before the last frame during encoding with b frames

Originally committed as revision 3110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 21:23:28 +00:00
Michael Niedermayer
8a0c66a7e3 coder, context, predictor command line options
Originally committed as revision 3109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-05 21:19:08 +00:00
Michael Niedermayer
bf266e195a intra_dc_precission>0 encoding support
Originally committed as revision 3093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 13:44:29 +00:00
Michael Niedermayer
242f5b0a88 ffmpeg -version
Originally committed as revision 3091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 12:30:51 +00:00
Wolfram Gloger
4b85a28f27 Fix synthetic next_pts calculation / audio pts patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-26 23:06:29 +00:00
Michael Niedermayer
4ea4b27469 lmin/lmax
Originally committed as revision 3070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 19:43:01 +00:00
Michael Niedermayer
f20f8a8b0b support reusing mb types and field select values of the source file, but use motion vectors just as additional predictors
minor cleanup
segfault fix

Originally committed as revision 3060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-25 02:09:47 +00:00
Michael Niedermayer
5efe481a15 -qpel option
Originally committed as revision 3055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-24 13:34:32 +00:00
Timofei V. Bondarenko
2f0472ff81 me_range patch by ("Timofei V. Bondarenko" <timm at ipi dot ac dot ru>)
Originally committed as revision 3045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 20:39:23 +00:00
Michael Niedermayer
f4f3223ffd reuse motion vectors/mb types/field select values of the source video, if the SSE for a macroblock which is predicted with these values is below me_threshold
currently works only with mpeg1/2 source or some luck
may need -sync 0 as otherwise framedrops could lead to extreemly long b frame sequences

Originally committed as revision 3042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-23 19:06:30 +00:00
Michael Niedermayer
8857a7ef32 10l
Originally committed as revision 3034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 21:59:42 +00:00
Michael Niedermayer
e31d863ede pts fix / b frame segfault fix
Originally committed as revision 3030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 13:43:23 +00:00
Michael Niedermayer
2de28abbfd 10l (segfault fix)
Originally committed as revision 3029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-18 11:22:35 +00:00
Michael Niedermayer
a4d36c1113 passing AVFrame instead of AVPicture around in ffmpeg, that way stuff like motion vectors can be passed from the decoder to the encoder
moving ref_index from Picture to AVFrame

Originally committed as revision 3028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 19:41:49 +00:00
Michael Niedermayer
bf17ff617b stream copy pts fix
Originally committed as revision 3025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-17 03:34:17 +00:00
Michael Niedermayer
37f5cd5a18 10l (stats didnt include av_write_trailer())
Originally committed as revision 3015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-15 16:34:38 +00:00
Michael Niedermayer
1008ceb380 print video/audio/global_header size and muxing overhead
Originally committed as revision 3014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-15 13:57:55 +00:00
Allen Day
d223532c23 printf macro patch by (Allen Day <allenday at ucla dot edu>)
Originally committed as revision 2998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 13:54:40 +00:00
Allen Day
d8019eb5d8 verbosity patch by (Allen Day <allenday at ucla dot edu>)
Originally committed as revision 2997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-11 13:50:42 +00:00
Michael Niedermayer
b2e3c52814 require the user to explicitly specifiy --enable-gpl before enabling of gpl parts becomes possible
print correct license if --enable-gpl is specified

Originally committed as revision 2985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 14:50:00 +00:00
Todd Kirby
1ff93ffcd4 padding support in ffmpeg patch by (Todd Kirby <doubleshot at pacbell dot net>)
Originally committed as revision 2982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-08 18:54:40 +00:00
Roman Shaposhnik
4568325a18 * making it possible to specify recording date and time in a stream
Originally committed as revision 2971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-06 06:31:12 +00:00
Michael Niedermayer
64c020a8ab 10000l
Originally committed as revision 2966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 10:27:26 +00:00
Michael Niedermayer
0a3b044718 pass frame_size for stream copy
Originally committed as revision 2943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-01 19:16:24 +00:00
Wolfram Gloger
6fb316d563 Support raw mpegts streams from dvr patch by (wmglo at dent dot med dot uni-muenchen dot de)
Originally committed as revision 2931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 17:40:40 +00:00
Michael Niedermayer
d7646d7d93 h263 loop filter option
Originally committed as revision 2930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 17:31:00 +00:00
Michael Niedermayer
458eaddad1 slice structured encoding support & interlaced spelling
Originally committed as revision 2906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 22:51:42 +00:00
Michael Niedermayer
950b55d3e2 wrong help text
Originally committed as revision 2904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-18 21:56:53 +00:00
Leon van Stuivenberg
b51469a0c5 tcp select() check and enables pressing 'q' when reading/(writing) from
tcp/http in ffmpeg.c patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)

Originally committed as revision 2891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-14 19:40:43 +00:00
Michael Niedermayer
3738fe1ae4 nicer output for 'ffmpeg -formats'
Originally committed as revision 2870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-11 01:12:30 +00:00
Michael Niedermayer
c4e3724713 write trailer before closing codecs as otherwise accesses to extradata in write_trailer() will cause a segfault
Originally committed as revision 2852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-05 22:51:22 +00:00
Michel Bardiaux
bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Michael Niedermayer
9740beffc6 use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
move AV_NOPTS_VALUE & AV_TIME_BASE from avformat.h -> avcodec.h
related fixes

Originally committed as revision 2814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 17:35:52 +00:00
Michael Niedermayer
c62c07d3d7 multithreaded mpeg2 decoding
Originally committed as revision 2810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 20:56:56 +00:00
Hauke Duden
2451592652 improved VCD support patch by ("Hauke Duden" <H.NS.Duden at gmx dot net>)
- the first audio and video packs now contain only a system header and lots
  of padding.
  - no system headers in any packs other than the first ones
  - the two system headers only contain information about "their" stream
  - fixed some header values (muxrate, some flags, ...) so that they have the
  values specified by the standard
  - padding packs are inserted if the mux rate would be below 75 packs per
  second (the rate must not be below or above that value).
  - fixed the SCR of the packs
  - 20 zero bytes are now inserted at the end of each audio pack, after the
  data packet

Originally committed as revision 2804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 22:34:13 +00:00
Michael Niedermayer
16806499fc w32threads by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 20:29:26 +00:00
Michael Niedermayer
50ee2c4131 fix image resize
Originally committed as revision 2785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 17:20:42 +00:00
Gael Chardon
4776fa926f Log file and Windows patch by ("Gael Chardon" <gael-announcements+ffmpeg at 4now dot net>)
Originally committed as revision 2781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-14 15:04:01 +00:00
Michael Niedermayer
842b556af2 threadless threads warning
Originally committed as revision 2776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 22:18:33 +00:00
Michael Niedermayer
9c3d33d67f multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c

Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 17:54:10 +00:00
Michael Niedermayer
ae2e7208f9 pass strict_std_compliance to audio context too
Originally committed as revision 2763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-07 15:35:53 +00:00
Michael Niedermayer
2caa92d935 fixes by Gildas Bazin <gbazin at altern dot org>
Originally committed as revision 2745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-04 15:49:55 +00:00
Michael Niedermayer
77ea0d4bdd quantizer noise shaping
Originally committed as revision 2742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-02 03:52:58 +00:00
Michael Niedermayer
303e50e65b closed gop support & flags2 as all bits in flags are used
and a few minor things i forgot to commit ...

Originally committed as revision 2718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 19:48:28 +00:00
Michael Niedermayer
303aebf97a uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>)
and some related cleanup by me

Originally committed as revision 2677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-08 18:44:36 +00:00
Michael Niedermayer
622348f931 interlaced dct decision cleanup
function moved to dspcontext
  mmx&mmx2 optimized
  change SSE -> SAD as default (better quality)
vbv buffer size command line option in kbyte

Originally committed as revision 2669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 22:57:07 +00:00
Michael Niedermayer
baaf3f467b SVCD scan offset stuff
Originally committed as revision 2660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-04 00:23:14 +00:00
Michael Niedermayer
c0baa56a25 trellis quantization regression test
Originally committed as revision 2648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 22:04:14 +00:00
Michael Niedermayer
55bbad6f14 minrate=0 for SVCD & DVD, this matches mpeg2enc and the mpeg1/2 vissual standard
Originally committed as revision 2642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-01 15:05:19 +00:00
Michael Niedermayer
bb198e198a interlaced motion estimation
interlaced mpeg2 encoding
  P & B frames
  rate distored interlaced mb decission
  alternate scantable support
4mv encoding fixes (thats also why the regression tests change)
passing height to most dsp functions
interlaced mpeg4 encoding (no direct mode MBs yet)
various related cleanups
disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed

Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 16:07:57 +00:00
Wolfgang Hesseler
0c9bbaec60 motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-30 02:12:12 +00:00
Michael Niedermayer
890972be03 nicer looking PSNR stats (YUV seperate and print the whole file PSNR at the end instead of the last frame's)
Originally committed as revision 2635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-29 23:08:30 +00:00
Fabrice Bellard
a700a6ae8f moved packet output to a separate function - added the frame buffered by the decoder at EOF, if any
Originally committed as revision 2615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 14:43:44 +00:00
Michael Niedermayer
5d43635e47 motion estimation & mb compare functions command line options
Originally committed as revision 2613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 11:54:19 +00:00
Fabrice Bellard
8bb27bdfd4 init picture structure to avoid uninitialized fields
Originally committed as revision 2612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-15 10:46:34 +00:00
Michael Niedermayer
7ebfc0ea63 error concealment regression test
Originally committed as revision 2606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-14 01:42:00 +00:00
Michael Niedermayer
fb0666392c CBR improvements
Originally committed as revision 2601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 19:26:55 +00:00
Fabrice Bellard
7a0f9d7e7d fixed top_field_first support when encoding
Originally committed as revision 2600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-12 16:56:38 +00:00
Michael Niedermayer
8e2162f013 obmc encoding flag (forgot to commit...)
Originally committed as revision 2597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-11 16:00:53 +00:00
Fabrice Bellard
0f26033b7a update -interlace help
Originally committed as revision 2594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 17:07:11 +00:00
Fabrice Bellard
e56d417bee -interlace option - better consistency in help
Originally committed as revision 2588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-10 14:50:09 +00:00
Michael Niedermayer
dba019daba h263 alternative inter vlc support
Originally committed as revision 2541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-29 08:37:51 +00:00
Michael Niedermayer
f7190f7399 h263 OBMC & 4MV support
cleanup

Originally committed as revision 2536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-28 21:31:20 +00:00
Fabrice Bellard
254abc2ec6 use av_read_frame() - added initial seek support (rename -start to -ss (mplayer...)) - added '-dump' option to dump input packets
Originally committed as revision 2504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-10 18:54:17 +00:00
Vidar Madsen
e059574132 -target option patch by (Vidar Madsen <vidar at prosalg dot no>)
this isnt complete or bugfree but its better than nothing

Originally committed as revision 2472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 17:28:44 +00:00
Roman Shaposhnik
ddaae6a9d1 * DV demuxer is now capable of decoding auxilary audio stream. So,
everybody who still uses second streo track for dubbing can
     now export it.

   * void* -> DVDemuxContext* change (per Fabrice's suggestion).

   * -dv1394 capture now works in all modes.

Originally committed as revision 2458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 22:26:26 +00:00
Vidar Madsen
84f608f4a0 New options for intra/inter matrices patch by (Vidar Madsen <vidar at prosalg dot no>)
Originally committed as revision 2456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-31 10:25:21 +00:00
Michael Niedermayer
7f96ed5b16 forgot to apply this chunk appearently, no, i dont really remember where it came from
Originally committed as revision 2409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 12:55:01 +00:00
Michael Niedermayer
8831db5ca2 start time hack by (devik <devik at cdi dot cz>)
Originally committed as revision 2408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-21 10:55:24 +00:00
Michael Niedermayer
1c0dcc391a 10l
Originally committed as revision 2404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 21:42:15 +00:00
Michael Niedermayer
5ff85f1d8b AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Roman Shaposhnik
2744ca9ac9 * providing MPEG codecs with a generic fields in AVFrame to use.
* fixing YUV4MPEG format.

    * fixing a bug in DV codec where coded_frame was not set.

Originally committed as revision 2396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-18 03:19:44 +00:00
Michael Niedermayer
fe08925f64 recommit of
* backing out the 0-sized packets patch. We have to devise a more
    sensible approach.
orginal commit by roman shaposhnik

Originally committed as revision 2379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 14:36:58 +00:00
Michael Niedermayer
158c7f059c use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range

Originally committed as revision 2348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-07 11:32:40 +00:00
Roman Shaposhnik
39518b493f * 10000l (cut'n'paste is evil!)
* Fix from Charles Yates for 0 sized packets

Originally committed as revision 2341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-04 03:31:27 +00:00
Roman Shaposhnik
a686caf03d * fixing bug that prevented resampling the picture and
changing pix_fmt at the same time.

   * aspect ratio should be more reliable for DV now.

Originally committed as revision 2338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-03 01:08:10 +00:00
Roman Shaposhnik
fd0f45e58b * fix for integer overflow
Originally committed as revision 2297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-22 18:17:45 +00:00
Fabrice Bellard
211f2123c5 avoid initializing pts for not decoded streams
Originally committed as revision 2284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-16 20:26:35 +00:00
Fabrice Bellard
7b7d86f120 simplified version handling
Originally committed as revision 2264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-11 22:51:05 +00:00
Michael Niedermayer
6e6d6dc0a5 mov/mp4 muxer cleanup (mostly cosmetics/simplifications & global header fix)
Originally committed as revision 2249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 23:03:04 +00:00
Fabrice Bellard
f42eda74dd header fixes - removed MPEG-4 b frame limtation in help
Originally committed as revision 2233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:12:30 +00:00
Michael Niedermayer
dafc3856d9 10l
Originally committed as revision 2202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-03 22:20:05 +00:00
Charles Yates
bee0d9e587 vhook patch by (Charles Yates <charles dot yates at pandora dot be>)
Originally committed as revision 2201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-03 14:20:33 +00:00
Bill Eldridge
f068206ed3 quiet/verbose patch by (Bill Eldridge <bill at rfa dot org>)
Originally committed as revision 2200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-03 12:13:43 +00:00
Bill Eldridge
3633ada546 win32 received_sigterm patch by (Bill Eldridge <bill at rfa dot org>)
Originally committed as revision 2199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-02 09:11:21 +00:00
Charles Yates
d9a916e221 stdin patch by (Charles Yates <charles dot yates at pandora dot be>)
* removes use of read_key and getchar when input is received on stdin
(this was corrupting the packet reading)
* terminates av_encode when a termination signal is received (use of
ctrl-c issued a term_exit and subsequent uses of q failed)
* specific correction to yuv4mpeg pipe reading - the defined header was
too short to allow for extended yuv4mpeg flags [as used by smil2yuv and
y4mscaler and accepted by mjpeg tools]

Originally committed as revision 2183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 20:51:10 +00:00
Roman Shaposhnik
ba2a8cb40b * making resolution abbreviations right
* introducing sntsc/spal for square pixel ntsc/pal

Originally committed as revision 2177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-29 06:58:55 +00:00
Fabrice Bellard
b1b77fe967 added loop option
Originally committed as revision 2150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 21:19:13 +00:00
Fabrice Bellard
d95ac2c554 spell fixes
Originally committed as revision 2146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 16:14:24 +00:00
Fabrice Bellard
02d504a7d3 more sections in help - copyright fixes
Originally committed as revision 2143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-24 15:29:48 +00:00
Michael Niedermayer
743739d2c5 AC3 encoding patch ba (Ross Martin <ffmpeg at ross dot interwrx dot com>)
Originally committed as revision 2129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-20 07:57:00 +00:00
Fabrice Bellard
5b685a7a76 removed MAXINT64
Originally committed as revision 2114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-08 17:59:04 +00:00
Roman Shaposhnik
e7d0374f27 A/V sync patch from Gildas Bazin.
Originally committed as revision 2098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-30 22:37:43 +00:00
Michael Niedermayer
7d1c3fc1d6 rate distortion mb decision support
fix decoding of old %16!=0 divx
fix assertion failure in motion_est.c

Originally committed as revision 2094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 02:09:12 +00:00
Roman Shaposhnik
445f1b83ad * First round of AV sync fixes.
* -r now does the right thing.
   * frame rate and frame sizes now share same abbv. table and you
     can do -r ntsc as well as -s ntsc

Originally committed as revision 2035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-12 07:37:05 +00:00
Romain Dolbeau
e45a2872fa 1) remove TBL support in PPC performance. It's much more useful to use the
PMCs, and with Apple's CHUD it's fairly easy too. No reason to keep useless
    code around
2) make the PPC perf stuff a configure option
3) make put_pixels16_altivec a bit faster by unrolling the loop by 4
patch by (Romain Dolbeau <dolbeau at irisa dot fr>)

Originally committed as revision 2022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-09 20:18:13 +00:00
Alex Beregszaszi
e103117177 10l found by Curi Fabio Eduardo (SFL) <curif@TELEFONICA.COM.AR>
Originally committed as revision 2002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-03 17:02:03 +00:00
Alex Beregszaszi
e3ee328330 tv standard selection support for dv1394 and grab (v4l)
Originally committed as revision 1987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-25 10:21:45 +00:00
Fabrice Bellard
01310af292 added ffplay utility
Originally committed as revision 1936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-07 18:34:02 +00:00
Falk Hüffner
3db320ea0c Warning fixes.
Originally committed as revision 1884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-15 01:34:47 +00:00
Michael Niedermayer
d8085ea727 cleanup
Originally committed as revision 1882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 23:08:01 +00:00
Roman Shaposhnik
631670888d * introducing new public interface in imgconvert.c
+ avcodec_get_pix_fmt
         converts textual representation of pixel format into
	 the actual id. Complements avcodec_get_pix_fmt_name.
       + avpicture_layout
         serializes given picture into a flat array.
	 Complements avpicture_fill.

   * adding a new option -pix_fmt to the ffmpeg, in order to control
     pixel format for the codecs that do support it, like rawvideo,
     for example.

   * reducing complexity of the rawvideo codec by splitting it in two
     and making it more reliable via hooking up to the avpicture_layout.
     Plus adding new FourCC as described here: http://www.fourcc.org

   * A tiny fix for avienc.c that makes avih and video strf consistent
     regarding codec FourCC.

Originally committed as revision 1842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 19:01:45 +00:00
Brian Foley
bd07398046 -map and sanity checking patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
Originally committed as revision 1835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 20:39:24 +00:00
Roman Shaposhnik
5fe03e3837 * making it possible to override aspect ratio from the command line
Originally committed as revision 1828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-29 19:46:08 +00:00
Roman Shaposhnik
880e8ba730 * fixing NTSC frame rate for DV streams
* let ffmpeg preserve 'aspect_ratio' for recoding.
  Do we want to make it tweakable from the command line ?

Originally committed as revision 1827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-29 01:51:38 +00:00
Roman Shaposhnik
e738cee9c4 Complete support for OpenDML AVIs and AVIs > 2Gb.
Originally committed as revision 1814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-23 02:04:40 +00:00
Roumen Petrov
9680a72282 restore old tty in ffmpeg patch by (Roumen Petrov <ffmpeg at roumenpetrov dot info>)
Originally committed as revision 1750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-10 18:21:06 +00:00
Michael Niedermayer
0da71265d8 H264 decoder & demuxer
Originally committed as revision 1732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 14:42:28 +00:00
Michael Niedermayer
558eae031e 10l
Originally committed as revision 1696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-20 21:32:43 +00:00
Sylvain Corré
d66c7abc93 MacOS X stack overflow? patch by (Sylvain Corré <sylvain dot corre at wanadoo.fr>)
Originally committed as revision 1694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-20 01:32:17 +00:00
Fred Rothganger
e8750b0076 rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)
Originally committed as revision 1687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-16 21:03:20 +00:00
François Revol
d4ad24c17d Cleaner support for usleep()
Originally committed as revision 1668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 17:14:28 +00:00
Michael Niedermayer
14bea432f1 per context frame_rate_base, this should finally fix frame_rate related av sync issues
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 15:16:19 +00:00
Slavik Gnatenko
69db4e10f2 restoring OS/2 compatibility patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-11 12:09:13 +00:00
Alex Beregszaszi
ce2749d2c4 simplified
Originally committed as revision 1655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-09 16:07:19 +00:00
Max Krasnyansky
bdfcbbed79 Frame rate emulation patch by (Max Krasnyansky <maxk at qualcomm dot com>)
Originally committed as revision 1641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-07 12:37:49 +00:00
Michael Niedermayer
21e59552d6 extended option for h263+ patch by (fixounet at free dot fr) with some minor modifications
Originally committed as revision 1622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 16:10:13 +00:00
Michael Niedermayer
b0368839ac MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
bitexact cleanup

Originally committed as revision 1617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-03 14:54:00 +00:00
François Revol
3f07e60546 fix for legacy audio
Originally committed as revision 1583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-12 21:38:38 +00:00
Zdenek Kabelac
0c1a9edad4 * UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Zdenek Kabelac
b29f97d136 * static,const,compiler warning cleanup
Originally committed as revision 1571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:44:47 +00:00
François Revol
04bbd31b9f fix for using ffplay without specifying the audio device
Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-08 14:13:52 +00:00
Michael Niedermayer
63b15e559a mpeg1 bframe encoding patch by (Raphaël LEGRAND) with some modifications by me
Originally committed as revision 1551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-08 12:00:57 +00:00
Fabrice Bellard
1501987b46 Audio support for DV1394 by Max Krasnyansky
Originally committed as revision 1516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-27 22:59:42 +00:00
Fabrice Bellard
e9a9e0c210 use av_strdup()
Originally committed as revision 1507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 23:34:29 +00:00
Fabrice Bellard
47e2a6e6c5 use av_realloc()
Originally committed as revision 1504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 22:59:35 +00:00
Fabrice Bellard
a5df11ab1e dv1394 channel selection by Max Krasnyansky - modified channel number to be in base 10 by default
Originally committed as revision 1500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 18:44:26 +00:00
Fabrice Bellard
79a7c2683e grab device is in AVFormatParameter (at least better than global variable) - currently unused video output stuff for ffplay
Originally committed as revision 1498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 10:31:32 +00:00
Max Krasnyansky
8aa3ee32c2 dv patch by Max Krasnyansky (maxk at qualcomm dot com)
Originally committed as revision 1493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-22 22:40:52 +00:00
Romain Dolbeau
35e5fb067e PPC perf, PPC clear_block, AltiVec put_pixels8_xy2 patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 1476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 19:00:45 +00:00
Philip Gladstone
204c0f48f4 When doing -vstats and also changing the frame rate, then don't count (and
report) frames that are dropped.

Originally committed as revision 1465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-17 04:14:50 +00:00
Michael Niedermayer
db40a39aba AltiVec perf (take 2), plus a couple AltiVec functions by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 1464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-16 21:54:55 +00:00
Slavik Gnatenko
f3ec2d46ba os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 20:34:38 +00:00
Fabrice Bellard
817b23ffcf still image support - increase audio buffer size - do hex dump even if packet is discarded
Originally committed as revision 1440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 05:05:47 +00:00
Michael Niedermayer
3bea538625 1000l, but for whom? (zero ME sucks and caused the many I frames in the regression tests)
Originally committed as revision 1405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 23:17:46 +00:00
Michael Niedermayer
f560dd8279 huffyuv 4cc & -strict
(huffyuv still doesnt work with ffmpeg (it does work with mencoder though) someone should fix the avi de(muxer))

Originally committed as revision 1363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-27 11:42:52 +00:00
Philip Gladstone
be4ce15743 This fixes the jerky video from vob files. However, I am convinced that this
is the wrong solution to the problem. In particular, if you specify an output
frame rate, then it doesn't work correctly. My feeling is that the pts value
ought to be interpolated between those frames where the pts is actually
known. Maybe someone else could do that (change the line that I added,
setting a value equal to AV_NOPTS_VALUE).
Happy Christmas.

Originally committed as revision 1361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-25 04:03:30 +00:00
Michael Niedermayer
18531e5233 fix segfault with -vcodec copy
Originally committed as revision 1360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-24 13:04:26 +00:00
Michael Niedermayer
1d366fceea 10l
Originally committed as revision 1345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 18:40:42 +00:00
Michael Niedermayer
17a70fdeef mb qp limits
Originally committed as revision 1340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-18 10:09:43 +00:00
Michael Niedermayer
59b571c1e4 more debug output
Originally committed as revision 1338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-17 11:25:29 +00:00
Philip Gladstone
e47ec5157e Add the -em_rate option to make the img reader run at the nominal frame rate.
This is used for regression testing ffserver

Originally committed as revision 1333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-11 03:21:40 +00:00
Michael Niedermayer
492cd3a920 AVVideoFrame -> AVFrame
Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 12:03:43 +00:00
Dieter
34b10a5791 crop optmization patch by (Dieter Shirley <dieters at schemasoft dot com>)
Originally committed as revision 1311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 09:00:18 +00:00
Michael Niedermayer
8aa1e3da03 infinity fix by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 1310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-05 08:39:37 +00:00
Michael Niedermayer
140cb66321 new PSNR code (now works with chroma, b frames, ...)
rename *_TYPE to FF_*_TYPE for the external API
allow user specified pict_type

Originally committed as revision 1308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 21:13:02 +00:00
Michael Niedermayer
1e491e29c2 cleanup
adding AVVideoFrame
 moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
 removing obsolete variables in AVCodecContext
 skiping of MBs in b frames
 correctly initalizing AVCodecContext
 picture buffer cleanup

Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 10:04:03 +00:00
Zdenek Kabelac
855ea723b0 * two functions to handle allocation of static data more simple
av_mallocz_static - called for every static data table
  av_free_static - called when ffmpeg is no longer needed and should free
                   all static resources
* simple usage shown in mpegaudiodec.c

Originally committed as revision 1301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 19:40:35 +00:00
Philip Gladstone
c11ef252e6 Fixed problem with frame rate reduction when capturing from a source
whose PTS does not start at zero. New code will fix that if the PTS
is more than 100 seconds from zero. This may well not be the right
number, but it is a big improvement over the current state.

Originally committed as revision 1297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-02 04:21:17 +00:00
Philip Gladstone
10d104e4f6 * Add frame rate conversion when there is no audio channel. This makes
ffmpeg/ffserver work again when just capturing video from a live
  source and you are streaming feeds of different frame rates.
* Fix a segfault in argument processing
* Add handling for -vhook argument
* Add logic to call video hooks if any have been specified.

Originally committed as revision 1247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-20 03:06:12 +00:00
Fabrice Bellard
b242baa411 '-' can be used for standard input
Originally committed as revision 1232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-19 19:08:56 +00:00
Måns Rullgård
9ce2f2b133 fixes the frame number counter for -vcodec copy patch by (mru at users dot sourceforge.net (Måns Rullgård))
Originally committed as revision 1176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-08 20:33:46 +00:00
Michael Niedermayer
d7425f59d5 cleanup (breaks compatibility, requested by fabrice)
remove CODEC_FLAG_NOT_TRUNCATED & add CODEC_FLAG_TRUNCATED
add CODEC_CAP_TRUNCATED
add alpha plane to AVPicture
remove CODEC_ID_MSMPEG4
remove various unused stuff
support "truncated" mpeg4 streams

Originally committed as revision 1175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-08 18:35:39 +00:00
Zdenek Kabelac
ff29712a3d * use larger buffer - the size should be calculcated from the bitstream
data rate and outgoing samples (i.e. WMA could generate a lot of samples
  from 4096KB chunks)
  FIXME

Originally committed as revision 1169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-05 12:38:50 +00:00
Zdenek Kabelac
4fca59f2ab * fix leak with output file closing
Originally committed as revision 1166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-05 11:59:47 +00:00
François Revol
dfdfa47cd1 BeOS Audio ouput patch by (François Revol <revol at free dot fr>)
Originally committed as revision 1163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-05 00:38:06 +00:00
François Revol
9ddd71fc60 added BeOS net_server support (R5 network stack), basically the same
problems as with winsock (sockets != fd), and the broken select().
based on older patch by Andrew Bachmann.
patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 10:35:07 +00:00
Måns Rullgård
b2722d0a42 -vcodec copy fix patch by (mru at users dot sourceforge dot net (Måns Rullgård))
Originally committed as revision 1114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-30 09:36:33 +00:00
Kareila
5d9827bcf6 fixing bitrate display if -acodec copy is used, patch by (Kareila <cokewench at yahoo dot com>)
Originally committed as revision 1074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-26 19:23:22 +00:00
Fabrice Bellard
ec5517d5cf use new PTS api - corrected AV sync for transcoding - factorized print_report() code
Originally committed as revision 1059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-21 17:42:47 +00:00
Michael Niedermayer
ac2830ecd3 fixing unused variables & adding missing options
Originally committed as revision 1043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-15 15:07:38 +00:00
Fabrice Bellard
8351471307 suppressed vcd flag - use new mpeg mux format instead
Originally committed as revision 1041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-15 10:14:05 +00:00
Fabrice Bellard
7002684e69 raw picture support in mux
Originally committed as revision 1035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-14 17:53:02 +00:00
Michael Niedermayer
4d2858deac better/cleaner error resilience (done in a 2nd pass after decoding)
h263/mpeg4 out of order slice decoding

Originally committed as revision 1030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-13 13:16:04 +00:00
Fabrice Bellard
1629626f5d activated 'raw stream copy' feature (use -acodec copy or -vcodec copy)
Originally committed as revision 1026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-11 09:19:34 +00:00
Fabrice Bellard
5abdb4b199 added two pass support (same syntax as mencoder)
Originally committed as revision 1020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-10 17:09:01 +00:00
Michael Niedermayer
2ad1516a6c idct permutation cleanup, idct can be selected per context now
fixing some threadunsafe code

Originally committed as revision 980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-29 22:44:22 +00:00
Michael Niedermayer
1dbb6d9026 regression test for ratecontrol & adv mpeg4 stuff
Originally committed as revision 962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-20 15:22:24 +00:00
Michael Niedermayer
b3a391e8b8 fixing i_quant_factor, this should finally fix the bitrate bug with ffserver hopefully
Originally committed as revision 959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 20:22:39 +00:00
Michael Niedermayer
946c8a1281 fixing
fixing max_rate/min_rate

Originally committed as revision 951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-18 09:08:03 +00:00
Michael Niedermayer
29700fa656 fixing rc of non-intra-only streams which only contain i frames
Originally committed as revision 950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-16 08:45:57 +00:00
Michael Niedermayer
8409b8fe74 error resilience command line option
Originally committed as revision 932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-12 16:41:05 +00:00
Michael Niedermayer
ab6d194a38 croping patch by (talus25 at speakeasy dot net) with fixes from atmos & me
Originally committed as revision 888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 07:19:38 +00:00
Michael Niedermayer
463678ac8b using only the fast int dct for regression tests
Originally committed as revision 884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-30 19:49:12 +00:00
Felix Bünemann
3f027ca76c cygwin patch by (Felix Buenemann <atmosfear at users dot sourceforge dot net>)
Originally committed as revision 883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-30 19:34:55 +00:00
Michael Niedermayer
3aa102be84 new ratecontrol code
Originally committed as revision 862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-08-25 21:19:50 +00:00
Fabrice Bellard
2c4ae653af renamed gettime() av_gettime() - same for register_all()
Originally committed as revision 808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-25 16:07:39 +00:00
Michael Niedermayer
fe670d099d -bug comand line option to workaround encoder bugs which cannot be detected automatically
Originally committed as revision 787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-22 09:48:31 +00:00
François Revol
27a5e8b897 nanosleep patch by François Revol <revol at free dot fr>
Originally committed as revision 784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-21 07:59:17 +00:00
Philip Gladstone
cbadbf19fc Change ticker_tick to use ticker_abs as we want the absolute number
of ticks. In particular we want an INT64 return.

Originally committed as revision 693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-17 03:10:37 +00:00
Philip Gladstone
cb09b2ed92 * Go faster stripes: don't check to see if the user presses 'q' if stdin
returns EOF -- e.g. it is connected to /dev/null
* Make the 1MB video buffer only allocated once rather than on each frame.
  The allocation and deallocation causes significant performance loss as the
  kernel remaps the address space each time.

Originally committed as revision 629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-30 02:38:57 +00:00
Philip Gladstone
c04643a2c2 * Make video grabbing work again (if you are grabbing multiple streams
at different frame rates).
* Do the av_abort() change that is not otherwise worth checking in.

Originally committed as revision 620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 01:55:12 +00:00
Michael Niedermayer
33a1f1a3c1 fixing stackoverflow
Originally committed as revision 618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 19:47:57 +00:00
Fabrice Bellard
bf5af56875 license/copyright change - fixed memory leaks
Originally committed as revision 587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:25:13 +00:00
Fabrice Bellard
79fdaa4cc0 began to simplify code - use modified API for stream reading
Originally committed as revision 548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:32:49 +00:00
Fabrice Bellard
d4327e368f oops - removed obsolete license draft
Originally committed as revision 534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:31:08 +00:00
Fabrice Bellard
0f1578afcc use av memory functions
Originally committed as revision 531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:17:41 +00:00
Juanjo
90da4d764c - Bug fix for AVStream->r_frame_rate not being initialized for live video
capture.

Originally committed as revision 499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-15 02:02:24 +00:00
Juanjo
6dc96cb0bf - Now ffmpeg handles MPEG-2 streams with pull down, it gets the real frame
rate of the stream.

Originally committed as revision 498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 22:06:13 +00:00
Juanjo
0b97443a3f - Video CD option for ffmpeg
Originally committed as revision 492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 21:39:44 +00:00
Juanjo
4442945711 - ffmpeg relies on libavcodec to repeat frames from 3:2 sources.
Originally committed as revision 487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 02:56:50 +00:00
Juanjo
a5dc85efb8 - Bug fix in map stream parser
Originally committed as revision 483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-11 23:27:14 +00:00
Juanjo
afc80f59a7 - Segfault fixed when mpeg audio decoder returns a negative data_size.
Originally committed as revision 473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 02:32:22 +00:00
Philip Gladstone
51bd4565f7 * Fix nasty problem with unitialized memory in the file_table
* Add default entries to switch statements to catch programming errors
* Fix problem with high CPU usage when capturing live (the audio grabber
  is non-blocking for some reason). This is the stream_no_data stuff.
* Handle the video grabber getting behind in its work -- PKT_FLAG_DROPPED_FRAME

Originally committed as revision 453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:06:59 +00:00
Juanjo
fffcb5e841 - Segfault fixed when liba52 dynamic library isn't found.
Originally committed as revision 449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-06 21:34:50 +00:00
Juanjo
bc6caae212 - MPEG-4 B frames coding option for ffmpeg.c
- Warning fixes.

Originally committed as revision 448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-06 19:32:55 +00:00
Juanjo
101bea5f22 - ME method compatibility with legacy apps.
- Please use AVCodecContext's me_method now.

Originally committed as revision 399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-14 22:17:40 +00:00
Juanjo
e4986da9ce - ME setting moved to AVCodecContext/MpegEncContext, no longer a global.
- EPZS ME algo used by default.
- HQ flag activated for ffmpeg.
- Cosmetics ...

Originally committed as revision 398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-14 18:57:51 +00:00
Juanjo
29da453b32 - New switch to activate 4MV in ffmpeg.
Originally committed as revision 394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 17:16:09 +00:00
Juanjo
e0d2714adc - Fixed AC3 decoding for 5:1 AC3 streams. Now when calling av_audio_decode for
AC3 set avcodec_context->channels to the desired number channels, if the
setting is 0 AC3 decoder will set it to the channels found in the
stream.
- Changed ffmpeg to cope with the new "way" of AC3 decoding.
- ASF muxer now uses Tickers for PTS calculations.

Originally committed as revision 393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 04:52:49 +00:00
Juanjo
10bb7023a2 - Added force_pts to av_write_packet() to be able to force PTS, this helps
(and fix) stream copying. By now force_pts it's just honoured by the MPEG
muxer. ASF could honour this also, but it should be fixed to use Tickers
first.
- MPEG audio decoder exports it's frame size in bytes.
- Hope this fix the floating point exception found in ffserver.

Originally committed as revision 382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-07 21:44:29 +00:00
Juanjo
5b0ad91b99 - Fix memory leak and others bugs for ppmpipe. Thanks to Rudolf Opalla.
Originally committed as revision 373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-02 15:07:01 +00:00
Michael Niedermayer
7084c149d9 -me epzs
Originally committed as revision 346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-22 04:18:57 +00:00
Juanjo
ce7c56c250 - Added video coding statistics for ffmpeg. Needs more work.
- Fixed ME range for H.263+ UMV (32 pix).

Originally committed as revision 342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-19 06:30:41 +00:00
Michael Niedermayer
9cdd6a24ad hopefully better bitrate controll
Originally committed as revision 334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 16:31:38 +00:00