Welcome, Guest. Please login or register.

Author Topic: I got the first episode of ren and stimpy converted to Amiga  (Read 7314 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigaClassicRuleTopic starter

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 956
    • Show only replies by AmigaClassicRule
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #29 from previous page: December 31, 2012, 07:18:35 AM »
Quote from: amiman99;720774
Ok, I think I found something.
Use this filter called "Error diffusion" found here: http://whitewing.co.uk/vdub_errdiff.html
I was pretty happy with the output with a cartoon I had on my HD, the movie looked like a HAM animation considering the limitations on HAM, and much better then the dithering option included in HV converter.
I also use directshow plugin, so you can open any file, if you have correct codecs installed on your PC: http://forum.videohelp.com/threads/286901-VirtualDub-Now-Has-a-Directshow-Driver-Plugin
 
The HV files are quite big 200MB for 4 min video, but is fun making it.

Thank you so much for your help and providing me links as well :)
 
I am curious you said for 4 minutes it would become 200 MB does that mean if the movie is 60 minutes long it will become 12 GB? So if I have a movie that is 2 hours long it will become 24 GB? So in away, this process will turn a normal DVD movie as a blue ray movie for Amiga (but it is not) in terms of size?
 
I am going to use your method now for my third ren and stimpy and I am hoping the quality will be improving dramatically. I also have laurel and hardy tv show (black and quite) but the sound is not stereo quality so for those movies I will make the sound mono to shrink the size of the file a little bit. That means classic Amiga users get to enjoy seeing their power LED dimmed or turned off for certain shows/movies hehe.
 
Concerning the size of the movie I am ok with that but the person who is going to download them from me have to be willing to download large files to watch those movies or tv shows in their Amiga.
 

Offline amiman99

Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #30 on: December 31, 2012, 05:34:57 PM »
If you want to distribute your movies, try to compress them with zip. I was able to shrink the movie from 270MB to 85M zipped.
Don't try to unzip them in your Amiga, it took me 40 min to unzip that file on 68030 50MHz.
There is also AGA HAM8 version of the HV converter, but it seems alot slower playback then the original HAM6.
A500 KS 2.1, 1MB Chip, 68000
A600 KS 3.1, 2MB Chip, ACA630 32MB RAM
A1000 KS 1.3, 8MB RAM
A1200 KS 3.1, Blizzard IV 50MHz 64MB RAM
A2000 KS 2.1, 68030 25MHz, 6MB RAM
A3000 KS 3.1, 68030 25MHz, 16MB RAM
A4000 KS 3.0, 68040 25MHz, 16MB RAM
CDTV KS 3.1, 4MB RAM
CD32
(AROS BOX) Dead :(
 

Offline AmigaClassicRuleTopic starter

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 956
    • Show only replies by AmigaClassicRule
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #31 on: December 31, 2012, 05:58:33 PM »
Quote from: amiman99;720803
If you want to distribute your movies, try to compress them with zip. I was able to shrink the movie from 270MB to 85M zipped.
Don't try to unzip them in your Amiga, it took me 40 min to unzip that file on 68030 50MHz.
There is also AGA HAM8 version of the HV converter, but it seems alot slower playback then the original HAM6.

No, no, I will stick with HAM6 it looks pretty good enough for me :)
 

Offline AmigaClassicRuleTopic starter

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 956
    • Show only replies by AmigaClassicRule
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #32 on: December 31, 2012, 08:37:26 PM »
Quote from: amiman99;720774
Ok, I think I found something.
Use this filter called "Error diffusion" found here: http://whitewing.co.uk/vdub_errdiff.html
I was pretty happy with the output with a cartoon I had on my HD, the movie looked like a HAM animation considering the limitations on HAM, and much better then the dithering option included in HV converter.
I also use directshow plugin, so you can open any file, if you have correct codecs installed on your PC: http://forum.videohelp.com/threads/286901-VirtualDub-Now-Has-a-Directshow-Driver-Plugin

The HV files are quite big 200MB for 4 min video, but is fun making it.


By the way I wanted to thank you so much for these links. Now my quality of my movie HAVE IMPROVED SOOOOOO MUCH better than before!!!!

It is actually now enjoyable watching the videos :)
 

