Quantcast Avisynth: How to Pulldown with Avisynth/Freeenc? - digitalFAQ.com Forums [Archives]
  #1  
10-24-2004, 02:41 PM
Icarus3000 Icarus3000 is offline
Free Member
 
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
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
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  
10-24-2004, 02:46 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #3  
10-24-2004, 08:14 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Reply With Quote
  #4  
10-24-2004, 10:14 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #5  
10-25-2004, 03:59 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Why it is neccessary that bbmpeg see that flag.
Anyway I had not enable it by hand and never saw any problem.
Reply With Quote
  #6  
10-25-2004, 05:57 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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

Reply With Quote
  #7  
10-29-2004, 02:24 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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...

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?
Reply With Quote
  #8  
11-10-2004, 11:36 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Please… I’m curious.
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).
Reply With Quote
  #9  
11-10-2004, 11:39 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Here you go muaddib

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

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

-kwag
Reply With Quote
  #10  
11-10-2004, 11:44 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
Please… I’m curious.
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
Reply With Quote
  #11  
11-10-2004, 12:53 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #12  
11-10-2004, 05:50 PM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
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,
Reply With Quote
  #13  
11-13-2004, 10:32 PM
Icarus3000 Icarus3000 is offline
Free Member
 
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #14  
11-14-2004, 03:38 PM
Icarus3000 Icarus3000 is offline
Free Member
 
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: AVIsynth quit wroking after install nero reload jzhao66 Avisynth Scripting 16 06-09-2005 08:53 AM
Avisynth: HQdn3d - mplayer filter ported to avisynth incredible Avisynth Scripting 1 10-25-2004 09:51 AM
Avisynth: Green pixelation artifacts on Xvid via Avisynth? rs008f Avisynth Scripting 10 03-23-2004 09:33 PM
Avisynth: Need clip filter & dust filters for avisynth nighthawk Avisynth Scripting 3 01-31-2004 12:24 PM
Avisynth: Auto crop using avisynth filter beta? black prince Avisynth Scripting 6 11-28-2002 08:51 AM

Thread Tools



 
All times are GMT -5. The time now is 01:28 PM  —  vBulletin © Jelsoft Enterprises Ltd