Why not register?


Post new topic Reply to topic  [ 10 posts ] 

All times are UTC [ DST ]

Author Message
PostPosted: Fri Jan 21, 2005 9:23 am  Post subject: Playing Trep's Damn XviDs on Windows HOWTO
Reply with quote
User avatar
Offline

Master Of The Dead Donkey
Joined: Wed Jan 14, 2004 8:34 pm
Posts: 759
I'm posting this guide here so then I can link all my old releases to this thread.

All my latest movies were encoded using XviD and Mencoder under GNU/Linux, and were only playable under Windows (except with some players which didn't use the default Windows' avi-playing infrastructure). With the help of many friends (let me at least name Faeton@DXC, LastNinja2@ItaloDome, the pals at Doom9, and Fitz@FH for testing) we found out that for some reasons the default Windows avi-splitter was trying to interpret a part of the header that has no meaning for this file format and so it's junk. Luckily there's a quick and easy fix to it.

1) You will need an hex-editor: I don't use Windows, but I was informed from a reliable source that one of these free hex-editors will be enough for what we're trying to do:

ftp://ftp.sunet.se/pub/simtelnet/win95/ ... xfre20.zip
http://www-physics.mps.ohio-state.edu/~ ... exedit.exe

2) We are going to work on the .avi file, so if you are not 100% sure of what you're doing please do a backup copy of the file.

3) Open the avi file in the hex-editor. You will see something like this:

Image


Note the highlighted part: that's the junk that make Windows' avi-splitter stumble. We only have to delete it: to do that we overwrite that part with ASCII zeroes (not the character 0). After zeroing out the offending string, you should see something like this:

Image


4) Save the file. It will now work flawlessy. Ask in the forum if you have doubts ;).


Top
 Profile  
PostPosted: Fri Jan 21, 2005 10:09 am  Post subject:
Reply with quote
User avatar
Offline

Dead But Dreaming
Joined: Sat Aug 28, 2004 12:40 pm
Posts: 333
:D :banana: :rock: :beerchug:

_________________
https://images.dead-donkey.com/images/glennzm9.jpg


Top
 Profile  
PostPosted: Fri Jan 21, 2005 11:21 am  Post subject:
Reply with quote
User avatar
Offline

Master Of The Dead Donkey
Joined: Wed Jan 14, 2004 8:34 pm
Posts: 759
tweye wrote:
:D :banana: :rock: :beerchug:


Yup! We nailed that damned (windows) bug in the end :D :beerchug:


Top
 Profile  
PostPosted: Fri Jan 21, 2005 11:37 pm  Post subject:
Reply with quote
User avatar
Offline

Lunatic Of Gods Creation
Joined: Mon Jan 05, 2004 5:45 am
Posts: 965
So, is it possible that you can do this before release in the future, or will it marr Linux compatibility?

_________________
https://images.dead-donkey.com/images/avoy2.jpg


Top
 Profile  
PostPosted: Sat Jan 22, 2005 12:07 am  Post subject:
Reply with quote
User avatar
Offline

Dead But Dreaming
Joined: Sat Aug 28, 2004 12:40 pm
Posts: 333
linux players play the most broken avis you could imagine :mrgreen:
but as i understand it, the change doesnt break the avi at all.
trep, you can use this as the final step for your future rips:

Code:
dd if=/dev/zero of=file.avi bs=1 count=16 seek=196 conv=notrunc


(with a backup at hand, you'll never know)

EDIT: at a second thought, it only works only if the offending string always starts after byte 196 from the beginning, which i dont know if is always true (avi headers should be of fixed length but who knows).

_________________
https://images.dead-donkey.com/images/glennzm9.jpg


Top
 Profile  
PostPosted: Sat Jan 22, 2005 9:52 am  Post subject:
Reply with quote
User avatar
Offline

Master Of The Dead Donkey
Joined: Wed Jan 14, 2004 8:34 pm
Posts: 759
Chadman wrote:
So, is it possible that you can do this before release in the future, or will it marr Linux compatibility?


As obviously there's no way to tell microsoft to fix their avi-spliiter, I wrote on the mailing-list of Mplayer (that is, the software I use to encode) and they fixed it in no time so that it won't write any more that string on the headers ;) So next rips will not have this problem any more. You see that having the source code free works :D.


Top
 Profile  
PostPosted: Sat Jan 22, 2005 10:16 am  Post subject:
Reply with quote
User avatar
Offline

The Devil, Probably
Joined: Mon Jun 09, 2003 1:04 pm
Posts: 2497
Location: In the darkest spot of your soul.
I don't know why linux ppl should care what windoze users can or can't do. They don't care either for other systems. When I encounter a windoze only proprietary format like .chm (hate this one), I don't start whining, but see to work around myself. A few times I was picked on, when I released something in tar.bz2 format. So what? This is the standard linux archive format. Did I change anything? Certainly not.


Top
 Profile  
PostPosted: Sat Jan 22, 2005 2:04 pm  Post subject:
Reply with quote
User avatar
Offline

Master Of The Dead Donkey
Joined: Wed Jan 14, 2004 8:34 pm
Posts: 759
wargand wrote:
I don't know why linux ppl should care what windoze users can or can't do.


Because we're the good guys! :wacky: Also, keeping junk out of headers seems a good idea, even if MS apps weren't stumbling on it.

Btw, I hate .chms and .mhts too :lol: Thanks god I've found a way to handle them both:

http://66.93.236.84/~jedwin/projects/chmlib/ (for chms)

and:

http://www.kde-apps.org/content/show.php?content=14315 (for mhts)


Last edited by trep on Sat Jan 22, 2005 2:55 pm, edited 1 time in total.

Top
 Profile  
PostPosted: Sat Jan 22, 2005 2:39 pm  Post subject:
Reply with quote
User avatar
Offline

The Devil, Probably
Joined: Mon Jun 09, 2003 1:04 pm
Posts: 2497
Location: In the darkest spot of your soul.
trep wrote:
Because we're the good guys! :wacky:

I am definitely not. And never will be. :twisted:


Top
 Profile  
PostPosted: Sun Jan 23, 2005 1:40 pm  Post subject:
Reply with quote
User avatar
Offline

Mod of the Living Dead
Joined: Fri Nov 22, 2002 4:30 pm
Posts: 3346
Location: Where dead angels lie
Great to see you finally solved it!

:beerchug:

_________________
"When I was a kid we fuckin' respected our parents, we didn't fuckin' eat them!"


Top
 Profile  
Display posts from previous:  Sort by  

All times are UTC [ DST ]

Post new topic Reply to topic  [ 10 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


Moderator: Help Mods

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Frontpage / Forums / Scifi


What's blood for, if not for shedding?