Commit Graph

96 Commits

Author SHA1 Message Date
Michael Niedermayer
390dffc5ad more mpeg4 fourcc's
Originally committed as revision 701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-22 23:08:37 +00:00
Fabrice Bellard
24f9709b22 fixed VOB parsing bug
Originally committed as revision 699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 19:25:38 +00:00
Michael Niedermayer
9b030d9d73 wmv1
Originally committed as revision 698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-18 09:12:54 +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
c25fdfc683 Add ticker_abs function that returns the number of ticks to get the
supplied frame (or sample) number. This is not the same as ticker_tick

Originally committed as revision 692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-17 03:08:29 +00:00
Philip Gladstone
2dbceb9f8a Change the way that the ?date= stuff is parsed. It now takes a time (with optional date)
in local time rather than GMT. Note that you are advised to use the date as well as the time
as the time is relative to the current day (which is not much use if the time is in the
future). The date format parsing is pretty strict still:
YYYY-MM-DDTHH:MM:SS   is a format that works. The T is a literal non-digit character. I wouldn't
use a space. The :SS can be omitted. The number of digits *must* be four in the Year.

Originally committed as revision 691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-14 03:38:00 +00:00
Fabrice Bellard
d714edf190 optimized ticker_tick() if num is big - please test it (should reduce CPU usage - this code is temporary before new PTS handling scheme)
Originally committed as revision 681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:23:09 +00:00
Philip Gladstone
16300e23d5 * Get the buffer size right now we have the buffer inside the FFStream block
Originally committed as revision 666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 02:21:10 +00:00
Philip Gladstone
084fada8d1 * Add the comment block if any of the comment fields are present.
* Eliminate compiler warning
* Add the codec name if we have it

Originally committed as revision 664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-05 02:18:17 +00:00
Philip Gladstone
2824c47368 Remove some calls to av_free that tured out to be duplicate. This improves
the behaviour of ffserver streaming asf files from disk.

Originally committed as revision 662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 20:40:53 +00:00
Philip Gladstone
3a2d04473d Make sure that the http_proxy environment variable starts with http://
If not, then ignore it's value.

Originally committed as revision 628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-29 21:18:06 +00:00
Fabrice Bellard
b13788c53f use sys/soundcard.h for OSS audio
Originally committed as revision 607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-26 15:09:58 +00:00
Fabrice Bellard
19720f15fd license/copyright change
Originally committed as revision 593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:34:32 +00:00
Fabrice Bellard
17269bdfcd fixed double free - fixed probe function
Originally committed as revision 592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:33:18 +00:00
Fabrice Bellard
0726b2d1ea fixed double free - fixed jpg image sequence automatic selection
Originally committed as revision 591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:32:57 +00:00
Fabrice Bellard
66d2ff2a3d fixed memory free (no free necessary for private data) - added better support for automatic testing
Originally committed as revision 590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:31:48 +00:00
Philip Gladstone
a8dbe9514f Change order of extensions and read_probe checking. This gives the read_probe
a higher priority than extensions. This gives FFM a chance of working. Note
that some of the other probe functions are bit optimistic, and can be
confused by binary data (such as 0x00 0x00 0x01 0xzz) for some values of zz.

This set of changes makes ffserver work again, and fixes the cannot open
video grab device message.

Originally committed as revision 581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-24 02:09:40 +00:00
Philip Gladstone
07c4ed85f7 * Add a probe function for FFM files
Originally committed as revision 580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-24 02:06:51 +00:00
Philip Gladstone
789bee1264 * Fix a problem caused by a duplicate free of priv_data -- now uses av_freep
* Make sure that the read buffer for the ffm file is allocated in the priv_data.

Originally committed as revision 578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-24 01:19:27 +00:00
Fabrice Bellard
754ebe3465 fixed memory free
Originally committed as revision 552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 19:43:20 +00:00
Fabrice Bellard
c9a65ca8c3 converted to new API
Originally committed as revision 547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:31:13 +00:00
Fabrice Bellard
db7f1f95ac suppressed mpeg demux mess - use now dynamic stream creation api
Originally committed as revision 546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:29:40 +00:00
Fabrice Bellard
b9a281db69 split mux/demux related structures - added file probing support - improve media file reading API
Originally committed as revision 545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:28:47 +00:00
Fabrice Bellard
fe9cf0d44e added first version of MPEG/DVB transport stream demux
Originally committed as revision 544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:27:23 +00:00
Fabrice Bellard
1ea4f59365 use av memory handling functions
Originally committed as revision 528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:11:09 +00:00
Fabrice Bellard
065422677a fixed pcm read
Originally committed as revision 527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:09:43 +00:00
Fabrice Bellard
f57a4535bd added VPATH support
Originally committed as revision 526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:07:57 +00:00
Fabrice Bellard
1c098b2fb6 added dummy crc output format for easy codec testing
Originally committed as revision 525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 23:06:13 +00:00
Philip Gladstone
5e57424d11 Fix the WAIT_FEED problem. It turns out that when you open up an FFM
file and seek to an FFM packet, then it is important that the packet
found has a frame header within it. If not, then terrible things happen.
This fixes the problem.

Originally committed as revision 513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 21:30:16 +00:00
Philip Gladstone
3884a3c322 Pass over the bit_rate_tolerance field to ffmpeg
Originally committed as revision 500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 01:57:55 +00:00
Juanjo
76c0441b10 - Added r_frame_rate in AVStream to store the real frame rate.
- This stuff could be done in AVCodecContext and the real frame rate
calculated in utils.c, but we don't changes in that by now ;)

Originally committed as revision 497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 21:50:00 +00:00
Juanjo
92b3e12592 - VCD MPEG-1 compliant stream support (set AVF_FLAG_VCD)
Originally committed as revision 491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 21:38:54 +00:00
Juanjo
ab0ff2a563 - Fixes for MPEG-PS which have more than 1 system header, now we don't take
in account the system header just walk through the file searching streams.
  MPEG-PS demuxer needs more work anyway.

Originally committed as revision 485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-11 23:53:04 +00:00
Philip Gladstone
8d1335ea2b * Add implementation of strlcpy
* Fix endless loop in find_info_tag if given specific arguments

Originally committed as revision 481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-10 02:17:41 +00:00
Philip Gladstone
283383715f * Add prototype for strlcpy
Originally committed as revision 480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-10 02:16:29 +00:00
Philip Gladstone
ccac2e27f1 * Add the 'flags' field to the list of codec fields passed from ffserver to
ffmpeg. This gives the VideoHighQuality patch a fighting chance.

Originally committed as revision 479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 12:37:44 +00:00
Philip Gladstone
afc25d93ea * Make put_wav_header return the number of bytes that it put.
Originally committed as revision 468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:21:56 +00:00
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