Transcoded videos with mythtranscode are missing metadata

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
mouselaw
Newcomer
Posts: 1
Joined: Sat May 02, 2020 9:27 am
Germany

Transcoded videos with mythtranscode are missing metadata

Post by mouselaw » Sun Oct 04, 2020 10:47 am

Hi,

with current version of MythTV 31.0 all of my transcoded files are missing metadata. I use mythtranscode to remove commercials in a lossless manner. After recording a TV broadcast I get the following info with "mediainfo":

Code: Select all

General
ID                                       : 161 (0xA1)
Complete name                            : 10305_20200502120500.ts
Format                                   : MPEG-TS
File size                                : 1.45 GiB
Duration                                 : 54 min 59 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 783 kb/s

Video
ID                                       : 543 (0x21F)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=12
Format settings, picture structure       : Frame
Codec ID                                 : 2
Duration                                 : 54 min 58 s
Bit rate mode                            : Variable
Bit rate                                 : 3 014 kb/s
Maximum bit rate                         : 15.0 Mb/s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Active Format Description                : Full frame 16:9 image
Frame rate                               : 25.000 FPS
Standard                                 : PAL
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.291
Stream size                              : 1.16 GiB (80%)

Audio #1
ID                                       : 544 (0x220)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Codec ID                                 : 3
Duration                                 : 54 min 59 s
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Frame rate                               : 41.667 FPS (1152 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -880 ms
Stream size                              : 75.5 MiB (5%)
Language                                 : German
Language, more info                      : Clean effects

Audio #2
ID                                       : 546 (0x222)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Codec ID                                 : 129
Duration                                 : 54 min 59 s
Bit rate mode                            : Constant
Bit rate                                 : 384 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -896 ms
Stream size                              : 151 MiB (10%)
Language                                 : German
Language, more info                      : Clean effects
Service kind                             : Complete Main

Text
ID                                       : 548 (0x224)-149
Menu ID                                  : 1 (0x1)
Format                                   : Teletext Subtitle
Language                                 : German

Other
ID                                       : 548 (0x224)-100
Menu ID                                  : 1 (0x1)
Format                                   : Teletext
Language                                 : German
After transcoding with mythtranscode this looks like the following:

Code: Select all

General
Complete name                            : 10305_20200502120500_transcoded.ts
File size                                : 2.40 GiB
This results in wrong aspect ration and stutter sound when playing the video. I'm using Ubuntu 20.04 and MythTV 31.0. With the latest "Mythbuntu 16.04" version this worked fine (don't know which version of MythTV was included to this).

Any ideas how to fix this?

Post Reply