Commit Graph

40 Commits

Author SHA1 Message Date
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