Question / Help OBS for video record only - mp4 plays audio but no video

apple2200obs

New Member
I'm using OBS as a local recording/file output.

I have 3 computers (2 PCs and 1 Mac).

When on one of my PC's I can use obs to make an mp4 recording successfully since it plays both audio and video. This mp4 file gets saved to my PC's desktop.

My Problem:
When I transfer (via email/usb/or other means) this same mp4 file to my other PC desktop or Mac desktop and then open the file, the audio plays, but not the video.

Below shows information on 2 mp4 files from my Mac. This highlighted section is the only place where there was a difference between a file that worked and one that didn't.
Good plays both audio and video. Bad plays audio but not video.


Plenty of mp4 files play perfectly whether it be on my PC or Mac.
I've noticed that all mp4 files that played audio and video perfectly listed H.264, AAC [IN THAT ORDER].
I've noticed that any mp4 files that played audio but no video listed AAC, H.264 [IN THAT ORDER].

Any help would be greatly appreciated. I will gladly provide any information you may need on my obs recording settings if it may help with solving this issue.

Thank you in advance...any and all comments are welcome.
 

Attachments

  • pic22.png
    15.3 KB · Views: 82

apple2200obs

New Member
Thank you for replying dodgepong.

CFR was already enabled.

These are all the settings I'm currently using:
 

Attachments

  • Encoding - Audio - Video.png
    32.6 KB · Views: 80
  • Advance Settings.PNG
    23.7 KB · Views: 58

apple2200obs

New Member
Before I started this thread I tried uploading an mp4 file to youtube. I then downloaded it from YouTube. The downloaded mp4 file from YouTube will then work(it plays both audio and video). Hope this helps to solve my issue.

Here's a log for the settings I use to record:

