I am new to Blender and video editing in general so please correct me if I am making any wrong assumptions. I have the following problem: I have captured some mp4 video game footage with Open Broadcaster. Now I would like to edit it with the Blender video editor. I checked the frame rate within VLC and set the render settings to that frame rate. I also have AV-sync turned on. Now when I drag the clip I want to edit into the video sequence editor the audio track and the video clip don’t sync up. The audio is exactly as long as the original video was (00:04:13:52 in minutes / 30412 in frames) however the video clip itself is much too short (00:00:02:14 in minutes / 254 in frames). When I click along the clip with the scrubber it seems that the entirety of the video is there only incredibly compressed. Does anyone have any idea what is causing this. Unfortunately I don’t have any other video footage to test with. Maybe this has something to do with the mp4 format? Windows Media Player can’t play the video so perhaps a codec is missing?
I’ve had the same problem myself, although not as far apart as your situation. I was able to fix it once by changing the frame rate, maybe try playing around with that. I think that windows explorer might also return rounded values or something when checking the frame rate. Don’t necessarily trust what values it gives for frame rate.
Thanks but I tried that already. Messing with the frame rate hasn’t really helped. As I said I checked it with VLC (under codec information) not with Windows Explorer and it showed up as a flat 120 so that’s what I set it to in the render options.
Could you please give more details about the video/audio, sample rae, fps, codec (Mediainfo provide slightly more accurate infomration than VLC). Then your settings in Blender for rendering, including audio.
Also when you play it in blender, how does the movie play in tem of speed (as you seem to just have 2 secconds vs 4 minutes ???). Is it visible at all ?
It could be a variably compressed frame rate (some screen grabbers do this), you could 1) recompress (transcode) outside of Blender to a more Blender friendly format or 2) Use the Speed Effect strip to match the audio length. I think that only the first will really work though as the speed effect will be uniform.
Ah I see. Transcoding did the trick, thanks! I used handbrake and set it to a constant framerate and when I dragged in the file this time it synced up perfectly. I don’t know anything about transcoding so I’m going to have to fiddle around with the settings a bit more to find out how not to lose any quality but generally it works. Funny thing is I already theorized that the cause was a variable framerate in another forum (after all games don’t run at a constant FPS) but they dismissed it. So it’s nice to see that here the people giving answers actually know what they are talking about
While we’re on the subject of rendering: does anyone have a sort of ideal configuration for the output/encoding sections? I have been trying to find the best codec/format/bitrate settings in order to have the best quality video but I’m having a hard time.