tag:blogger.com,1999:blog-2124831850793435411.post8393324954504245376..comments2024-02-14T12:45:14.859+00:00Comments on Linux Tipps, Fixes & More: Fast interlaced AVCHD (PAL) conversion with Mencoder-SVNUnknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2124831850793435411.post-77586712071844467372010-01-05T11:59:24.175+00:002010-01-05T11:59:24.175+00:00Try the new better script I've published here:...Try the new better script I've published here: http://linux-tipps.blogspot.com/2010/01/transcoding-50-fps-interlaced-avchd-to.html<br /><br />Also try adding -demuxer lavf with a recent mencoder version.D.https://www.blogger.com/profile/03544666801731533511noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-81511904968974544002009-03-09T14:15:00.000+00:002009-03-09T14:15:00.000+00:00Hey, thanks for the responses. I ran this to compl...Hey, thanks for the responses. I ran this to completion overnight (the source is 2.5GB or so) and it partially worked, but not completely. First, the sound is not synchronized with the video. Second, the video quality looks great for about 1 minute 50 seconds, then it breaks down and just basically displays junk on the screen. Third, the aspect ratio looks wrong -- it looks narrower than it should. <BR/><BR/>Also, after some time, the output started including the following errors:<BR/><BR/>1 duplicate frame(s)!<BR/>Pos:3871.8s 232195f (100%) 15.07fps Trem: 0min 4795mb A-V:0.016 [10000:384]<BR/>1 duplicate frame(s)!<BR/> Last message repeated 8 timesps Trem: 0min 4795mb A-V:0.016 [10000:384]<BR/>[h264 @ 0x8c672e0]illegal short term buffer state detected<BR/><BR/>1 duplicate frame(s)!<BR/>[h264 @ 0x8c672e0]Missing reference picture 0min 4795mb A-V:0.014 [10000:384]<BR/>[h264 @ 0x8c672e0]illegal short term buffer state detected<BR/>[h264 @ 0x8c672e0]Missing reference picture 0min 4795mb A-V:0.014 [10000:384]<BR/><BR/>Here's the command I used:<BR/><BR/>mencoder 00000.MTS -o 1.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=10000:threads=2:ilme:ildct -lavdopts threads=1 -vf harddup -fps 59.94<BR/><BR/>Where in the world did you come up with 59.94 fps? <BR/><BR/>This all seems way too hard. I really don't want to become an expert on video formats and conversions. I just want to be able to view my file :-( <BR/><BR/>Thank you again for your help. I'll be happy to try more experiments if you wish to offer some more advice.Rick Horowitzhttps://www.blogger.com/profile/00424714170518046779noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-68313697231068079182009-03-08T07:59:00.000+00:002009-03-08T07:59:00.000+00:00And you can try forcing the duplicate frames to be...And you can try forcing the duplicate frames to be encoded with -vf harddup. (If you want the full resolution just leave away the scale filter!)D.https://www.blogger.com/profile/03544666801731533511noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-15793820151158922952009-03-08T07:58:00.000+00:002009-03-08T07:58:00.000+00:00What frame rates have you tried? It might be that ...What frame rates have you tried? It might be that you need 59.94.D.https://www.blogger.com/profile/03544666801731533511noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-66775684288904245602009-03-08T07:46:00.000+00:002009-03-08T07:46:00.000+00:00Hey, I don't see the problem. I also get those mes...Hey, I don't see the problem. I also get those messages while transcoding but the result seems to be fine! What svn release are you using?<BR/><BR/>CheersD.https://www.blogger.com/profile/03544666801731533511noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-13633960747766063492009-03-07T21:51:00.000+00:002009-03-07T21:51:00.000+00:00I haven't been able to make this work. I keep gett...I haven't been able to make this work. I keep getting messages like the following:<BR/><BR/>Pos: 6.0s 199f ( 0%) 25.40fps Trem: 72min 1261mb A-V:0.027 [2766:384]<BR/>1 duplicate frame(s)!<BR/>Pos: 6.1s 203f ( 0%) 25.47fps Trem: 68min 1214mb A-V:0.007 [2784:384]<BR/>1 duplicate frame(s)!<BR/><BR/>I tried different fps settings, but I don't know the correct setting. Not in the user manual for my camera - Panasonic HDC-SD1PP. I made the recording on HE compression setting. Also, I believe the scale is 1920x1024, so I modified the command to use "scale=1920:1024:1". Same result. Any ideas? Thanks very much.Rick Horowitzhttps://www.blogger.com/profile/00424714170518046779noreply@blogger.com