Quantcast KVCD: Frame Rate Conversion? - digitalFAQ.com Forums [Archives]
  #1  
02-14-2003, 03:56 AM
serrabastien serrabastien is offline
Free Member
 
Join Date: Sep 2002
Location: France, Lille
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Hi all,

i would like to convert some divx to kvcd but i have one question concerning the frame rate. My dvd player is a PAL version so i think i have to convert the frame rate to 25fps. How do you do that ?

I've made one try : the frame rate of the divx was 23,976. Then before encoding i've changed the destination frame rate to 25 to match with PAL standard. But the final mpg appears to have one "artificial" frame inserted each second (which sounds logical in fact) . It's a bit irritating !!!

Please help !!!

Thx
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
02-14-2003, 04:11 AM
Fiz Fiz is offline
Free Member
 
Join Date: Jan 2003
Location: London, UK
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Z

You should find that your player will still play NTSC KVCD movies so there should be no need to convert the framerate! Most players have support for both PAL and NTSC (as part of the VCD 2.0 standard).
If it shows black and white, use the s-video out or RGB scart output to your TV.

If you are still not convinced it works then you can use the AssumpeFPS function in Avisynth.

The command is:

AssumpeFps(25)

just below your AviSource line. Then encode as PAL in TMegEnc. You need to ensure your audio is sped up slightly as well.

Cheers.
__________________
Fizzy Wizzy Lets get Bizzy!
Reply With Quote
  #3  
02-14-2003, 04:23 AM
serrabastien serrabastien is offline
Free Member
 
Join Date: Sep 2002
Location: France, Lille
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
thx, i'll try in NTSC.
But in that case i must use NTSC picture format i think (480x480 not 480x576 for example).

Does the assumeFPS fonction give good results (no jeerky picture) ?
Reply With Quote
  #4  
02-14-2003, 05:17 AM
Fiz Fiz is offline
Free Member
 
Join Date: Jan 2003
Location: London, UK
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Z
But in that case i must use NTSC picture format i think (480x480 not 480x576 for example).
Thats correct. I've never actually tried mixing resolutions with video formats but better to be safe!

Quote:
Originally Posted by Z
Does the assumeFPS fonction give good results (no jeerky picture) ?
It should be smooth as it speeds the movie up slightly to make 25fps instead of 23.976. The audio frame rate also needs to be converted.
__________________
Fizzy Wizzy Lets get Bizzy!
Reply With Quote
  #5  
02-14-2003, 05:21 AM
serrabastien serrabastien is offline
Free Member
 
Join Date: Sep 2002
Location: France, Lille
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Z
[...] The audio frame rate also needs to be converted.
How ?
Reply With Quote
  #6  
02-14-2003, 06:14 AM
Fiz Fiz is offline
Free Member
 
Join Date: Jan 2003
Location: London, UK
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Download BeSweet and BeSweet GUI (you can grab it from Doom9.org). Its an audio format converter like HeadAc3he and has the option to change the frame rate for the audio.

The other option if your divx source has mp3 audio, you could try this. Add the line "EnsureVBRMP3Sync()" after the line for AssumeFPS.

e.g.
AviSource("c:\myfile.avi")
AssumeFPS(25)
EnsureVBRMP3Sync()

Load the AVS into Virutal Dub. Extract the audio (it will save as WAV format and will be quite large!) Use Headac3he as normal to convert WAV to MP2. I haven't ever done this myself but it's worth a try. Whats life without experimenting
__________________
Fizzy Wizzy Lets get Bizzy!
Reply With Quote
  #7  
02-14-2003, 09:00 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
I don't think EnsureVBRMP3Sync() will speed up the audio just like BeSweet... I think it's for the purpose to keep audio in sync when encoding from VBR MP3 to constant bitrate.
__________________
j3llyG0053
Reply With Quote
  #8  
02-14-2003, 09:20 AM
Fiz Fiz is offline
Free Member
 
Join Date: Jan 2003
Location: London, UK
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Jellygoose
I don't think EnsureVBRMP3Sync() will speed up the audio just like BeSweet... I think it's for the purpose to keep audio in sync when encoding from VBR MP3 to constant bitrate.
Jellygoose, I agree, but ... EnsureVBRMP3Sync() is also used for CBR mp3s when the the trim function is used to maintain sync with the video. I was just wondering if it can keep the audio in sync with video even if it the video was sped up. (Thinking about it, maybe it should be before the Assumefps() statement.) I'm pretty certain it won't work, but it was just a thought.

BeSweet will definitely do it though.
__________________
Fizzy Wizzy Lets get Bizzy!
Reply With Quote
  #9  
02-16-2003, 01:58 PM
Gaudi Gaudi is offline
Free Member
 
Join Date: Dec 2002
Location: Buenos Aires, Argentina
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Gaudi
Quote:
Originally Posted by 'Z
Quote:
Originally Posted by Z
[...] The audio frame rate also needs to be converted.
How ?
Well, I have been using this technique to convert from PAL movies into a NTSC KVCDx3.
Use the AssumeFPS() filter to change the video stream playback rate. And then, extract the audio with VirtualDub as mp3 (or anything else) and use this command for BeSweet encoding. It will do a flawless length conversion.
Using this my movies ALWAYS keep in sync:
  • BeSweet.exe -core( -input "YourInputFile.mp3" -output "YourOutputFile.mp2" -logfile audio.log ) -ota( -g max -r 25000 23976 -shibatch( --rate 44100 ) ) -2lame( -e -b 128 -m s )

Note the bold part, that is the command that perform the FPS conversion for the audio file. You can change all other options as you like so as to encode to different samplerate, etc.
Remember that the pitch will change a little (no matter if going from 23.976 to 25 or the other way round, but will be noticeable if the difference is bigger).


Gaudi
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Let's solve the frame rate conversion problem! fabiana Video Encoding and Conversion 5 03-12-2004 06:28 PM
kvcd: Tok cannot understand the frame rate? Evangelion-01 Video Encoding and Conversion 2 06-08-2003 10:12 AM
KVCD: NTSC frame rate? bandido71 Video Encoding and Conversion 2 02-09-2003 10:48 PM
KVCD: Which Frame Rate to Use with Templates? woodwarh Video Encoding and Conversion 4 09-04-2002 10:03 AM
KVCD: templates at 29.97 or 23.976 frame rate? JoJo Video Encoding and Conversion 1 08-07-2002 10:29 AM

Thread Tools



 
All times are GMT -5. The time now is 12:39 AM  —  vBulletin Jelsoft Enterprises Ltd