DVD ISO results "1 duplicate frame(s)!" w/trace :-)

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
thrakazog
Posts: 9
Joined: Sun Jul 27, 2014 4:55 pm

DVD ISO results "1 duplicate frame(s)!" w/trace :-)

Post by thrakazog »

I just tried the most recent version UMS-5.0.0-a1-Java7+.exe

The result after installing it on a different machine, plenty of fast CPU, 16 GB mem, killer video card, etc... The same skipping is observed when playing every DVD ISO file I have. I've tried lots of different configurations in the past and have not found a way to stop this behavior. the issue is seeing this extra frame added makes the eyes go a little berserk while watching the movie.

Thanks for any input on the matter! :-)
Attachments
UMS.conf
default conf file (tried with TsMuxeR set to Mux all audio tracks and also set to false, same result)
(38.79 KiB) Downloaded 376 times
debug.zip
debug info with trace data
(74.71 KiB) Downloaded 377 times
thrakazog
Posts: 9
Joined: Sun Jul 27, 2014 4:55 pm

Re: DVD ISO results "1 duplicate frame(s)!" w/trace :-)

Post by thrakazog »

Not sure how to troubleshoot the issue, but in the debut data there is a section where it starts interpreting the MPEG2 source as 29.970 fps and then switches to 24000/1001 fps...

Also " Muxer frame buffer cannot allocate memory! ".... Is this typical of a working configuration?

Code: Select all

DEBUG 01:48:26.199 [Thread-60] Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
DEBUG 01:48:26.199 [Thread-60] videocodec: libavcodec (720x480 fourcc=3267706d [mpg2])
DEBUG 01:48:26.199 [Thread-60] [VE_LAVC] Using constant qscale = 1.000000 (VBR).
DEBUG 01:48:26.214 [mencoder.exe-14-2] [mpeg2video @ 016c8200]ac-tex damaged at 36 15
DEBUG 01:48:26.214 [mencoder.exe-14-2] [mpeg2video @ 016c8200]Warning MVs not available
DEBUG 01:48:26.214 [Thread-60] [mpeg2video @ 016c8200]concealing 675 DC, 675 AC, 675 MV errors in I frame
DEBUG 01:48:26.216 [mencoder.exe-14-2] 
DEBUG 01:48:26.216 [mencoder.exe-14-2] 1 duplicate frame(s)!
DEBUG 01:48:26.216 [mencoder.exe-14-2] Muxer frame buffer cannot allocate memory!
DEBUG 01:48:26.216 [mencoder.exe-14-2] [VD_FFMPEG] DRI failure.
DEBUG 01:48:26.218 [Thread-60] Writing header...
DEBUG 01:48:26.218 [Thread-60] INITV: 0.200, 0.167, fps: 29.970
DEBUG 01:48:26.218 [Thread-60] 
DEBUG 01:48:26.218 [mencoder.exe-14-2] 
DEBUG 01:48:26.218 [mencoder.exe-14-2] 1 duplicate frame(s)!
DEBUG 01:48:26.224 [mencoder.exe-14-2] 
DEBUG 01:48:26.224 [mencoder.exe-14-2] 1 duplicate frame(s)!
DEBUG 01:48:26.225 [Thread-60] 
DEBUG 01:48:26.225 [Thread-60] demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
DEBUG 01:48:26.225 [mencoder.exe-14-2] 
DEBUG 01:48:26.225 [mencoder.exe-14-2] 1 duplicate frame(s)!
DEBUG 01:48:26.229 [mencoder.exe-14-2] 
DEBUG 01:48:26.230 [mencoder.exe-14-2] 1 duplicate frame(s)!
thrakazog
Posts: 9
Joined: Sun Jul 27, 2014 4:55 pm

Re: DVD ISO results "1 duplicate frame(s)!" w/trace :-)

Post by thrakazog »

I have tried using DVD ISO image of a TV program so the video was actually 29.970 fps and the behavior is eliminated. It seems it only happens for theatrical movies where the fps is 24000/1001 and is consistent numerous previous versions of the ? MEncoder? or to me honest, I don't know if it is actually using TsMuxeR as it is setup to do for lossless playing of DVDs.

If anyone could help point me in the direction where I can continue this hunt, perhaps it will make this a better product. I'd love to help, but just lacking the knowledge of the right place to start.

Thanks greatly,
Chris Thrakazog

PS I tried to verify the problem in 4.2.1 and it is still there. Can anyone else confirm?
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: DVD ISO results "1 duplicate frame(s)!" w/trace :-)

Post by SubJunk »

Hi and thanks for your patience :)
Often DVDs are encoded with duplicate frames - so the proper framerate is 23.976FPS but the one on the DVD is 29.97FPS, meaning that one in every 5 frames is a duplicate. Or sometimes a 25FPS DVD will have one in every 25 frames a duplicate, and there are even more convoluted ones than that where the timing is a nightmare like on Downton Abbey Blu-rays *ugh*... :)

Anyway usually when your renderer receives that kind of video it should recognize it and correct it like it does with the actual DVD, but apparently that's not happening here.
If you go into UMS and the MEncoder section of the Transcoding Settings tab, you can add "Custom options". There you can tell MEncoder to "decimate" those duplicate frames. So in the custom options box you could try:

Code: Select all

-vf decimate=1
I haven't used MEncoder's decimate before - I use AviSynth for fixing videos but that will take more time to learn - so I hope this works.
Post Reply