Home > Archive (Community help, from old helpdesk) > The audio is slower than the video

The audio is slower than the video

Avatar image
Aug 22, 2015
Archive Agent wrote
I'm converting an h264 video to an h264 video using a VideoEditCore. I'm writing with VisioForge.Types.VFH264Profile.ProfileMain using latest version of the Video edit Sdk.net (8.6.23, x86, trial). The video is faster than the audio. It's best seen after about 30 minutes of video.

Have you seen this and do you know how to fix this?

Thanks

ArnoutArnout on December 18, 2014 19:12
Completed
0
Vote
Reply
12 Answers
Aug 22, 2015
Archive Agent agent wrote
qakmak

are you sure the frame rate is option is: original .

on December 19, 2014 17:41
Aug 22, 2015
Archive Agent agent wrote
Arnout

I don't know what that is, so I guess it's on default?

on December 19, 2014 19:56
Aug 22, 2015
Archive Agent agent wrote
Arnout

I'm still looking for a solution. The audio is out of sync with a simple program like this:

using (VisioForge.Controls.VideoEdit.VideoEditSlave ve = new VisioForge.Controls.VideoEdit.VideoEditSlave())
{
ve.Input_AddVideoFile(videofile, -1, -1, 0, VisioForge.Types.VFVideoEditStretchMode.Crop, 1);
ve.Input_AddAudioFile(videofile, -1, -1, 0, videofile, 0, 0, 1);
ve.Mode = VisioForge.Types.VFVideoEditMode.Convert;
ve.Video_Renderer = VisioForge.Types.VFVideoRenderer.None;
ve.Output_Format = VFVideoEditOutputFormat.MP4_H264;
ve.MP4_Audio_Format = VisioForge.Types.VFMP4AudioEncoder.AAC;
ve.MP4_Audio_AAC_Version = VisioForge.Types.VFAACVersion.MPEG2;
ve.MP4_Video_Sequential_Timing = VisioForge.Types.VFH264TimeType.Encoded;
ve.Output_Filename = dir + "\\output.mp4";
ve.ConsoleUsage = true;
ve.Start();
}

Any thoughts? Thanks.

on January 13, 2015 19:02
Aug 22, 2015
Archive Agent agent wrote
Roman Minyaylov

Hi

Did you try Modern encoder for MP4 instead Legacy?

on January 15, 2015 13:10
Aug 22, 2015
Archive Agent agent wrote
Arnout

Hi Roman,

How do I do that? I tried changing VFAACVersion to MPEG4 but the files created then, can't be played in Quicktime or VLC.

Thanks

on January 15, 2015 17:52
Aug 22, 2015
Archive Agent agent wrote
Arnout

Hi,
I found the setting to use the modern encoder. But it doesn't solve my problem. Any other thoughts?

Thanks.

on January 28, 2015 19:17
Aug 22, 2015
Archive Agent agent wrote
Arnout

Hi,
This problem seems to only happen when the input audio is aac. Any ideas?

Thanks

on February 06, 2015 19:35
Aug 22, 2015
Archive Agent agent wrote
qakmak

did you also find AAC quality problem? maybe that will effect each other.
http://support.visioforge.com/forums/172855-developers-community-help/suggestions/7172561-video-edit-sdk-aac-audio-quality-change-a-lot-afte

on March 08, 2015 08:32
Aug 22, 2015
Archive Agent agent wrote
Arnout

Hi qakmak,

The quality is fine on my testvideo's.

on March 18, 2015 18:06
Aug 22, 2015
Archive Agent agent wrote
qakmak

I think maybe it's good enough for you. But I still can hear there is some sound quality loss, some differences.

on March 18, 2015 19:24
Aug 22, 2015
Archive Agent agent wrote
rnout

My video's are mostly talking heads. So you're probably right.

on March 19, 2015 15:13
Aug 22, 2015
Archive Agent agent wrote
Roman Minyaylov

Please checl latest version.

on July 05, 2015 23:21