digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: How to pulldown with Avisynth/FreeEnc? (http://www.digitalfaq.com/archives/avisynth/12726-avisynth-how-pulldown.html)

Icarus3000 10-24-2004 02:41 PM

How to pulldown with Avisynth/FreeEnc?
 
I am new to FreeEnc, but am eager to test it out!

Here is my problem:

In the past, using TMPGenc, I have been doing 3:2 Pulldown by setting the output framerate to 23.976fps (29.97fps internal) and on the encode mode setting it to 3:2 pulldown while playback.

How can I do the equivalent using Avisynth & FreeEnc? My objective is to create a KSVCD from a 23.976 fps NTSC source.

Thanks!
Icarus

kwag 10-24-2004 02:46 PM

Hi Icarus,

After you encode your new MPEG-2, run your .m2v through the "pulldown.exe" program, and that will produce a new pulled down stream :)

-kwag

muaddib 10-24-2004 08:14 PM

Remember that you have to mux it with the pulldown option enabled too.
I'm not sure if I remember it correctly, but I think BBmpeg don't automatically recognize the pulldown flag done by "pulldown.exe", so you have to set this option manually.

Someone can confirm that :?:
Anyway I'll check it... :wink:

Peter1234 10-24-2004 10:14 PM

Icarus3000,
You can also use DoPulldown by Woofsoft which is a GUI program. Just load file generated by FreeEnc and click start. If you are going to mux audio, do it after using DoPulldown.

Prodater64 10-25-2004 03:59 AM

Quote:

Originally Posted by muaddib
I'm not sure if I remember it correctly, but I think BBmpeg don't automatically recognize the pulldown flag done by "pulldown.exe", so you have to set this option manually.
Anyway I'll check it... :wink:

Why it is neccessary that bbmpeg see that flag.
Anyway I had not enable it by hand and never saw any problem.

jorel 10-25-2004 05:57 AM

from bbMPEG logs using adjusts like in that pictures:
http://www.kvcd.net/forum/viewtopic.php?t=2224


bbMPEG log for kvcds Mpeg1 :
Multiplexing: video and one audio stream
program stream type: VCD

bbMPEG log for kvcds Mpeg2 (skvcds) :
Multiplexing: video and one audio stream
program stream type: SVCD with pulldown auto-detection

:!:

muaddib 10-29-2004 02:24 AM

Quote:

Originally Posted by Prodater64
Why it is neccessary that bbmpeg see that flag.
Anyway I had not enable it by hand and never saw any problem.

Well, I'm not sure if it is necessary for the SAP, but... :roll:

1-) If I do not explicitly enabled the pulldown in BBmpeg them when I play this file in any PC media player (zoomplayer, bsplayer or mpc), the listed FPS is show as 29.97 (as expected) but the actual FPS is near 29.97 what makes the audio not sync with the video.

2-) If I explicitly enabled the pulldown option in BBmpeg, then the listed FPS is show as 29,97 but the actual FPS is near 23.976, and the sound is in sync.

3-) If I use TMPGenc to encode and apply the pulldown, them I can leave BBmpeg as "pulldown auto-detection" that the listed and actual FPS will be the same way as number 2-). And the sound will be in sync.

That's why I said thet BBmpeg do not automatically recognize the pulldown flag done by "pulldown.exe".

All 3 files if loaded in BitrateViwer list the FPS as 29.97, so the pulldown was applied in all of them.

Is this just me or anyone else notice this? :? :roll:

muaddib 11-10-2004 11:36 AM

Please… I’m curious. :roll:
No one had any audio sync problems when using “pulldown.exe” and not specifying the pulldown flag in BBmpeg?

And please help me with another doubt... What is the difference (if any) between pulldown 3:2 and 2:3?
- In TMPG it is named puldown 3:2
- In “pulldown.exe” is pulldown 2:3
- In BBmpeg there are both options (2:3 and 3:2).

kwag 11-10-2004 11:39 AM

Here you go muaddib :)

http://www.zerocut.com/tech/pulldown.html

Look for "2-3 Pulldown vs. 3-2" section there.

-kwag

kwag 11-10-2004 11:44 AM

Quote:

Originally Posted by muaddib
Please… I’m curious. :roll:
No one had any audio sync problems when using “pulldown.exe” and not specifying the pulldown flag in BBmpeg?

I never had any problems, but then, I've done my pulldowns with pulldown.exe (command line).

-kwag

muaddib 11-10-2004 12:53 PM

Hi kwag,

Thanks for the link! :)

Quote:

I never had any problems, but then, I've done my pulldowns with pulldown.exe (command line).
That's exactly what I'm talking about... the command line pulldown.
If I make a D2V project with "forced film" (so the FPS goes to 23.976), and then run the pulldown.exe (command line), so the listed FPS goes to 29.97, and then try to mux this stream (that was pulldown to 29.97) with the stream extracted/demuxed by DVD2AVI, I got the sound out of sync.

If I set (manually) the pulldown in BBmpeg, this problem do not happen, and the sound got perfect sync.

danpos 11-10-2004 05:50 PM

Quote:

Originally Posted by muaddib
I set (manually) the pulldown in BBmpeg, this problem do not happen, and the sound got perfect sync.

Hmmm, Muadib It´s a very useful information and perhaps it does explain several async problems posted in lot of threads in several forums at KVCD.net ...

Cheers,

Icarus3000 11-13-2004 10:32 PM

I should probably start a new thread, but I wanted to say that what I thought was my problem turned out not to be the correct problem at all...

It turns out (after hours and hours and many coasters later) that my player cannot play SVCDs encoded at 23.97, whether I run pulldown or not. It can only play SVCDs at 29.97. If I do the header trick and mux as VCD then I can play 23.97 mpeg-2 video, but in that case, my player doesn't recognize the aspect ratio flag, and I can't encode as anamorphic (which is important to me).

I know my player can play SVCDs encoded at 29.97, as that is what I have done in the past.

So... my new question is, what is the best way to convert the framerate of my video from 23.97 to 29.97?

Thanks!
Icarus

Icarus3000 11-14-2004 03:38 PM

I think I mis-diagnosed my problem (again) as I converted to 29.97 by adding this code to the .avs file:

Code:

assumebff()
separatefields()
selectevery(4,0,3)
weave()

And I still have the same problem. I think the problem might be with my BBMPeg settings, so I'll close this thread here, and re-submit my (new?) problem here:

http://www.kvcd.net/forum/viewtopic.php?t=15133

Thanks!
Icarus


All times are GMT -5. The time now is 07:29 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.