logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
lbgaus  
#1 Posted : Sunday, July 20, 2014 6:37:35 AM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
Recently, this problem has begun to manifest itself, and is surely a very big issue. I am running vMix HD 12.0.0.131 x64 during a recording using the MPEG-2 codec. After some time, I receive:

UserPostedImage

I am recording to an NTFS formatted SAMSUNG 840 EVO MZ-7TE250BW 2.5" 250GB SSD on a Windows 7 x64 system with these settings:

UserPostedImage

The recording logfile is as follows. Please help me get to the bottom of this.

7/18/2014 1:19:24 AM, Version: 12.0.0.131 x64
7/18/2014 1:19:24 AM, Size: 1920x1080
7/18/2014 1:19:24 AM, System: NTSC 59.94i or 29.97p
7/18/2014 1:19:24 AM, Codec: Microsoft MPEG-2 Encoder
7/18/2014 1:19:24 AM, Format: UYVY 16 1498831189
7/18/2014 1:19:24 AM, AudioDevice: vMix Audio
7/18/2014 1:19:24 AM, AudioFormat: 48000 Hz 16 Bit 2 Channels
7/18/2014 1:19:24 AM, AudioDelay: 0
7/18/2014 1:19:24 AM, RestartInterval: 0
7/18/2014 1:19:24 AM, BitRate: 25
7/18/2014 1:28:35 PM, StartRecording
7/18/2014 1:30:10 PM, StopRecording
7/18/2014 1:30:10 PM, Duration: 00:01:35
7/18/2014 1:30:10 PM, Frames: 2448
7/18/2014 1:30:10 PM, DroppedFrames: 401
7/18/2014 1:30:10 PM, DueToSourceFrameRate: 0
7/18/2014 1:30:10 PM, DueToHardDiskOrCPU: 401
7/18/2014 1:30:10 PM, DroppedSamples: 0
7/18/2014 1:30:10 PM, MissedSamples: 0
7/18/2014 1:30:10 PM, SyncedSamples: 0
7/18/2014 1:30:10 PM, AudioOffset: 0
7/18/2014 1:30:10 PM, AudioDelay: 0
7/18/2014 1:30:10 PM, AudioEngine
7/18/2014 1:30:10 PM, Running: True
7/18/2014 1:30:10 PM, SampleRate: 48000hz 16 Bit
7/18/2014 1:30:10 PM, MixingErrors: 0
7/18/2014 1:30:10 PM, Streams
7/18/2014 1:30:10 PM, Stream0
7/18/2014 1:30:10 PM, Samples: 2193530
7/18/2014 1:30:10 PM, Dropped: 0
7/18/2014 1:30:10 PM, Latency: 1
7/18/2014 1:30:10 PM, Stream1
7/18/2014 1:30:10 PM, Samples: 0
7/18/2014 1:30:10 PM, Dropped: 0
7/18/2014 1:30:10 PM, Latency: 0
7/18/2014 1:30:10 PM, AudioInputs
7/18/2014 1:30:10 PM, Cam 1
7/18/2014 1:30:10 PM, Latency: 60/67
7/18/2014 1:30:10 PM, Dropped: 0
7/18/2014 1:30:10 PM, Resampled: 1015 ms
lbgaus  
#2 Posted : Sunday, July 20, 2014 6:42:56 AM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
It is very suspicious to me how QuickTime MOV files in my project appear to be playing properly, but there are no Filters appearing in the settings...

Other files I have loaded that are not MOV shows filter list correctly.

Additionally, the first recording after this failure in the same vMix session produces a TS file with audio only and no video. Stopping recording and then beginning recording again after this appears to re-initialize the video codec in the recording, only for it to fail again soon after. It appears it *may* be failing predictably when recording when the active input is an MOV file, as it takes longer (if at all) for the recording to crash when the active input is a different file.

UserPostedImage
admin  
#3 Posted : Sunday, July 20, 2014 7:18:15 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,214
Man
Location: Gold Coast, Australia

