Question / Help Local Recording Mic audio dropping

MuttonChops

New Member
Hey guys!

So i recorded a video playing minecraft with a friend and everything went smoothly until i went in to edit the video. I found that every once in a while, my audio would drop out for 5-20 seconds at a time. This happened about 6 or 7 times across a 50 minute video. I know my mic is working fine because we were talking on skype the whole time. The other persons audio came out ok due to it being recorded together with the game sound.

I read somewhere on here that i should increase the scene buffering time, but i really dont have a clue what i should go up to. The video was recorded at 60ms buffer time. Any idea what i should put it at?

My Log

Code:
19:02:05: =====Stream Start: 2013-12-26, 19:02:05===============================================
19:02:05:   Multithreaded optimizations: On
19:02:05:   Base resolution: 1920x1080
19:02:05:   Output resolution: 1920x1080
19:02:05: ------------------------------------------
19:02:05: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...
19:02:05: ------------------------------------------
19:02:05: Audio Format: 44100hz
19:02:05: Playback device Default
19:02:05: ------------------------------------------
19:02:05: Using desktop audio input: Speakers (Turtle Beach PX22)
19:02:05: ------------------------------------------
19:02:05: Using auxilary audio input: Microphone (Turtle Beach PX22)
19:02:05: ------------------------------------------
19:02:05: Audio Encoding: AAC
19:02:05:     bitrate: 128
19:02:05: Using graphics capture
19:02:05: Scene buffering time set to 60
19:02:05: Using custom x264 settings: "crf=18"
19:02:05: x264: VBV maxrate specified, but no bufsize, ignored
19:02:05: ------------------------------------------
19:02:05: Video Encoding: x264
19:02:05:     fps: 30
19:02:05:     width: 1920, height: 1080
19:02:05:     preset: veryfast
19:02:05:     profile: main
19:02:05:     keyint: 250
19:02:05:     CBR: no
19:02:05:     CFR: yes
19:02:05:     max bitrate: 10000
19:02:05:     buffer size: 0
19:02:05:     quality: 14
19:02:05: ------------------------------------------
19:02:05: MMDeviceAudioSource: Frequency for device 'Speakers (Turtle Beach PX22)' is 384000, samples per sec is 48000
19:02:05: MMDeviceAudioSource: Frequency for device 'Microphone (Turtle Beach PX22)' is 384000, samples per sec is 48000
19:02:05: SharedTexCapture hooked
[b]19:06:05: Audio timestamp for device 'Microphone (Turtle Beach PX22)' was behind target timestamp by 10!  Had to delete audio segment.[/b] (This message was displayed a LOT in the Log, so i cut out all but one.)
...
...
22:19:31: Total frames encoded: 11981, total frames duplicated: 36 (0.30%)
22:19:31: Number of frames skipped due to encoder lag: 14 (0.12%)
22:19:31: Total frames rendered: 11967, number of late frames: 13 (0.11%) (it's okay for some frames to be late)
22:19:31: RTMPPublisher::SocketLoop: Graceful loop exit
22:19:31: Average send payload: 4686 bytes, average send interval: 48 ms
22:19:31: Number of times waited to send: 61, Waited for a total of 187160 bytes
22:19:31: Number of b-frames dropped: 201 (1.7%), Number of p-frames dropped: 239 (2%), Total 440 (3.7%)
22:19:31: Number of bytes sent: 38107852
22:19:31: 
22:19:31: Profiler time results:
22:19:31: 
22:19:31: ==============================================================
22:19:31: video thread frame - [100%] [avg time: 0.807 ms] [children: 25.8%] [unaccounted: 74.2%]
22:19:31: | scene->Preprocess - [0.124%] [avg time: 0.001 ms]
22:19:31: | GPU download and conversion - [25.7%] [avg time: 0.207 ms] [children: 22.9%] [unaccounted: 2.73%]
22:19:31: | | flush - [20.4%] [avg time: 0.165 ms]
22:19:31: | | CopyResource - [2.23%] [avg time: 0.018 ms]
22:19:31: | | conversion to 4:2:0 - [0.248%] [avg time: 0.002 ms]
22:19:31: Convert444Threads - [100%] [avg time: 0.444 ms] [children: 98.2%] [unaccounted: 1.8%]
22:19:31: | Convert444toNV12 - [98.2%] [avg time: 0.436 ms]
22:19:31: encoder thread frame - [100%] [avg time: 0.97 ms]
22:19:31: ==============================================================
22:19:31: 
22:19:31: 
22:19:31: Profiler CPU results:
22:19:31: 
22:19:31: ==============================================================
22:19:31: video thread frame - [cpu time: avg 0.108 ms, total 1294.81 ms] [avg calls per frame: 1]
22:19:31: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:19:31: | GPU download and conversion - [cpu time: avg 0.028 ms, total 343.203 ms] [avg calls per frame: 1]
22:19:31: | | flush - [cpu time: avg 0.02 ms, total 249.603 ms] [avg calls per frame: 1]
22:19:31: | | CopyResource - [cpu time: avg 0.001 ms, total 15.6 ms] [avg calls per frame: 1]
22:19:31: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:19:31: Convert444Threads - [cpu time: avg 0.456 ms, total 10920.1 ms] [avg calls per frame: 2]
22:19:31: | Convert444toNV12 - [cpu time: avg 0.449 ms, total 10748.5 ms] [avg calls per frame: 2]
22:19:31: encoder thread frame - [cpu time: avg 0.045 ms, total 546.003 ms] [avg calls per frame: 1]
22:19:31: ==============================================================
22:19:31: 
22:19:31: =====Stream End: 2013-12-26, 22:19:31=================================================
(please use code tags -jim)
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
If your mic is getting cut out and you get that message in the log, you do indeed need to increase scene buffering time (try 100 increments until it stops).

As for the framerate, might have probably been caused by the logging, so first fix your mic issue, then try again and see if it still happens.
 

MuttonChops

New Member
I wasnt aware that anything was wrong with my frames. I didnt notice anything during the playback of the video. I will try to increase my scene buffer size. Will it hurt to just set it really high?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Just as I advised, increase it by 100 increments until it stops. I wouldn't recommend setting it to a high number if you can avoid it, as it causes more buffering.
 
Top