This forum has been archived. All content is frozen. Please use KDE Discuss instead.

My audio is suddenly shifted upon rendering

Tags: None
(comma "," separated)
SixString
Registered Member
Posts
13
Karma
0
I've been editing home videos for the last few weeks, rendering them into h.264. Each video has a 10 second title screen at the start that dissolves into the first imported clip.

I noticed last night that in the last 4 videos I've made, the audio is starting at the beginning, even though the video doesn't start until after the title, so the sound is shifted 10 seconds early. It doesn't do that in the preview, only in the rendered file. If I start the clip at the beginning (with no title), the sound is synced. It happens if I render to MPEG-2 as well, but not if I render it as Raw DV. (It looks like I might be able to render as Raw DV, then create a new project and render the Raw DV into h.264, but that's a big pain. Besides, as a software developer myself I know it's never good to ignore problems that suddenly arise.)

I've also noticed lately that the rendering sometimes crashes upon completion, generating a boatload of qpainter crashed errors. I don't know if that's related or not; the rendering's done and the files have completed.

I'm running Ubuntu 14.04 and Kdenlive 4.13.3.
SixString
Registered Member
Posts
13
Karma
0
I removed Kdenlive, melt (0.9.0-3), and ffmpeg and reinstalled via the repositories and the problem persists. I went back and loaded one of my previous project files that had rendered perfectly before and re-rendered it. It shows the same problem, so it's not the project files I'm making. It plays fine in the preview window, but not once it's rendered.

Does anyone have a solution? PLEASE??? Why is the audio suddenly shifted left (early) during my title screens so that it's out of sync with the video?
vpinon
KDE Developer
Posts
708
Karma
6
OS
Hello,

Did you split the audio from your video clip or not? Try splitting/no splitting;
If audio is a separate file (eg mp3) try transcoding the source to WAV.

Can you send a sample project? (with light source media)

Note: rendering is done through MLT, and if it is codec-dependant it might even come from ffmpeg/libav, so Kdenlive may or may not be the one to fix.

Vincent
SixString
Registered Member
Posts
13
Karma
0
vpinon wrote:Hello,

Did you split the audio from your video clip or not? Try splitting/no splitting;
If audio is a separate file (eg mp3) try transcoding the source to WAV.

Can you send a sample project? (with light source media)

Note: rendering is done through MLT, and if it is codec-dependant it might even come from ffmpeg/libav, so Kdenlive may or may not be the one to fix.

Vincent


Splitting didn't help. If you PM me your email, I'll set up a Drive or Dropbox or GE.TT location for the files. Thanks!
vpinon
KDE Developer
Posts
708
Karma
6
OS
my nickname @kde.org
SixString
Registered Member
Posts
13
Karma
0
vpinon wrote:my nickname @kde.org


Hey, did you get the files okay?
SixString
Registered Member
Posts
13
Karma
0
I realized Kdenlive was actually using avconv and avplay, rather than ffmpeg. (Some kind of Ubuntu 14 thing, I guess.) I compiled ffmpeg myself and changed the path in the Kdenlive | Settings dialog to use my freshly-compiled ffmpeg and ffplay and re-rendered.

Same problem. Audio still starts at the beginning of the video, rather than 10 sec later, when the video starts.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient