Quantcast Changefps vs. AssumeFPS vs VirtualDub? - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
01-28-2004, 07:17 PM
AgNa AgNa is offline
Free Member
 
Join Date: Jan 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Ok heres another sample with the respective untouched source, the script I used is the same that I posted before.

Sample
Original
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
  #22  
01-28-2004, 07:56 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Okay. I just encode your sample myself and as I guessed, I do not have any problems !

So you should check :
- your xvid codec (be sure you use xvid and NOT 3ivx or ffdshow)
- the codec settings (disable ALL post processing)
- your tmpgenc settings (it's better to save them as text tmpgenc project and post it here).
Reply With Quote
  #23  
01-28-2004, 09:02 PM
AgNa AgNa is offline
Free Member
 
Join Date: Jan 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Okay. I just encode your sample myself and as I guessed, I do not have any problems !

So you should check :
- your xvid codec (be sure you use xvid and NOT 3ivx or ffdshow)
- the codec settings (disable ALL post processing)
- your tmpgenc settings (it's better to save them as text tmpgenc project and post it here).
Thanx a lot!!!!!!!!!!!!!!

Ok I Updated my Xvid coded and seems the problem is gone , I'm (and was) using Koepis Xvid codec since I got a lot of recomendations and already experienced troubles with FFdshow in the past. Now I post the TMPG setings in case you can finde some other error or mistake that could put me into troubles

Ahh And BTW when I use AssumeFPS I always get an undersized file, any ideas why? I use manual prediction

Code:
object TMPEGConfigFile
  MPEG.Text = ''
  MPEG.WizardCategoryName = ''
  MPEG.WizardSubFormatName = ''
  MPEG.WizardCaption = ''
  MPEG.WizardDescription = ''
  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown
  MPEG.WizardAutoCalcVideoBitRate = False
  MPEG.WizardAutoChooseList.EnableVideoSize = False
  MPEG.WizardAutoChooseList.VideoSize = <
    item
      MinVideoBitRate = 0
      Width = 240
      Height = 480
      VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive_32Pulldown
      FrameRate = 1
      AspectRatio = 2
    end
    item
      MinVideoBitRate = 1000000
      Width = 352
      Height = 480
      VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive_32Pulldown
      FrameRate = 1
      AspectRatio = 2
    end>
  MPEG.WizardAutoChooseList.EnableVideoGOP = False
  MPEG.WizardAutoChooseList.VideoGOP = <
    item
      MinVideoBitRate = 0
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 25
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 700000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 25
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 800000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 25
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 900000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 25
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1000000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 25
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1100000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 25
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1200000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 23
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1300000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 21
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1400000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 18
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1500000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 15
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1600000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 12
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1700000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 10
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1800000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 11
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 1900000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 10
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 2000000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 9
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 2100000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 8
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 2200000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 7
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 2300000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 6
      GOP_B_FrameCount = 2
    end
    item
      MinVideoBitRate = 2400000
      GOP_I_FrameCount = 1
      GOP_P_FrameCount = 5
      GOP_B_FrameCount = 2
    end>
  MPEG.OutputStreamType = MPEG_OutputStreamType_VideoOnly
  MPEG.OutputStreamType_ReadOnly = False
  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG1
  MPEG.Video.StreamType_ReadOnly = False
  MPEG.Video.Width = 480
  MPEG.Video.Width_ReadOnly = False
  MPEG.Video.Height = 480
  MPEG.Video.Height_ReadOnly = False
  MPEG.Video.YUVFormat = 1
  MPEG.Video.YUVFormat_ReadOnly = False
  MPEG.Video.DC_prec = 0
  MPEG.Video.DC_prec_ReadOnly = False
  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive
  MPEG.Video.VideoEncodeMode_ReadOnly = False
  MPEG.Video.FrameRate = 1
  MPEG.Video.FrameRate_ReadOnly = False
  MPEG.Video.AspectRatio = 1
  MPEG.Video.AspectRatio_ReadOnly = False
  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_CQ
  MPEG.Video.RateControlMode_ReadOnly = False
  MPEG.Video.MaxBitRate = 0
  MPEG.Video.MaxBitRate_ReadOnly = False
  MPEG.Video.MinBitRate = 0
  MPEG.Video.MinBitRate_ReadOnly = False
  MPEG.Video.MinAvgBitRate = 0
  MPEG.Video.MinAvgBitRate_ReadOnly = False
  MPEG.Video.CBR_BitRate = 0
  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_MultipassCQ
  MPEG.Video.VBR_AvgBitRate = 0
  MPEG.Video.VBR_MaxBitRate = 0
  MPEG.Video.VBR_MinBitRate = 0
  MPEG.Video.VBR_MaxPassCount = 2
  MPEG.Video.VBR_Quality_P = 0
  MPEG.Video.VBR_Quality_B = 0
  MPEG.Video.VBR_EnablePadding = False
  MPEG.Video.MVBR_MaxBitRate = 0
  MPEG.Video.MVBR_MinBitRate = 0
  MPEG.Video.MVBR_Quality_P = 0
  MPEG.Video.MVBR_Quality_B = 0
  MPEG.Video.MVBR_EnablePadding = False
  MPEG.Video.AVBR_Quality = 0
  MPEG.Video.AVBR_MaxBitRate = 0
  MPEG.Video.AVBR_MinBitRate = 0
  MPEG.Video.AVBR_EnablePadding = True
  MPEG.Video.CQ_Quality = 60
  MPEG.Video.CQ_Quality_P = 0
  MPEG.Video.CQ_Quality_B = 0
  MPEG.Video.CQ_MaxBitRate = 2000000
  MPEG.Video.CQ_MinBitRate = 0
  MPEG.Video.CQ_EnablePadding = True
  MPEG.Video.VBVBufferSize = 40960
  MPEG.Video.VBVBufferSize_ReadOnly = False
  MPEG.Video.GOP_SeqHeaderInterval = 1
  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False
  MPEG.Video.GOP_I_FrameCount = 1
  MPEG.Video.GOP_I_FrameCount_ReadOnly = False
  MPEG.Video.GOP_P_FrameCount = 5823
  MPEG.Video.GOP_P_FrameCount_ReadOnly = False
  MPEG.Video.GOP_B_FrameCount = 2
  MPEG.Video.GOP_B_FrameCount_ReadOnly = False
  MPEG.Video.GOP_BitStreamForEdit = False
  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False
  MPEG.Video.GOP_MaxFrameCount = 24
  MPEG.Video.GOP_MaxFrameCount_ReadOnly = False
  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False
  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False
  MPEG.Video.Profile = 4
  MPEG.Video.Profile_ReadOnly = False
  MPEG.Video.Level = 8
  MPEG.Video.Level_ReadOnly = False
  MPEG.Video.VideoFormat = 2
  MPEG.Video.VideoFormat_ReadOnly = False
  MPEG.Video.DisplayWidth = 0
  MPEG.Video.DisplayWidth_ReadOnly = False
  MPEG.Video.DisplayHeight = 0
  MPEG.Video.DisplayHeight_ReadOnly = False
  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Normal
  MPEG.Video.MotionSearch_AlwaysHalfPel = True
  MPEG.Video.UseFloatDCT = True
  MPEG.Video.QuantizeMode = False
  MPEG.Video.QuantizeModeVal_Intra = 0
  MPEG.Video.QuantizeModeVal_NonIntra = 0
  MPEG.Video.YUVBasicYCbCr = False
  MPEG.Video.QuantizeMatrix_Intra = {
    08090C161A1B1D22090A0E1A1B1D22250C0E121B1D222526161A1B1F24252628
    1A1B1D24272628301B1D22252628303A1D22252628303A4522252628303A454F}
  MPEG.Video.QuantizeMatrix_NonIntra = {
    10121416181A1C1E121416181A1C1E201416181A1C1E202216181A1E20202224
    181A1C20222224261A1C1E20222426281C1E202224262A2A1E20222426282A2C}
  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2
  MPEG.Audio.StreamType_ReadOnly = False
  MPEG.Audio.SamplingFrequency = 44100
  MPEG.Audio.SamplingFrequency_ReadOnly = False
  MPEG.Audio.ChannelMode = 2
  MPEG.Audio.ChannelMode_ReadOnly = False
  MPEG.Audio.CantUseMono = False
  MPEG.Audio.BitRate = 128000
  MPEG.Audio.BitRate_ReadOnly = False
  MPEG.Audio.CalcCRC = False
  MPEG.Audio.CalcCRC_ReadOnly = False
  MPEG.Audio.OriginalFlag = False
  MPEG.Audio.OriginalFlag_ReadOnly = False
  MPEG.Audio.CopyrightFlag = False
  MPEG.Audio.CopyrightFlag_ReadOnly = False
  MPEG.Audio.PrivateFlag = False
  MPEG.Audio.PrivateFlag_ReadOnly = False
  MPEG.Audio.EmphasisType = 0
  MPEG.Audio.EmphasisType_ReadOnly = False
  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG1_VideoCD_Illegal
  MPEG.System.StreamType_ReadOnly = False
  MPEG.System.EnableCommentText = False
  MPEG.System.CommentText = ''
end
Reply With Quote
  #24  
01-28-2004, 09:12 PM
kenguard kenguard is offline
Free Member
 
Join Date: Jan 2004
Location: Deep South, U.S.A.
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to kenguard
Thanks for the info Phil.

I was using a DivX codec. I didn't know any better? But now I do.

What's you codec of choice?

Also, I was looking at the script that was posted and my AviSynth install. I do not have grip.dll, nor can I find it anywhere. I've got gripfit_YV12.dll. Are they the same? (I know this should be in the AviSynth forum!)

Ken
Reply With Quote
  #25  
01-29-2004, 04:51 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by AgNa
Ahh And BTW when I use AssumeFPS I always get an undersized file, any ideas why? I use manual prediction
That can be due to the place of assumeFPS line. I think it have to be before the sampler line, but if you already do that, you can try to put it after, just to see.

Code:
  MPEG.Video.CQ_MaxBitRate = 2000000
  MPEG.Video.CQ_MinBitRate = 0
  MPEG.Video.CQ_EnablePadding = True
0 as min bitrate ? Your standalone can handle that ? They are few to accept that.

Code:
MPEGVideoEncoder_MotionSearchSpeed_Normal
This should be "Hight" or "Motion Estimate" (if you are using MA script).

Code:
MPEGSystemEncoder_StreamType_MPEG1_VideoCD_Illegal
I never saw that "VCD non standard" was called "illegal" in the project
Reply With Quote
  #26  
01-29-2004, 04:54 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kenguard
What's you codec of choice?
Be carrefull we were talking about Xvid, not divx. The codec are different.

You must have on you PC _only_ the last Divx release (5.0.5 or 5.1.1) and a Nic's (or Koepi's) Xvid codec. That's all.

Quote:
I do not have grip.dll, nor can I find it anywhere. I've got gripfit_YV12.dll. Are they the same?
Yes they are.
Reply With Quote
  #27  
01-29-2004, 06:20 PM
AgNa AgNa is offline
Free Member
 
Join Date: Jan 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Did somebody told you that you are a very patient guy??

I dont use 0 as minimun bitrate, even when my player supports it I only used it to make the sample I posted, the same goes for the Normal speed, I always use High Quality
And Im gonna try your tip about the position of Sampler, I use it after the AssumeFPS line but Im gonna try after and see what happens.
One more time , Thanx a lot for your help, your time and your patient
Reply With Quote
  #28  
01-29-2004, 07:35 PM
Bigswaffo Bigswaffo is offline
Free Member
 
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
What would the be the best way to convert AC3 audio from 25 fps to 23.976 fps? Should I convert to wav first?

Also, is it the general conclusion that AssumeFPS is the way to convert the video
Reply With Quote
  #29  
01-29-2004, 08:03 PM
AgNa AgNa is offline
Free Member
 
Join Date: Jan 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Bigswaffo
What would the be the best way to convert AC3 audio from 25 fps to 23.976 fps? Should I convert to wav first?

Also, is it the general conclusion that AssumeFPS is the way to convert the video
What I do is to Convert the AC3 audio to WAV with Headache, then I adjust the time to the new FPS (25.000 to 23.976 = 104,271% longer audio file) and from now on since Dialhot put the light in my way Im gonna be using Assume FPS, but not for Music Concerts or videos, since that requieres a time streching of the audio wich I can really notice on music , So I think for that Im gonna be using Change FPS or directly loading the 25fps source and selec the 23,976 template, that gives me a little jump wich is only noticeable on moving camera. Except someone can give me a better idea
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: What is better? assumeFPS, changeFPS, convertFPS Prodater64 Avisynth Scripting 3 11-14-2004 01:18 PM
KDVD: CCE + assumefps(25) gamma Video Encoding and Conversion 3 08-06-2004 05:20 AM
:: AssumeFPS :: BJ Conversão e Codificação de Vídeo (Português) 4 04-22-2004 07:05 AM
Script Error: Changefps dont have a named argument linear? CaLaFaT Video Encoding and Conversion 4 02-05-2004 11:32 AM
Can I just use ChangeFPS(29.97) instead of doing a pull down? rs008f Video Encoding and Conversion 1 08-23-2003 07:08 AM

Thread Tools



 
All times are GMT -5. The time now is 06:16 AM  —  vBulletin © Jelsoft Enterprises Ltd