Offline DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show only replies by DamageX
    • http://www.hyakushiki.net/
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #33 on: January 01, 2013, 04:10:14 AM »
Quote
I am curious you said for 4 minutes it would become 200 MB does that mean if the movie is 60 minutes long it will become 12 GB? So if I have a movie that is 2 hours long it will become 24 GB?

should be more like 6GB, not 24
Quote from: AmigaClassicRule;720772
Are you the author of the program?

yes!
 

Offline AmigaClassicRuleTopic starter

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 956
    • Show only replies by AmigaClassicRule
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #34 on: January 01, 2013, 05:23:03 AM »
Quote from: DamageX;720840
should be more like 6GB, not 24

yes!

As you can see I am a programmer myself :) (I even made an Amiga classic game and working on making a new one) I was wondering if you can fix it please so it can accept decimal or float! By doing that you would make movie conversion perfect AND solve all my problem...please??
 

Offline Paulie85

  • Full Member
  • ***
  • Join Date: Dec 2009
  • Posts: 146
  • Country: 00
    • Show only replies by Paulie85
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #35 on: January 01, 2013, 10:58:47 AM »
Quote from: DamageX;720840
Are you the author of the program?

yes!


Is there any way you could modify the program to use the same dithering process used by HAM32k? that would look amazing for movies.
 

Offline Thorham

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1150
    • Show only replies by Thorham
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #36 on: January 01, 2013, 11:17:45 AM »
Quote from: Paulie85;720852
Is there any way you could modify the program to use the same dithering process used by HAM32k? that would look amazing for movies.

Not going to work, because that method needs twice the amount of data per frame.
 

Offline Paulie85

  • Full Member
  • ***
  • Join Date: Dec 2009
  • Posts: 146
  • Country: 00
    • Show only replies by Paulie85
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #37 on: January 01, 2013, 02:11:06 PM »
Quote from: Thorham;720854
Not going to work, because that method needs twice the amount of data per frame.


Really? Why is that? As I understand, it utilizes a standard interlaced HAM screen. What are the implications of needing more data per frame?
 

Offline Thorham

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1150
    • Show only replies by Thorham
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #38 on: January 01, 2013, 10:50:04 PM »
Quote from: Paulie85;720869
As I understand, it utilizes a standard interlaced HAM screen. What are the implications of needing more data per frame?
It does use interlace. It duplicates each line of pixels in the image, and the duplicate line is slightly altered to cause the dithering effect.

While not literally impossible, it doubles the bandwidth needed to play the video. This will result in either the low end Amigas not being able to play the video properly, or the user having to make very low frame rate videos.

It's a pity, because that HAM32K program works quite well.
 

Offline amiman99

Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #39 on: January 02, 2013, 01:39:56 AM »
Quote from: AmigaClassicRule;720822
By the way I wanted to thank you so much for these links. Now my quality of my movie HAVE IMPROVED SOOOOOO MUCH better than before!!!!

It is actually now enjoyable watching the videos :)
No problem, at first I wasn't too happy with the quality, but with this filter, it made videos look much better.
I'm still looking for another filter that reduces the colors that could be perfect for cartoons.
A500 KS 2.1, 1MB Chip, 68000
A600 KS 3.1, 2MB Chip, ACA630 32MB RAM
A1000 KS 1.3, 8MB RAM
A1200 KS 3.1, Blizzard IV 50MHz 64MB RAM
A2000 KS 2.1, 68030 25MHz, 6MB RAM
A3000 KS 3.1, 68030 25MHz, 16MB RAM
A4000 KS 3.0, 68040 25MHz, 16MB RAM
CDTV KS 3.1, 4MB RAM
CD32
(AROS BOX) Dead :(
 

Offline DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show only replies by DamageX
    • http://www.hyakushiki.net/
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #40 on: January 02, 2013, 02:48:40 AM »
Quote from: AmigaClassicRule;720842
As you can see I am a programmer myself :) (I even made an Amiga classic game and working on making a new one) I was wondering if you can fix it please so it can accept decimal or float! By doing that you would make movie conversion perfect AND solve all my problem...please??

Well, I changed it to be more accurate. But because it uses a fixed number of audio samples to go with each frame there can still be problems. In the AVI file, video timing is given as microseconds per frame, and audio timing is (integer) samples per second. This needs to be turned into an even number of audio bytes for Paula to playback. If microseconds * samplerate is exactly divisible by 2000000 then the relative timing will be exactly right. If not, audio and video will gradually diverge.

