MPEG-TS files playback - slow motion movement

3 posters

Go down

MPEG-TS files playback - slow motion movement Empty MPEG-TS files playback - slow motion movement

Post by ladee Sun Feb 02, 2014 3:41 am

Some MPEG-TS files have been giving me some issues. Video and audio are in sync, however there is a kind of slow motion on rapid movement scenes. Eg. someone clapping and there's a slow motion image on the hands.

Media Info on files with issues:
1)
Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@High
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Default
Format settings, GOP                     : M=3, N=12
Duration                                 : 3mn 19s
Bit rate mode                            : Variable
Bit rate                                 : 18.5 Mbps
Maximum bit rate                         : 20.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.297
Time code of first frame                 : 00:00:00;00
Time code source                         : Group of pictures header
Stream size                              : 440 MiB (97%)

Audio
ID                                       : 192 (0xC0)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Duration                                 : 3mn 19s
Bit rate mode                            : Constant
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 3.05 MiB (1%)


2)
Video
ID                                       : 1001 (0x3E9)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : High@High
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Default
Format settings, GOP                     : M=3, N=12
Codec ID                                 : 2
Duration                                 : 2mn 9s
Bit rate mode                            : Variable
Bit rate                                 : 18.1 Mbps
Maximum bit rate                         : 23.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.292
Time code of first frame                 : 00:00:00;00
Time code source                         : Group of pictures header
Stream size                              : 279 MiB (83%)

Audio
ID                                       : 1002 (0x3EA)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Codec ID                                 : 3
Duration                                 : 2mn 9s
Bit rate mode                            : Constant
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : -9ms
Stream size                              : 1.97 MiB (1%)



Media Info on file with NO issues (however video came from the same user as the first file):
1)
Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@High
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=15
Duration                                 : 4mn 1s
Bit rate mode                            : Variable
Bit rate                                 : 17.4 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.280
Time code of first frame                 : 00:00:00;00
Time code source                         : Group of pictures header
Stream size                              : 496 MiB (96%)

Audio
ID                                       : 189 (0xBD)-128 (0x80)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Muxing mode                              : DVD-Video
Duration                                 : 4mn 1s
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 12.9 MiB (2%)

Currently using Codec Version 10.2.0 Mega with update. Please help if its possible, thank you!

ladee

Posts : 7
Join date : 2014-02-02

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by ladee Mon Feb 03, 2014 1:22 pm

Update: seems to be an interlacing issue on LAV Video Decoder/FFDshow.
LAV: Deinterlacing disabled (Progressive)
FFD: Deinterlacing checked
Quality for the first two videos improved after if i did either tweaks, though there's still a tiny bit of interlacing image. However i can't set it to default as it will affect videos like the third.

Is there any way to make it detect upon default? All videos seem to be working well from uploader's end so not sure what is the problem here..

ladee

Posts : 7
Join date : 2014-02-02

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Mon Feb 03, 2014 2:41 pm

It is possible that some frames in the video are not correctly marked as interlaced. You could try setting deinterlace mode in LAV Video decoder to "aggressive". That will enable deinterlacing once an interlaced frame is first encountered, and will keep it enabled for the remainder of the video. This helps if parts of the video are flagged incorrectly.

These types of videos are recordings and thus highly depend in the source material. So same uploader does not mean exact same type of video in this case.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by ladee Mon Feb 03, 2014 2:55 pm

Thanks for the reply!

Just tried setting it to "aggressive" and the video's still bad. "Disabled (progressive)" makes it alot better but i can still see slight shadow image.

Does it matter that the first two videos scan order were Bottom Field First, whereas the third video is Top Field First?

ladee

Posts : 7
Join date : 2014-02-02

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Mon Feb 03, 2014 3:39 pm

Field order should not matter as long as the decoder can detect the correct order, otherwise it just defaults to a specific order. Usually TFF, but this can vary between decoders. There is an option in LAV Video decoder that allows you to specify the field order. You could test if that helps with the first two files. It is merely a workaround for 'broken' files, but something that is just the best that can be done.

Can you give me a link where you downloaded the first two files? Then I can get them as well, and maybe spot what is wrong.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by ladee Mon Feb 03, 2014 4:42 pm

Magnet links for the first two files:

