Question / Help Can't stream Battlefield 4?

AgentRagequit

New Member
I can preview it, I can record it... But why can't I stream it to twitch? My anti-cheat is on, and my Origin Overlay is OFF.
Log follows:

Code:
08:18:00: Profiler CPU results:
08:18:00: 
08:18:00: ==============================================================
08:18:00: video thread frame - [cpu time: avg 0.445 ms, total 156.001 ms] [avg calls per frame: 1]
08:18:00: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
08:18:00: | GPU download and conversion - [cpu time: avg 0.133 ms, total 46.801 ms] [avg calls per frame: 1]
08:18:00: | | flush - [cpu time: avg 0.133 ms, total 46.801 ms] [avg calls per frame: 1]
08:18:00: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
08:18:00: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
08:18:00: Convert444Threads - [cpu time: avg 0.25 ms, total 156 ms] [avg calls per frame: 2]
08:18:00: | Convert444toNV12 - [cpu time: avg 0.225 ms, total 140.4 ms] [avg calls per frame: 2]
08:18:00: encoder thread frame - [cpu time: avg 0.189 ms, total 62.4 ms] [avg calls per frame: 1]
08:18:00: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
08:18:00: ==============================================================
08:18:00: 
08:18:00: =====Stream End: 2014-09-16, 08:18:00=================================================
08:22:32: =====Stream Start: 2014-09-16, 08:22:32===============================================
08:22:32:   Multithreaded optimizations: On
08:22:32:   Base resolution: 1280x720
08:22:32:   Output resolution: 1280x720
08:22:32: ------------------------------------------
08:22:32: Loading up D3D10 on NVIDIA GeForce GT 640 (Adapter 1)...
08:22:32: ------------------------------------------
08:22:32: Audio Format: 48000 Hz
08:22:32: ------------------------------------------
08:22:32: Audio Channels: 2 Ch
08:22:32: Playback device Default
08:22:32: ------------------------------------------
08:22:32: Using desktop audio input: Speakers (Realtek High Definition Audio)
08:22:32: Global Audio time adjust: 0
08:22:32: ------------------------------------------
08:22:32: Using auxilary audio input: Microphone (HD Webcam C270)
08:22:32: Mic time offset: 0
08:22:33: ------------------------------------------
08:22:33: Audio Encoding: AAC
08:22:33:     bitrate: 96
08:22:33: ------------------------------------------
08:22:33:     device: Logitech HD Webcam C270,
08:22:33:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&28410405&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
08:22:33:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000
08:22:33:     use buffering: false - 0, fourCC: 'I420'
08:22:33:     audio device: Disable,
08:22:33:     audio device id Disabled,
08:22:33:     audio time offset 0,
08:22:33: 
08:22:33: Using directshow input
08:22:33: Using graphics capture
08:22:33: CLRHost:: BrowserRenderHandler::OnPaint failed to create texture
08:22:33: Using anti-cheat hooking for game capture
08:22:33: Trying to hook process: bf4.exe
08:22:33: Scene buffering time set to 700
08:22:33: ------------------------------------------
08:22:33: Video Encoding: x264
08:22:33:     fps: 45
08:22:33:     width: 1280, height: 720
08:22:33:     preset: veryfast
08:22:33:     profile: main
08:22:33:     keyint: 90
08:22:33:     CBR: yes
08:22:33:     CFR: yes
08:22:33:     max bitrate: 3000
08:22:33:     buffer size: 3000
08:22:33: ------------------------------------------
08:22:33: CLRHost:: Browser 6: Status message: 
08:22:33: SharedTexCapture hooked
08:22:34: Audio timestamp for device 'Microphone (HD Webcam C270)' was behind target timestamp by 5894379
08:22:35: Using RTMP service: Twitch
08:22:35:   Server selection: rtmp://live-jfk.twitch.tv/app
08:22:35:   Interface: D-Link DWA-548 Wireless N PCIe Desktop Adapter (802.11, 358 mbps)
08:22:35: GraphicsCaptureSource::NewCapture:  eliminating old capture
08:22:35: SharedTexCapture hooked
08:22:35: GraphicsCaptureSource::NewCapture:  eliminating old capture
08:22:35: SharedTexCapture hooked
08:22:35: Completed handshake with rtmp://live-jfk.twitch.tv/app in 510 ms.
08:22:36: SO_SNDBUF was at 8192
08:22:36: SO_SNDBUF is now 65536
08:22:36: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 37868 / 396288)
08:22:36: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 40703 / 396288)
08:22:37: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 396288)
08:22:37: GraphicsCaptureSource::NewCapture:  eliminating old capture
08:22:37: SharedTexCapture hooked
08:22:42: GraphicsCaptureSource::NewCapture:  eliminating old capture
08:22:43: SharedTexCapture hooked
08:22:43: Capture window 0x00270590 invalid or changing, terminating capture
08:22:48: FlushBufferedVideo: Flushing 24 packets over 511 ms
08:22:49: Total frames encoded: 674, total frames duplicated: 89 (13.20%)
08:22:49: Total frames rendered: 637, number of late frames: 19 (2.98%) (it's okay for some frames to be late)
08:22:49: ~RTMPPublisher: Packet flush completed in 108 ms
08:22:49: ~RTMPPublisher: Send thread terminated in 0 ms
08:22:49: RTMPPublisher::SocketLoop: Graceful loop exit
08:22:49: ~RTMPPublisher: Socket thread terminated in 0 ms
08:22:59: ~RTMPPublisher: Final socket shutdown completed in 10133 ms
08:22:59: Average send payload: 7090 bytes, average send interval: 18 ms
08:22:59: Number of times waited to send: 0, Waited for a total of 0 bytes
08:22:59: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
08:22:59: Number of bytes sent: 4871306
08:22:59: 
08:22:59: Profiler time results:
08:22:59: 
08:22:59: ==============================================================
08:22:59: video thread frame - [100%] [avg time: 6.535 ms] [children: 61.5%] [unaccounted: 38.5%]
08:22:59: | scene->Preprocess - [7.31%] [avg time: 0.478 ms]
08:22:59: | GPU download and conversion - [54.2%] [avg time: 3.543 ms] [children: 4.32%] [unaccounted: 49.9%]
08:22:59: | | flush - [3.08%] [avg time: 0.201 ms]
08:22:59: | | CopyResource - [0.964%] [avg time: 0.063 ms]
08:22:59: | | conversion to 4:2:0 - [0.275%] [avg time: 0.018 ms]
08:22:59: Convert444Threads - [100%] [avg time: 0.47 ms] [children: 98.7%] [unaccounted: 1.28%]
08:22:59: | Convert444toNV12 - [98.7%] [avg time: 0.464 ms]
08:22:59: encoder thread frame - [100%] [avg time: 0.987 ms] [children: 1.82%] [unaccounted: 98.2%]
08:22:59: | sending stuff out - [1.82%] [avg time: 0.018 ms]
08:22:59: ==============================================================
08:22:59: 
08:22:59: 
08:22:59: Profiler CPU results:
08:22:59: 
08:22:59: ==============================================================
08:22:59: video thread frame - [cpu time: avg 0.759 ms, total 483.603 ms] [avg calls per frame: 1]
08:22:59: | scene->Preprocess - [cpu time: avg 0.097 ms, total 62.402 ms] [avg calls per frame: 1]
08:22:59: | GPU download and conversion - [cpu time: avg 0.122 ms, total 78 ms] [avg calls per frame: 1]
08:22:59: | | flush - [cpu time: avg 0.073 ms, total 46.8 ms] [avg calls per frame: 1]
08:22:59: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
08:22:59: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
08:22:59: Convert444Threads - [cpu time: avg 0.35 ms, total 421.2 ms] [avg calls per frame: 2]
08:22:59: | Convert444toNV12 - [cpu time: avg 0.35 ms, total 421.2 ms] [avg calls per frame: 2]
08:22:59: encoder thread frame - [cpu time: avg 0.288 ms, total 187.201 ms] [avg calls per frame: 1]
08:22:59: | sending stuff out - [cpu time: avg 0.024 ms, total 15.6 ms] [avg calls per frame: 1]
08:22:59: ==============================================================
08:22:59: 
08:22:59: =====Stream End: 2014-09-16, 08:22:59=================================================
 
Last edited by a moderator:

AgentRagequit

New Member
I guess I should mention that the minute I hit "Start Streaming" Battlefield 4 closes without an error message of any kind, the window just closes and that's all she wrote.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
That's an incomplete log file. Also, if the game itself crashes, that's usually indicative of something interfering with capture capture (another hook-like program)
 

D2ultima

Member
Have you tried using it without the "anti-cheat capture method" for Game Capture? And if you are on windows 8 or 8.1, it might be more efficient (and fix your problem) to play BF4 in borderless windowed and simply monitor capture it, if you really are having a lot of problems.

Alternately, I want you to download the program I am going to link below and use it to run BF4 without Origin running, and see if the game still crashes.
http://outcome.nofate.me/
 
Top