link to update: http://www.hyakushiki.net/junk/avi4hv.zip
 

Offline AmigaClassicRuleTopic starter

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 956
    • Show only replies by AmigaClassicRule
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #41 on: January 02, 2013, 05:53:16 PM »
Quote from: DamageX;720960
Well, I changed it to be more accurate. But because it uses a fixed number of audio samples to go with each frame there can still be problems. In the AVI file, video timing is given as microseconds per frame, and audio timing is (integer) samples per second. This needs to be turned into an even number of audio bytes for Paula to playback. If microseconds * samplerate is exactly divisible by 2000000 then the relative timing will be exactly right. If not, audio and video will gradually diverge.

link to update: http://www.hyakushiki.net/junk/avi4hv.zip

You are right about that. Eventually video and audio start to be apart as it kept playing...at first it was 100% then the longer the video playing it became gradually the difference between audio and video more apparent. The show was only 11 minute...so if it was a long movie it could be possible it would worsen in difference between audio and video. THE QUALITY of my fourth ren and stimpy is superb, the audio quality is also superb and the conversion is way faster and better allowing me to convert 10 tv shows or movies in one night instead of the old ways where I was only able to do one tv show for a whole complete day. However, there is still the issue with audio and video timing problem as you indicated.

Do you have any advice to resolve this issue? I would like to redo ren and stimpy the fourth one without having this problem with audio and video going out of synch gradually.
 

Offline DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show only replies by DamageX
    • http://www.hyakushiki.net/
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #42 on: January 02, 2013, 06:29:19 PM »
I would try using 16fps and 16000hz audio. Or 20fps and 20000hz, or 25fps and 12500hz, etc.

25fps=40000us
*12500hz=500,000,000
which divides evenly by 2000000 so I think it will stay in sync (but I have not tested super long videos due to lack of disk space on my laptop...)
 

Offline AmigaClassicRuleTopic starter

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 956
    • Show only replies by AmigaClassicRule
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #43 on: January 02, 2013, 06:42:44 PM »
Quote from: DamageX;721050
I would try using 16fps and 16000hz audio. Or 20fps and 20000hz, or 25fps and 12500hz, etc.

25fps=40000us
*12500hz=500,000,000
which divides evenly by 2000000 so I think it will stay in sync (but I have not tested super long videos due to lack of disk space on my laptop...)

I just want to confirm...is it 12500 or 125000? I am doing it again now with the setting of 12500 and 25 fps. If this goes well if this actually works...WOW you have literally helped me solve all my problem. With these settings I can finish my work :)


IT WORKS!! IT WORKS!! YOU ARE A WALKING GENIUS MAN, WALKING GENIUS!! You did it!!! It says video/audio timing accuracy: 100% Now I can do it FOR ALL MY VIDEOS and never worry again!! I am going to do 5 ren and stimpies in one shot converting!! :) Ones these are finished I will upload my work on a rar file for download here..so people can start enjoy watching them..sorry for the old ones they where my first attempt so the quality and timing accuracy is not as good as the newer ones..but hey..I learned from my mistakes and worked in optimizing my work, that's thanks to DamageX and for the rest of the people helping me achieve my goal. Thank you guys for everything!


UPDATED NOTE:

Sorry, I was wrong :( it did not work. It showed in the avi4hv conversion that they are matched and timed 100% when I played it on the hamp.run on the actual Amiga there is like 20 seconds difference between video and audio. Just to give you a heads up the original fps of the video before I slowed it down was was 29.970 fps and I changed it to 25.0000. By doing that the video is way, way, way slower than the audio ones I run it on ren.hv on the Amiga side. What if I wanted to keep it as 29.970 fps what would be then the audio side to match it with that fps or what recommendation you have? :)
« Last Edit: January 02, 2013, 07:14:09 PM by AmigaClassicRule »
 

Offline DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show only replies by DamageX
    • http://www.hyakushiki.net/
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #44 on: January 03, 2013, 05:36:41 AM »
Quote from: AmigaClassicRule;721052
I slowed it down was was 29.970 fps and I changed it to 25.0000. By doing that the video is way, way, way slower

yeah you don`t want to slow it down but rather add or remove frames to achieve the desired rate, make sure you are using the right option in virtualdub

For 29.97fps you can try resampling the audio to 11988hz. It should be close enough that it would only lose 1 second at the end of a video that is 30 hours long ;)