http://d-addicts.com
 
Register
 
HOME TORRENT DRAMA WIKI STATS HELP (FAQ) SEARCH GROUPS PROFILE PRIVATE MESSAGES LOGIN
      

Software for compressing doramas


 
Reply to topic    D-Addicts Forum Index -> Tech Discussion
View previous topic :: View next topic  
Author Message
bololo77Offline
Joined: 06 Apr 2005
Total posts: 9
Gender: Unknown
PostPosted: Sat Aug 11, 2007 6:38 am    Post subject: Software for compressing doramas   Post Rating: 0 Reply with quote

Hi there,

I programmed a software to reduce the size of dorama - avifiles in a batch.
Its basicly a a workfile generator for virtual dub. (Because virtual dub has a simple scripting language)
Anyway, my program will check the duration of the videofiles and then decides the filesize.
Videos <40 minutes will smaller than 350 MB
Video between 40 and 50 Minutes will become exactly 350 MB
Video between 50 and 70 Minutes will become exactly 450 MB
Above 70 Minutes just takes a nice bitrate and it will become as big depending on the Videolength.

Here is the link to the mainpage:
http://bololo77.bo.funpic.de/


Back to top
View user's profile Visit poster's website 
bololo77Offline
Joined: 06 Apr 2005
Total posts: 9
Gender: Unknown
PostPosted: Fri Aug 24, 2007 10:26 am    Post subject:    Post Rating: 0 Reply with quote

ok, page and tutorial is online, download for windows aswell... (see 1st post for link)
Back to top
View user's profile Visit poster's website 
InTr4nceWeTrustOffline
Avatar

Moderator
Joined: 31 Jan 2006
Total posts: 837
Location: Mission Viejo, California
Age: 21
Gender: Male
PostPosted: Wed Aug 29, 2007 12:46 am    Post subject:    Post Rating: 0 Reply with quote

the source code link is 404 error

_________________
...
_________________
ありません
Back to top
View user's profile 
bololo77Offline
Joined: 06 Apr 2005
Total posts: 9
Gender: Unknown
PostPosted: Wed Aug 29, 2007 4:08 am    Post subject:    Post Rating: 0 Reply with quote

Fixed, but be aware, that this is quite dirty code, and not much comments. Smile
Back to top
View user's profile Visit poster's website 
eli2kOffline
Joined: 31 May 2007
Total posts: 4
Gender: Unknown
PostPosted: Thu Aug 30, 2007 2:55 pm    Post subject:    Post Rating: 0 Reply with quote

Hmm, this is an interesting piece of software. Why are video files encoded in those larger weird sizes in the first place? I guess these dramas don't obey scene release rules and standards? I just don't know about your opinion on what file sizes should be; if you can let the user customize this through some screen, that would be nice. Also should be noted that once we reencode, it will be useless to the bittorrent community, because it would be another release. =/
Back to top
View user's profile 
AkumaXOffline
Avatar

Upload Addict
Joined: 19 Apr 2006
Total posts: 504
Gender: Unknown
PostPosted: Thu Aug 30, 2007 3:45 pm    Post subject:    Post Rating: 0 Reply with quote

hmmm interesting... hey are you also automatically generating sample .avi files? and it looks like it takes about 5 hrs for it to hardsub + resize?
Back to top
View user's profile Visit poster's website 
bololo77Offline
Joined: 06 Apr 2005
Total posts: 9
Gender: Unknown
PostPosted: Thu Aug 30, 2007 4:17 pm    Post subject:    Post Rating: 0 Reply with quote

Hello,

to akumax: no, at this moment there is no option for making sample avifiles, but that is easy to establish. But i cant see any use atm.
The long compression time is because i use 2pass and highest quality settings. Feel free to adjust the encoding Strings. Smile

@eli2k:
if you explain me the rules i maybe add an special option for encoding.
For my experience, a video bitrate of about 950KB/s produces a very nice videoquality, so all filesizes are calculated to be as near as possible to establish a videobitrate about 950KB/s

There are
350MB: half a CD
450MB: produce puffer for DVD
700MB: full CD
1400MB: 2 CDs

I realized the 450MB puffer because my old DVDs begin to become unreadable at the outer rings.
I burned those old DVDs completely full, so i suffer a massive loose of data.
Thats why i only burn DVDs 80-90% full. If i use my tool to compress a standart dorama of 11 episodes, 10 episodes at 350 and usually one longer episode at 450 or 700 i get a safe dvd.

if my tool does not know what to do, eg the episode are too small or too large, it just sets the videobitrate to 946KB/s. As i burn everything on DVD thats a nice solution (i think).
Back to top
View user's profile Visit poster's website 
InTr4nceWeTrustOffline
Avatar

Moderator
Joined: 31 Jan 2006
Total posts: 837
Location: Mission Viejo, California
Age: 21
Gender: Male
PostPosted: Thu Aug 30, 2007 4:19 pm    Post subject:    Post Rating: 0 Reply with quote

I took a quick look at the code, seems clean enough. What codec is it setting it to? and how many passes?

edit: oh, didn't see your post. you posted while i was typing mine ~_~ and on the codec, i'm assuming xvid?

_________________
...
_________________
ありません
Back to top
View user's profile 
bololo77Offline
Joined: 06 Apr 2005
Total posts: 9
Gender: Unknown
PostPosted: Thu Aug 30, 2007 4:25 pm    Post subject:    Post Rating: 0 Reply with quote

Its 2pass DivX and 96KB/s MP3.
Global motion searching and quarters enabled, aswell as an optimized h262 matrix.

But you can the change settings as you wish in the advanced compression options.
Just create your own CLI String and break at bitrate and then copy n paste to my software.
Back to top
View user's profile Visit poster's website 
InTr4nceWeTrustOffline
Avatar

Moderator
Joined: 31 Jan 2006
Total posts: 837
Location: Mission Viejo, California
Age: 21
Gender: Male
PostPosted: Thu Aug 30, 2007 4:26 pm    Post subject:    Post Rating: 0 Reply with quote

oh allrihgty. you may want to add a codec slection option if you decide to make another release later on.

_________________
...
_________________
ありません
Back to top
View user's profile 
bololo77Offline
Joined: 06 Apr 2005
Total posts: 9
Gender: Unknown
PostPosted: Thu Aug 30, 2007 4:35 pm    Post subject:    Post Rating: 0 Reply with quote

Well, to be honest, i am not that good programmer. It costed alot of ressources (time and coffee) to realize this piece of software. I had a quick look into the fourcc library but it looks very complicated.
VERY complicated. I am not sure if i can understand that enough to make a codecselection.
Back to top
View user's profile Visit poster's website 
InTr4nceWeTrustOffline
Avatar

Moderator
Joined: 31 Jan 2006
Total posts: 837
Location: Mission Viejo, California
Age: 21
Gender: Male
PostPosted: Thu Aug 30, 2007 4:37 pm    Post subject:    Post Rating: 0 Reply with quote

ahhh, no worries there. i'm almost certain i'm worse at programming.

_________________
...
_________________
ありません
Back to top
View user's profile 
Display posts from previous:   
Reply to topic    D-Addicts Forum Index -> Tech Discussion All times are GMT - 1 Hours
Page 1 of 1
Jump to:  
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum