Page MenuHome

Movie output gets out of sync/plays too fast when rendering.
Closed, ArchivedPublic

Description

--- Operating System, Graphics card ---

WindowsXP Sp3, GeforceGT610

--- Blender version with error, and version that worked ---

2.66, tested with 2.65a but same problem.

--- Short description of error ---

When importing and/or editing video clips in blender VSE the rendered output data gets out of sync/plays much to fast, leaving the rest of the sequence black or mixing it with material from other sequences or cutted out material.
Seems to happen more likely with longer video files compressed with MJPG codec, maybe an issue only with longer MJPG files, but did not test all formats. Changing framerate and output format seem to make no difference also "refresh sequencer" did not work.

--- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Open Sequence Editor, load a longer video clip (about 3 minutes long should likely cause this) compressed in MJPG and play or render it, the output data will play too fast. It is more likely to encounter this bug when cutting the video up a few times and rearrange the clips. Happens very randomly, one moment everything can look fine, but in the next all is messed up, so maybe it needs a few tries to encounter this bug.

Event Timeline

There's really not enough information for reliable fixing work here.
Such video files can come from specific sources that Blender (uses ffmpeg) might not support well.

Either find a way to make the error happen reliable, and upload everything to a public place, or find a way to redo with for example writing out a 'motion jpeg' avi with blender first, en then use that to show the error.

This is also adviced to generate timecodes for movies (see http://wiki.blender.org/index.php/User:Nazg-gul/ProxyAndTimecode) before sending reports about out-of-sync and seek-failure issues.

So please re-test using timecode and if this wouldn't help, upload all the files needed to reproduce the issue.

Indeed it is not easy to reproduce, it happens very randomly.
When I searched for this error I found some people who may have had the same problem, for example: http://blenderartists.org/forum/showthread.php?144802-Video-rendered-3-times-faster-than-it-should or: http://blenderartists.org/forum/showthread.php?247136-VSE-Rendering-finished-Video-is-now-too-fast
Posted my problem there, too and someone said, this may be a bug, because others had the same problem, so I posted it here.

They seem to have had exact the same problem, saying out of sync is a little. wrong, it is more a speeding up, leaving the rest black, while the sound plays out. Seems to be related to special recording softwares, I used MSI Afterburner with MJPG codec.
Only solution I found so far is to load it into another program, convert it to some format blender can read well and then load it back into blender.

If I find a way to reproduce it I will upload the setup, at the moment I changed my project and it was a bit huge for upload anyway.

Unfortunately, we could not fix issues which occurs randomly. Further, always do use timecodes otherwise we could not do anything about video going out of sync (this is not a bug, this is how video is being coded). Also, if your project is large, it shall be possible to shrink it down do single video strip.

For until we'll have file which fails to render correct with timecode used we could not do much about the issue, so closing it now. Feel free to poke me here or fire the new report when you'll find file which reliably demonstrates the issue.

Sergey Sharybin (sergey) changed the task status from Unknown Status to Archived.Apr 12 2013, 5:01 PM

Would the blend file and a compressed piece of output video enough for a proof? Since upload maximum is 5 mb. In the blend file you can see the setup and in the result video the too fast rendered sequences with blacking out after and in the end a piece that randomly plays in normal speed. I would upload them but upload is blocked

You can upload larger files to our ftp too.

ftp to: ftp.blender.org
user name: anonymous

put files in directory incoming/

These then show up on http://download.blender.org/ftp/incoming/