Commit Graph

159 Commits

Author SHA1 Message Date
Philip Gladstone ec6ac5e1fb * Change extern inline to static inline so that it will compile without optimization
Originally committed as revision 467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:21:24 +00:00
Philip Gladstone 5d6ef63fdc * Try and fill out some more of the RV header fields correctly
Originally committed as revision 466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:20:53 +00:00
Philip Gladstone ac5e6a5bd7 * Add defaults to switch statements
Originally committed as revision 465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:19:33 +00:00
Philip Gladstone ddceb31d93 * Add a sleep when doing the post to ffserver. Yes, this is the wrong
solution.

Originally committed as revision 464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:19:15 +00:00
Philip Gladstone 28c66901a9 Intialize the codec type to video.
Originally committed as revision 463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:18:42 +00:00
Philip Gladstone 20f0154831 * Add the gop_size to the video parameters. Also the audio framesize.
* Copy the duration over as well, though I'm not 100% certain that that is
  still needed.

Originally committed as revision 462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:18:08 +00:00
Philip Gladstone 7ac13f0c7e * Change extern inline to static inline. This improves compiling without optimization.
Originally committed as revision 461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:16:45 +00:00
Philip Gladstone 53cafac09c * Add default cases to switch statements.
Originally committed as revision 460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:16:08 +00:00
Philip Gladstone 6d9872f416 * Add a duration field to the AVPacket
Originally committed as revision 459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:15:45 +00:00
Philip Gladstone 1de1cce27d * Make it work with sound cards (like mine) that can only capture in stereo.
* Add a kludge to allow the left channel to be inverted -- my tv card/sound card
  ends up with the left channel = minus right channel. Converting to mono by
  adding the channels doesn't work well.

Originally committed as revision 458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:15:21 +00:00
Philip Gladstone f80c1ac01b * Many, many changes to make it work (mostly). Information snagged from
staring at headers of real ASF files. ASFRecorder and avifile were
  other useful sources.

Originally committed as revision 457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:13:43 +00:00
Juanjo 95c79a24e5 - Changed FOURCC for H263.
- Warnings fixes.

Originally committed as revision 430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-02 04:21:22 +00:00
Gert Vervoort bb3debab2c more msmpeg4 fourccs patch by Gert Vervoort <Gert.Vervoort@wxs.nl>
Originally committed as revision 426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-29 18:32:03 +00:00
Zdenek Kabelac 1ac9248bb7 * cleanup
Originally committed as revision 422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-26 07:18:57 +00:00
Juanjo 4b1f4f236b - Versions defined for libav/libavcodec.
- Bug fix in wav muxer for MP2 audio.
- ffmpeg/libavcodec version in MPEG-4 user data.

Originally committed as revision 400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-15 02:28:05 +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
Philip Gladstone 502d105f96 * patch by Philip Gladstone
Originally committed as revision 390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 21:31:24 +00:00
Zdenek Kabelac 4606ac8dee * some minor modification by Philip Gladston
* grab containes new code

Originally committed as revision 388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 20:58:56 +00:00
Zdenek Kabelac a266644f56 * more warning cleanups
* adding const & statics

Originally committed as revision 387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 15:07:42 +00:00
Zdenek Kabelac 684f44d9a0 * fixing some warnings
Originally committed as revision 386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 14:51:42 +00:00
Zdenek Kabelac 6cea494e32 * support for .au .gif .mov .mp4 by François Revol <revol@free.fr>
hmm any opinions about GIF support ?

Originally committed as revision 385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 12:32:01 +00:00
Zdenek Kabelac 30b68f33aa * encoding of AC3 with more than 2 channels
by Takashi Iwai <tiwai@suse.de>

Originally committed as revision 383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 12:08:03 +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
Juanjo af469427b3 - Fix pts calculation on mpeg mux (A/V sync) - Thanks to Lennert Buytenhek
- Fix temporal-reference-glitches for MPEG1 - Thanks to Lennert Buytenhek

Originally committed as revision 343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-20 11:16:07 +00:00
Juanjo 001e3f555d - Fixes on MPEG demuxer to handle VOBs without System Header.
Originally committed as revision 335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-17 17:44:45 +00:00
Juanjo 1cb0edb40b - Bug fix MPEG-2 decoder to handle "repeat_first_field" (Telecine)
- Hack in MPEG-2 demux to cope with buggy VOBs.

