Giter VIP home page Giter VIP logo

Comments (4)

sbraz avatar sbraz commented on May 25, 2024

Hi, I'm not sure what language_list is, pymediainfo does not expose have such an attribute. Please send me the output of mediainfo --output=OLDXML -f <file>
Edit: OK, I get it, this is one of the attributes of the General track.

from pymediainfo.

jasonlyle88 avatar jasonlyle88 commented on May 25, 2024

Well that is odd. In general, you can see that both the "audio_language_list" and "video_language_list" have values of "English". In the video track, you can see several "Language" entries all denoting English. However, in the audio track, there is no "Language" specified.

General
Count                                    : 308
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 213635907094168265543511717483784765659
Unique ID                                : 213635907094168265543511717483784765659 (0xA0B8C770EDA3D105A8970E98371500DB)
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Video_Language_List                      : English
Audio_Format_List                        : AC-3
Audio_Format_WithHint_List               : AC-3
Audio codecs                             : AC3
Audio_Language_List                      : English
Complete name                            : /nas/diskstation/torrents/shows/Young Sheldon (2017)/S001/Young Sheldon (2017) [S001E01] [720P HDTV H264]/Young Sheldon (2017) [S001E01] [720P HDTV H264].mkv
Folder name                              : /nas/diskstation/torrents/shows/Young Sheldon (2017)/S001/Young Sheldon (2017) [S001E01] [720P HDTV H264]
File name                                : Young Sheldon (2017) [S001E01] [720P HDTV H264]
File extension                           : mkv
Format                                   : Matroska
Format                                   : Matroska
Format/Url                               : http://packs.matroska.org/
Format/Extensions usually used           : mkv mk3d mka mks
Commercial name                          : Matroska
Format version                           : Version 2
Codec                                    : Matroska
Codec                                    : Matroska
Codec/Url                                : http://packs.matroska.org/
Codec/Extensions usually used            : mkv mk3d mka mks
File size                                : 491381244
File size                                : 469 MiB
File size                                : 469 MiB
File size                                : 469 MiB
File size                                : 469 MiB
File size                                : 468.6 MiB
Duration                                 : 1288000
Duration                                 : 21mn 28s
Duration                                 : 21mn 28s 0ms
Duration                                 : 21mn 28s
Duration                                 : 00:21:28.000
Duration                                 : 00:21:28;07
Duration                                 : 00:21:28.000 (00:21:28;07)
Overall bit rate                         : 3052057
Overall bit rate                         : 3 052 Kbps
Frame rate                               : 23.976
Frame rate                               : 23.976 fps
Frame count                              : 30881
Stream size                              : 9779749
Stream size                              : 9.33 MiB (2%)
Stream size                              : 9 MiB
Stream size                              : 9.3 MiB
Stream size                              : 9.33 MiB
Stream size                              : 9.327 MiB
Stream size                              : 9.33 MiB (2%)
Proportion of this stream                : 0.01990
Encoded date                             : UTC 2017-09-25 20:09:43
File last modification date              : UTC 2017-09-26 01:25:42
File last modification date (local)      : 2017-09-25 21:25:42
Writing application                      : mkvmerge v3.1.0 ('Happy up here') built on Jan 19 2010 12:09:24
Writing application                      : mkvmerge v3.1.0 ('Happy up here') built on Jan 19 2010 12:09:24
Writing library                          : libebml v0.7.9 + libmatroska v0.8.1
Writing library                          : libebml v0.7.9 + libmatroska v0.8.1

Video
Count                                    : 311
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : [email protected]
Format settings                          : CABAC / 8 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 8
Format settings, ReFrames                : 8 frames
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Codec                                    : V_MPEG4/ISO/AVC
Codec                                    : AVC
Codec/Family                             : AVC
Codec/Info                               : Advanced Video Codec
Codec/Url                                : http://ffdshow-tryout.sourceforge.net/
Codec profile                            : [email protected]
Codec settings                           : CABAC / 8 Ref Frames
Codec settings, CABAC                    : Yes
Codec_Settings_RefFrames                 : 8
Duration                                 : 1287996
Duration                                 : 21mn 27s
Duration                                 : 21mn 27s 996ms
Duration                                 : 21mn 27s
Duration                                 : 00:21:27.996
Duration                                 : 00:21:28;07
Duration                                 : 00:21:27.996 (00:21:28;07)
Bit rate                                 : 2607321
Bit rate                                 : 2 607 Kbps
Width                                    : 1280
Width                                    : 1 280 pixels
Height                                   : 720
Height                                   : 720 pixels
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 fps
Frame count                              : 30881
Resolution                               : 8
Resolution                               : 8 bits
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Interlacement                            : PPF
Interlacement                            : Progressive
Bits/(Pixel*Frame)                       : 0.118
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 419777495
Stream size                              : 400 MiB (85%)
Stream size                              : 400 MiB
Stream size                              : 400 MiB
Stream size                              : 400 MiB
Stream size                              : 400.3 MiB
Stream size                              : 400 MiB (85%)
Proportion of this stream                : 0.85428
Writing library                          : x264 - core 152 r2851 ba24899
Writing library                          : x264 core 152 r2851 ba24899
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 152 r2851 ba24899
Encoding settings                        : cabac=1 / ref=8 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : No
Default                                  : No
Forced                                   : No
Forced                                   : No

Audio
Count                                    : 266
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Unique ID                                : 1998715540
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : AC-3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Codec                                    : AC3
Codec                                    : AC3
Codec/Family                             : AC3
Codec/Info                               : Dolby AC3
Duration                                 : 1288000
Duration                                 : 21mn 28s
Duration                                 : 21mn 28s 0ms
Duration                                 : 21mn 28s
Duration                                 : 00:21:28.000
Duration                                 : 00:21:28.000
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 384000
Bit rate                                 : 384 Kbps
Channel(s)                               : 6
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Channel positions                        : 3/2/0.1
ChannelLayout                            : L C R LFE Ls Rs
Sampling rate                            : 48000
Sampling rate                            : 48.0 KHz
Samples count                            : 61824000
Compression mode                         : Lossy
Compression mode                         : Lossy
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : 0
Delay relative to video                  : 00:00:00.000
Video0 delay                             : 0
Video0 delay                             : 00:00:00.000
Stream size                              : 61824000
Stream size                              : 59.0 MiB (13%)
Stream size                              : 59 MiB
Stream size                              : 59 MiB
Stream size                              : 59.0 MiB
Stream size                              : 58.96 MiB
Stream size                              : 59.0 MiB (13%)
Proportion of this stream                : 0.12582
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No
bsid                                     : 8
dialnorm                                 : -31
dialnorm/String                          : -31 dB
acmod                                    : 7
lfeon                                    : 1
dialnorm_Average                         : -31
dialnorm_Average/String                  : -31 dB
dialnorm_Minimum                         : -31
dialnorm_Minimum/String                  : -31 dB
dialnorm_Maximum                         : -31
dialnorm_Maximum/String                  : -31 dB
dialnorm_Count                           : 2

from pymediainfo.

sbraz avatar sbraz commented on May 25, 2024

My library is merely a wrapper for https://github.com/MediaArea/MediaInfoLib/. You should probably report the issue there.

from pymediainfo.

jasonlyle88 avatar jasonlyle88 commented on May 25, 2024

Agreed. This has been opened at MediaArea/MediaInfoLib#790

from pymediainfo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.