Was thanked: 4301 time(s) in 1523 post(s)
What graphics card and CPU are you using?
What does the CPU usage and Render Time look like while recording?

There will be no filters in the list when playing QuickTime videos.

You can also try the latest vMix 13 preview to see if it helps.

Regards,

Martin
vMix
lbgaus  
#4 Posted : Sunday, July 20, 2014 7:36:21 AM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
I have a Core i7 4770k processor and a ASUS GTX650TI-OC-2GD5 Video Card. The render time during recording says between 4-6ms, and the processor at 9%. I Will try the beta version and report back soon. The system does not look to be under much load.
lbgaus  
#5 Posted : Sunday, July 20, 2014 8:06:49 AM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
This problem exists in 13.0.0.136. When I begin recording and have this particular QuickTime file playing on the live output, recording crashes within a minute. I will try other QuickTime files to see if I can establish a pattern.
admin  
#6 Posted : Sunday, July 20, 2014 9:00:56 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,214
Man
Location: Gold Coast, Australia

Was thanked: 4301 time(s) in 1523 post(s)
Thanks for the info.

Would it be possible to send us a copy of the Quicktime file?
There might be a rare video/audio format in the file causing the player to corrupt the recording.

You can upload the file to https://fileobject.com/ and then email us at info@vmix.com.au

Regards,

Martin
vMix
lbgaus  
#7 Posted : Sunday, July 20, 2014 9:57:50 AM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
I have tried it on an entirely different computer with the same results using this MOV file. I have emailed it to you. Hope it helps you debug.
admin  
#8 Posted : Sunday, July 20, 2014 10:27:34 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,214
Man
Location: Gold Coast, Australia

Was thanked: 4301 time(s) in 1523 post(s)
Thanks,

Just to confirm, this test should show the problem?

1. Open vMix 13.0.0.136
2. Add Intro.mov as input and play in loop.
3. Start MPEG2 TS recording at 1920x1080 29.97p / 59.94i 25Mbps

After a couple of minutes, recording should stop.

I've been running this test a few times so far and everything looks ok, so there
must be some other setting or input that contributes to this problem.

Regards,

Martin
vMix
lbgaus  
#9 Posted : Sunday, July 20, 2014 11:04:02 AM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
I have done exactly as you described on two different machines and both exhibit this behavior. I will keep gnawing at this until I know the special conditions required to make this happen, or I give up in frustration.
ovinas  
#10 Posted : Sunday, July 20, 2014 12:01:39 PM(UTC)
ovinas

Rank: Advanced Member

Groups: Registered
Joined: 6/4/2013(UTC)
Posts: 308
Man
Location: Germany

Thanks: 1 times
Was thanked: 57 time(s) in 49 post(s)
You could share the file so some other users could test this.
thanks 1 user thanked ovinas for this useful post.
lbgaus on 7/20/2014(UTC)
lbgaus  
#11 Posted : Sunday, July 20, 2014 12:05:21 PM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
If anyone has any problems performing the tasks described by Martin above with this file, I would appreciate your feedback. I'm trying to figure out what's the deal here, it seems very predictable on my end.

https://fileobject.com/jcmidcrxyjbccf/
lbgaus  
#12 Posted : Sunday, July 20, 2014 12:39:44 PM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
So far, the only thing I have discovered that makes any difference is when I uncheck Audio in the recording settings, the MPEG-2 TS recording does not terminate unexpectedly anymore. Checking it and hitting Record again crashes it within 60 seconds.

This holds true for both computers I am testing with:
(1) vMix 12.0.0.129 on Win7x64 Core 2 Quad w/ nVidia GTX 260
(2) vMix 13.0.0.136 on Win7x64 Core i7 4770K w/ nVidia GTX 650TI
ovinas  
#13 Posted : Sunday, July 20, 2014 12:42:07 PM(UTC)
ovinas

Rank: Advanced Member

Groups: Registered
Joined: 6/4/2013(UTC)
Posts: 308
Man
Location: Germany

