Forum topic: audio not in sync with video

I am using openpackage.biz to do my transcoding remotely. Do my transcoding params in the setup screen still determine all params? .. that's pretty slick.

With that in mind: Check out this video (just watch the first 5sec for the effect, and only more if you've got a good stomach for medical videos).
http://emrapmedia.com/node/25
When you hit play, you see a black screen and hear "More nails!" This is followed with the presenter's lips moving to say "More nails!" but the sound already came a second before.. The original quicktime/mov is synchronized properly.. Is this anything in my or your control?

thanks
-bronius

I tried to download the .mov, but wget keeps saying 'Connection closed at byte 17561600. Retrying'. Can you upload the file to openpackage.biz?

I guess the originals are discarded upon translation? I am presently uploading via the Submit video link in the sidebar menu.

(and thanks for the wget timeout notification.. any ideas where I might look to fix that issue at the same time? Is it with my host? During the previous, automated transcoding of this same video, the 97MB .mov was received on your end just fine..)

You have configured your site to keep the original file (hence the download link).

It could be anything. Apache probably. If that is what you use.

I managed to do some experiments on the 17561600 bytes I did get downloaded. It is exactly one minute. How big is the original file?

With the latest ffmpeg - problem still exists.
Using the no transcode technique here - both streams are not transcoded as the audio is mpeg4aac and the video is h264 (flash can now play both of these). The streams are remuxed into mp4 file format for flash. The problem is still the same.
Play in miro - problem still exists.

I don't have a windows install atm. What player do you have that can play it synced properly?

First attempt at upload failed, so I deleted that node.

Here's the video, successfully uploaded and transcoded out of sync just like before:
http://openpackage.biz/videos/bcswebstudio-again

The orig .mov plays in the latest Quicktime player in Windows Vista for me. 3:30 (hh:mm) in length.

ffmpeg reports 'negative ctts, ignoring'

See this thread: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-March/009701.html

Not sure what to do with the link you sent... Is this a patch applied on OP's ffmpeg mov.c, are you just recommending that I apply the patch myself to my own installation, or is this just a thought for discussion? Or are you just bitter that you had to sit through that disturbing test video? ;)

As it stands, I don't have .mov support in my host's installation of ffmpeg which is why I'm relying on the transcoding service of OP.

Thanks for removing the test video; sorry for the lack of another example; you had to go through that.

The patch was applied to ffmpeg almost two years ago. I'll remove the patch from my local ffmpeg installation and try it again.

I tried it without the patch and get this error:

swScaler: Unknown format is not supported as input format
Cannot get resampling context

so it seems that it is essential for it to work at all, but the patch isn't sufficient to handle this video correctly.

I will report a bug to ffmpeg

Thanks very much. Outside of php/drupal, I'm at a loss for bug reports/debugging, but I can appreciate the considerable overhead for applying patches to compiled code and such.. Please keep me posted on what you find. I will also request that the client submit a shorter, "complete" (and not as disturbing!) video clip to see if the problem exists in shorter clips as well.

A little update for more discussion fodder.. Whereas the removed sample video was 3:30.00 in length, this one is just 0:45.00.
http://emrapmedia.com/node/26
This one doesn't appear to be out of sync!

I removed the video from the videos page as it is far to disgusting.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <b>
  • Lines and paragraphs break automatically.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options