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
François Revol
ef0bc4c97f
* BeOS patch by François Revol <revol@free.fr>
...
fixing some compilation problems
Originally committed as revision 319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-08 09:09:57 +00:00
Juanjo
43f1708f8b
- Added PSNR feature to libavcodec and ffmpeg. By now just Y PSNR until I'm
...
sure it works ok. Also it's slow, so use it only when you _really_ need to
measure quality.
- Fix libavcodec Makefile to enable profiling.
Originally committed as revision 314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-26 22:14:27 +00:00
Fabrice Bellard
a38469e1da
unified grab & convertion loops (should be easier to achieve correct synchronization now - but still work to do!) - added ffplay support
...
Originally committed as revision 144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-24 23:22:25 +00:00
Fabrice Bellard
a0663ba4b0
complete handling of pcm formats - hex dump option
...
Originally committed as revision 138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-23 17:14:51 +00:00
Fabrice Bellard
1d7840aaec
fixed stereo grab
...
Originally committed as revision 135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-19 22:09:30 +00:00
Fabrice Bellard
e30a284687
oops - forgot grabbing case for audio/video input auto detect
...
Originally committed as revision 134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-19 21:39:25 +00:00
Fabrice Bellard
919f448d95
non 420P grab fix - suppressed unused 'sys/poll.h' header - do not put error if audio or video stream not found (no longer needs to use -an or -vn when it is obvious) - display error message when image filename does not contain '%d'
...
Originally committed as revision 123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:47:13 +00:00
Juanjo
544286b3d3
Moved some H.263+ variables to MpegEncContext to be thread-safe.
...
Increase video_buffer on ffmpeg to avoid buffer overrun on big pictures.
Originally committed as revision 114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-31 06:21:27 +00:00
Fabrice Bellard
daf8e9557d
added win32 cross compile support
...
Originally committed as revision 107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:29:44 +00:00
Fabrice Bellard
bdc4796fae
win32 fixes
...
Originally committed as revision 81 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:43:02 +00:00
Fabrice Bellard
cfcf0ffda6
add deinterlacing support - add new image converter support
...
Originally committed as revision 64 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 18:58:18 +00:00
Fabrice Bellard
5727b222ce
added benchmark option
...
Originally committed as revision 17 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:19:22 +00:00
Fabrice Bellard
85f07f223d
merge
...
Originally committed as revision 6 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-22 14:37:44 +00:00
Fabrice Bellard
1b58d58dda
removing old files
...
Originally committed as revision 4 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-19 20:46:37 +00:00
Fabrice Bellard
9aeeeb63f7
Initial revision
...
Originally committed as revision 2 to svn://svn.ffmpeg.org/ffmpeg/trunk
2000-12-20 00:02:47 +00:00