Code:
13:25:21: Open Broadcaster Software v0.571b - 64bit ( ^ω^)
13:25:21: -------------------------------
13:25:21: CPU Name: Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
13:25:21: CPU Speed: 2200MHz
13:25:21: Physical Memory:  8102MB Total, 5954MB Free
13:25:21: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
13:25:21: monitor 1: pos={0, 0}, size={1920, 1200}
13:25:21: Windows Version: 6.1 Build 7601 S
13:25:21: Aero is Enabled
13:25:21: -------------------------------
13:25:21: OBS Modules:
13:25:21: Base Address     Module
13:25:21: 000000003FEF0000 OBS.exe
13:25:21: 00000000F2790000 OBSApi.dll
13:25:21: 00000000F5D30000 DShowPlugin.dll
13:25:21: 00000000F5D00000 GraphicsCapture.dll
13:25:21: 00000000F5C50000 NoiseGate.dll
13:25:21: 00000000FA2F0000 PSVPlugin.dll
13:25:21: ------------------------------------------
13:25:21: Adapter 1
13:25:21:   Video Adapter: AMD Radeon HD 6750M
13:25:21:   Video Adapter Dedicated Video Memory: 1057275904
13:25:21:   Video Adapter Shared System Memory: 3979730944
13:25:21: =====Stream Start: 2013-10-07, 13:25:21===============================================
13:25:21:   Multithreaded optimizations: On
13:25:21:   Base resolution: 1280x720
13:25:21:   Output resolution: 1280x720
13:25:21: ------------------------------------------
13:25:21: Loading up D3D10 on AMD Radeon HD 6750M...
13:25:22: ------------------------------------------
13:25:22: Audio Format: 44100hz
13:25:22: Playback device Default
13:25:22: ------------------------------------------
13:25:22: Using desktop audio input: Speakers (Cirrus Logic CS4206A (AB 39))
13:25:22: Using quad speaker setup
13:25:22: ------------------------------------------
13:25:22: Using auxilary audio input: Microphone (Cirrus Logic CS4206A (AB 39))
13:25:22: Using Window Capture
13:25:22: MMDeviceAudioSource: Frequency for device 'Speakers (Cirrus Logic CS4206A (AB 39))' is 768000, samples per sec is 48000
13:25:22: MMDeviceAudioSource: Frequency for device 'Microphone (Cirrus Logic CS4206A (AB 39))' is 352800, samples per sec is 44100
13:25:43: Total frames encoded: 0, total frames duplicated: 0 (-1.#J%)
13:25:43: Total frames rendered: 643, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
13:25:43: 
13:25:43: Profiler time results:
13:25:43: 
13:25:43: ==============================================================
13:25:43: video thread frame - [100%] [avg time: 2.077 ms] [children: 55.7%] [unaccounted: 44.3%]
13:25:43: | scene->Preprocess - [55.7%] [avg time: 1.156 ms]
13:25:43: GPU download and conversion - [100%] [avg time: 0.015 ms] [children: 80%] [unaccounted: 20%]
13:25:43: | flush - [80%] [avg time: 0.012 ms]
13:25:43: ==============================================================
13:25:43: 
13:25:43: 
13:25:43: Profiler CPU results:
13:25:43: 
13:25:43: ==============================================================
13:25:43: video thread frame - [cpu time: avg 0.752 ms, total 483.603 ms] [avg calls per frame: 1]
13:25:43: | scene->Preprocess - [cpu time: avg 0.048 ms, total 31.2 ms] [avg calls per frame: 1]
13:25:43: GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:25:43: | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:25:43: ==============================================================
13:25:43: 
13:25:43: =====Stream End: 2013-10-07, 13:25:43=================================================
13:25:44: =====Stream Start: 2013-10-07, 13:25:44===============================================
13:25:44:   Multithreaded optimizations: On
13:25:44:   Base resolution: 1280x720
13:25:44:   Output resolution: 1280x720
13:25:44: ------------------------------------------
13:25:44: Loading up D3D10 on AMD Radeon HD 6750M...
13:25:44: ------------------------------------------
13:25:44: Audio Format: 44100hz
13:25:44: Playback device Default
13:25:44: ------------------------------------------
13:25:44: Using desktop audio input: Speakers (Cirrus Logic CS4206A (AB 39))
13:25:44: Using quad speaker setup
13:25:44: ------------------------------------------
13:25:44: Using auxilary audio input: Microphone (Cirrus Logic CS4206A (AB 39))
13:25:45: ------------------------------------------
13:25:45: Audio Encoding: AAC
13:25:45:     bitrate: 128
13:25:45: Using Window Capture
13:25:45: ------------------------------------------
13:25:45: Video Encoding: x264
13:25:45:     fps: 30
13:25:45:     width: 1280, height: 720
13:25:45:     preset: veryfast
13:25:45:     profile: high
13:25:45:     keyint: 250
13:25:45:     CBR: yes
13:25:45:     CFR: yes
13:25:45:     max bitrate: 1800
13:25:45:     buffer size: 1800
13:25:45: ------------------------------------------
13:25:45: MMDeviceAudioSource: Frequency for device 'Speakers (Cirrus Logic CS4206A (AB 39))' is 768000, samples per sec is 48000
13:25:45: MMDeviceAudioSource: Frequency for device 'Microphone (Cirrus Logic CS4206A (AB 39))' is 352800, samples per sec is 44100
13:26:00: Total frames encoded: 445, total frames duplicated: 0 (0.00%)
13:26:00: Total frames rendered: 451, number of late frames: 1 (0.22%) (it's okay for some frames to be late)
13:26:01: 
13:26:01: Profiler time results:
13:26:01: 
13:26:01: ==============================================================
13:26:01: video thread frame - [100%] [avg time: 1.625 ms] [children: 60.9%] [unaccounted: 39.1%]
13:26:01: | scene->Preprocess - [60.9%] [avg time: 0.989 ms]
13:26:01: GPU download and conversion - [100%] [avg time: 0.145 ms] [children: 89%] [unaccounted: 11%]
13:26:01: | flush - [75.2%] [avg time: 0.109 ms]
13:26:01: | CopyResource - [10.3%] [avg time: 0.015 ms]
13:26:01: | conversion to 4:2:0 - [3.45%] [avg time: 0.005 ms]
13:26:01: Convert444Threads - [100%] [avg time: 0.554 ms] [children: 98.7%] [unaccounted: 1.26%]
13:26:01: | Convert444toNV12 - [98.7%] [avg time: 0.547 ms]
13:26:01: encoder thread frame - [100%] [avg time: 1.571 ms]
13:26:01: ==============================================================
13:26:01: 
13:26:01: 
13:26:01: Profiler CPU results:
13:26:01: 
13:26:01: ==============================================================
13:26:01: video thread frame - [cpu time: avg 0.449 ms, total 202.801 ms] [avg calls per frame: 1]
13:26:01: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:26:01: GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:26:01: | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:26:01: | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:26:01: | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:26:01: Convert444Threads - [cpu time: avg 0.679 ms, total 577.202 ms] [avg calls per frame: 2]
13:26:01: | Convert444toNV12 - [cpu time: avg 0.66 ms, total 561.601 ms] [avg calls per frame: 2]
13:26:01: encoder thread frame - [cpu time: avg 1.066 ms, total 452.402 ms] [avg calls per frame: 1]
13:26:01: ==============================================================
13:26:01: 
13:26:01: =====Stream End: 2013-10-07, 13:26:01=================================================
 

R1CH

Forum Admin
Developer
This sounds like a problem with your video player. I couldn't find any reference to MP4 files requiring the video as the first track.
 

FerretBomb

Active Member
Is there any way you could attach a short example video demonstrating the problem? It'd be helpful to actually have a source file where the problem exists to examine and/or test on another machine.

Immediate thoughts spitballing from left field would be some issue with the CODECs installed on the recording machine (an uninstall of any 'mega-packs' or such would be a good place to start), with either a wonky installation or something configured funny being responsible.
 

apple2200obs

New Member
Thanks for your insights dodgepong, R1CH, and FerretBomb.

Firstly, I uninstalled OBS entirely and reinstalled it (64-bit version) via http://sourceforge.net/projects/obsproj ... p/download

The "audio but no video" issue still presented itself.

From my PC, I took a sample video using OBS of course. The mp4 file has audio and video when run from my PC. I then uploaded that file, titled "Test Video for OBS Forum 1.mp4" here: https://app.box.com/s/evtefpo2h5bf1abpbc1g

Next, that same file I sent to my Mac. Now when I run that file it has audio but NOT video. I renamed the file to "Test Video for OBS Forum 2.mp4" and then uploaded it here: https://app.box.com/s/m1ul5jqn98bnp2twhrcp

Some things to note:
1. Even if I send this sample file to my other PC, the same issue of audio but no video is present.
2. Other mp4 files DO play audio and video on my Mac. As an example, I can download a YouTube video (mp4 file) to my Mac and it plays without issue.
3. From my Mac, I can take the mp4 file that is playing audio but not video and change its extension to ".mov". It will then play both audio and video.

After sending the OBS recorded mp4 file to my Mac (or other PC), getting both audio and video to play still remains a mystery...

Thank you all for any continued help...
 

dodgepong

Administrator
Community Helper
Both videos play back with both audio and video on my Windows PC. If that's the case, I suspect it's a codec issue on the Mac.
 

Boildown

Active Member
13:25:43: Total frames encoded: 0, total frames duplicated: 0 (-1.#J%)
13:25:43: Total frames rendered: 643, number of late frames: 0 (0.00%) (it's okay for some frames to be late)

Why would there be 0 frames encoded yet 643 frames rendered?
 

apple2200obs

New Member
Thanks for the insight dodgepong.

I looked up the File Info and Stream Info(via MPEG Streamclip) on a .mp4 file that plays audio but no video.

Here's a pic of that information:

QeP3Xgy.png


AVC Coding? Does this help to pinpoint the issue finally? If so, what do you suggest I do next?
Ultimately, I would like to import a working file into my program "Screenflow".

Thank you again to any and all who contribute to helping me with this issue.
 

dodgepong

Administrator
Community Helper
Actually the more odd thing is the 0.136fps to me. This is particularly odd, because you are specifying CFR to be enabled, which should guarantee the correct frame rate. Something is definitely odd with the way your Mac is reading the files.
 

apple2200obs

New Member
Thanks dodgepong.

I've been on this 1 issue for literally days now...

I think that my Mac isn't "decoding" the AVC (Advanced Video Codec) Coding format.
Does this seem plausible? If so, I'd like to try downloading a codec specific for Mac of course so my computer can read finally read the video. Any insight in this area?

My Mac CAN read files encoded as H.264. This now helps my understanding with an earlier post I made when I said that if I downloaded a video from YouTube, it would play both audio and video. This was the case because YouTube delivers it via the mp4 extension (container), and in that container is an H.264 encoded file.

I have files with the mp4 extensions/containers "containing" the AVC Coding format that make me not be able to view the video.
What is a codec for Mac that will "decode" the AVC Coding, thus allowing me to view video?

With just a little more help, I think "we" may be close to finally resolving this issue.

Please do...any and all of you...offer some insight on this matter, and as always thank you in advance.
 

dodgepong

Administrator
Community Helper
Unfortunately, my experience with Macs and video files is extremely limited and I don't know what would be causing it. Are there codec packs you can download for the Mac, like K-lite or CCCP for Windows?
 
Top