Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] OUGC Media Info Tag
#1
[Image: cover_preview_25096_1597534487_2299aed1f...3f4d31.png]

Description
Allow users to paste Media Info in posts using a tag that renders gracefully.

Download
Download from the MyBB Extend page.

Check the official page for more information.
Reply
#2
Nice one.
But how to add media info?
I adding below code but it asking for "The media info you inserted seems to be invalid."

[mediainfo]
General
Video : mpeg
Size : 900 MB[/mediainfo]

I add IMDB Link: https://www.imdb.com/title/tt9814458/
I disable now force to use media info tag for user Then it give below meaage - Using the media tag MyCode is quired in this forum eventhough I not used [mediainfo]xxx[/mediainfo] code in post.
Reply
#3
Using the example from the following page:
https://github.com/bhutanio/mediainfo-pa...erTest.php

You should be pasting something similar to:
[mediainfo]
General
Unique ID                                : 219102665597174011678599313130461357976 (0xA4D5A371E8BF9508B5633D2484186798)
Complete name                            : E:\Hostel Part III 1080p BluRay REMUX AVC DTS MA 5.1-R2TC.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 24.8 GiB
Duration                                 : 1h 27mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 40.5 Mbps
Movie name                               : Hostel: Part III
Encoded date                             : UTC 2015-06-22 14:21:06
Writing application                      : mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
Writing library                          : libebml v1.3.1 + libmatroska v1.4.2
Attachements                             : cover.jpg
DURATION                                 : 01:27:02.238000000
NUMBER_OF_FRAMES                         : 3249
NUMBER_OF_BYTES                          : 17400158
_STATISTICS_WRITING_APP                  : mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
_STATISTICS_WRITING_DATE_UTC             : 2015-06-22 14:21:06
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 27mn
Bit rate                                 : 40.5 Mbps
Bit rate mode                            : Variable
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Language                                 : English
Default                                  : No
Forced                                   : No
DURATION                                 : 01:27:45.260000000
NUMBER_OF_FRAMES                         : 126240
NUMBER_OF_BYTES                          : 16404187559
_STATISTICS_WRITING_APP                  : mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
_STATISTICS_WRITING_DATE_UTC             : 2015-06-22 14:21:06
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Audio #1
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 1h 27mn
Bit rate mode                            : Variable
Bit rate                                 : Unknown / 1 509 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                         : Lossless / Lossy
Title                                    : Surround 5.1
Language                                 : English
Default                                  : Yes
Forced                                   : No
DURATION                                 : 01:27:45.269000000
NUMBER_OF_FRAMES                         : 493619
NUMBER_OF_BYTES                          : 1499636572
_STATISTICS_WRITING_APP                  : mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
_STATISTICS_WRITING_DATE_UTC             : 2015-06-22 14:21:06
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Audio #2
ID                                       : 3
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 1h 27mn
Bit rate mode                            : Constant
Bit rate                                 : 1 509 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                              : 947 MiB (4%)
Title                                    : Surround 5.1
Language                                 : English
Default                                  : No
Forced                                   : No
DURATION                                 : 01:27:45.269000000
NUMBER_OF_FRAMES                         : 493619
NUMBER_OF_BYTES                          : 993161428
_STATISTICS_WRITING_APP                  : mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
_STATISTICS_WRITING_DATE_UTC             : 2015-06-22 14:21:06
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Text #1
ID                                       : 10
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Language                                 : English
Default                                  : No
Forced                                   : No
DURATION                                 : 01:27:04.365000000
NUMBER_OF_FRAMES                         : 1791
NUMBER_OF_BYTES                          : 7042373
_STATISTICS_WRITING_APP                  : mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
_STATISTICS_WRITING_DATE_UTC             : 2015-06-22 14:21:06
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Text #2
ID                                       : 11
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Language                                 : English
Default                                  : No
Forced                                   : No
[/mediainfo]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)