Commit Graph
533 Commits
Author SHA1 Message Date
shatty 68d9b851e8 good sync in nplay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 11:30:48 +00:00
shatty d897b15019 improved info extraction.. plays as fast as possible in MediaPlayer, not well in nplay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 11:13:38 +00:00
shatty b8827c3055 new separation of streams from seekables - first view of ogm video!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 09:53:22 +00:00
beveloper b6fed4cfc9 fixed calculation of encoded audio duration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 12:12:43 +00:00
beveloper 02d71913c4 fixed duration calculation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 12:00:30 +00:00
beveloper f7295bb445 Cleanup of code. License added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 11:30:07 +00:00
beveloper 82c11c1153 Fixed WMA support.
Frame rate, bit rate and other calculations improved.
Audio stream frame count and duration broken now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 01:37:29 +00:00
beveloper 5ee3807fdc fixed WMA support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 01:35:51 +00:00
shatty 46eb57b150 undo accidental commit of video_util.h comment out
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 09:42:52 +00:00
shatty cce6e4c938 build patches
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 07:13:30 +00:00
shatty 8d32e5c625 more avcodec files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:45:31 +00:00
shatty fa8dbc019d new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:26:40 +00:00
shatty a3fd835dad add lcl vmdav
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 01:05:21 +00:00
shatty a96f066c38 updated to cvs : February 1, 2004
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 00:42:25 +00:00
beveloper ae5fe0d26e pass full wave format, including extra data, as meta data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 22:33:40 +00:00
beveloper ec7ba455ed removed non working assembly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 16:20:16 +00:00
beveloper cc95481e0e Lets do the TIME WARP again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 14:51:26 +00:00
beveloper 6e04e144d6 minor api changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 12:39:55 +00:00
beveloper 13e3339edc force decoding as int16 to fix SoundPlay compatibility
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 00:56:52 +00:00
shatty d7f45f5855 NegotiateOutputFormat can not error in any situation -- really
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 09:21:22 +00:00
shatty ba47158dc9 stereo outputs twice as much data. now it works!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 09:00:11 +00:00
shatty 619fa324f4 step by step, to a better stereo decode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:41:06 +00:00
shatty 82175b7177 sweet speex.. at least for mono
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:27:32 +00:00
shatty 1f82f2a416 stereo decode fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:17:50 +00:00
shatty 8db90088c9 more strict check on blocksizes in the header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 06:43:47 +00:00
beveloper d7a5db30d1 report something for audio, too (doesn't work well)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:44:53 +00:00
beveloper e9fe0b2203 Properly report video track information.
Moved infromation gathering into AllocateCookie.
Report proper data in GetNextChunk media_header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:32:10 +00:00
beveloper 1689f0e346 make MediaPlayer recognize the video track, plus small cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:34:08 +00:00
beveloper 0e1505b5f4 more support for video tracks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:04:52 +00:00
beveloper 507f09d364 added standard avi index parsing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:01:46 +00:00
beveloper d20d5c94f4 temporary crash fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 18:23:50 +00:00
shatty 97a08414e0 accurate frame count and duration computation. SoundPlay seems to behave /slightly/ better now. At least it stopped machine-gun playing the files. unfortunately the caching packet implementation seems to come with a drawback. the granulepos is only valid on the initial traversal through the file. not sure why but this means that we only get one shot at computing the frame count and duration, so I cached them for the time being. it would be nice to be clever about recomputing the frame count and duration in the face of changing file sizes (downloads) and not traverse the whole file anyway, but this will require some more work. also we may (will?) need those granulepos for seek.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 10:51:54 +00:00
shatty 992d3cc594 std::vector<void*> crashes gcc 991026, so I switched to a vector of stream serialno, and use the stream serialno through the serial->OggStream* map to get back the OggStream * cookie for AllocateCookie. (whew!) casting the pointer to int probably would work too but this solution seems less hackish.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 00:22:56 +00:00
beveloper 6e2ff16018 small test, but this resync thing doesn't work well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 22:07:07 +00:00
shatty 05116a366a do not fail if GetFormatFor fails, instead spit out a TRACE message and then use a default format, with the user_data field populated so that MediaPlayer can give a somewhat helpful error message
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 21:33:28 +00:00
shatty 79b7954ccf somewhat more fun duration stuff.. for testing purposes only
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 14:38:18 +00:00
shatty 96fea92979 static variables in functions are all fun and good until you realize that they are not equivalent to class level variables when that function is a method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:49:33 +00:00
shatty 801227279c static variables in functions are all fun and good until you realize that they are not equivalent to class level variables when that function is a method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:45:14 +00:00
shatty a511a51332 perfect replay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 11:55:27 +00:00
shatty 170d6e3fbc I pronounce it Good!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 11:37:10 +00:00
shatty eb62634484 fixed some sizeof bugs and added more tracing for error returns
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 08:23:07 +00:00
shatty fff3b1f17b tolerate more badness from BMediaFormats, added theora formats, cleaned up theora header parsing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 07:58:23 +00:00
shatty d1d448fc86 factored out description and default format construction and made them available through ogg, use these in case BMediaFormats fails -- like it does with the tobias streams for right now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 07:43:32 +00:00
shatty 4644ba227a fix the lockup at end of ogg bug - return an error in GetPacket when GetNextPage or GetPageAt fails
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 07:00:45 +00:00
shatty 9b57d8a926 yay for speex
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:39:59 +00:00
shatty 89ea295e8e divide by 32000 to reduce volume
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:35:25 +00:00
shatty 33732c29f1 important seek friends
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:33:19 +00:00
shatty 07ae6ce8a6 ogg pseudo-seeking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:04:28 +00:00
shatty 38e18d350e more reliable format retrieval
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 06:02:45 +00:00
shatty 48a06864d0 fixed registration for mpeg 1 layer 1 & 2
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 05:12:45 +00:00