Recently I’ve bought WD TV media player for streaming full HD movies (primarily in 1080p resolution) to my home TV from external storage like usb HDD or ipod classic. You might already know that size of average HD movie rip is more than 4GB (e.g. full HD Avatar movie image is literally 21 GB mkv file) so it’s just impossible to store such huge files on any FAT32 formatted HDD or ipod. My ipod classic 160 GB is windows formatted so it uses FAT32 filesystem where maximum file size is 4 GB. As far as ipod cannot be formatted into ext3 but still be able to play music (just sweet dreams) I have to split huge files to 3.99GB parts and store them to my ipod for later reassemble. When it’s time to watch the some HD movie stored at ipod it’s required to assemble those 3.99 GB parts into one solid file, transfer it to media player and then actually watch the movie.

Rather long preface but solution is quite simple. If u run Ubuntu you can try lxsplit utility for breaking files into parts (binary packages for other Linux distributions as well as source code are available at lxsplit project’s homepage.):

sudo apt-get install lxsplit

In order to split some file in 3.99GB parts use the following command:

lxsplit -s /path/to/hugemoviefile.mkv 3999M

Depending on size of hugemoviefile.mkv you will get several parts hugemoviefile.mkv.001, hugemoviefile.mkv.002 and so on stored in current directory. It means that if you’re going to store those parts on some external storage like ipod you can do the following:

cd /media/ipod/
lxsplit -s /path/to/hugemoviefile.mkv 3999M

and hugemoviefile.mkv.001.. will saved in /media/ipod/ directory regardless where hugemoviefile.mkv is located.

Now coming to assembling procedure. It’s just as easy as splitting:

lxsplit -j hugemoviefile.mkv.001

Once done you will get hugemoviefile.mkv saved in current directory.

Have an interesting article? You’re welcome to contact me and get it published at LinuxScrew.com!

 

15 Comments

 

  1. June 17, 2010  3:31 pm by Bhaskar Chowdhury Reply

    Hi,



    I think most of the GNU/Linux distro come with a "split" binary which essentially done the same thing.



    Cheers!

  2. June 29, 2010  8:52 pm by poo Reply

    heey Ive just found some cool vid that is about downloading check it out: http://www.youtube.com/watch?v=W6CFFkp79o0

  3. August 3, 2010  11:59 pm by James Reply

    You have a very nice website layout, I like it! Please post more content, because I am excited to see what you post next. I bookmarked you blog. Thank you!

  4. August 18, 2010  10:55 pm by Juan Reply

    I think its a really nice post, i like Linux I would add to favs greets Juan

  5. September 7, 2010  1:37 am by nomnex Reply

    GUI alternative to lxsplit:

    If you have Java, go there http://www.freebyte.com/hjsplit/#java

    right-click the .jar and select open with java

    et voila!

  6. September 9, 2010  11:39 am by Aeron Reply

    Hello ? quite great web page you've created. I loved reading this putting up. I did would like to publish a remark to inform you that the design of this internet site is incredibly aesthetically pleasing. I used to get a graphic designer, now I am a duplicate editor. I have always loved functioning with personal computers and am attempting to learn code in my spare time.

  7. September 9, 2010  2:25 pm by Albin Reply

    Your website report is extremely intersting and fanstic,at the identical time the webpage theme is distinctive and ideal,great position.To your success.

  8. October 26, 2010  7:09 am by The WHAM Burglar Reply

    Why don’t you use the ext4 filesyst0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

  9. Pingback : ??? ????????? ??????? ?????-???? ? ???????? ?? ????????! « ????? ????… ??? ???? ??????

  10. April 19, 2011  5:19 pm by auto insurance cincinnati Reply

    I would like to thnkx for the efforts you've put in writing this website. I'm hoping the same high-grade site post from you in the future also. In fact your creative writing skills has inspired me to get my own web site going now. Really blogging is spreading its wings and growing fast. Your write up is a great example.

  11. May 5, 2011  9:12 pm by ld 3d hdtv deals Reply

    Have you ever considered adding extra movies to your blog posts to maintain the readers more entertained? I mean I simply learn via the whole article of yours and it was fairly good but since I am more of a visual learner,I found that to be more helpful nicely let me know how it turns out! I love what you guys are all the time up too. Such intelligent work and reporting! Keep up the great works guys I've added you guys to my blogroll. This can be a great article thanks for sharing this informative information.. I will go to your blog {regularl

  12. Pingback : Split huge files in Ubuntu or any other Linux distro – LinuxScrew: Linux Blog | RetroFit

  13. March 22, 2013  9:16 pm by flight deals india Reply

    I am in fact grateful to the holder of this web page who has shared this great piece of writing at here.| flight deals india http://www.funtraveldeals.com/book-flights/

Leave a reply

 

Your email address will not be published.