Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Needed Help (sampling Rate In Sound), Different Sampling Rate in Sound
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
iCy-fLaME
  Posted: Aug 25 2002, 11:01 AM


Unregistered









Wanna append two video together, they used the same Codec the same bit rate, the same sampling rate for everything.

However, the Video is alright, but the Audio does not seem worked out.

Cannot append segment: The audio streams have different sampling rates (6000.00000 vs. 5972.00000)

So, needed more advise on this... anyone out there can help?

PS: it is total 5 hours video; I guess I don't have enough disk space to store the Audio in Uncompress form.
PCM 44.1kHz, 16bit, mono => 86 KB/s
5 hours = 19800 Sec => 1.663 GB


Video Codec: DivX 5.0.2 Pro 1-pass Q=80%
Audio Codec: FHG MP3 pro 44.1 kHz mono 48kbps


Thanks very much
 
  Top
BaronVlad
Posted: Aug 25 2002, 01:13 PM


Terrorhörnchen


Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02



Thats funny, Christian ! by searching another forum for the answer I found a very good explanation, now guess you wrote it ??? biggrin.gif : I just do copy and paste:

QUOTE
Originally posted by ChristianHJW
1st : you can only append the two files if video settings ( resolution, framerate, etc. are exactly the same, irrespective of what vdub is saying now .... it may happen you fix the audio and Vdub will complain about video not being the same then

2nd : Only way i could think of to get the audio be the same is to
- extract both sound streams to WAV files
- resample one of them to be same sampling rate as the other
- merge both WAVs to one big WAV containing complete sound of movie in Cooledit
- reencode the WAV to MP3 or whatever
- mux the new MP3 file with the ( merged ) video files

To test if it makes sense i would do the following :

Open both AVIs in Virtualdub. Set 'video' to 'Direct Stream Copy'. Set 'audio' to 'no audio'. Save both as new AVIs with new name like 'moviexyz_videoonly.avi'.

Open 1st and try to append 2nd. As there is no sound with them now this is the easiest way to find out if Vdub can merge the video streams. If it cant ..... save your time and do something else ...


But the easiest way could be the tool "AviUtil" You can find it by searching google or at doom9.org. It often joines avis, that VDub and Nandub dont !



--------------------
Hochachtungsvoll

BaronVlad

user posted image

Deutsch >> Capture FAQ - Capture Guide
Englisch >> Capture FAQ - Capture Guide
 
    Top
iCy-fLaME
  Posted: Aug 31 2002, 09:24 PM


Unregistered









Thanks very much for your reply smile.gifsmile.gif . Althought the prob. havent been solved yet ( huh.gif You must be very good at Japanese, everything about AviUtil are in Japanese.. sad.gif blink.gif I gotta spend sometimes to learn Japanese first.)

I actually tried to re-encoded the 2nd part of my Audio to be the same bit-rate with V-Dub, as I said above... However, that 0.5% bitrate is what doesn't work out. mad.gif wacko.gif

PS: I used to have the same prob. with the Video Stream as well, but I fixed it by shorter the Audio stream in Frame scale to make the Video frame rate excatally (< 0.001%) the same. But I have no clue how to make the Audio stream works.

This is what I have done: unsure.gif

- Remove the audio from AVI file.
- Make whatever audio file length = Total Video Frame / Frame rate
- merge the A & V stream, and use V-Dub to change the Video frame rate automatically
- Remove the Audio stream again
- Merge the original Audio stream with the Video
- Try to append two AVIs (But doesnt work, with Audio sampling rate Prob.)
 
  Top
iCy-fLaME
  Posted: Aug 31 2002, 10:23 PM


Unregistered









No needed to Learn Japanese now, just found a English Interface for AviUtil.

If any of you are interested in it, you can get it here: (My own web space)

http://www.geocities.com/charley_sec/share...8d_JP_CN_EN.zip
 
  Top
the_bugger
  Posted: Sep 15 2002, 07:59 AM


Unregistered









I tried the AviUtl. It always comes out Error while batch processing.
Any idea why?
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
4 replies since Aug 25 2002, 11:01 AM Track this topic | Email this topic | Print this topic

<< Back to Newbie Questions