Quantcast New Tool Kutter - Page 3 - digitalFAQ.com Forums [Archives]
  #41  
09-04-2005, 06:14 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
Today I'm encoding.
Ahhhh, that fresh (off the oven) encoding feeling

-kwag
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #42  
09-04-2005, 07:01 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
What? Can you smell it from over there in PR?
__________________
Rui
Reply With Quote
  #43  
09-04-2005, 07:17 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
What? Can you smell it from over there in PR?
No, but the lights here are dimming constantly, every time your computer array seeks to a new CD sector encoding a new block

-kwag
Reply With Quote
  #44  
09-04-2005, 09:57 PM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
@Kwag

I've tested Kutter out with a VOB of 1 GB from Harry Potter I, where I'd wanna split files about 100 MB. The app done the job with precision and quickness.

Kudos,
Reply With Quote
  #45  
09-04-2005, 10:03 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks danpos
All feedbacks are always welcome

-kwag
Reply With Quote
  #46  
09-16-2005, 05:58 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
@ Karl

The LongLong issue can be solved uing a simple strucure!

Structure int64
LongHi.l
LongLow.l
EndStructure


Amount.int64

APIFunction(@Amount)

This makes you able to use for example an API function which does apply the result of a big filesize for instance to the variable "Amount".
BUT that int64 imho is unsigned, so watch out.

In case if a DirectShow usage for instance in PB this is the trick:
Code:
Structure int64
  hi.l
  lo.l
EndStructure

time.int64

errorcode.l = IMediaSeeking\GetDuration(@time)

if errorcode > 0
  Debug Str(time\hi) + " * 2^32  * 100ns duration PLUS"
  Debug Str(time\lo) + " * 100ns duration"
else 
  Debug "No Media Duration value can be received"
endif
Uint64 Library can be found here within this package:
http://pbosl.purearea.net/pbosl_win.zip

Including:

Code:
UInt64_ulong2uint64  load 32-bit unsigned long into 64-bit unsigned integer 64

UInt64_add    unsigned integer 64: addition

UInt64_sub    unsigned integer 64: subtraction

UInt64_mul    unsigned integer 64: multiplication

UInt64_div    unsigned integer 64: division

UInt64_mod    unsigned integer 64: modulo

UInt64_cmp    unsigned integer 64: compare

UInt64_str    unsigned integer 64 to String

UInt64_val    String to unsigned integer 64
or as open source procedures:
http://www.purearea.net/pb/CodeArchi...Longs_64Bit.pb
Reply With Quote
  #47  
09-16-2005, 11:50 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Andrej,

Thanks for the code.
This is all fine for memory structures, but there's no (simple) way to read from a file past the 2GB limit, unless I use Win32 API in another way.
The problem is when you try to read past a file pointer boundary of 2GB.
All I/O calls ( ReadFile, LOF, ReadData, etc. ) work on Long, and will never return data past the limit. So the only solution is to use Win32 API calls, and then rewrite all file seeking/accesing routines, because the built in functions on PB won't work.
I'm considering rewriting the utility in C, just for the hell of it
Then when PB gets updated, I'll recompile it again in PB
I'll probably recode Kutter! in C in a matter of hours

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Kutter: Cut MPEG by time code dvdreasy Video Encoding and Conversion 1 11-24-2005 10:30 PM
Kutter: Bad stream time Prodater64 Video Encoding and Conversion 4 09-10-2005 05:54 PM
Announcing Kutter! - Fastest MPEG cutter around kwag Video Encoding and Conversion 0 09-03-2005 04:08 PM
DVD2AVI: What's the best tool? Encoder Master Video Encoding and Conversion 5 05-24-2005 05:41 AM
Video CD 2.0 tool kit ovg64 Authoring VCD, DVD, Blu-ray 2 04-28-2003 01:06 PM

Thread Tools



 
All times are GMT -5. The time now is 05:34 AM  —  vBulletin Jelsoft Enterprises Ltd