[BD playlist] how to try to improve parsing..

Kurtnoise
2009-10-29
2012-12-11
  • Kurtnoise

    Kurtnoise - 2009-10-29

    Hi,

    With the current code, I get this:

        General
        Complete name                    : E:\HITMAN\BDMV\PLAYLIST\00052.mpls
        Format                           : Blu-ray Playlist
        File size                        : 606 Bytes
        Duration                         : 1h 34mn
       
        Video #1
        ID                               : 4113 (0x1011)
        Format                           : AVC
        Format/Info                      : Advanced Video Codec
        Duration                         : 1h 34mn
        Width                            : 1 920 pixels
        Height                           : 1 080 pixels
        Display aspect ratio             : 16:9
        Frame rate                       : 24.000 fps
       
        Video #2
        ID                               : 4113 (0x1011)
        Format                           : AVC
        Format/Info                      : Advanced Video Codec
        Duration                         : 1h 34mn
        Width                            : 1 920 pixels
        Height                           : 1 080 pixels
        Display aspect ratio             : 16:9
        Frame rate                       : 24.000 fps
       
        Audio #1
        ID                               : 4352 (0x1100)
        Format                           : DTS
        Format/Info                      : Digital Theater Systems
        Format profile                   : HD
        Duration                         : 1h 34mn
        Sampling rate                    : 48.0 KHz
        Language                         : French
       
        Audio #2
        ID                               : 4353 (0x1101)
        Format                           : DTS
        Format/Info                      : Digital Theater Systems
        Format profile                   : HD
        Duration                         : 1h 34mn
        Sampling rate                    : 48.0 KHz
        Language                         : English
       
        Audio #3
        ID                               : 4354 (0x1102)
        Format                           : DTS
        Format/Info                      : Digital Theater Systems
        Duration                         : 1h 34mn
        Channel(s)                       : 2 channels
        Sampling rate                    : 48.0 KHz
        Language                         : French
       
        Audio #4
        ID                               : 4352 (0x1100)
        Format                           : DTS
        Format/Info                      : Digital Theater Systems
        Format profile                   : HD
        Duration                         : 1h 34mn
        Sampling rate                    : 48.0 KHz
        Language                         : French
       
        Audio #5
        ID                               : 4353 (0x1101)
        Format                           : DTS
        Format/Info                      : Digital Theater Systems
        Format profile                   : HD
        Duration                         : 1h 34mn
        Sampling rate                    : 48.0 KHz
        Language                         : English
       
        Audio #6
        ID                               : 4354 (0x1102)
        Format                           : DTS
        Format/Info                      : Digital Theater Systems
        Duration                         : 1h 34mn
        Channel(s)                       : 2 channels
        Sampling rate                    : 48.0 KHz
        Language                         : French
       
        Text #1
        ID                               : 4608 (0x1200)
        Format                           : PGS
        Language                         : French
       
        Text #2
        ID                               : 4609 (0x1201)
        Format                           : PGS
        Language                         : French
       
        Text #3
        ID                               : 4608 (0x1200)
        Format                           : PGS
        Language                         : French
       
        Text #4
        ID                               : 4609 (0x1201)
        Format                           : PGS
        Language                         : French
       
        Menu
        00:00:00.000                     : Chapter 1

    so, why not merge streams infos which have the same PID ? that would be much more accurate…

    The mpls file is here : http://kurtnoise.free.fr/samples/

     
  • Kurtnoise

    Kurtnoise - 2009-10-29

    mmmh…maybe merging is not correct here. I'd say "don't duplicate info retrieving when PIDs are the same".

     
  • Jerome Martinez

    Jerome Martinez - 2009-10-29

    The question is why there is 2 "PlayItem" in the mpls file?

    Is there any reason in hte blu-ray disc?

     
  • Kurtnoise

    Kurtnoise - 2009-10-29

    probably because the movie is splitted into 00052.m2ts+00000.m2ts files ?…just a guess.

     
  • Jerome Martinez

    Jerome Martinez - 2009-10-29

    Could you provide  00052.clpi (first PlayItem) and 00000 (second PlayItem)?

    About duplicating info retrieving, optimisation would cost time, I don't currently have it…

     
  • Kurtnoise

    Kurtnoise - 2009-10-29

    Here are some infos that I've with eac3to :

        F:\audio\eac3to-3.17>eac3to.exe "E:\HITMAN"
        1) 00052.mpls, 00052.m2ts+00000.m2ts, 1:34:35
           - Chapters, 12 chapters
           - h264/AVC, 1080p24 (16:9)
           - DTS Hi-Res, French, multi-channel, 48khz
           - DTS Hi-Res, English, multi-channel, 48khz
           - DTS, French, stereo, 48khz
       
        2) 00000.mpls, 00000.m2ts, 1:34:34
           - h264/AVC, 1080p24 (16:9)
           - DTS Hi-Res, French, multi-channel, 48khz
           - DTS Hi-Res, English, multi-channel, 48khz
           - DTS, French, stereo, 48khz
       
        3) 00050.mpls, 00051.m2ts, 0:29:30
           - h264/AVC, 1080p24 (16:9)
           - DTS, English, stereo, 48khz
       
        F:\audio\eac3to-3.17>eac3to.exe "E:\HITMAN" 1)
        M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:35:07, 36p
        1: Chapters, 12 chapters
        2: h264/AVC, 1080p24 (16:9)
        3: DTS Hi-Res, French, 5.1 channels, 24 bits, 2046kbps, 48khz
           (core: DTS-ES, 5.1 channels, 24 bits, 1509kbps, 48khz)
        4: DTS Hi-Res, English, 5.1 channels, 24 bits, 2046kbps, 48khz
           (core: DTS-ES, 5.1 channels, 24 bits, 1509kbps, 48khz)
        5: DTS, French, 2.0 channels, 24 bits, 768kbps, 48khz
        6: Subtitle (PGS), French
        7: Subtitle (PGS), French

    hope this helps…

     
  • Jerome Martinez

    Jerome Martinez - 2009-10-29

    I will try to improve parsing when I have time (not soon)

     
  • Kurtnoise

    Kurtnoise - 2009-10-29

    clpi files uploaded at the same place…

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks