Commit Graph

1009 Commits

Author SHA1 Message Date
Michael Niedermayer
02734c6a3e print frame decoding time support (x86 only)
Originally committed as revision 504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 22:01:30 +00:00
Zdenek Kabelac
83286d2a75 * fixed --enable-shared handling
Originally committed as revision 503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 18:02:50 +00:00
Philip Gladstone
9cfe269e70 * Updated with new stream configuration items
Originally committed as revision 502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 02:03:34 +00:00
Philip Gladstone
42a63c6a02 * Add code to configure the following:
* prebuffering/preroll a live stream -- this improves startup time
  * videoqmin/videoqmax/videoqdiff -- codec parameters
  * maximum bandwidth for live streams
* Add support for .ram and .rpm extensions mapping onto .rm
* Make the status page show bandwidth. Also make the .asf and .rm
  links go to .asx and .ram files.
* Make a stream only start streaming when it gets a keyframe on each
  stream. This is arguable, and it maybe ought to be restricted to
  live streams. However, since I don't think that file streams work,
  this is a step in the right direction. It improves the startup delay.
* Log an error if we are unable to delete the temp feed file.

Originally committed as revision 501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-16 02:03:07 +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
Michael Niedermayer
218ad65d4d fixing end overwrite bugs (some at least)
this needs testing, untested parts should be reversed before release
i tested 24->32, 15->16, bgr24->rgb, bgr32->rgb (retesting them isnt a bad idea either ...)

Originally committed as revision 6097 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-15 02:27: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
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
e0a3d744a0 - repeat_pict meaning changed, now it signals the extra delay for the
decoded frame.
- extra_delay = (repeat_pict / 2) * (1/fps)

Originally committed as revision 496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 19:56:42 +00:00
Michael Niedermayer
c02dbee162 enable simple-idct by default (needed cuz otherwise files encoded with ffmpeg will show stripes with the reference IDCT during decoding)
Originally committed as revision 495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 15:42:54 +00:00
Zdenek Kabelac
e8f147930b * first shot for the new avcodec API
- comments, critics, improvements on the ffmpeg list are welcomed

Originally committed as revision 494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 14:17:11 +00:00
Philip Gladstone
13a0314fba * Mea culpa: it seems that I broke encoding to 8-bit pcm files. This fixes it.
Originally committed as revision 493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-14 02:36:23 +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
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
Nick Kurshev
79b0d5f925 build num ++
Originally committed as revision 490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 16:06:45 +00:00
Nick Kurshev
8bceb6af09 build info for ABI
Originally committed as revision 489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 15:53:25 +00:00
Nick Kurshev
5d27890ae9 I was too lazy to be a hero ;)
Originally committed as revision 488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 15:30:10 +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
c80340a4eb - repeat_pict added to AVCodecContext to signal if the decoder must repeat
frames from 3:2 pulldown sources.
- repeat_pict honoured by MPEG-1/2 decoder.

Originally committed as revision 486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 02:55:48 +00:00
Björn Sandell
b6acbc3caf various openbsd and general warning fixes - patch by Björn Sandell <biorn@dce.chalmers.se>
Originally committed as revision 6058 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-05-12 02:18:52 +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
Juanjo
9cd3766f6e - pict_type exported to AVCodecContext
- Added real_pict_num to AVCodecContext, it represent the number of the
  previous encoded frame, usefull when coding with B frames.
- Warning fix in motion_est.c

Originally committed as revision 484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-11 23:42:16 +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
Philip Gladstone
7434ba6d53 * Improve logging -- now actually gives you the number of bytes sent
* Print out the logging information that comes from WMP (you'd be suprised what
  it sends!
* Fix a remotely exploitable buffer overflow (argh!)
* Add support for automatically serving up .asx files. It generates an automatic
  redirect to the associated .asf file (with the same parameters). I guess that
  someone who understands the realaudio equivalent could hack that it as well.

Originally committed as revision 482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-10 02:20:27 +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
Juanjo
e7f9c67417 - HQ option for ffserver. Thanks to D Richard Felker III.
Originally committed as revision 478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 07:43:07 +00:00
Nick Kurshev
816d7ff5a8 version info for so too
Originally committed as revision 477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 06:23:37 +00:00
Juanjo
564ef23d49 - Warning fix.
Originally committed as revision 476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 05:42:27 +00:00
Juanjo
3e12d48a89 - Updating docs....
Originally committed as revision 475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 04:37:38 +00:00
Juanjo
ba9b374f89 - Changed default qmin = 3 as ffmpeg.c
- Less bitrate tolerance since we are streaming.

Originally committed as revision 474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 02:33:27 +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
0edf8a7a65 * Don't allocate 0 bytes of memory. It upsets electricFence!
Originally committed as revision 472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:24:27 +00:00
Philip Gladstone
8170f3dc8f * Fix a problem with the first sample when down sampling.
* Note that this code needs to be fixed -- the rate conversion from 48000->44100
  sounds horrible!

Originally committed as revision 471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:23:49 +00:00
Philip Gladstone
4c3d2e5f86 * Every frame is a key_frame
Originally committed as revision 470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:22:51 +00:00
Philip Gladstone
4a663d8042 * Start using enumerated types (makes debugging much easier)
Originally committed as revision 469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:22:30 +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