Intermittent Apple Quicktime playback issue

putzhead wrote on 12/9/2016, 9:00 PM

I'm unable to reliably play back and edit Quicktime video recorded on iPhone 4S devices. Sometimes I can hear the audio (with a black screen), or nothing at all, or VEGAS crashes. I've uninstalled Quicktime 7.6, installed the newer 7.7 version, started VEGAS with reset, tried VLC player, etc. The videos play perfectly in Quicktime player or VLC player, however VEGAS is having a really hard time with these Quicktime videos. Help!

Comments

NickHope wrote on 12/12/2016, 10:45 PM

Which version of Vegas are you using?

Could you upload a sample file somehwere (e.g. Google Drive or Dropbox public folder)? I'd like to test it on my system and maybe try some of the converters in this thread.

putzhead wrote on 12/13/2016, 8:09 AM

Hi Nick,

Thanks for replying.  I should have included my system details in the original post:

Windows 10 Pro Version 10.0.14393 Build 14393
AMD Radeon RX 460 Graphics
Radeon Software Version 16.6
Intel Core i7-2600K CPU @ 3.40GHz
16 GB RAM
ASUS P8Z68-V Intel Z68 Motherboard
Vegas Pro 14 Suite (Build 201)

I've uploaded a sample file that was recorded on an iPhone 4S, which Vegas has intermittent issues accessing. (and cannot open without Quicktime installed): https://www.dropbox.com/s/fyads5pmo5js3mk/IMG_2173.MOV?dl=0

Thank you.

set wrote on 12/13/2016, 8:18 AM

Yep, uses QT to read this format...

Plug-In
  Name: qt7plug.dll
  Folder: C:\Program Files\VEGAS\VEGAS Pro 14.0\FileIO Plug-Ins\qt7plug
  Format: QuickTime 7
  Version: Version 14.0 (Build 201)
  Company: MAGIX Computer Products Intl. Co.

 

And it is standard h264 format.

General
Complete name                            : G:\TEST\Media Tests\iPhone 4s\IMG_2173.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   0000.00 (qt  )
File size                                : 14.9 MiB
Duration                                 : 10 s 573 ms
Overall bit rate                         : 11.9 Mb/s
Encoded date                             : UTC 2016-07-21 22:06:53
Tagged date                              : UTC 2016-07-21 22:07:04
Writing library                          : Apple QuickTime
com.apple.quicktime.make                 : Apple
com.apple.quicktime.model                : iPhone 5s
com.apple.quicktime.software             : 9.3.2
com.apple.quicktime.creationdate         : 2016-07-21T15:06:53-0700

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 10 s 573 ms
Bit rate                                 : 11.8 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 29.970 (29970/1000) FPS
Minimum frame rate                       : 28.571 FPS
Maximum frame rate                       : 30.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.190
Stream size                              : 14.9 MiB (99%)
Title                                    : Core Media Video
Encoded date                             : UTC 2016-07-21 22:06:53
Tagged date                              : UTC 2016-07-21 22:07:04
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 10 s 572 ms
Source duration                          : 10 s 635 ms
Bit rate mode                            : Constant
Bit rate                                 : 64.0 kb/s
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 spf)
Compression mode                         : Lossy
Stream size                              : 80.4 KiB (1%)
Source stream size                       : 80.7 KiB (1%)
Title                                    : Core Media Audio
Encoded date                             : UTC 2016-07-21 22:06:53
Tagged date                              : UTC 2016-07-21 22:07:04

Other #1
Type                                     : meta
Duration                                 : 10 s 573 ms

Other #2
Type                                     : meta
Duration                                 : 10 s 573 ms

 

Last changed by set on 12/13/2016, 8:18 AM, changed a total of 1 times.

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

putzhead wrote on 12/13/2016, 9:15 AM

Thanks, Set.

Yes, that "plugin" within Vegas simply calls the installed Quicktime software. Of course, Quicktime is no longer supported on Windows and I having this dependence seems to be problematic.

Sometimes Vegas will play it fine, then I only get audio (black preview window). I can sometimes click to another clip and then go back to the .MOV clip and it works again, other times I need to close Vegas and re-open. Very buggy and unreliable. Hence my post.

I've also opened a support request with Magix as occasionally Vegas crashes (and I send the crash reports).

set wrote on 12/13/2016, 9:20 AM

I leave quicktime as it is since installed, and not worry about that security issue thing..

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

NickHope wrote on 12/13/2016, 9:51 AM

The file is behaving itself very nicely on my system. VP14 build 201. Quicktime 7.7.9.

You could try and see if you can rewrap the files to MP4 and get them to be read by Vegas' native compoundplug.dll instead of qt7plug. That should be more reliable. Look at section 6 of this post for some ways you might be able to do that. I just tried the following ffmpeg line and it worked:

