Quantcast Mencoder: IVTC Bug in Mencoder - digitalFAQ.com Forums [Archives]
  #1  
04-26-2004, 01:51 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
After near going crazy trying to figure out why IVTC doesn't work with mencoder, I found out why. Please note that this refers to IVTC a captured movie AVI or hard-telecined DVD, not MPEG2 with pulldown flags.

The problem is this that mencoder does not duplicate frames correctly with MPEG2. This is needed for IVTC when there's pattern change. mencoder actually says it's duplicating, but doesn't do so. Because of that, telecined streams with lots of scene changes (music videos, my test matherial) get out of sync very fast. Mencoder does that because with AVI you don't need to repeat the whole frame , writing a zero-byte chunck tell the decode to repeat the frame. Not true with MPEG. I found out about this here:

http://www1.mplayerhq.hu/pipermail/m...er/002970.html

So I tested, when outputting an AVI, IVTC works perfectly, with MPEG, it gets out of sync. I am currently applying the patch the guy posted in the above link (well sort of, the patch no longer works and I had to manually change sections) to see if it solves. Then I'll do a bug report. Anyway, if anyone needs IVTC right now, just transcode first to a lossless AVI (huffyuuv,FFV1) and then encode to mpeg1/2.

PS:As a side-effect, I managed to compile "transcode" in windows (with some hacks), another linux based encoding package. But it seems to use tons of shared libs and doesn't want to build them static, so I am giving up. The reason I tried this is because transcode has a decomb port.
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  
04-27-2004, 02:55 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
D Richard Felker III already wrote a patch that fixes the issue, less than 24 hours after I posted! (man they are fast!) It just doesn't work with B-Frames yet:

http://mplayerhq.hu/pipermail/mplaye...il/044843.html
http://mplayerhq.hu/pipermail/mplaye...il/044830.html

And the patch to fix:

http://mplayerhq.hu/pipermail/mplaye...il/025818.html
Reply With Quote
  #3  
04-28-2004, 10:57 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Problem fixed in latest CVS, with new filters that also makes IVTC much better:

http://mplayerhq.hu/pipermail/mplaye...il/044855.html

I can't wait to try!
Reply With Quote
  #4  
04-28-2004, 03:35 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 vmesquita
Problem fixed in latest CVS, with new filters that also makes IVTC much better:

http://mplayerhq.hu/pipermail/mplaye...il/044855.html

I can't wait to try!
Me too

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mainconcept Encoder (MEncoder) y Mencoder que parecidos! Prodater64 Convertir y Codificar Video (Español) 12 06-13-2004 08:49 AM
Mencoder: Latest CVS Snapshot Mencoder Builds incredible Video Encoding and Conversion 36 06-02-2004 02:00 PM
Mencoder: Mencoder two-pass encoding questions Prodater64 Video Encoding and Conversion 13 05-05-2004 03:33 PM
Mencoder: Changing/Setting field order in mencoder tuco1979 Video Encoding and Conversion 1 04-17-2004 09:06 AM
Mencoder: Problems compiling Mplayer/Mencoder rds_correia Video Encoding and Conversion 6 03-18-2004 09:11 AM

Thread Tools



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