Originally committed as revision 333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-16 02:41:00 +00:00
Juanjo 5798368baf - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
- Changes on AVI and WAV muxers to support MP3.

Originally committed as revision 324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:51:20 +00:00
Juanjo 86bec9a161 - Fix on AVI and WAV headers based on Nikolai Zhubr patch.
- Now the properties of the AVIs are correctly shown, but the MP2 audio
isn't playable, it seems the problems is that Fraunhoffer MP3 decoder
included on Windows cannot decode MP2 streams.

Originally committed as revision 316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-01 22:28:30 +00:00
Zdenek Kabelac 608d0dee6f * Also include time.h for nanosleep()
by:  Philipp Matthias Hahn <pmhahn@titan.lahn.de>

Originally committed as revision 309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-18 10:20:03 +00:00
Michael Niedermayer 17592475b3 alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)
Originally committed as revision 295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-02-12 15:43:16 +00:00
Fabrice Bellard 4972b26f24 changed audio and video grab interface (simpler now)
Originally committed as revision 148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-24 23:27:06 +00:00
Fabrice Bellard 46a3d0685d correct pcm audio format handling
Originally committed as revision 147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-24 23:26:46 +00:00
Fabrice Bellard 96baaa6aff changed av_open_input_file() prototype
Originally committed as revision 146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-24 23:25:28 +00:00
Fabrice Bellard 5ed8fafcb6 added pcm formats
Originally committed as revision 142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-23 17:19:49 +00:00
Fabrice Bellard a56c66a7ef wmv format is asf format
Originally committed as revision 139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-23 17:15:21 +00:00
Fabrice Bellard 9150f42ed5 fixed image number syntax problems
Originally committed as revision 128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:50:48 +00:00
Fabrice Bellard 5a56c87c10 restore audio settings - use all the frame buffers provided by the driver
Originally committed as revision 127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:49:48 +00:00
Fabrice Bellard 813cae4bc4 image number handling
Originally committed as revision 126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-16 21:48:59 +00:00
Fabrice Bellard 2e93e3aaae fixed raw read for eof
Originally committed as revision 121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-15 22:44:44 +00:00
Juanjo 6bbc662f7d Added CODEC_ID_H263P to fourcc tables.
H.263+ on AVI wasn't using U263 fourcc.


Originally committed as revision 112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-27 04:19:15 +00:00
Fabrice Bellard a74127c071 win32 fixes
Originally committed as revision 110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 22:33:03 +00:00
Fabrice Bellard 58f26ba916 changed opendivx to mpeg4
Originally committed as revision 102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:12:23 +00:00
Fabrice Bellard 67e9bb0d0b fixed wav riff tag size
Originally committed as revision 95 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:06:48 +00:00
Fabrice Bellard 27e084bd61 added raw mjpeg
Originally committed as revision 94 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:06:33 +00:00
Fabrice Bellard 13a7d16ede added static
Originally committed as revision 93 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:06:01 +00:00
Fabrice Bellard eea23282fa added raw mjpeg format - added jpeg image format
Originally committed as revision 92 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:04:53 +00:00
Fabrice Bellard 0bb8c16806 changed jpegenc.c to jpeg.c
Originally committed as revision 91 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:04:23 +00:00
Fabrice Bellard 3abf2c27c6 added jpeg image read/write
Originally committed as revision 88 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:02:50 +00:00
Fabrice Bellard 8be1c6563c win32 fixes
Originally committed as revision 78 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-13 21:37:10 +00:00
Fabrice Bellard 6775c758c4 added PPM read/write support - added pgmyuvpipe format - added PPM pipe read/write support
Originally committed as revision 65 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 18:59:34 +00:00
Fabrice Bellard e643b32b1b fixed avi RIFF header size
Originally committed as revision 56 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-08 18:51:59 +00:00
Fabrice Bellard 420b073bbc added HAVE_AV_CONFIG_H
Originally committed as revision 19 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-30 23:22:07 +00:00
Fabrice Bellard d771bcae33 added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
Originally committed as revision 9 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 20:58:31 +00:00
Fabrice Bellard 980fc7b834 fixed config for direct mplayer build compatibility
Originally committed as revision 8 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 20:06:54 +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 de6d9b6404 Initial revision
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-22 14:18:56 +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