BUG? h265 video only has 1 audio track on timeline, should have 2

Malix82 wrote on 4/6/2020, 9:15 AM

I'm fairly at loss here, I have 2 "almost" identical video files: mp4 container, 2 stereo AAC (320kbps) audio tracks. Only difference is that one has video encoded with h264, the other with h265

The h264 encoded file works as you'd expect in VMSP 16 (build 175), when dropped onto timeline both audiotracks are added

When I drop the h265 file on the timeline, only the first audiotrack is added. The video properties also only shows the first audiotrack, but other software (eg. VLC player, ffmpeg) show both. And in VLC I can also hear the other audio track when I change the playing track on the file.

I made both videos the same way: recorded using OBS Studio (version 25.0.4), using following encoders for video: nvenc_hevc for h265 and nvenc_h264 for h264. Matroska container, although I did also test with mp4 container, same results.

The matroska files I tried remuxing with OBS Studio, and manually with ffmpeg (ffmpeg -i foo.mkv -c copy -map 0 out.mp4), same results.

screenshots: https://imgur.com/a/l2GgMyU - just in case.

and the video clip properties from VMSP

h264 video:

General
  Name: h264.mkv.mp4
  Folder: R:\Rec_OBS\test
  Type: AVC
  Size: 4,01 MB (4 106 816 bytes)
  Created: Monday, April 6, 2020, 4:35:17 PM
  Modified: Monday, April 6, 2020, 4:35:17 PM
  Accessed: Monday, April 6, 2020, 4:48:23 PM
  Attributes: ArchiveStreams
  Video: 00.00.17,768, 59,942 (VFR) fps progressive, 2560x1440x32, AVC
  Audio 1: 00.00.17,705, 48 000 Hz; Stereo, AAC
  Audio 2: 00.00.17,705, 48 000 Hz; Stereo, AACSummary
  [TCFM]: 8ACID information
  ACID chunk: no
  Stretch chunk: no
  Stretch list: no
  Stretch info2: no
  Beat markers: no
  Detected beats: noOther metadata
  Regions/markers: no
  Command markers: noMedia manager
  Media tags: noPlug-In
  Name: so4compoundplug.dll
  Folder: C:\Program Files\VEGAS\Movie Studio Platinum 16.0\FileIO Plug-Ins\so4compoundplug
  Format: AVC
  Version: Version 1.0 (Build 8532)
  Company: MAGIX Computer Products Intl. Co.

h265 video:

General
  Name: h265.mkv.mp4
  Folder: R:\Rec_OBS\test
  Type: Intel HEVC
  Size: 6,03 MB (6 177 871 bytes)
  Created: Monday, April 6, 2020, 4:35:21 PM
  Modified: Monday, April 6, 2020, 4:35:21 PM
  Accessed: Monday, April 6, 2020, 4:49:07 PM
  Attributes: ArchiveStreams
  Video: 00.00.19,398, 59,953 fps progressive, 2560x1440x32, HEVC
  Audio: 00.00.19,348, 48 000 Hz; Stereo, AACACID information
  ACID chunk: no
  Stretch chunk: no
  Stretch list: no
  Stretch info2: no
  Beat markers: no
  Detected beats: noOther metadata
  Regions/markers: no
  Command markers: noMedia manager
  Media tags: noPlug-In
  Name: mxhevcplug.dll
  Folder: C:\Program Files\VEGAS\Movie Studio Platinum 16.0\FileIO Plug-Ins\mxhevcplug
  Format: Intel HEVC
  Version: Version 1.0 (Build 8532)
  Company: MAGIX Computer Products Intl. Co.

 

and finally; https://www.dropbox.com/s/rqwyyzlrnnfewx3/h264_and_h265_clips.zip?dl=0 the video clips in question, if anyone wants to doublecheck this.

So, am I doing something wrong here? Why doesn't the second audiotrack on the h265 file show at all in VMSP?

Comments

Musicvid wrote on 4/6/2020, 1:12 PM

Post also the audio properties from MediaInfo for both files. It may give as clue.

https://www.vegascreativesoftware.info/us/forum/faq-how-to-post-mediainfo-and-vegas-pro-file-properties--104561/