magnet:?xt=urn:btih:4D25BF959251B4A001FEB1CEFD27D01E17DE9EF0
magnet:?xt=urn:btih:30814DB539C71BFE87AE21152CC56886783330CE

Yeah changing the field order doesn't seem to do much.

ladee

Posts : 7
Join date : 2014-02-02

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Tue Feb 04, 2014 6:27 pm

I can reproduce the problem and confirm that deinterlacing with ffdshow gives smoother playback. The reason for that is that ffdshow averages frame durations and modifies the timestamps of the video frames, which are pretty messed up in those files. So conclusion is that is files are a bit broken. Maybe LAV Video decoder will be able to do some magic with the timestamps as well in the future.

Instead of "ffdshow video decoder" you can also use "ffdshow raw video filter" in combination with LAV Video decoder.
MPC-HC options > External Filters > Add "ffdshow raw video filter" and set it to "prefer".
You can then enable/disable use of the filter with the checkbox in front of it.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by ladee Tue Feb 04, 2014 11:53 pm

Thanks!

For the second video:
1. How do i add "ffdshow raw video filter" to WMP instead? That's my default player.
However I've set it in MPC and there's smoother playback on both players though the "ffd raw video filter" doesn't turn up when I use WMP.

2. Should I still set Deinterlacing Mode in LAV Video Decoder as "Disabled (Progressive)" after adding ffdshow raw video filter? Video seems to give the same playback regardless of "auto" or "disabled (progressive)" after I added the filter.

However for any other videos (eg. first video) having the same problems, I still gotta set it to "disabled (progressive)", if not the videos will still have the shadow playback.

ladee

Posts : 7
Join date : 2014-02-02

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Wed Feb 05, 2014 1:02 am

You can't use it with WMP (unless forcing it for all programs, which is not a good idea, so I won't explain how to do it). You are stuck with ffdshow decoder in that case. I really advice using MPC-HC for video playback.

Deinterlacing in LAV should be set to Auto. It won't actually deinterlace anything if Yadif is disabled, it just passes on the interlaced flags to the next filter in the chain.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by ladee Wed Feb 05, 2014 3:00 pm

Is it possible if you can try with this file as well?
magnet:?xt=urn:btih:268CDB60875DD962692D6B557165C81191C48A3E

Same issue but it isn't fixed even after I have added the filter in MPC, and deinterlacing mode set as "auto". If I try to set deinterlacing mode as "disabled (progressive)", lines on the images appear as well.

However in WMP, setting it to "disabled (progressive)" in LAV Video Decoder (both players use the same decoder) will give a smoother playback. Am I stuck with changing the settings for deinterlacing everytime I face the same problem in a video?

ladee

Posts : 7
Join date : 2014-02-02

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Wed Feb 05, 2014 6:52 pm

"disabled (progressive)" will disable deinterlacing, resulting in the horizontal lines.

These files are just broken. I doubt there will be any settings that will make all of them play perfectly.

I will do some more testing.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by ladee Sun Feb 09, 2014 11:50 am

I will just play around with the deinterlacing mode if I encounter the same problem.

Thanks for the help, really appreciate it!

ladee

Posts : 7
Join date : 2014-02-02

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by alessandro_sdt Thu Oct 15, 2015 5:00 pm

hi, i have the same issue with interlaced 1080 m2ts video. the playback is slow and the audio is intermittent.

I use the mpchc with my motu 828mk3 sound card. Disabling the card and configuring the soundcard provided on the mainboard the problem disappears.
The motu driver are "fixed" to specific sampling rates and maybe this has something to to in the way that mpchc represent the interlaced video, doubling the framerate on playback.

hope it helps



alessandro_sdt

Posts : 7
Join date : 2015-10-15

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Thu Oct 15, 2015 7:25 pm

Video framerate and audio samplerate are two different unrelated things.

The audio renderer is responsible for providing a reference clock that is used for all timing related things during playback. If it has a high variance ('jitter') then I can result in less smooth playback. That is more noticeable on high framerates, like in the case of double-framerate deinterlacing.

You could try the new internal audio renderer in MPC-HC (options >playback > output) instead of the default DirectShow device. Maybe that works better in combination with the motu sound card.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by alessandro_sdt Thu Oct 15, 2015 8:55 pm

thanks for the answer.
Sadly the "internal audio render" doesn't help.
The playback rate is around 30-35 fps instead of 50, but with the internal soundcard everything is fine and the fps is steady at 50.
remuxing the track without audio. strangely enough, i have the same behaviour: slow with motu and ok with internal soundcard.
A progressive version of the same video, at 25fps works fine

alessandro_sdt

Posts : 7
Join date : 2015-10-15

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by alessandro_sdt Thu Oct 15, 2015 10:03 pm

well, i forgot to say, i'm using win7-64 bit with the latest MPC-HC 64 (same issue with the 32bit version). NVIDIA geforce gt640 card with latest drivers.

alessandro_sdt

Posts : 7
Join date : 2015-10-15

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Fri Oct 16, 2015 3:42 pm

Interesting. Maybe the Motu driver causes system-wide problems such as high DPC Latency.

You could also try the Yadif deinterlacer in LAV Video. Set it to 25/30p output.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by alessandro_sdt Fri Oct 16, 2015 10:52 pm

hi, after further testing i discovered that after sone 15 secs of slow playback, the speed tends to normalize around the intended value. So the problem happens only at the beginning.

The 60p 60i files have no problem at all, but mine, which are recorded by a canon 5D camera, always shows this behaviour.
Here the mediainfo report for those files

General
ID : 0 (0x0)
Complete name : D:\WORKING\00023.MTS
CompleteName_Last : D:\WORKING\00048.MTS
Format : BDAV
Format/Info : Blu-ray Video
File size : 4.91 GiB
Duration : 14s 850ms
Overall bit rate mode : Variable
Overall bit rate : 2 843 Mbps
Maximum Overall bit rate : 24.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Format settings, GOP : M=3, N=12
Codec ID : 27
Duration : 14s 791ms
Bit rate mode : Variable
Bit rate : 2 729 Mbps
Maximum bit rate : 21.6 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 52.642
Stream size : 4.70 GiB (96%)

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : PCM
Format settings, Endianness : Big
Format settings, Sign : Signed
Muxing mode : Blu-ray
Codec ID : 128
Duration : 14s 866ms
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Delay relative to video : -80ms
Stream size : 2.72 MiB (0%)

I noticed these are "fake interlaced" because there are no time difference between top and bottom field. They are just a mere representation of the odd and even lines for the same progressive frame.




alessandro_sdt

Posts : 7
Join date : 2015-10-15

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Fri Oct 16, 2015 11:23 pm

You could try remuxing it to .mkv with MkvToolnix. Maybe that makes a difference.

You should also test if the same happens when you play it with VLC Player.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by alessandro_sdt Fri Oct 16, 2015 11:33 pm

remuxing into mkv doesn't make any difference. i don't have the vlc installed, because mpc has a better image quality and because the fps-refresh sync capability. Further more has a better way to deal with specific soundcard drivers like those from motu.

alessandro_sdt

Posts : 7
Join date : 2015-10-15

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Fri Oct 16, 2015 11:48 pm

I was suggesting VLC because it uses an entirely different playback framework. Just to see if that makes any difference. If you uncheck everything in its installer (file associations, etc) then it won't interfere with anything and MPC-HC will stay the default player.

Since it also happens if you play without audio track, and only with the Motu card, I honestly have no idea what could be wrong. Best course of action would be to ask Motu for help.

If you record at 23.976 fps, then it shouldn't use the fake interlacing.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by alessandro_sdt Fri Oct 16, 2015 11:55 pm

the video are at 25 interlaced, but both fields appear to belong to the same camera shot, so there's no motion benefits. Ill try with vlc

alessandro_sdt

Posts : 7
Join date : 2015-10-15

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Admin Sat Oct 17, 2015 12:06 am

It does the fake interlacing for Blu-ray compatibility, as that does not support 25fps progressive video. It does support 24 (=23,976) fps progressive.

Admin
Admin

Posts : 7331
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by alessandro_sdt Sun May 01, 2016 9:59 am

Hi, just upgraded to the new version of the k-lite pack and the problem is gone. Perfect smooth playback now.
Before the upgrade i had to turn off the HW playback option. Now is fine.
Thanks.

alessandro_sdt

Posts : 7
Join date : 2015-10-15

Back to top Go down

MPEG-TS files playback - slow motion movement Empty Re: MPEG-TS files playback - slow motion movement

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum