Movie Studio Platinum 16.0 - Audio out of sync HEVC

Emig5m wrote on 3/17/2019, 10:33 PM

When I import a 1080p/60fps video from my Galaxy S10 that was encoded with the HEVC codec the sound track is a minute longer than the video track on a 35 minute video. If I load the video into the MPC-HC x64 (Media Player Classic) video player there's no problem with the audio and video syncing until the end or on the phone itself so it's definitely the fault of Movie Studio. Any way to overcome this problem? I upgraded from version 13 to 16 just for the HEVC support and this is a bummer that I wasted my money for something no working correctly. I could of just stayed with H.264/Movie Studio 13.

Comments

Emig5m wrote on 3/17/2019, 11:32 PM

So it appears going by the time length of the video in the media player it's the video being detected as too short by Movie Studio. So for instance, when I open the video file in media player classic it shows a time of 35:13 but when I initially open the file with movie studio it reports the audio as correct (35:12;36) but the video too short (34:44;13). Why is it doing this?

EricLNZ wrote on 3/18/2019, 1:56 AM

When you look at the MediaInfo in MPC-HC File/Properies does it show the video and audio streams as the same length?

Emig5m wrote on 3/18/2019, 7:57 AM

When you look at the MediaInfo in MPC-HC File/Properies does it show the video and audio streams as the same length?

Yes, both say 35 min 12 s. The part that makes me wonder is the "variable frame rate". Here's the complete file info from MPC-HC:

 

==========================================================================

General
Complete name                  : C:\Users\My System\Desktop\New folder (6)\20190317_180355.mp4
Format                         : MPEG-4
Format profile                 : Base Media / Version 2
Codec ID                       : mp42 (isom/mp42)
File size                      : 4.00 GiB
Duration                       : 35 min 12 s
Overall bit rate               : 16.3 Mb/s
Encoded date                   : UTC 2019-03-17 22:39:09
Tagged date                    : UTC 2019-03-17 22:39:09
com.android.version            : 9

Video
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main@L5@Main
Codec ID                       : hvc1
Codec ID/Info                  : High Efficiency Video Coding
Duration                       : 35 min 12 s
Bit rate                       : 16.0 Mb/s
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Variable
Frame rate                     : 59.133 FPS
Minimum frame rate             : 14.925 FPS
Maximum frame rate             : 118.890 FPS
Standard                       : PAL
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Bits/(Pixel*Frame)             : 0.130
Stream size                    : 3.93 GiB (98%)
Title                          : VideoHandle
Language                       : English
Encoded date                   : UTC 2019-03-17 22:39:09
Color range                    : Limited
Color primaries                : BT.709
Transfer characteristics       : BT.709
Matrix coefficients            : BT.709
mdhd_Duration                  : 2112930

Audio
ID                             : 2
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 35 min 12 s
Bit rate mode                  : Constant
Bit rate                       : 256 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                    : 64.5 MiB (2%)
Title                          : SoundHandle
Language                       : English
Encoded date                   : UTC 2019-03-17 22:39:09
Tagged date                    : UTC 2019-03-17

==========================================================================

 

Maybe sticking to 30fps would help? I was looking to film a concert tonight so I'll probably play it safe and just use H.264 @ 30fps just to make sure I have more rock solid compatibility but damned I upgraded to Movie Studio 16 for the HEVC/H.265 support. I should try a HEVC at 30fps to see if I get that problem but my time is short the rest of the day but I guess it's also to my understanding that 30fps might be better for lower light filming anway...

Emig5m wrote on 3/18/2019, 9:19 AM

Ok tried HEVC @ 30fps and have the exact opposite problem now, the video track is longer than the sound track in movie studio 16. Hmmm. Definitely going to stick with H.264 for now and I wonder if I can get a refund for Studio 16 since it's of no use to me? I wish the Cyberlink video editor (power director?) had a free trial that supported HECV, the free trial doesn't and it's $129 for the full version that supports HEVC, not worth it just to test and don't have the time anyway as I have to get on the road soon! H.264 will have to do!

j-v wrote on 3/18/2019, 9:25 AM

Maybe sticking to 30fps would help? I was looking to film a concert tonight so I'll probably play it safe and just use H.264 @ 30fps just to make sure I have more rock solid compatibility but damned I upgraded to Movie Studio 16 for the HEVC/H.265 support. I should try a HEVC at 30fps to see if I get that problem but my time is short the rest of the day but I guess it's also to my understanding that 30fps might be better for lower light filming anway...

