Issue with compoundplug crashing VP13 and 15 for certain MP4 files

JazonXD wrote on 10/27/2017, 8:53 PM

Hello everyone, first post here, sorry if I didn't post correctly,

But since Nvidia Shadowplay has finally split the microphone and system sounds audio tracks, some certain files that Shadowplay records (they all record in MP4), when importing those videos into VP, it crashes the program because it gets stuck on trying to build the peaks of the audio.

I can disable compoundplug, but then it uses mcmp4plug2 and it causes the video's framerate to randomly jump between 45 ish? and 60 even though the original media is 60p and my render settings are 60p etc.

Videos that Shadowplay recorded before the new separate tracks feature (meaning only one audio track for each video) never had this issue and no issue with rendered videos' framerates.

Can anyone experienced help point me to a solution/workaround or just enlighten me as to what's going on? Or if anything, has anyone else experienced the same thing? I've tried this on VP13 and VP15, both crashed, tried it on another system (my work laptop), still crashes with the exact same behaviour.

Thanks!

Comments

NickHope wrote on 10/27/2017, 9:22 PM

Please share a sample file (e.g. on Dropbox, Google Drive, OneDrive, mega.nz, wetransfer.com or mediafire.com).

JazonXD wrote on 10/28/2017, 12:26 AM

Please share a sample file (e.g. on Dropbox, Google Drive, OneDrive, mega.nz, wetransfer.com or mediafire.com).

Okay, here it is: https://drive.google.com/drive/folders/0BwBq64SNx5nQdHJodWNmT3QtZFE?usp=sharing

Just a simple gameplay footage, two channels of audio. I also included the SFK files that VP tried to create when importing the file.

Thanks!

NickHope wrote on 10/28/2017, 2:20 AM

Thanks. Here's my findings in VP15 build 216:

so4compoundplug. Plays smoothly but decodes the mic audio incorrectly, with repetition, and decodes stereo streams to 2 x mono streams, which is a known issue.

compoundplug. Doesn't get past 1% of building peaks. Same happens in VP13 & 14.

mcmp4plug2. Plays smoothly for me but says it's playing back at 100fps, which must be wrong.

MediaInfo is below (I'd love to put it in code tags but that option seems to have suddenly disappeared on this forum). Take note it says variable frame rate, but sometimes those figures make the frame rate look much more variable than they really are (e.g. Might just be a frame or 2).

You're going to have to rewrap or transcode something to get this working. Simplest would be to decode with mcmp4plug2 and render your audio out to WAV files. Then decode with so4compoundplug, delete the audio tracks and bring in the WAV files. Be careful of sync. There are many other combinations and workarounds possible here. See this thread.

Please leave the file online for the time being. I would like to alert the developers to it.

------

General
Complete name                            : E:\0-test-media\Shadowplay-2-audio-streams-JazonXD.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42)
File size                                : 842 MiB
Duration                                 : 2 min 30 s
Overall bit rate                         : 47.0 Mb/s
Recorded date                            : 2017
Encoded date                             : UTC 2017-10-18 04:24:20
Tagged date                              : UTC 2017-10-18 04:24:20

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.2
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 1 frame
Format settings, GOP                     : M=1, N=30
Muxing mode                              : Container profile=High@1.3
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2 min 30 s
Bit rate                                 : 46.6 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 59.469 FPS
Minimum frame rate                       : 7.094 FPS
Maximum frame rate                       : 63.785 FPS
Original frame rate                      : 60.000 FPS

Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.378
Stream size                              : 834 MiB (99%)
Title                                    : VideoHandle
Encoded date                             : UTC 2017-10-18 04:24:20
Tagged date                              : UTC 2017-10-18 04:24:20
Color range                              : Limited
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.470 System M
Matrix coefficients                      : BT.601
mdhd_Duration                            : 150163

Audio #1
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 2 min 30 s
Source duration                          : 2 min 30 s
Bit rate mode                            : Constant
Bit rate                                 : 197 kb/s
Nominal bit rate                         : 96.0 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 3.52 MiB (0%)
Source stream size                       : 3.52 MiB (0%)
Title                                    : SoundHandle / System sounds
Encoded date                             : UTC 2017-10-18 04:24:20
Tagged date                              : UTC 2017-10-18 04:24:20
mdhd_Duration                            : 150074

Audio #2
ID                                       : 3
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 2 min 30 s
Source duration                          : 2 min 30 s
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Nominal bit rate                         : 96.0 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 3.50 MiB (0%)
Source stream size                       : 3.50 MiB (0%)
Title                                    : SoundHandle / Microphone
Encoded date                             : UTC 2017-10-18 04:24:20
Tagged date                              : UTC 2017-10-18 04:24:20
mdhd_Duration                            : 150059

JazonXD wrote on 10/28/2017, 1:07 PM

Here's my findings in VP15 build 216:

-SNIP-

Wow. Thank you so much for the quick and detailed response! Everything you observed was what I was experiencing. I disabled so4compound at first already because I happened to stumble on the sticky on this forum about problems with so4.

For mcmp4plug2, although the preview on VP may look smooth, once rendered, the video will have random sections (these sections changes with every little change of render settings or even with every render!) where the frame rates seem to drop to about 45 or 30 ish. Even if you go frame by frame in the VP preview at those sections, you can find where there are frames that repeat (as long as video project settings are at 60fps).

Just to elaborate further on the compoundplug, strangely enough, this building peaks crash only happens on this file and like one or two other files. Other files that I've recorded so far, even in the same game, same day, etc. imports into VP just fine and renders just fine haha.

Anyways, thanks once again, great first experience with this forum lol.

JazonXD wrote on 6/14/2018, 8:31 PM

Thanks. Here's my findings in VP15 build 216:

-SNIP-

Hello Nick, I wanted to open another post, but decided to bump this old one instead. I saw that in build 361, there were some changes made with so4compoundplug. Hoping that it would fix my issues (shown in this thread), I tried the new build but still had the same results as before (build 216). Can you please verify that this is indeed the case, and if it is, is there a way to notify the team as an issue to look at? Thanks!