Quantcast Converting 29fps to 24fps with Pulldown Flag Saves Space? - digitalFAQ.com Forums [Archives]
  #1  
12-18-2003, 03:25 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
with the same quality?

I have a concert DVD with 20 year old footage on it that is all interlaced.

If I use telicide()/decimate() or fielddeinterlace() and convert it to 23.9fps then use the 2:3pulldown flag will this lower the quality or cause any studdering, because it looks like it will save a ton of space.

The original DVD is 6GB, but it is coming in under 4GB after applying these filters and sampling.

Does this sound right or am I missing something here?

Thanks guys!
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  
12-18-2003, 04:27 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
Quote:
Originally Posted by audi2honda
with the same quality?

I have a concert DVD with 20 year old footage on it that is all interlaced.

If I use telicide()/decimate() or fielddeinterlace() and convert it to 23.9fps then use the 2:3pulldown flag will this lower the quality or cause any studdering, because it looks like it will save a ton of space.

The original DVD is 6GB, but it is coming in under 4GB after applying these filters and sampling.

Does this sound right or am I missing something here?

Thanks guys!
Hi audi2honda,

I tried the convert60ito24p script, and all I can say is that it's awesome.
Here's a sample of a pure interlaced 29.97fps DVD concert of "Styx", which I encoded at 352x480 (too active to use higher resolutions for one CD), and I got it on one CD (KVCD) with reasonable good quality at 23.976fps.
Here's a sample, so see for yourself
http://www.kvcd.net/styx-sample-29.97_to_23.976.mpg

This is the script I used for that concert:
Code:
## DLL Section ## 
# 
LoadPlugin("C:\Filters25\MPEG2Dec3.dll") 
 

# 
Mpeg2Source("F:\Movie\styx.d2v")

bob()
converttoyuy2().convert60ito24p(2,0).converttoyv12()

BicubicResize(336, 448, 0, 0.6, 0, 0, 720, 480)
STMedianFilter(3, 3, 0, 0 ) 
MergeChroma(blur(1.5))


ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")


AddBorders(8, 16, 8, 16)


 
# 
############### the function ############# 
# 
function convert60ito24p (clip video, int mode, int offset) 
{ 
work = assumefieldbased(video) 
out = (mode==2) ? interleave( 
\selectevery( 
\layer(trim(work, 1, 0), 
\layer(work, trim(work, 2, 0), "fast"), 
\"fast"), 5, 0 + offset), 
\selectevery( 
\layer(work, trim(work, 1, 0), "fast"), 5, 3 + offset)) : 
\    (mode==1) ? interleave( 
\selectevery(trim(work, 1, 0), 5, 0 + offset), 
\selectevery(layer(work, trim(work, 1, 0), "fast"), 5, 3 + offset)) : 
\    (mode==0) ? selectevery(work, 5, 1 + offset, 4 + offset) : work 
assumeframebased(out) 
} 
#################################

# 
# 
## Functions ### 

function fmin( int f1, int f2) { 
  return ( f1<f2 ) ? f1 : f2 
} 
  
# 
####
So if your target will be KDVD, the results should be awesome, and your concerts will look like FILM

-kwag
Reply With Quote
  #3  
12-18-2003, 04:37 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
That looks excellent!!

Thanks a ton for the info and the script
Reply With Quote
  #4  
12-18-2003, 04:45 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
Now we can enjoy FILM (look) quality from 29.97fps Videos
Note: Not to be confused with telecined material
If your source is FILM (such as a DVD), it's better to process as usual using "Force FILM" in DVD2AVI or using Telecide() and Decimate() in a script.
The script convert60ito24p is to be used on 100% Interlaced material ONLY

-kwag
Reply With Quote
  #5  
12-18-2003, 04:46 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by Audi2Honda
have a concert DVD with 20 year old footage on it that is all interlaced.

If I use telicide()/decimate() or fielddeinterlace() and convert it to 23.9fps then use the 2:3pulldown flag will this lower the quality or cause any studdering, because it looks like it will save a ton of space.
If its really interlaced and produced on Video and NOT film, this would result in a chaos if you would just apply a telecide().decimate() cause there aren't any original 23.976 frames to restore cause they did never exist !

So the function of sharfis_brain at doom9.de as shown here by Kwag is a little new milestone according to gain compression in case of 29.976 Video NTSC sources when encoding them to KVCD.

