• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Audio/Video out of sync on recorded stream

New Here ,
Feb 10, 2014 Feb 10, 2014

Copy link to clipboard

Copied

Hi,

i'm recording a stream server side using the stream object with pretty much the following code:

mystream = Stream.get("mp4:recording.mp4");

mystream.setBufferTime(5);

mystream.record();

mystream.play("live", -1, -1);

and stopping with:

mystream.record(false);

mystream.play(false);

After that i process the file with the f4v post-processing tool using the command:

f4vpp -i recording.mp4 -o output.mp4 -c

but no matter what i always get desynced audio and video and sometimes even the frame size is completely wrong, for example i get a 640x360 stream at 320x240 with both aspect ratio and size wrong.

What am i doing wrong? Is there a procedure that needs to be followed or a particular configuration to have usable recordings server side?

Thanks

Views

633

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 21, 2014 Apr 21, 2014

Copy link to clipboard

Copied

LATEST

Try to look at your framerate of video and audio. My experience is that if you play any other video clip of different framerate in the recording, you will see this problem

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines