Jump to content


Photo

Autoresolution detects wrong frame rate


  • Please log in to reply
30 replies to this topic

Re: Autoresolution detects wrong frame rate #21 jbollacke

  • Member
  • 13 posts

0
Neutral

Posted 16 May 2014 - 10:55

So why does OpenPLi play the file @ 25 fps without problems but reports it is 24 fps? That's inconsistent aswell.

 

And which library is used to determine the framerate reported by iServiceInformation? I am willing to further look into it but i need some guidance on where to look as I am not familiar with the OpenPLi codebase yet.


Edited by jbollacke, 16 May 2014 - 10:57.


Re: Autoresolution detects wrong frame rate #22 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 16 May 2014 - 11:19

Gstreamer. Which may use any variety of third party libraries.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Autoresolution detects wrong frame rate #23 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 16 May 2014 - 20:06

Gstreamer needs an update too, current used version is old and buggy.


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Autoresolution detects wrong frame rate #24 littlesat

  • PLi® Core member
  • 57,118 posts

+698
Excellent

Posted 17 May 2014 - 08:16

I agree.... there is a tread where they tried to get a gstreamer >1 running... but also that is not performing 100% at the moment... OpenPLi started the "project" back in november/december 2012... It seems to need more time to complete...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Autoresolution detects wrong frame rate #25 jbollacke

  • Member
  • 13 posts

0
Neutral

Posted 19 May 2014 - 12:14

FYI: I "fixed" the frame rate by directly patching the SPS-VUI information from 48000 / 1001 to 50000 / 1000. Maybe this is worth a tool for automation :-]



Re: Autoresolution detects wrong frame rate #26 socks

  • Senior Member
  • 54 posts

+3
Neutral

Posted 2 June 2014 - 14:19

I have exactly the same problem with many MKVs of TV series.

When I show them with any media player on Windows or Linux or with OpenPLi without Autoresultion it's played correctly with 25fps.

As soon as I activate Autoresolution it's played back with 24fps and i have stutter every second.

 

I know it's an inconsistency within the media file, but why doesn't Autoresolution behave like any other media player?

 

Here is the MediaInfo output of an affected file:

 

General
Unique ID                                : 193831035115157693775464149124474485520 (0x91D27FDD22478EEB86D0C05382F83B10)
Complete name                            : /mnt/srvdata/MOVIES.HD/Monk HD/S07/Monk.S07E01.Mr.Monk.kauft.ein.Haus.DL.German.Dubbed.720p.WEB-DL.AC3.h264-FREAKS.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 1.37 GiB
Duration                                 : 41mn 24s
Overall bit rate                         : 4 749 Kbps
Encoded date                             : UTC 2010-04-03 18:45:46
Writing application                      : mkvmerge v2.9.7 ('Tenderness') built on Jul  1 2009 18:43:35
Writing library                          : libebml v0.7.7 + libmatroska v0.8.1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : No
Format settings, ReFrames                : 2 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 41mn 24s
Bit rate                                 : 4 079 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Original frame rate                      : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.177
Stream size                              : 1.18 GiB (86%)
Language                                 : German
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 41mn 24s
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 56.9 MiB (4%)
Language                                 : German
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 41mn 24s
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 114 MiB (8%)
Language                                 : English
Default                                  : No
Forced                                   : No

 

And here is the MediaInfo output of a correct file. As you can see the "Original frame rate" field is missing completely.

 

General
Unique ID                                : 234431999502370570920529747609338403551 (0xB05DF5F57181F7C8A0AB494F7CDA5ADF)
Complete name                            : /mnt/srvdata/MOVIES.HD/Monk HD/S06/Monk.S06E15.Mr.Monk.wird.gejagt.1.REPACK.German.DD20.Dubbed.DL.720p.iTunesHD.AVC-TVS.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 1.49 GiB
Duration                                 : 43mn 15s
Overall bit rate                         : 4 933 Kbps
Encoded date                             : UTC 2011-08-25 19:25:10
Writing application                      : mkvmerge v4.4.0 ('Die Wiederkehr') gebaut am Oct 31 2010 21:52:48
Writing library                          : libebml v1.0.0 + libmatroska v1.0.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : No
Format settings, ReFrames                : 2 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 43mn 15s
Bit rate                                 : 4 162 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.181
Stream size                              : 1.26 GiB (84%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 43mn 15s
Bit rate mode                            : Constant
Bit rate                                 : 224 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 69.3 MiB (5%)
Title                                    : monk-615-german-tvs
Language                                 : German
Default                                  : Yes
Forced                                   : Yes

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 43mn 15s
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 139 MiB (9%)
Title                                    : monk-615-english-tvs
Language                                 : English
Default                                  : No
Forced                                   : No



Re: Autoresolution detects wrong frame rate #27 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 2 June 2014 - 14:23

Autoresolution get it's information from the (hardware) decoder, don't blame autoresolution.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Autoresolution detects wrong frame rate #28 socks

  • Senior Member
  • 54 posts

+3
Neutral

Posted 2 June 2014 - 14:34

Any idea how to patch the media file to fix it?

Are there any tools?



Re: Autoresolution detects wrong frame rate #29 socks

  • Senior Member
  • 54 posts

+3
Neutral

Posted 2 June 2014 - 14:45

Autoresolution get it's information from the (hardware) decoder, don't blame autoresolution.

I doubt that. Why does it work without Autoresolution?



Re: Autoresolution detects wrong frame rate #30 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 2 June 2014 - 14:55

I'd say, have a look in the autoresolution plugin code.


Edited by Erik Slagter, 2 June 2014 - 14:55.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Autoresolution detects wrong frame rate #31 jbollacke

  • Member
  • 13 posts

0
Neutral

Posted 18 September 2014 - 15:03

Any idea how to patch the media file to fix it?

Are there any tools?

I did that manually. Though it is a rather complicated and error-prone task. I searched for the SPS VUI in the MKV and changed the bitstream so time_scale = 25000 and num_units_in_tick = 1000 using a hex editor.


Edited by jbollacke, 18 September 2014 - 15:03.



5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users