Log in

View Full Version : Remove interleaved flag on Mpeg2 progressive piste (DVD), it's possible ? [Resolved]


vanden
13th February 2012, 23:30
Hello,

I have recently remuxed dvd to ts (with TsMuxer).
I use only dvd progressive anamorphic (PAL & NTSC).

For PAL progressive anamorphic, I just remux @25 fps (TsMuxer).
For NTSC progressive anamorphic, I remove puldown and remux @23.976 fps (TsMuxer).

The Pixel Aspect Ratio (16/9) is stored in Mpeg2 elementary stream.

The problem is MPCHC say :
For PAL : the video is 25fps Interleaved ! and MPC play @ 50 fps, and image is horrible
For NTSC : the video is 23.976fps Interleaved ! and MPC play @ 49,952 fps, and image is horrible (Idem as PAL) :
http://infonetservices02.free.fr/MPC1.png
I use default filter in MPCHC (Mpc Mpeg Source / Mpc Video Decoder).

But if i create avs script (MeGUI/AVS script creator) and "analyse Deinterlacing" the source type is Progressive :
http://infonetservices02.free.fr/AviSynth1.jpg
And image is good :
http://infonetservices02.free.fr/AviSynth2.png

If i demux all track with TsMuxer and import only the mpeg2 elementary stream (in TsMuxer), TsMuxer say the piste is 720x576 interleaved @ 25fps ...

I have tested another splitter (Haali), MPCHC statistic as the same but playback is ok :
http://infonetservices02.free.fr/MPC2.png


How make for remove interleaved on the mpeg2 elementary stream !? And play @ 25 fps in MPCHC ?

vanden
14th February 2012, 02:48
OK with MPCHC software Mpeg2 decodeur. MPC report Frame Rate : 25 fps Progressif ...

it's definitely a bug of DXVA mpeg2 decoder ...

vanden
16th February 2012, 11:58
After contact on MPC HC bug reporting.
The problem (for PAL file) is : mpeg2 header !

By cons for NTSC it is indeed a bug of decoder mpeg2 DXVA which should be corrected in future releases.

The solution is ReStrem, Original Header :
http://infonetservices02.chez.com/ReStream.Sample.Pal.25P.DVD.jpg
Corrected Header :
http://infonetservices02.chez.com/ReStream.Pal.25P.OK.jpg
Played @ 25 fps P with any decoders

SeeMoreDigital
16th February 2012, 17:14
Played @ 25 fps P with any decoders
With such flagging, you might find that VLC player will not display an image ;)

Ghitulescu
16th February 2012, 17:22
The solution is ReStrem, Original Header :
Corrected Header :
Played @ 25 fps P with any decoders

You cannot make an interlaced video progressive just by flagging it progressive.

I assume you did something similar also in your first post, that the videos played twice as fast (hint: there are two fields in an interlaced frame).

vanden
17th February 2012, 02:20
You cannot make an interlaced video progressive just by flagging it progressive.


it's true !



Original Samples :
PAL : http://infonetservices02.free.fr/Pal.Dvd.Remux.25fps.Sample.ts
NTSC : http://infonetservices02.free.fr/NTSC.Dvd.Remux.23.976fps.Sample.ts

But (for PAL File) this is a error.
Error of header (of elementary mpeg2 track) --> original error of DVD

And For (NTSC File) it is a bug of mpeg2 DXVA Decoder (of MPCHC < 1.6.1.4073)



MPCHC post :
http://sourceforge.net/apps/trac/mpc-hc/ticket/2015



Corrected PAL Sample (NTSC is OK, with MPCHC (Dxva & Software Decoder) >= 1.6.1.4073)) :
http://infonetservices02.chez.com/Pal.Dvd.Remux.25fps.Corrected.Sample.ts

vanden
17th February 2012, 03:29
With such flagging, you might find that VLC player will not display an image ;)

it's true !

PAL Sample (OK VLC/MPCHC / Dxva&Software Decoder) :
http://infonetservices02.chez.com/ReStream.Pal.25P.VLC-MPC.jpg
infonetservices02.chez.com/Pal.Dvd.Remux.25fps.Corrected.MPC-VLCSample.ts