Question / Help MP4 Media Source Audio Stutters In Recording But Not Stream

FADDERALL

New Member
Thank you for the amazing product. I cant believe it is FREE> Just had this small issue pop up today and cannot seem to find any help online for this specific issue.
This is what we are doing
1. Streaming to twitch with OBS Studio.
-2 webcams
-console game through HD60 PCI
-2nd console stream through xbox app
-occasional media source overlay of a video to show audience
2. Recording all of the above while streaming.
3. After stream is done we playback the recorded version as a "replay" of the last show and stream it to twitch.

This has been working fine for a few months. Just today we noticed this stuttering audio on the playback.
We played a particular video clip that was an MP4 file as a media source in OBS
While streaming live the sound came through perfectly
In the recording the audio stutters during the MP4 clip. This happens consistently and for the entire duration of the MP4 clip.
I checked another clip that we often play as a media source in the same recording and that clip recorded fine. That clip is a MOV file.
The only difference I can see is that the clips we normally play are all MOV and the new clip we played today was an MP4. Is this a known problem? Are there specific settings for recording an MP4 media source? Am I just doing something stupid?

I am including last two logs (not sure if they uploaded) which should include when we stream/recorded and then when we played back the recording.

If you need any other settings, videos, or documentation to help us please let me know.
Please help this is very frustrating.

Thank you in advance.
 

Attachments

  • 2016-07-31 07-12-11.txt
    30.3 KB · Views: 25
  • 2016-07-31 07-36-07.txt
    24.6 KB · Views: 16
  • 2016-07-31 07-12-11.txt
    30.3 KB · Views: 19

Suslik V

Active Member
More interesting that at least one of your logs (2016-07-31 07-36-07.txt) has error:

Code:
Error encoding with encoder 'streaming_h264'
Called profile end with mismatching name: start("do_encode"[682596A0]) <-> end("receive_video"[682596AC])

can you reproduce it? Sometimes it happens to other users too.
----------------

About media files, it doesn't matter mp4 or mov. You'll need to compare bitrate, image size, codec etc. You can use MediaInfo to see what difference is between your mp4 and mov files.
 

bauertschi

New Member
100% reproducable for me:

initial recording later used as media source: nvenc lossless 48fps resized from 1080p to 720p (should all be irrelevant). Then I cut out some using avidemux. I think mp4V2 ... the newer mp4 version. ... Sound is played for about half a second or so then I have quiet about half a second when I use that cut out clip:

Test: select copy for audio and video (no reencoding), open clip in avidemux and save it with different container ... I tried mkv, mp4v1 and mp4v2.

use new clips as media source:
- mp4v1 : no audio problems
- mp4v2 : problem as described
- mkv : no audio problems

Using mp4v2 as container reproducably ended in broken audio for me.

Workaround: Save video files in mkv or mp4v1 ... or whatever else I have not tested. I guess not all edition software offers a choice of the different mp4 versions though.
 
Top