Results 1 to 7 of 7

Thread: [RESOLVED] File Compression in .net

  1. #1

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,394

    Resolved [RESOLVED] File Compression in .net

    I'm wanting to make a program to rip dvd's but more importantly to store them so the user can watch them when they want. To keep the cpu's memory down I figured I can compress the dvds when the person just has them sitting there and then decompress them when the user wants to play them. I've kinda looked into gzipstream, but would that really work? Should I take a different route?
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  2. #2
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: File Compression in .net

    I will ask before I make any advice, are the DVDs you are planning to 'rip' media DVDs? Media is generally already compressed so any external compression is a waste of time. If you are compressing data files, then it may be more applicable and you may actually get some advice.

  3. #3
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: File Compression in .net

    GZipSteam only works properly for text files. Using GZipStream for binary files often makes the files larger.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: File Compression in .net

    Also, given the size of DVDs, compressing and decompressing will take quite some time. You'd have to wait until the entire contents was decompressed before starting to play.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,394

    Re: File Compression in .net

    See, I didn't even consider all those things. Should I just make it a regular organizer, rather than take on the task of compressing and decompressing them?
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  6. #6
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: File Compression in .net

    Yes. Memory is cheap as dirt anyways.
    My usual boring signature: Nothing

  7. #7

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,394

    Re: File Compression in .net

    Well, thank y'all Imma mark this resolved. I'm just going to have the program as an organizer rather than do all that extra junk.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width