Malix82 wrote on 4/6/2020, 1:31 PM
General
Complete name                            : R:\Rec_OBS\test\h264.mkv.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 3.92 MiB
Duration                                 : 17 s 767 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 849 kb/s
Writing application                      : Lavf57.83.100Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L5.1
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 17 s 767 ms
Bit rate mode                            : Variable
Bit rate                                 : 1 444 kb/s
Maximum bit rate                         : 75.0 Mb/s
Width                                    : 2 560 pixels
Height                                   : 1 440 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 59.940 (59940/1000) FPS
Minimum frame rate                       : 58.824 FPS
Maximum frame rate                       : 62.500 FPS
Original frame rate                      : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.007
Stream size                              : 3.06 MiB (78%)
Color range                              : Full
Matrix coefficients                      : BT.709
Codec configuration box                  : avcCAudio #1
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 17 s 749 ms
Bit rate mode                            : Constant
Bit rate                                 : 144 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 316 KiB (8%)
Default                                  : Yes
Alternate group                          : 1Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 17 s 749 ms
Bit rate mode                            : Constant
Bit rate                                 : 244 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 529 KiB (13%)
Default                                  : Yes
Alternate group                          : 2
General
Complete name                            : R:\Rec_OBS\test\h265.mkv.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/mp41)
File size                                : 5.89 MiB
Duration                                 : 19 s 402 ms
Overall bit rate                         : 2 547 kb/s
Writing application                      : Lavf57.83.100Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L5@High
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 19 s 402 ms
Bit rate                                 : 2 149 kb/s
Width                                    : 2 560 pixels
Height                                   : 1 440 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 59.940 (59940/1000) FPS
Minimum frame rate                       : 58.824 FPS
Maximum frame rate                       : 62.500 FPS
Original frame rate                      : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.010
Stream size                              : 4.97 MiB (84%)
Color range                              : Full
Matrix coefficients                      : BT.709
Codec configuration box                  : hvcCAudio #1
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 19 s 392 ms
Bit rate mode                            : Constant
Bit rate                                 : 132 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 318 KiB (5%)
Default                                  : Yes
Alternate group                          : 1Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 19 s 392 ms
Bit rate mode                            : Constant
Bit rate                                 : 249 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 590 KiB (10%)
Default                                  : Yes
Alternate group                          : 2

Though, I'd *assume* both are identical in the audio department as I made them as such. :)

Musicvid wrote on 4/6/2020, 3:02 PM

You may have identified a bug in the HEVC decoder and would be encouraged to report it as such, along with the excellent documentation you have, as well as a screenshot of the Vegas timeline, which I assume shows one audio channel (?)

Musicvid wrote on 4/6/2020, 3:07 PM

I also have the Intel encoder and may have time to run a test when I recover from a recent back injury and am off meds.

Malix82 wrote on 4/6/2020, 3:10 PM

Thanks, good to hear I'm not completely losing it in quarantie x)

If you're referring to the screenshot of my timeline on the imgur album, yea, the h265 only loads up with one audiotrack, whereas the h264 pops up with 2.

So... uh, how does one actually report bugs? Do I poke a dev on forums (here?) or do they have an issue tracker somewhere?

Musicvid wrote on 4/6/2020, 3:17 PM

You could just change your thread title so it will get noticed as such, or through the support link at top of page, or here:

https://www.vegascreativesoftware.info/us/proxy/85b33662fb5aedd97263/?link=https%3A//support2.magix.com/customer/en/vegas/form

Malix82 wrote on 4/6/2020, 3:32 PM

ah, how did I mis that big Support -link. Thanks for pointing it out. added "BUG" prefix to the thread's name.

edit: also, sent a support ticket. Funny enough, the support system referred me to this exact thread when trying to send the ticket

j-v wrote on 4/6/2020, 3:42 PM

I don't know if you may call it a bug.
It also could be a reduction of the Movie Studio Pl version.

Look to my screenshots on the same hardware, the first of VMS 16 pl and the second of VPro 17 with added the H264 and the H265 file

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

Malix82 wrote on 4/6/2020, 3:45 PM

I don't know if you may call it a bug.
It also could be a reduction of the Movie Studio Pl version.

Look to my screenshots on the same hardware, the first of VMS 16 pl and the second of VPro 17 with added the H264 and the H265 file

I take you can't check it with VPro 16? If it's a "feature" of VMSP then it's a rather odd one, I'd like to see some specs about which video codecs restrict the amount of audiotracks in that case :)

Though, I'd assume it's most likely just fixed in the version 17 -family. Wonder when the next upgrade on VMSP drops...

j-v wrote on 4/6/2020, 3:59 PM

Though, I'd assume it's most likely just fixed in the version 17 -family.

Yess it is an updated option of the File I/O preference to decode mkv files

Wonder when the next upgrade on VMSP drops...

Don't count on it, mind my words of "a reduction"

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)