I see the same with my "30"p smartphone files.
The reason is that Vegas does not like variable framerates and normally it should be possible handling those files trough Handbrake to convert them to steady framerate.
But I don't know exactly why ( I only can guess), but when I add an original file and the converted one to the time line of a project with stereo sound the difference in lenght between video and audio is not visible in Vegas

but when I open them in a project with surround audio I see the difference on original and converted one

My workaround is open the original file in a project with stereo sound and after adding the files switching the project back to surround, in which I delete the unused channal tracks

(And in cases the sound is of less importance I shrink the audio file at the end with hold Ctrl button on my keybord.)

Last changed by j-v on 3/18/2019, 9:33 AM, changed a total of 2 times.

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)

 

Marco. wrote on 3/18/2019, 9:34 AM

Also check your "Audio sync" setting in "Options/Preferences/General".

Emig5m wrote on 3/18/2019, 10:56 AM

Tried H.264 and no problem, works like normal, no separate video and audio track lengths - perfect to the millisecond. I'm going to stick to H.264 for now until HEVC is more common and all the bugs are worked out.

EDIT:

Also, the H.264 is also variable frame rate so I don't think that is the problem? The audio is detected as 46.875 FPS....huh? Weird.

===========================================================

General
Complete name                  : C:\Users\My System\Desktop\New folder (8)\20190318_101613.mp4
Format                         : MPEG-4
Format profile                 : Base Media / Version 2
Codec ID                       : mp42 (isom/mp42)
File size                      : 4.00 GiB
Duration                       : 33 min 10 s
Overall bit rate               : 17.3 Mb/s
Encoded date                   : UTC 2019-03-18 14:49:25
com.android.version            : 9

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L4
Format settings, CABAC         : Yes
Format settings, RefFrames     : 1 frame
Format settings, GOP           : M=1, N=30
Codec ID                       : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                       : 33 min 10 s
Bit rate                       : 17.0 Mb/s
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Variable
Frame rate                     : 30.086 FPS
Minimum frame rate             : 21.547 FPS
Maximum frame rate             : 40.179 FPS
Standard                       : PAL
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.272
Stream size                    : 3.94 GiB (98%)
Title                          : VideoHandle
Language                       : English
Encoded date                   : UTC 2019-03-18 14:49:25
Tagged date                    : UTC 2019-03-18 14:49:25
Color range                    : Limited
Color primaries                : BT.709
Transfer characteristics       : BT.709
Matrix coefficients            : BT.709
mdhd_Duration                  : 1990604

Audio
ID                             : 2
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 33 min 10 s
Bit rate mode                  : Constant
Bit rate                       : 256 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                    : 60.7 MiB (1%)
Title                          : SoundHandle
Language                       : English
Encoded date                   : UTC 2019-03-18 14:49:25

=====================================================

 

Emig5m wrote on 3/18/2019, 11:09 AM

Also check your "Audio sync" setting in "Options/Preferences/General".

The only thing I seen there is "Favor audio sync when playing variable frame rate (VFR) media" and it made no difference. I think this is just a bug with the software and HEVC/H.265 since playback multimedia apps don't have a problem with audio sync and they play just fine. Variable frame rate with H.264 also works just fine in Movie Studio.

j-v wrote on 3/18/2019, 11:16 AM

I showed you my experiences with AVC H.264 files from my smartphone.

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)

 

Marco. wrote on 3/18/2019, 11:48 AM

"The only thing I seen there is "Favor audio sync when playing variable frame rate (VFR) media" and it made no difference."

That's the one I meant. It probably would need a re-import of the media or/and a software restart to make it work.

Emig5m wrote on 3/18/2019, 12:41 PM

"The only thing I seen there is "Favor audio sync when playing variable frame rate (VFR) media" and it made no difference."

That's the one I meant. It probably would need a re-import of the media or/and a software restart to make it work.

I did re-start and re-import and it was sadly the same. Video is from a Galaxy S10 BTW. I would of liked to start using H.265 because it definitely creates smaller file sizes plus I read that its algorithm compresses with better visual quality due to much higher detailed macro blocks. I have to chalk this up to a bug in the software. The phone plays back the video fine as does MPC-HC. I do notice when I drag and drop a H.265 file into Movie Studio that it takes much longer to load into the timelime where as H.264 loads into the program instantaneously.

j-v wrote on 3/18/2019, 12:43 PM

@Marco.
I found something that is a bit strange to me.
When I disable that function in Pref/General the same adding out of a new imported same smartphone file in Project Media like I did before in my screenshots, I see now when adding that file on the timeline it has always the same lenght of video and audio in a project with stero audio or surround audio.
I can not understand this with the disabled function in Pref/ General. A bug maybe that is has to be the other way around?

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)