EDIT: Uops Kwag replied faster

Quote:
Originally Posted by Kwag
converttoyuy2().convert60ito24p(2,0).converttoyv12 ()
Kwag did you try to let MA do the job directly after Bob()?

Because this would avoid that much colorspace conversions.

so ...

- import your 4:2:0 YV12 based interlaced source
- bob()
- BicubicResize(336, 448, 0, 0.6, 0, 0, 720, 480) .STMedianFilter(3, 3, 0, 0 ) .MergeChroma(blur(1.5))
- MA (on still 29,976)
- converttoYUY2()
- convert60ito24p



Or if that not works maybe MA on fields...

- import your 4:2:0 YV12 based interlaced source
- separatefields()
- BicubicResize(336, 224, 0, 0.6, 0, 0, 720, 240) .STMedianFilter(3, 3, 0, 0 ) .MergeChroma(blur(1.5))
- MA (on still 29,976) (as shown by boulder in his interlaced MA thread)
- Weave()
- bob()
- converttoYUY2()
- convert60ito24p



Maybe this would gain the quality even a bit more?
(just a very very fast thought )

EDIT: Nope! As your mpeg anyhow will be encoded at YV12 ... my thought don't make sense, or am I totally confused now??
(Maybe still to much aspectratios-subjects in my brain *lol*)

Or maybe your PVR 250 can capture at 4:2:2 YUY2?
Reply With Quote
  #6  
12-18-2003, 05:10 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
Quote:
Originally Posted by incredible
Quote:
Originally Posted by Kwag
converttoyuy2().convert60ito24p(2,0).converttoyv12 ()
Kwag did you try to let MA do the job directly after Bob()?
Because this would avoid that much colorspace conversions.
I know, but I had to do that (in this particular case), because I got colorspace errors if I didn't put the convertX lines there.
But that was just an example, which worked for me, but I know it can be further organized much better ( Even using another deinterlacer, because Bob() is considered a "stupid" deinterlacer )


-kwag
Reply With Quote
  #7  
12-18-2003, 05:57 PM
m0rdant m0rdant is offline
Free Member
 
Join Date: May 2002
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
I have a bunch of Kung Fu flicks that are 100% interlaced...Would using the covert60ito24p screw up the timing for subtitles do you think?
Reply With Quote
  #8  
12-18-2003, 06:40 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
actually yea good point, my concert dvd has subtitles. Will they get messed up if I convert to 23.9fps?
Reply With Quote
  #9  
12-18-2003, 07:45 PM
audi2honda audi2honda is offline
Free Member
 
Join Date: Jun 2003
Location: Orange County, CA
Posts: 291
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,

I'm having doubts about what my concert DVD really is. How can I tell if it is true 29fps Video or 60fps IVTC? It was orginally shot and aired on TV if that matters.

I get all this IVTC, 3:2, 2:3 pulldown mixed up no matter how many times I read about it. Any tips for determining exactly what my video content is?
Reply With Quote
  #10  
12-18-2003, 08:59 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 audi2honda,

Load your VOBs in DVD2AVI, and press F5.
See if you get this:



That's what you get if your concert is true interlaced video.

Edit: This site might shine some light ( or headaches )
http://www.100fps.com

-kwag
Reply With Quote
  #11  
12-20-2003, 07:51 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Sometimes even telecined matherial is encoded as interlaced in the original (example Simpsons Season 1 NTSC). So the best way to check is leave forced film unchecked and open the AVS containig the d2v line in virtual dub. Find a high action scene and check if there's this sequence: 3 progressive frames, 2 interlaced frames, 3 progressive frames, 2 interlaced and so on. If it does, it's telecined matherial.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KDVD: App to change BFF/TFF flag in a mpeg2 file fabrice Video Encoding and Conversion 12 10-04-2005 06:28 AM
only saves the movie as avi with no sound? santax Video Encoding and Conversion 1 12-01-2003 04:01 AM
29fps AVI to 23fps SKVCD? Bombero0437 Video Encoding and Conversion 2 10-01-2003 07:41 AM
kvcd: Do I need to use the 3:2 pulldown flag in TMPGenc? telemike Video Encoding and Conversion 1 04-21-2003 03:26 PM
KVCD: I should IVTC a 29fps source to 1 CD? end80 Video Encoding and Conversion 1 12-10-2002 02:13 PM

Thread Tools



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