ffmpeg -i IMG_2173.MOV -vcodec copy -acodec copy IMG_2173.mp4

You would be able to make a Windows batch (.bat) file to convert them all but I'm not sure of the syntax without a bit of further research. A bit of Googling will find it. Or one of those ffmpeg GUIs might just do it for you.

NickHope wrote on 12/13/2016, 9:08 PM

OK, so this batch file will rewrap all the .mov files to .mp4 in the directory from which you run it. You can name it to something like mov-to-mp4.bat and just double click it.

for %%a in ("*.mov") do ffmpeg -i "%%a" -vcodec copy -acodec copy "%%~na.mp4"

(Suggestions for improvements to that file from batch file experts are welcome!)

For FFmpeg, I recommend you download the latest 64-bit Zeranoe build, unzip to wherever you like to run it from (mine is in C:\Program Files\ffmpeg), and add it to your path so you can run it in a command line from anywhere. More help here.

putzhead wrote on 12/13/2016, 11:42 PM

Thanks, Nick! That seemed to work perfectly. Silly how Vegas requires Quicktime installed to play this. I will re-wrap into MP4 moving forward. I think you may have saved me countless hours. I just wish I posted to this group previously!

NickHope wrote on 12/14/2016, 12:13 AM

As compoundplug.dll will play the files with a simple rewrap from .mov to .mp4, it would seem pretty straightforward to add native support of the .mov version of these types of files to Vegas.

putzhead wrote on 12/14/2016, 7:49 AM

I agree. Thanks again. Hopefully MAGIX adds native support for this in a future release.

dickson1337 wrote on 5/31/2017, 11:54 AM

Nick's command is a bit outdated. If it doesnt work for you, please use

for %%a in ("*.mov") do ffmpeg -i "%%a" -qscale 0 "%%~na.mp4"

it seems to work when -vcodec and -acodec don't. don't know why, but it does.

NickHope wrote on 5/31/2017, 12:39 PM

Nick's command is a bit outdated. If it doesnt work for you, please use

for %%a in ("*.mov") do ffmpeg -i "%%a" -qscale 0 "%%~na.mp4"

it seems to work when -vcodec and -acodec don't. don't know why, but it does.

qscale is a new one to me. I'll give it a go.

vcodec is an alias for codec:v and acodec is an alias for codec:a, so maybe this syntax would work if -vcodec and -acodec are failing:

for %%a in ("*.mov") do ffmpeg -i "%%a" -codec:v copy -codec:a copy "%%~na.mp4"

or:

for %%a in ("*.mov") do ffmpeg -i "%%a" -c:v copy -c:a copy "%%~na.mp4"

or maybe even just this:

for %%a in ("*.mov") do ffmpeg -i "%%a" -c copy "%%~na.mp4"
NickHope wrote on 5/31/2017, 10:32 PM

@dickson1337 I just did a test with footage from 4 different Apple mobile devices, using Zeranoe's ffmpeg 3.3.1.64-bit release. Those last 3 lines I suggested all work correctly (i.e. lossless re-wrap) but "-qscale 0" lossily re-encodes the footage, is slow, and throws up a warning, "Please use -qia or -qiv, -qscale is ambiguous".

dickson1337 wrote on 6/1/2017, 12:00 AM

weird. I think there's something wrong with the audio codec and it can't be copied or something. the videos were from a digital camera for a school project. also, this only seems to happen on windows 10. well in any case, slow or not, it fixed my Vegas crashing all the time, so again, for future visitors, give both lines a shot and see what you come up with.

 

EDIT: I realised it might be because of the PCM codec in most .mov audio which can't be copied over to .mp4, so maybe something like

for %%a in (*.mov) do ffmpeg -i "%%a" -c:v copy -qia "%%~na.mp4"

this should reencode only the audio theoretically, but I'd need someone to test this. Again, only use this line if Nick's don't.

 

GJeffrey wrote on 6/1/2017, 12:27 AM

ffmpeg doesn't accept pcm audio in mp4 container indeed.

I would use this command line instead of yours

for %%a in (*.mov) do ffmpeg -i "%%a" -c:v copy -c:a aac -b:a 192k "%%~na.mp4"

Of course, you can change 192k to a value that suit you.

NickHope wrote on 6/1/2017, 12:43 AM

I agree with GJeffrey's suggestion.

Also worth mentioning that AVC+PCM in a MOV container is supported by the spec and by ffmpeg, and often gets very nicely decoded by Vegas without Quicktime (using Vegas's native compoundplug.dll instead of qt7plug.dll). In fact that's how I archive my Panasonic GH4 footage after trimming, so I can keep both video and audio lossless. But it sounds like something about the spec of the files from dickson1337's camera prevents compoundplug from decoding them.

dickson1337 wrote on 6/1/2017, 1:06 AM

I see. I'm still new to all this ffmpeg stuff so I just guessed half of what I said tbh xD