Thanks: 1 times
Was thanked: 57 time(s) in 49 post(s)
Tested this several times with absolutely no problems.
cutter07  
#14 Posted : Sunday, July 20, 2014 1:09:29 PM(UTC)
cutter07

Rank: Advanced Member

Groups: Registered
Joined: 6/2/2012(UTC)
Posts: 103
Man
Location: Germany

Thanks: 13 times
Was thanked: 10 time(s) in 9 post(s)
I got the same error.

http://youtu.be/zsKWPrc0l0o

19.07.2014 19:07:18, Version: 13.0.0.136 x64
19.07.2014 19:07:18, Size: 1920x1080
19.07.2014 19:07:18, System: NTSC 59.94i
19.07.2014 19:07:18, Codec: Microsoft MPEG-2 Encoder
19.07.2014 19:07:18, Format: UYVY 16 1498831189
19.07.2014 19:07:18, AudioDevice: vMix Audio
19.07.2014 19:07:18, AudioFormat: 48000 Hz 16 Bit 2 Channels
19.07.2014 19:07:18, AudioDelay: 0
19.07.2014 19:07:18, RestartInterval: 0
19.07.2014 19:07:18, Buffers: 10
19.07.2014 19:07:18, BitRate: 25
19.07.2014 19:07:18, StartRecording
19.07.2014 19:07:55, StopRecording
19.07.2014 19:07:55, Duration: 00:00:37
19.07.2014 19:07:55, Frames: 752
19.07.2014 19:07:55, DroppedFrames: 338
19.07.2014 19:07:55, DueToSourceFrameRate: 0
19.07.2014 19:07:55, DueToHardDiskOrCPU: 338
19.07.2014 19:07:55, DroppedSamples: 1
19.07.2014 19:07:55, MissedSamples: 0
19.07.2014 19:07:55, SyncedSamples: 0
19.07.2014 19:07:55, AudioOffset: 0
19.07.2014 19:07:55, AudioDelay: 0
19.07.2014 19:07:55, AudioEngine
19.07.2014 19:07:55, Running: True
19.07.2014 19:07:55, SampleRate: 48000hz 16 Bit
19.07.2014 19:07:55, MixingErrors: 0
19.07.2014 19:07:55, Streams
19.07.2014 19:07:55, Mixer
19.07.2014 19:07:55, Samples: 2303
19.07.2014 19:07:55, Dropped: Read 0 Write 0
19.07.2014 19:07:55, Latency: 0 ms
19.07.2014 19:07:55, Errors: 0
19.07.2014 19:07:55, Output
19.07.2014 19:07:55, Samples: 2302
19.07.2014 19:07:55, Dropped: Read 0 Write 1
19.07.2014 19:07:55, Latency: 0 ms
19.07.2014 19:07:55, Errors: 0
19.07.2014 19:07:55, Headphones
19.07.2014 19:07:55, Samples: 2301
19.07.2014 19:07:55, Dropped: Read 0 Write 2
19.07.2014 19:07:55, Latency: 0 ms
19.07.2014 19:07:55, Errors: 0
19.07.2014 19:07:55, A
19.07.2014 19:07:55, Samples: 2302
19.07.2014 19:07:55, Dropped: Read 0 Write 1
19.07.2014 19:07:55, Latency: 0 ms
19.07.2014 19:07:55, Errors: 0
19.07.2014 19:07:55, FFMpeg
19.07.2014 19:07:55, Samples: 1843
19.07.2014 19:07:55, Dropped: Read 0 Write 0
19.07.2014 19:07:55, Latency: 1000 ms
19.07.2014 19:07:55, Errors: 0
thanks 1 user thanked cutter07 for this useful post.
lbgaus on 7/20/2014(UTC)
lbgaus  
#15 Posted : Sunday, July 20, 2014 9:25:00 PM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
This seems to be rather incredibly bizarre. In my testing, having it set to TS format, 1920x1080, 25Mbps, Audio enabled makes it crash within 60 seconds. Changing the bitrate, resolution, audio, or format makes it run for at least 25 minutes without problems (I stopped testing after 5 minutes).
admin  
#16 Posted : Sunday, July 20, 2014 9:34:02 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,214
Man
Location: Gold Coast, Australia

Was thanked: 4301 time(s) in 1523 post(s)
Ok, I have been able to re-create the problem.
The key thing appears to be running the vMix output at 59.94p and then recording to interlaced 59.94i.

Can you confirm this in your setup? If so that might be the common problem.
thanks 1 user thanked admin for this useful post.
lbgaus on 7/21/2014(UTC)
lbgaus  
#17 Posted : Sunday, July 20, 2014 10:03:37 PM(UTC)
lbgaus

Rank: Advanced Member

Groups: Registered
Joined: 11/30/2013(UTC)
Posts: 165
Location: Seoul, South Korea

Thanks: 39 times
Was thanked: 19 time(s) in 14 post(s)
The master frame rate in my project on both machines is 29.97p. Setting the project frame rate to 59.94p produces the same problem, I'm not sure if this makes sense with the problem you observed yourself. I still see at least a delay in the problem manifesting itself if I change any of the recording settings as I described above.

I started testing to try to reproduce this problem after it occurred in a soccer event about 90 minutes into the recording. At that time some MOV files, including this one I have used as a problem demo, were loaded in the project but were not the active input. Instead, we just showed this MOV file once as the introduction, then cut to other clips and live inputs for the rest of the broadcast, which I assume is why the recording took much longer before it failed.

For some reason looping this file during a recording seems to accelerate the hanging of the Microsoft MPEG-2 encoder.
IceStream  
#18 Posted : Monday, July 21, 2014 12:09:21 AM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,636
Man
Location: Canada

Thanks: 33 times
Was thanked: 506 time(s) in 475 post(s)
Not sure it is of any more help but the error occurred for me 29 seconds into the recording.
Win7 Pro x64
i7 950 3.07GHz 24 GB Ram
NVidia GeForce GTX 470
Video recording to Storage drive Hitachi 2TB HDD
Settings same as OP
Log file:

