digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   ChangeFPS vs. AssumeFPS vs Virtualdub? (http://www.digitalfaq.com/archives/encode/7416-changefps-vs-assumefps.html)

AgNa 12-29-2003 08:37 PM

ChangeFPS vs. AssumeFPS vs Virtualdub?
 
So far I do all my PAL to NTSC conversion this way Vdub>> Change FPS under the Video TAB and save without audio on directstreamcopy.
But lately I decided to try again doing the FPS conversion using AVS. In the past and now I found that, Assume FPS gives me a weird effect like everything goes much more slow than it should, I know 24 fps is slower than 25 but the results are not good. Using Change FPS I get an effect like the camera goes fast/slow/fast/slow, dont know how to describe it, but it looks like the camera is shaking a lot.
The best result IMHO is using Vdub to do the FPS conversion but it has his downsides; I use subtitles in 90% of the movies so if I have a wroking sob ofr a PAL movie I have to resync the subs to fit the new FPS (its not hard bu it takes time), and I need a considerable amount of space to resync the audio, cos I have to open the mp3 file with Sound Forge save it as WAV and re encode it using Headache. Wich is not funny cos if the m1v file comes a little bit big, I (almost) always renecode the audio to a lower btr, and If I have to do this I must do the whole process again (I could save the WAV but it takes to much space).
Now lately I've been using the Change FPS to do Concerts since I have a picky ear and I can notice the change of speed on music (on speech It's almost unnoticeable).
Now what I like to know if theres any other way to do the FPS conversion that wouldnt requiere audio/subtitles resync or at least gaves me better results without to much hassle. Preferable using AVS.
I let you here the script Im using now

Code:

LoadPlugin("D:\kvcds\codecs\MPEG2Dec3.dll")
LoadPlugin("D:\kvcds\codecs\grip.dll")
LoadPlugin("D:\kvcds\codecs\STMedianFilter.dll")
LoadPlugin("D:\kvcds\codecs\asharp.dll")
LoadPlugin("D:\kvcds\codecs\unfilter.dll")
LoadPlugin("D:\kvcds\codecs\blockbuster.dll")
LoadPlugin("D:\kvcds\codecs\atc.dll")
LoadPlugin("D:\kvcds\codecs\UnDot.dll")
LoadPlugin("D:\kvcds\codecs\DctFilter.dll")
LoadPlugin("D:\kvcds\codecs\Deen.dll")
LoadPlugin("D:\kvcds\codecs\Sampler-2.5.dll")
LoadPlugin("D:\kvcds\codecs\Convolution3DYV12.dll")
LoadPlugin("D:\kvcds\codecs\VSFilter.dll")

AviSource("Persona.non.grata.avi",false)
##AddBorders(13,0,0,0)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(480, 480, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623)
GripBorders()
TextSub("D:\kvcds\Persona.non.grata.srt")
ChangeFPS(23.976)
##Sampler(length=24)

Any Tip idea or hint I could try??

EDIT: I tryed using TMPGenc to change the FPS but the result is a jump/skip every second or so.

Dialhot 12-29-2003 09:28 PM

You should'nt use ChangeFPS for a such little fps change. Assume FPS should normally do the job very well. Are you sure you didn't do any mistake in the parameters ? I never had any problem with that.

Note: AssumeFPS does _exactly_ what vdub does.

AgNa 12-29-2003 09:41 PM

well as far I can remember I didnt do any mistake with that. And I know it should do the same as Vdub but for some reason the resul was not the same when I tested it. Im doing an encode now so I can test, but probably tomorrow gonna try it with a small clip to see the diference.
By any chance you sont know any other method to convert PAL to NTSC?

Thanx in advance :D

Dialhot 12-29-2003 09:51 PM

Quote:

Originally Posted by AgNa
Thanx in advance :D

There isn't any other !

J-Wo 01-18-2004 11:35 PM

Quote:

Originally Posted by Dialhot
You should'nt use ChangeFPS for a such little fps change. Assume FPS should normally do the job very well. Are you sure you didn't do any mistake in the parameters ? I never had any problem with that.

Thanks Dialhot, I was looking for an answer to this exact question. I was using ChangeFPS for all my 25 --> 23.976 fps until I noticed that when you select Format Conversion in MovieStacker it adds the line AssumeFPS (23.976, true). Just wondering what the "true" part meant and why you say ChangeFPS should not be used.

And now for AgNa, there is a much simpler way to do your audio conversion which also requires less disk space. Open your AVI with VirtualDub and do a directstream extraction of the audio, which in most cases will save it as an MP3 file. Then load this up in BeSweet and select the preset for PAL --> NTSC conversion, and save as an MP2. Takes much less time and less diskspace. If Besweet doesn't like your MP3 audio you may have to decompress the audio from the AVI and save it as a WAV file, but in most cases that is not necessary.

incredible 01-19-2004 02:29 AM

@ J-Wo

"true" means that the audiosamplerate will be modyfied so that the sound still will be insync but this effect will only be done if your source contains audio.

So IF you do your job using Besweet afterwards to handle the audio separate using the OAT Settings in beswwet you DO NOT use true as Besweet takes care about all this.

And if you set to "true", you just have to let in Besewwt everything as it is bit activating SSRC to do tha 44.1khz conversion or in case of KDVD the 48khz conversion.

AgNa 01-19-2004 06:14 AM

Sorry I forgot to reply to this one.
I dont use Besweet cos for some reason when I do FPS change with it, the file comes out with cracks and click wich is pretty anoying.
Now What I noticed after Dialhot reaply is that AssumeFPS is that it only gives me that weird fast-slow effect in some files and not in all of them. Any idea why? Using Vdub that doesnt happend, so for now until I find the cause for this I just make the sample and if I can see that effect on the sample using AssumeFPS I just go back and use vdub.
thanx for your help guys :D

incredible 01-19-2004 07:06 AM

Maybe some videos got 23.976 and some 29.976 thats why AssumeFPS does output different qualities, said sometimes jerky movement.

In case of 23.976 sources you can speedup/slowdown to 25.000 and vice versa.

But in case of 29.976 you have to do an inverse telecine to get back to the 23.976 FPS IF your video is a Film which is originally shot at 23.976 and all Hollywood-Blockbuster Movies are in that FPS state.

Do not use Virtualdub as Frameserver anymore as Vdub frameserving is slower and no matter what input, the input will be convertet to RGB32! which also slows down the process and each colorconversion does seen as a whole a punch to the final quality.

If using Avisynth you can treat the source in the colorspace as it is and the only following colorspace conversion will be done WITHIN the following encoder (TmpgEnc RGB24 and CCE YUY2 ..... both finally do output a KVCD YV12 4:2:0 mpeg to your disk)

zes 01-19-2004 10:02 AM

the cracks and clicks in an encoded .mp2 file are most likely the result of 'toolame'. try using 'mp2enc' instead in besweet

Dialhot 01-19-2004 10:31 AM

Quote:

Originally Posted by zes
the cracks and clicks in an encoded .mp2 file are most likely the result of 'toolame'. try using 'mp2enc' instead in besweet

Unfortunally, I had sometimes these cracks too and I use mp2enc since a long time.

AgNa 01-22-2004 05:55 AM

Well after some testing I found that the jerky movment is not a result of AssumeFPS, well I done some convertions and the result is optimal, but in others using the same scrip and with the same FPS in the source I get that effect... :roll: For now I couldnt find the reson why some files do that and others not, so for now after I encode the sample I check it and if I get tha jerky playback I go to Vdub (I dont framerate I just select Direct Stream copy) and save it as 23.976 and that solves all.
I wonder if the files that gaves me that jerky playback were originlay 29.976 converted to 25fps :roll:

incredible 01-22-2004 06:38 AM

Quote:

I wonder if the files that gaves me that jerky playback were originlay 29.976 converted to 25fps
I didn't understand you well, thats why I ask:

What do you mean by the quote I posted above?

Do you got NOW some 29.976 which you wonna convert or what :?:

The only (senseful and correct) way I know is, if you want to go from 25fps to 23.976 FPS is

-via selectevery or decimate (and thats a sensible and only for experts way, look at Doom9.org where Sharfis_brain did that)

- or the most easy way, to add that assumeFPS(23.976) and using afterwards Besweets OTA settings 25.000 to 23.976 to get the audio in sync.

So .... your workout to me seems really strange and I don't know if your sources already got some nice problems.

In case of 25 fps sources there will be never a need to convert to 29.976 NTSC Video.

SO the best way to understand you and to solve your problems is that you fill out the following Questions and post them filled out again:

-----------------------------Please Fill out----------------------------------

SOURCE:

- Filetype (divx/xvid/mpeg/mjpg - so what says Gspot??) ? :
- interlaced(means combing on fast moving scenes) or not interlaced ? :
- already jerky playback or blended Frames? :
- Framerate (29.976, 23.976, 25.000) ? :
- Resolution ?
- Audiosamplerate (44.1000, 48.000) ? :

(some answers you get if using Gspot on the source!)


DESTINATION:

- KVCD or KDVD ?:
- Mode (mpeg1 or mpeg2) ?:
- Framerate (29.976, 23.976, 25.000) ? :
- Resolution ?
- Audiosamplerate (44.100khz KVCD, 48.000khz KDVD) ? :


Avisynth:

- Post your last state of your script here!:

------------------------------------------------------------------------------

AgNa 01-23-2004 09:31 PM

-----------------------------Please Fill out----------------------------------

SOURCE:

- Filetype (divx/xvid/mpeg/mjpg - so what says Gspot??) ? : Divx or Xvid iit's the same, but I have to check further in my next encodes
- interlaced(means combing on fast moving scenes) or not interlaced ? : non interlaced, but Im not 100% sure
- already jerky playback or blended Frames? : no, I have perfect playback
- Framerate (29.976, 23.976, 25.000) ? :25.000
- Resolution ? Variables, all the same result
- Audiosamplerate (44.1000, 48.000) ? : 48Khz

(some answers you get if using Gspot on the source!)


DESTINATION:

