Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st November 2004, 23:38   #1  |  Link
postme
Registered User
 
Join Date: Feb 2004
Location: The Netherlands
Posts: 11
Slow audio after converting NTCS2pal

Hi there,

This is a audio question about avi2svcd coverting

Since i can't play the NTCS format on my TV i want to convert NTSC to PAL.

I've done it before without any problems everything went o.k.

But now i encounter a problem with the audio on the SVCD...it sounds like a slow record while in sync with the video part.

I can't figure out what i am doing wrong, since i've done it before

It could be because i've been playing with the settings in avi2svcd?

I've checked the settings in BeSweet and als seems ok, framerates are like they should be...

Here is the log file made by BeSweet:

BeSweet v1.5b26 by DSPguru.
--------------------------
Using Shibatch.dll v0.24 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.

Logging start : 10/29/04 , 13:16:24.

C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input D:\04 Video\Encoded_audio_1.mp2.wav -output D:\04VIDE~1\Encoded_audio_1.mp2 -logfile D:\04VIDE~1\Encoded_audio_1.log ) -ota( -g max -r 29970 25000 ) -shibatch( --rate 44100 ) -2lame( -e -b 128 -m d )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\04 Video\Encoded_audio_1.mp2.wav
[00:00:00:000] | Output: D:\04VIDE~1\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Overall Track Gain: 17.245dB
[00:00:00:000] | Source Sample-Rate: 44.1KHz
[00:00:00:000] +-------- FRC --------
[00:00:00:000] | Source Frame-Rate: 29970
[00:00:00:000] | Dest. Frame-Rate: 25000
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 128
[00:00:00:000] | Channels Mode : Dual Channel
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[00:01:34:981] Conversion Completed !
[00:01:34:981] Actual Avg. Bitrate : 153kbps
[00:00:10:000] <-- Transcoding Duration

Logging ends : 10/29/04 , 13:16:34.




Help would be much appreciated....

I am looking forward to your reply's

Respect, Postme

Last edited by postme; 1st November 2004 at 23:41.
postme is offline   Reply With Quote
Old 2nd November 2004, 23:36   #2  |  Link
Matthew
jdgljlfljg
 
Join Date: Jan 2002
Location: Tony Abbott's electorate
Posts: 1,393
Typically when you convert an NTSC movie to PAL it will actually be a 23.976->25 fps switch, which is fine (~4 percent speedup). That's because generally NTSC movies are actually just 23.976 fps with 2:3 pulldown flags. So the avi is 23.976 fps.

However, if the movie is "true" NTSC, i.e. 29.97 fps, then the conversion is actually 29.97->25 fps. This amounts to a slowdown of over 16 percent. That's not acceptable.

If the avi is really 29.97 fps then for NTSC->PAL conversion you have to look into doing things to the video stream in order to reduce the number of frames e.g. IVTC to 23.976, or some sort of decimate. Can't help you with the specifics of that as I've never done it
Matthew is offline   Reply With Quote
Old 7th November 2004, 12:14   #3  |  Link
postme
Registered User
 
Join Date: Feb 2004
Location: The Netherlands
Posts: 11
Quote:
Originally posted by Matthew
Typically when you convert an NTSC movie to PAL it will actually be a 23.976->25 fps switch, which is fine (~4 percent speedup). That's because generally NTSC movies are actually just 23.976 fps with 2:3 pulldown flags. So the avi is 23.976 fps.

However, if the movie is "true" NTSC, i.e. 29.97 fps, then the conversion is actually 29.97->25 fps. This amounts to a slowdown of over 16 percent. That's not acceptable.

If the avi is really 29.97 fps then for NTSC->PAL conversion you have to look into doing things to the video stream in order to reduce the number of frames e.g. IVTC to 23.976, or some sort of decimate. Can't help you with the specifics of that as I've never done it
Thanks Matthew for your answer, is there any one out there that has done this type of conversione before ? If so, please reply and show me the secrets ;-)

Would be much appreciated....sorry for my bad english

Ciao
postme is offline   Reply With Quote
Old 7th November 2004, 14:27   #4  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
You probably have a crappy source which cannot be saved.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 14th November 2004, 13:45   #5  |  Link
postme
Registered User
 
Join Date: Feb 2004
Location: The Netherlands
Posts: 11
Got the answer

All a y'all thanks for the reply's

I've found the answer, it's in the true NTSC framerate wich has a too big gap for converting to PAL.

Seems tha i've to skip converting movis to PAL with a to high frame rate.

Ciao'

Postme
postme is offline   Reply With Quote
Old 21st November 2004, 04:29   #6  |  Link
CompShrink
Registered User
 
Join Date: Mar 2004
Posts: 5
It's a very easy solution, simply use VirtualDub with 3:2 pulldown removal, liek one fot he previous posts suggested. I have actually done this to reduce framerate, not to convert to PAL, but it should work for that as well.

In virtual dub, open the video that has the 29.9 framerate, on the menu bar tgo to Video > frame rate then 3 are 3 main sections, change the framerate, decimation, and the 3rd and bottom-most one is 3:2 pulldown removal. chose the "addaptive" one.

YOu need ot make sure it is in full processing mode for the video (int he menu Video > Full processing mode). Also, go to Video > compression and choose a codec. I'd suggest just using Divx or Xvid with an ungodly large bitrate so you lose very little quality.

The result is an AVI with 23.9 framerate you want, well synced audio with no pitch or tone change. Then use the normal method to convert to PAL.

Good luck!
CompShrink is offline   Reply With Quote
Old 21st November 2004, 09:35   #7  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
That would work only for telecined sources as that process is called inverse telecining. If the stream is truly interlaced at 29.97fps or deinterlaced at 29.97fps, it will produce massive jerkiness.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 21st November 2004, 11:55   #8  |  Link
CompShrink
Registered User
 
Join Date: Mar 2004
Posts: 5
I have only used this a couple times, for a friend who had an old computer that couldn't keep up with the high bitrate and 29.9 fps of the videos very well. At least for the files I had, which were not telecined, there was only slight jerkyness, which was almost unnoticable when shown on TV.

It's worth a shot. I don't see any other suggestions being offered.
CompShrink is offline   Reply With Quote
Old 25th November 2004, 19:40   #9  |  Link
ethereal
Registered User
 
Join Date: Apr 2003
Posts: 21
if you convert the video from 29.976 to 25000 using a frameserver script you can use the original audio as the video length will not change.

i have done this dozens of times and i think this is a very good solution.

here is the script i use -

LoadPlugin("mpeg2dec.dll")
LoadPlugin("SmoothDeinterlacer.dll")
MPEG2Source("D:\DVD2DVD\LH1D3\Video\EP2\ep2.d2v")
SeparateFields() # splits each frame into its component fields
Weave() # takes pairs of fields from the input video clip and combines them together to produce interlaced frames
SmoothDeinterlace(doublerate=true) # this is a smoothdeinterlace function NTSC2PAL_DVD
ConvertFPS(50) # or ChangeFPS(50)
LanczosResize(720,576) # alternative to BicubicResize, offers better quality
SeparateFields()
SelectEvery(4,1,2) # this the end of the smoothdeinterlace function NTSC2PAL_DVD
Weave()
ConvertToRGB()
ethereal is offline   Reply With Quote
Old 26th November 2004, 00:21   #10  |  Link
postme
Registered User
 
Join Date: Feb 2004
Location: The Netherlands
Posts: 11
Quote:
Originally posted by ethereal
if you convert the video from 29.976 to 25000 using a frameserver script you can use the original audio as the video length will not change.

i have done this dozens of times and i think this is a very good solution.

here is the script i use -

LoadPlugin("mpeg2dec.dll")
LoadPlugin("SmoothDeinterlacer.dll")
MPEG2Source("D:\DVD2DVD\LH1D3\Video\EP2\ep2.d2v")
SeparateFields() # splits each frame into its component fields
Weave() # takes pairs of fields from the input video clip and combines them together to produce interlaced frames
SmoothDeinterlace(doublerate=true) # this is a smoothdeinterlace function NTSC2PAL_DVD
ConvertFPS(50) # or ChangeFPS(50)
LanczosResize(720,576) # alternative to BicubicResize, offers better quality
SeparateFields()
SelectEvery(4,1,2) # this the end of the smoothdeinterlace function NTSC2PAL_DVD
Weave()
ConvertToRGB()
Can i use this script with my source file? It's an Xvid file...
I guess this script is for avisynth.

I am still trying to figure it out within avi2svcd with a skvcd as output file.

In the meantime i got help from some one giving me the Canopus Procoder app, and it does the job quite well...but hey there's no challange in that ;-)

BTW It's nice to notice people wanting to help me...thanx
postme is offline   Reply With Quote
Old 26th November 2004, 09:35   #11  |  Link
ethereal
Registered User
 
Join Date: Apr 2003
Posts: 21
hello postme.

yes the script is for avisynth. sorry i wasn't very clear.

i got this fron the avisynth website - AviSource("d:\capture.avi")
replace the MPEG2Source line with the line above (change the path and file name to match your needs :-) )

you'll have to change the LanczosResize(720,576) as well as this is for dvd you'll need to enter the figures for vcd/scvd

avisynth seems a bit complicated (and i am but a newbie) but once you have made your avs script you can drop it in to a media player (media player classic works) and if the player gives you an acceptable output the encode should go okay. if you get an error message there is something wrong with your script. it saves a lot of encoding time when you are just learning. if you do a lot of the same type of encode (e.g. i convert little house on the prarie ntsc(29.976) dvds in to pal(25) dvds for my gran) you can re-use the same script all you need to do is edit the path
ethereal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.