7/19/2014 11:28:55 PM, Version: 13.0.0.136 x64
7/19/2014 11:28:55 PM, Size: 1920x1080
7/19/2014 11:28:55 PM, System: NTSC 59.94i
7/19/2014 11:28:55 PM, Codec: Microsoft MPEG-2 Encoder
7/19/2014 11:28:55 PM, Format: UYVY 16 1498831189
7/19/2014 11:28:55 PM, AudioDevice: vMix Audio
7/19/2014 11:28:55 PM, AudioFormat: 48000 Hz 16 Bit 2 Channels
7/19/2014 11:28:55 PM, AudioDelay: 0
7/19/2014 11:28:55 PM, RestartInterval: 0
7/19/2014 11:28:55 PM, Buffers: 10
7/19/2014 11:28:55 PM, BitRate: 25
7/19/2014 11:28:58 PM, StartRecording
7/19/2014 11:29:28 PM, StopRecording
7/19/2014 11:29:28 PM, Duration: 00:00:29
7/19/2014 11:29:28 PM, Frames: 524
7/19/2014 11:29:28 PM, DroppedFrames: 349
7/19/2014 11:29:28 PM, DueToSourceFrameRate: 0
7/19/2014 11:29:28 PM, DueToHardDiskOrCPU: 349
7/19/2014 11:29:28 PM, DroppedSamples: 1
7/19/2014 11:29:28 PM, MissedSamples: 0
7/19/2014 11:29:28 PM, SyncedSamples: 0
7/19/2014 11:29:28 PM, AudioOffset: 0
7/19/2014 11:29:28 PM, AudioDelay: 0
7/19/2014 11:29:28 PM, AudioEngine
7/19/2014 11:29:28 PM, Running: True
7/19/2014 11:29:28 PM, SampleRate: 48000hz 16 Bit
7/19/2014 11:29:28 PM, MixingErrors: 0
7/19/2014 11:29:28 PM, Streams
7/19/2014 11:29:28 PM, Mixer
7/19/2014 11:29:28 PM, Samples: 161584
7/19/2014 11:29:28 PM, Dropped: Read 1 Write 0
7/19/2014 11:29:28 PM, Latency: 0 ms
7/19/2014 11:29:28 PM, Errors: 0
7/19/2014 11:29:28 PM, Headphones
7/19/2014 11:29:28 PM, Samples: 161579
7/19/2014 11:29:28 PM, Dropped: Read 0 Write 5
7/19/2014 11:29:28 PM, Latency: 0 ms
7/19/2014 11:29:28 PM, Errors: 0
7/19/2014 11:29:28 PM, A
7/19/2014 11:29:28 PM, Samples: 161578
7/19/2014 11:29:28 PM, Dropped: Read 0 Write 6
7/19/2014 11:29:28 PM, Latency: 0 ms
7/19/2014 11:29:28 PM, Errors: 0
7/19/2014 11:29:28 PM, DirectShow
7/19/2014 11:29:28 PM, Samples: 193
7/19/2014 11:29:28 PM, Dropped: Read 0 Write 0
7/19/2014 11:29:28 PM, Latency: 1940 ms
7/19/2014 11:29:28 PM, Errors: 0
7/19/2014 11:29:28 PM, DirectShow
7/19/2014 11:29:28 PM, Samples: 193
7/19/2014 11:29:28 PM, Dropped: Read 0 Write 0
7/19/2014 11:29:28 PM, Latency: 1940 ms
7/19/2014 11:29:28 PM, Errors: 0
7/19/2014 11:29:28 PM, DirectShow
7/19/2014 11:29:28 PM, Samples: 166
7/19/2014 11:29:28 PM, Dropped: Read 0 Write 0
7/19/2014 11:29:28 PM, Latency: 1400 ms
7/19/2014 11:29:28 PM, Errors: 0
7/19/2014 11:29:28 PM, DirectShow
7/19/2014 11:29:28 PM, Samples: 118
7/19/2014 11:29:28 PM, Dropped: Read 0 Write 0
7/19/2014 11:29:28 PM, Latency: 1120 ms
7/19/2014 11:29:28 PM, Errors: 0
7/19/2014 11:29:28 PM, FFMpeg
7/19/2014 11:29:28 PM, Samples: 5299
7/19/2014 11:29:28 PM, Dropped: Read 0 Write 0
7/19/2014 11:29:28 PM, Latency: 1020 ms
7/19/2014 11:29:28 PM, Errors: 0
thanks 1 user thanked IceStream for this useful post.
lbgaus on 7/21/2014(UTC)
admin  
#19 Posted : Monday, July 21, 2014 4:27:58 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,214
Man
Location: Gold Coast, Australia

Was thanked: 4301 time(s) in 1523 post(s)
Thanks guys for the test results.
I have isolated the problem to 25Mbps and 29.97/59.94i only and I am working on a fix.

If anyone is able to create the same problem at any other bit rate or frame rate, submit the results here.

Regards,

Martin
vMix
admin  
#20 Posted : Tuesday, July 22, 2014 8:13:59 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,214
Man
Location: Gold Coast, Australia

Was thanked: 4301 time(s) in 1523 post(s)
I have posted an update here that fixes this issue:

http://forums.vmix.com.a...ts&m=11018#post11018

The technical explanation is as follows:

vMix up until now has used CBR or constant-bit-rate for MPEG-2 recordings.
With the Microsoft provided encoder, what happens is if the bit rate is set to low and the
video being played back is too complex to fit into the selected bit rate, the encoder will throw its hands
up in the air and declare "i just can't do it cap'n, i don't have the power!"

This fix involves changing the recording to VBR or variable-bit-rate with a very high maximum bit rate.
So while the file size will still remain approximately the same size as before, in complex scenes the encoder will increase the bit rate to compensate.

thanks 2 users thanked admin for this useful post.
lbgaus on 7/22/2014(UTC), pasingshot on 7/22/2014(UTC)
Users browsing this topic
Guest
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.