12-19-2003, 10:58 PM
|
Free Member
|
|
Join Date: Aug 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have some Divx/Xvid files with unusual frame rates such as 19.2 fps, 24.3 fps, 30 fps. I need to convert them to NTSC compatible frame rates such as 23.976 fps or 29.97 fps while keeping the audio in sync. How can I do this with Avisynth? What are the command lines? I'm gonna use the scripts with CCE to convert to MPEG-2.
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
12-20-2003, 02:36 AM
|
Free Member
|
|
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Try besweet, download the GUI too!
http://dspguru.doom9.org/
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
|
12-20-2003, 04:23 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
No need to use a guide : use tmpgenc for encofing both audio AND video together. All will be in synch.
|
12-20-2003, 04:57 PM
|
Free Member
|
|
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Dialhot
No need to use a guide : use tmpgenc for encofing both audio AND video together. All will be in synch.
|
Too easy!
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
|
12-23-2003, 10:24 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Will it still be in synch if you set tmpgenc to call toolame for audio?
|
12-24-2003, 04:20 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by rendalunit
Will it still be in synch if you set tmpgenc to call toolame for audio?
|
For sure not. That's exactly the same as doing the audio apart by yourself.
|
12-24-2003, 01:01 PM
|
Free Member
|
|
Join Date: Dec 2002
Location: Buenos Aires, Argentina
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It is a good idea to use the AssumeFPS function in Avisynth. So you use the same frames as in the original and do not do framerate conversion on video.
Then, use Besweet to change framerate of audio stream.
Of course, you will have to encode the audio and video separately, and the lenght of the movie may change a little, but as for me, this is still the best way.
Hope it helps.
Gaudi
|
01-02-2004, 07:48 AM
|
Free Member
|
|
Join Date: Aug 2003
Location: France - Lyon
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Inserting AssumeFPS in my NTSC AVI scripts cause an illegal pointer error in TMPGENC (avisynth 2.53) ??
__________________
BigFif
|
01-02-2004, 08:11 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
And that do not do anything on my PC (I just did it yesterday).
|
01-02-2004, 08:19 AM
|
Free Member
|
|
Join Date: Aug 2003
Location: France - Lyon
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
AssumeFPS(25) is Ok
AssumeFPS(25.000,true) generates illegal pointer error, this syntax seems to be ok with the documentation so what was wrong ?
__________________
BigFif
|
01-02-2004, 09:52 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Which Audio codec contains your source??? This may cause your problem.
|
01-02-2004, 10:02 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by bigfif
AssumeFPS(25.000,true) generates illegal pointer error, this syntax seems to be ok with the documentation so what was wrong ?
|
Incredible answered to your question (by an other question in fact ) but I just wanted to say it's not a good idea to convert 23.976 -> 25 ! Generally we try to do the opposite ! NTSC video are far more compressed du to their lower resolution and framerate. For a NTSC video encoded with CQ75, you will do the same in PAL with a CQ of 65 !
|
01-02-2004, 11:22 AM
|
Free Member
|
|
Join Date: Aug 2003
Location: France - Lyon
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The source codec is Divx5
I've a toshiba sd210 DVD player on an old TV set that does not support NTSC !
That's why, I want to do NTSC2PAL (on old cartoons for my sons)
I've just try assumefps(25) and audio is out of sync
__________________
BigFif
|
01-02-2004, 11:42 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by bigfif
I've a toshiba sd210 DVD player on an old TV set that does not support NTSC !
|
And this old tv does not support RGB either ? Because the tosh can outpu in RGB, no ? And in this mode, there is no PAL/NTSC problem.
Quote:
've just try assumefps(25) and audio is out of sync
|
That's normal. As said in the doc the ",true" means "keep audio in synch"
|
01-02-2004, 11:55 AM
|
Free Member
|
|
Join Date: Aug 2003
Location: France - Lyon
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The old tv set does not support RGB.
Anyway, with an 23.9 fps signal, the video can't be synchronized on frames ( in french: le balayage autre que 25 fps n'est pas supporté et l'image défile)
For assumeFPS, the correct syntax is assumeFPS(25, true), is it OK ?
__________________
BigFif
|
01-02-2004, 12:30 PM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by bigfif
The old tv set does not support RGB.
|
Are you sure ? Scart outlet (en francais, prise peritel ) exist since 1981 and my first TV set with a scart accepted RGB !
I never see a TV set that do not handle it (at least in France, as other countries do not have scart).
Quote:
Anyway, with an 23.9 fps signal, the video can't be synchronized on frames ( in french: le balayage autre que 25 fps n'est pas supporté et l'image défile)
|
So it does not accept PAL60 Hz, that is sad.
Quote:
For assumeFPS, the correct syntax is assumeFPS(25, true), is it OK ?
|
Yes it is. You can find the avisynth documentation on your hard disc (directory "'doc" under the directory of avisynth).
|
01-03-2004, 12:23 PM
|
Free Member
|
|
Join Date: Aug 2003
Location: France - Lyon
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It's a very old TV set (1981) and no PAL support
Thx for all dialhot
__________________
BigFif
|
All times are GMT -5. The time now is 10:21 AM — vBulletin © Jelsoft Enterprises Ltd
|