POV-Ray : Newsgroups : povray.binaries.animations : MPEG with sound Server Time
2 May 2024 17:25:02 EDT (-0400)
  MPEG with sound (Message 1 to 3 of 3)  
From: alphaQuad
Subject: MPEG with sound
Date: 23 Aug 2009 19:25:01
Message: <web.4a91cf31e9fe37425c4890ca0@news.povray.org>
Seems I had bmp2avi v1.04. Adding sound failed until I found v1.2

http://www.freeconverter.org/old_dos_win_converters.php
"
bmp2avi v1.2
avi2mpg v1.11
"
still no post-scene fix on Vista that I know of (good thing I don't use it)

working batchfile:
bmp2avi.exe -i mtv -o mtvsndh -w hello.wav
avi2mpg1.exe -e mtvsndh.avi mtv_hello


using "mtv_hello.m1v" instead of nothing or ".mpg"
fails for sound. apparently incorrect suffix is not allowed

sound length doesn't have to be perfect
-e
fake using last frame, bad audio replaced with zero data.

0-30, 31 frames =
2.66 seconds of video according to windows properties on the avi file
0.695 seconds of sound according to wav editor


..par not used but tested. works.

MMX    capable CPU detected, using MMX extensions.
3DNow! capable CPU detected, using 3DNow! extensions.
mtvsndh.avi file details:
Width = 320, Height = 240, FPS = 15.00, Bits per pixel = 24
Total Video Frames = 31, Length = 2 sec.
Audio Channels = 1, Sample rate = 11.025 KHz, bits per sample = 8
encoding video stream to mtv_hello.m1v using bitrate of 958464:
Source FPS of 15 will be upsampled to 30 FPS, New total frames = 61
*** WARNING: VBV_BUFFER OVERFLOWED 3 TIMES.
video encoding complete, elapsed time = 7 seconds
average seconds per frame = 0.113
encoding audio stream to mtv_hello.mp2 using bitrate of 131072:
audio stream encoding complete.
multiplexing video and audio streams to mtv_hello.mpg:
scanning Video stream for access units information.
Got 61 picture headers. 98%
Scanning Audio stream for access units information.
Got 27 frame headers. 96%
multiplexing complete.
deleting temporary video and audio files.


Post a reply to this message


Attachments:
Download 'mtv_hello.mpg' (258 KB)

From: alphaQuad
Subject: Re: MPEG with sound
Date: 23 Aug 2009 21:00:02
Message: <web.4a91e4e7d10b8a0d5c4890ca0@news.povray.org>
um this one was made with avi2mpg v1.4 with frame one copied to last, for effect
in instances where player stops at last frame, unlike like media player.

so there's at least 2 working versions, 1.11 and 1.4
(just noticed)


Post a reply to this message


Attachments:
Download 'mtv_hello.mpg' (284 KB)

From: alphaQuad
Subject: Re: MPEG with sound
Date: 24 Aug 2009 14:00:01
Message: <web.4a92d461d10b8a0d5c4890ca0@news.povray.org>
Dont try to composite png to bmp. It works until bmp2avi gets hold of the bmps -

composite bmps and 3d avi works


Post a reply to this message


Attachments:
Download 'image1.png' (228 KB)

Preview of image 'image1.png'
image1.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.