Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Interval between image and sound


Hi,

When I start playing my video image and sound are perfectly synchronized. But After 1 minute, the sound is delayed compared to the image. That is strange because it appears when the video is fetched via HTTP only. There is no interval between image and sound via RTMP.

I setup a jsfiddle to show you my problem: http://jsfiddle.net/a12b/8HzYW/3/

When I play the video via HTTP with VLC both sound and image are perfectly synchronized even after 1 minute.

So does JWPlayer requires an option in my case?

Cheers,
Alexis.

7 Community Answers

alexis

User  
0 rated :

Any help or idea? :-)

Ethan Feldman

JW Player Support Agent  
0 rated :

How did you encode your mp4?

alexis

User  
0 rated :

MP4 is recorded via an iPhone app. Here is some details about the video:

avconv -i 5aef400ba3b6ef7851e11014a77f.mp4
avconv version 0.8.10-6:0.8.10-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
built on Feb 6 2014 20:56:10 with gcc 4.7.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '5aef400ba3b6ef7851e11014a77f.mp4':
Metadata:
major_brand : f4v
minor_version : 0
compatible_brands: isommp42m4v
creation_time : 2014-05-26 10:10:42
Duration: 00:02:51.44, start: 0.000000, bitrate: 752 kb/s
Stream #0.0(eng): Video: h264 (Baseline), yuv420p, 480x360, 686 kb/s, 24.54 fps, 24.39 tbr, 90k tbn, 180k tbc
Metadata:
creation_time : 2014-05-26 10:10:42
Stream #0.1(eng): Audio: aac, 44100 Hz, mono, s16, 63 kb/s
Metadata:
creation_time : 2014-05-26 10:10:42

alexis

User  
0 rated :

To give you more details the iPhone app record and stream the video to a Wowza server.

Ethan Feldman

JW Player Support Agent  
0 rated :

Can you try to do a test re encode with – http://handbrake.fr/ ?

Default settings + web optimized. Just to test.

alexis

User  
0 rated :

After re-encoding there is no more interval: http://jsfiddle.net/a12b/8HzYW/4

Andrew

JW Player Support Agent  
0 rated :

If you utilize a straight video tag with your file, are you seeing the same issue? Also, please make sure to encode as an MP4 with AAC audio and h.264 video codecs.

This question has received the maximum number of answers.