Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show all replies
    • http://www.hyakushiki.net/
Re: I got the first episode of ren and stimpy converted to Amiga
« on: December 31, 2012, 06:15:50 AM »
Quote from: AmigaClassicRule;720750
Now I just wish the actual program avi4hv itself does use float instead of int when it comes to fps.

Now that you mention it, that is pretty dumb. Oops!
 

Offline DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show all replies
    • http://www.hyakushiki.net/
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #1 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 DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show all replies
    • http://www.hyakushiki.net/
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #2 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 DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show all replies
    • http://www.hyakushiki.net/
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #3 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 DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show all replies
    • http://www.hyakushiki.net/
Re: I got the first episode of ren and stimpy converted to Amiga
« Reply #4 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 ;)