I am streaming live with a recorded video trailer at the end . Live stream is perfect but video trailer is out of sync. The video lags it seems a second or so. Original video is in sync. Is there setting I need to change in media source? Log files of test below.
0:46:23.809: CPU Name: Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz
10:46:23.809: CPU Speed: 2904MHz
10:46:23.809: Physical Cores: 4, Logical Cores: 8
10:46:23.809: Physical Memory: 16282MB Total, 13133MB Free
10:46:23.809: Windows Version: 10.0 Build 14393 (revision: 1198; 64-bit)
10:46:23.809: Running as administrator: false
10:46:23.809: Aero is Enabled (Aero is always on for windows 8 and above)
10:46:23.809: Portable mode: false
10:46:23.819: OBS 18.0.1 (64bit, windows)
10:46:23.819: ---------------------------------
10:46:23.819: ---------------------------------
10:46:23.819: audio settings reset:
10:46:23.819: samples per sec: 48000
10:46:23.819: speakers: 2
10:46:23.820: ---------------------------------
10:46:23.820: Initializing D3D11..
10:46:23.820: Available Video Adapters:
10:46:23.822: Adapter 1: Intel(R) HD Graphics 630
10:46:23.822: Dedicated VRAM: 134217728
10:46:23.822: Shared VRAM: 4241737728
10:46:23.822: output 1: pos={0, 0}, size={2560, 1440}, attached=true
10:46:23.822: Adapter 2: NVIDIA GeForce GTX 950M
10:46:23.822: Dedicated VRAM: 4262330368
10:46:23.822: Shared VRAM: 4241737728
10:46:23.824: Loading up D3D11 on adapter Intel(R) HD Graphics 630 (0)
10:46:23.829: D3D11 loaded sucessfully, feature level used: 45056
10:46:24.414: ---------------------------------
10:46:24.414: video settings reset:
10:46:24.414: base resolution: 2560x1440
10:46:24.414: output resolution: 1280x720
10:46:24.414: downscale filter: Bicubic
10:46:24.414: fps: 30/1
10:46:24.414: format: NV12
10:46:24.415: Audio monitoring device:
10:46:24.415: name: Default
10:46:24.415: id: default
10:46:24.415: ---------------------------------
10:46:24.417: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
10:46:24.418: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
10:46:24.419: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
10:46:24.424: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
10:46:24.424: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
10:46:24.424: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
10:46:24.425: Failed to load 'en-US' text for module: 'obs-browser.dll'
10:46:24.425: [browser_source: 'Version: 1.29.0']
10:46:24.425: NVENC supported
10:46:24.434: Couldn't find VLC installation, VLC video source disabled
10:46:24.618: ---------------------------------
10:46:24.618: Loaded Modules:
10:46:24.618: win-wasapi.dll
10:46:24.618: win-mf.dll
10:46:24.618: win-ivcam.dll
10:46:24.618: win-dshow.dll
10:46:24.618: win-decklink.dll
10:46:24.618: win-capture.dll
10:46:24.618: vlc-video.dll
10:46:24.618: text-freetype2.dll
10:46:24.618: rtmp-services.dll
10:46:24.618: obs-x264.dll
10:46:24.618: obs-vst.dll
10:46:24.618: obs-transitions.dll
10:46:24.618: obs-text.dll
10:46:24.618: obs-qsv11.dll
10:46:24.618: obs-outputs.dll
10:46:24.618: obs-filters.dll
10:46:24.618: obs-ffmpeg.dll
10:46:24.618: obs-browser.dll
10:46:24.618: image-source.dll
10:46:24.618: frontend-tools.dll
10:46:24.618: enc-amf.dll
10:46:24.618: coreaudio-encoder.dll
10:46:24.618: ==== Startup complete ===============================================
10:46:24.619: All scene data cleared
10:46:24.619: ------------------------------------------------
10:46:24.638: WASAPI: Device 'Speaker/Headphone (Realtek High Definition Audio)' initialized
10:46:24.642: WASAPI: Device 'Line In (Blackmagic Audio)' initialized
10:46:24.657: warning: deprecated pixel format used, make sure you did set range correctly
10:46:24.663: [Media Source 'PrayerTrailerClose']: settings:
10:46:24.663: input: C:/Users/tpwi/Videos/YouTube Stream/EditedYoutubeVids/PrTrClose.mp4
10:46:24.663: input_format: (null)
10:46:24.663: is_looping: no
10:46:24.663: is_forcing_scale: yes
10:46:24.663: is_hw_decoding: yes
10:46:24.663: is_clear_on_media_end: yes
10:46:24.663: restart_on_activate: yes
10:46:24.683: Switched to scene 'SceneYouTube Stream'
10:46:24.683: ------------------------------------------------
10:46:24.683: Loaded scenes:
10:46:24.683: - scene 'SceneYouTube Stream':
10:46:24.683: - source: 'CanonCamcorder' (dshow_input)
10:46:24.683: - source: 'Mic/Aux' (wasapi_input_capture)
10:46:24.683: - monitoring: monitor and output
10:46:24.683: - source: '2-LogoImage' (image_source)
10:46:24.683: - source: '1-Scrolling Text' (text_gdiplus)
10:46:24.683: - filter: 'TPWC' (scroll_filter)
10:46:24.683: - source: 'PrayerTrailerClose' (ffmpeg_source)
10:46:24.683: - monitoring: monitor and output
10:46:24.683: ------------------------------------------------
10:46:24.688: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
10:46:24.795: CanonCamcorder: data.GetDevice failed
10:46:24.795: CanonCamcorder: Video configuration failed
11:08:25.382: source 'PrayerTrailerClose' enabled push-to-talk
11:08:25.386: Settings changed (audio)
11:08:25.386: ------------------------------------------------
11:08:57.137: Settings changed (audio)
11:08:57.137: ------------------------------------------------
11:09:17.959: source 'PrayerTrailerClose' disabled push-to-talk
11:09:17.961: Settings changed (audio)
11:09:17.961: ------------------------------------------------
11:13:19.274: ---------------------------------
11:13:19.274: [x264 encoder: 'streaming_h264'] preset: veryfast
11:13:19.274: [x264 encoder: 'streaming_h264'] profile: main
11:13:19.274: [x264 encoder: 'streaming_h264'] settings:
11:13:19.274: rate_control: CBR
11:13:19.274: bitrate: 3000
11:13:19.274: buffer size: 3000
11:13:19.274: crf: 0
11:13:19.274: fps_num: 30
11:13:19.274: fps_den: 1
11:13:19.274: width: 1280
11:13:19.274: height: 720
11:13:19.274: keyint: 60
11:13:19.274: vfr: off
11:13:19.274:
11:13:19.279: [Media Foundation AAC: 'Track1']: encoder created
11:13:19.279: bitrate: 160
11:13:19.279: channels: 2
11:13:19.279: sample rate: 48000
11:13:19.279: bits-per-sample: 16
11:13:19.279:
11:13:19.279: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
11:13:19.299: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
11:13:19.556: [rtmp stream: 'adv_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 successful
11:13:19.562: ==== Streaming Start ===============================================
11:14:34.084: [rtmp stream: 'adv_stream'] User stopped the stream
11:14:34.084: Output 'adv_stream': stopping
11:14:34.084: Output 'adv_stream': Total encoded frames: 2245
11:14:34.084: Output 'adv_stream': Total drawn frames: 2245
11:14:34.087: ==== Streaming Stop ================================================
0:46:23.809: CPU Name: Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz
10:46:23.809: CPU Speed: 2904MHz
10:46:23.809: Physical Cores: 4, Logical Cores: 8
10:46:23.809: Physical Memory: 16282MB Total, 13133MB Free
10:46:23.809: Windows Version: 10.0 Build 14393 (revision: 1198; 64-bit)
10:46:23.809: Running as administrator: false
10:46:23.809: Aero is Enabled (Aero is always on for windows 8 and above)
10:46:23.809: Portable mode: false
10:46:23.819: OBS 18.0.1 (64bit, windows)
10:46:23.819: ---------------------------------
10:46:23.819: ---------------------------------
10:46:23.819: audio settings reset:
10:46:23.819: samples per sec: 48000
10:46:23.819: speakers: 2
10:46:23.820: ---------------------------------
10:46:23.820: Initializing D3D11..
10:46:23.820: Available Video Adapters:
10:46:23.822: Adapter 1: Intel(R) HD Graphics 630
10:46:23.822: Dedicated VRAM: 134217728
10:46:23.822: Shared VRAM: 4241737728
10:46:23.822: output 1: pos={0, 0}, size={2560, 1440}, attached=true
10:46:23.822: Adapter 2: NVIDIA GeForce GTX 950M
10:46:23.822: Dedicated VRAM: 4262330368
10:46:23.822: Shared VRAM: 4241737728
10:46:23.824: Loading up D3D11 on adapter Intel(R) HD Graphics 630 (0)
10:46:23.829: D3D11 loaded sucessfully, feature level used: 45056
10:46:24.414: ---------------------------------
10:46:24.414: video settings reset:
10:46:24.414: base resolution: 2560x1440
10:46:24.414: output resolution: 1280x720
10:46:24.414: downscale filter: Bicubic
10:46:24.414: fps: 30/1
10:46:24.414: format: NV12
10:46:24.415: Audio monitoring device:
10:46:24.415: name: Default
10:46:24.415: id: default
10:46:24.415: ---------------------------------
10:46:24.417: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
10:46:24.418: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
10:46:24.419: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
10:46:24.424: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
10:46:24.424: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
10:46:24.424: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
10:46:24.425: Failed to load 'en-US' text for module: 'obs-browser.dll'
10:46:24.425: [browser_source: 'Version: 1.29.0']
10:46:24.425: NVENC supported
10:46:24.434: Couldn't find VLC installation, VLC video source disabled
10:46:24.618: ---------------------------------
10:46:24.618: Loaded Modules:
10:46:24.618: win-wasapi.dll
10:46:24.618: win-mf.dll
10:46:24.618: win-ivcam.dll
10:46:24.618: win-dshow.dll
10:46:24.618: win-decklink.dll
10:46:24.618: win-capture.dll
10:46:24.618: vlc-video.dll
10:46:24.618: text-freetype2.dll
10:46:24.618: rtmp-services.dll
10:46:24.618: obs-x264.dll
10:46:24.618: obs-vst.dll
10:46:24.618: obs-transitions.dll
10:46:24.618: obs-text.dll
10:46:24.618: obs-qsv11.dll
10:46:24.618: obs-outputs.dll
10:46:24.618: obs-filters.dll
10:46:24.618: obs-ffmpeg.dll
10:46:24.618: obs-browser.dll
10:46:24.618: image-source.dll
10:46:24.618: frontend-tools.dll
10:46:24.618: enc-amf.dll
10:46:24.618: coreaudio-encoder.dll
10:46:24.618: ==== Startup complete ===============================================
10:46:24.619: All scene data cleared
10:46:24.619: ------------------------------------------------
10:46:24.638: WASAPI: Device 'Speaker/Headphone (Realtek High Definition Audio)' initialized
10:46:24.642: WASAPI: Device 'Line In (Blackmagic Audio)' initialized
10:46:24.657: warning: deprecated pixel format used, make sure you did set range correctly
10:46:24.663: [Media Source 'PrayerTrailerClose']: settings:
10:46:24.663: input: C:/Users/tpwi/Videos/YouTube Stream/EditedYoutubeVids/PrTrClose.mp4
10:46:24.663: input_format: (null)
10:46:24.663: is_looping: no
10:46:24.663: is_forcing_scale: yes
10:46:24.663: is_hw_decoding: yes
10:46:24.663: is_clear_on_media_end: yes
10:46:24.663: restart_on_activate: yes
10:46:24.683: Switched to scene 'SceneYouTube Stream'
10:46:24.683: ------------------------------------------------
10:46:24.683: Loaded scenes:
10:46:24.683: - scene 'SceneYouTube Stream':
10:46:24.683: - source: 'CanonCamcorder' (dshow_input)
10:46:24.683: - source: 'Mic/Aux' (wasapi_input_capture)
10:46:24.683: - monitoring: monitor and output
10:46:24.683: - source: '2-LogoImage' (image_source)
10:46:24.683: - source: '1-Scrolling Text' (text_gdiplus)
10:46:24.683: - filter: 'TPWC' (scroll_filter)
10:46:24.683: - source: 'PrayerTrailerClose' (ffmpeg_source)
10:46:24.683: - monitoring: monitor and output
10:46:24.683: ------------------------------------------------
10:46:24.688: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
10:46:24.795: CanonCamcorder: data.GetDevice failed
10:46:24.795: CanonCamcorder: Video configuration failed
11:08:25.382: source 'PrayerTrailerClose' enabled push-to-talk
11:08:25.386: Settings changed (audio)
11:08:25.386: ------------------------------------------------
11:08:57.137: Settings changed (audio)
11:08:57.137: ------------------------------------------------
11:09:17.959: source 'PrayerTrailerClose' disabled push-to-talk
11:09:17.961: Settings changed (audio)
11:09:17.961: ------------------------------------------------
11:13:19.274: ---------------------------------
11:13:19.274: [x264 encoder: 'streaming_h264'] preset: veryfast
11:13:19.274: [x264 encoder: 'streaming_h264'] profile: main
11:13:19.274: [x264 encoder: 'streaming_h264'] settings:
11:13:19.274: rate_control: CBR
11:13:19.274: bitrate: 3000
11:13:19.274: buffer size: 3000
11:13:19.274: crf: 0
11:13:19.274: fps_num: 30
11:13:19.274: fps_den: 1
11:13:19.274: width: 1280
11:13:19.274: height: 720
11:13:19.274: keyint: 60
11:13:19.274: vfr: off
11:13:19.274:
11:13:19.279: [Media Foundation AAC: 'Track1']: encoder created
11:13:19.279: bitrate: 160
11:13:19.279: channels: 2
11:13:19.279: sample rate: 48000
11:13:19.279: bits-per-sample: 16
11:13:19.279:
11:13:19.279: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
11:13:19.299: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
11:13:19.556: [rtmp stream: 'adv_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 successful
11:13:19.562: ==== Streaming Start ===============================================
11:14:34.084: [rtmp stream: 'adv_stream'] User stopped the stream
11:14:34.084: Output 'adv_stream': stopping
11:14:34.084: Output 'adv_stream': Total encoded frames: 2245
11:14:34.084: Output 'adv_stream': Total drawn frames: 2245
11:14:34.087: ==== Streaming Stop ================================================