- KVCD or KDVD ?: KVCD
- Mode (mpeg1 or mpeg2) ?: MPEG1 or 2 no diference
- Framerate (29.976, 23.976, 25.000) ? :23.976
- Resolution ? 480x480, 352x480 or 704x480
- Audiosamplerate (44.100khz KVCD, 48.000khz KDVD) ? 44.100


Avisynth:

LoadPlugin("D:\kvcds\codecs\MPEG2Dec3.dll")
LoadPlugin("D:\kvcds\codecs\grip.dll")
LoadPlugin("D:\kvcds\codecs\STMedianFilter.dll")
LoadPlugin("D:\kvcds\codecs\asharp.dll")
LoadPlugin("D:\kvcds\codecs\unfilter.dll")
LoadPlugin("D:\kvcds\codecs\blockbuster.dll")
LoadPlugin("D:\kvcds\codecs\atc.dll")
LoadPlugin("D:\kvcds\codecs\UnDot.dll")
LoadPlugin("D:\kvcds\codecs\DctFilter.dll")
LoadPlugin("D:\kvcds\codecs\Deen.dll")
LoadPlugin("D:\kvcds\codecs\Sampler-2.5.dll")
LoadPlugin("D:\kvcds\codecs\Convolution3DYV12.dll" )
LoadPlugin("D:\kvcds\codecs\VSFilter.dll")

AviSource("mymovie.avi",false)
##AddBorders(13,0,0,0)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(480, 480, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()
TextSub("D:\kvcds\mymovie.ssa")
AssumeFPS(23.976)


What I tried to say before is that maybe the original DVD was a 29,976Fps and converted to an avi (Divx or Xvid) at 25fps, if someone have a reson to do that. And taking it down from the 25fps file to 23.976 makles the effect apear. I will try to post a link to a small sample tomorrow so you guys can see better what Im getting sometimes when I usse AssumeFPS. Sorry for the late response but Im not getting email notification for my posts after the second reply 8O :roll:

incredible 01-24-2004 02:06 AM

Quote:

will try to post a link to a small sample tomorrow so you guys can see better what Im gettin
Very good idea!
So lets see.
A Sample of 30 Sec. would be very good

Inc.

kenguard 01-28-2004 12:27 AM

I've been watching this thread to see the results because I too have a similar problem when trying to work with AVIs with a 25 fps frame rate. I can can use VDub to change them to 29.97 fps for use on a regular DVD without any playback problems. Going to 23.976 is jerky. I assumed that going from 25 fps to nearly 24 fps would natuarally give me jerks in 1 second intervals as it's dropping a frame a second. My hope was that after I convert the AVI to 29.97 fps that my encoding it to MPG at 23.976 fps will give me better video.

I'm trying to learn to work with AviSynth, but I seem to be progressing slowly at it. I got bogged down in all the info this site has on it and the many examples of scripts I've seen. Maybe I'll get some use out of it on this problem, and finally get Silent Running on KVCD. :)

Dialhot 01-28-2004 04:20 AM

Quote:

Originally Posted by kenguard
I too have a similar problem when trying to work with AVIs with a 25 fps frame rate [...] I convert the AVI to 29.97 fps that my encoding it to MPG at 23.976 fps will give me better video.

:!: :!:
Do you use a lossless codec for that ? Or are you using Divx codec ?
Never convert a divx in an other divx.

This codec is the worst codec ever ! And your KVCD will be all but good after that.

Quote:

I'm trying to learn to work with AviSynth, but I seem to be progressing slowly at it.
It's not easy to learn all in fw time but you have to use avisynth to process your videos else you won't be happy with your KVCD and all your work will be lost.

AgNa 01-28-2004 06:26 AM

Ok heres the SAMPLE

incredible 01-28-2004 06:55 AM

Is that the already encoded sample?????

Because only every 3 frames there's a movement!

Means the second and third frames are just a copy of the first, mega stuttering! And that in case of 23.976 encoding!

I want to see a little part of the orig source! Not the encoded one.
Thx.

Means:

111222333444555666777 = this would be the count 21 Frames

Dialhot 01-28-2004 06:58 AM

Just to know, how is this video encoded without the line "AssumeFPS" ?

Edit: lol, we had the same idea Incredible :-D

incredible 01-28-2004 06:59 AM

Thats what I meant Phil, no Avisynth, nothing added or performed on that, just a sample of the avi in its orig state. :D

To me it seems as its a wrong decimating and afterwards converting-, not assumingFPS :!: :idea:

AgNa 01-28-2004 07:17 PM

Ok heres another sample with the respective untouched source, the script I used is the same that I posted before.

Sample
Original

Dialhot 01-28-2004 07:56 PM

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).

AgNa 01-28-2004 09:02 PM

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 :D, 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


kenguard 01-28-2004 09:12 PM

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

Dialhot 01-29-2004 04:51 AM

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
:lol: I never saw that "VCD non standard" was called "illegal" in the project :-)

Dialhot 01-29-2004 04:54 AM

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.

AgNa 01-29-2004 06:20 PM

Did somebody told you that you are a very patient guy?? :D

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 :D
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 :D

Bigswaffo 01-29-2004 07:35 PM

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 :?:

AgNa 01-29-2004 08:03 PM

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 :roll: , 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


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.