On Sun, Feb 10, 2013 at 7:41 PM, el jefe delito <span dir="ltr"><<a href="mailto:eljefedelito@gmail.com" target="_blank">eljefedelito@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div class="im">> Can you reproduce the problem by simply placing a clip on a timeline<br>
> by itself, rendering that, make a new project, add the rendered clip<br>
> to a timeline by itself, and render that?<br></div><div class="im">> You should
use lossless for an intermediate file</div></div></div><br>Using Debian Sid on the single file named 'DSC_0124.MOV':<br><ul><li><b>If i export DSC_0124.MOV to a Lossless H.264 Slow (the audio is in sync after), and then export again to every format that I tried (H264, MERG-4, MPEG2), I had sync issues after that second render.</b></li>


<li>If I export DSC_0124.MOV to mpeg2 the audio was correct the first time, but exporting again to anything had audio sync issues after the second render</li><li>


If I export DSC_0124.MOV to an h.264 and reexport to h.264, for completeness, it still has sync issues after the second render.</li></ul>
</div></div><div class="im">> If so, can you reproduce it using one of the binary builds I provided<br></div><div><div><div>
<div><div><div>
> to this thread yesterday?<br><br></div><div>Using DD's Ubuntu x64 build (on Debian) I have:<br></div><ul><li>If I export DSC_0124.MOV to lossless H.264 Slow and then export again to anything, it had audio sync issues issues.</li>

<li>If I export DSC_0124.MOV to FFV1 and export again to anything, <b>I don't have sync issues</b></li><li>If I export my complex project (which started this conversation) to FFV1 Lossless, and then to Youtube or MPeg4 or H264, <b>no issues</b>; the audio syncs and things look and sound good</li>

<li>If I export my complex project (which started this conversation) to FFV1 Lossless, and then to Android, the render crashes<br></li>
</ul><div>



Dan, I think that your builds have fixed or improved the syncing.  Is this coincidence that I'm asking about these issues now?<br></div></div></div></div></div></div></div></blockquote><div><br></div><div>Not sure what you mean by coincidence; I explained the recent history. Debian unstable is a few versions behind and only has a few patches to address crashes and memory leaks.</div>
<div><br></div><div>That Android render profile uses a bunch of special x264 options, which may no longer apply now because ffmpeg and x264 have changed so much. I wonder if that is causing some grief or not. A quick test worked for me, and I will need to try to better replicate your steps to look deeper. Anyways, these mobile profiles were created in the infant days of smartphones and are obsolete now. Many modern smartphones can decode 1080p H.264 now. Same goes for the web video-sharing profiles; the old constraints are no longer relevant.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div></div><div>It seems, the answers lie in<br>the newer release;<br>
the matching of profiles, clips, export framerates;<br></div></div></div></div></div></div></div></blockquote><div><br></div><div>The matching of these things technically should not matter, but I would not be surprised if that helps. I was just wondering if you actually noticed this is required for your project or if you are echoing what was said here.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>
and the use of Lossless as an intermediary format<br></div><div class="im"><div><br><br>> Understandable, but for future reference you can also add the first<br>> project to the second project as a clip.<br><br></div>
</div><div>I've read this but I don't understand how.  If I try to "Add Clip", I get video formats to pick from but none of the projectname.kdenlive files appear.  I don't see an option to "Add Project" or "Embed Project".  How can I add a project?<br>


</div><div><div><div><img><br></div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>Do you not have All Files as a Filter option at the bottom of the file dialog? If not you can just clear the filter field to show all files.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div></div><div>Thanks everyone!<br></div></div></div></div>
</div></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 8, 2013 at 3:06 PM, el jefe delito <span dir="ltr"><<a href="mailto:eljefedelito@gmail.com" target="_blank">eljefedelito@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for getting back to me.<div><div><br></div><div>> Are you referring to just image quality or also A/V sync? </div>

</div><div>Both the visual and the syncing look good.<br></div><div><div><br></div><div>> Does the A/V sync look good in Kdenlive's monitors even after scrubbing or seeking?</div>
</div><div>Yes, at all points during my editing process the sync seems to be just fine.</div><div><div><br></div><div>> Can you reproduce the problem by simply placing a clip on a timeline</div><div>> by itself, rendering that, make a new project, add the rendered clip</div>


<div>> to a timeline by itself, and render that?</div></div><div>I will try this tonight and get back to you.</div><div><div><br></div><div>> If so, can you reproduce it using one of the binary builds I provided</div>


<div>> to this thread yesterday?</div></div><div>I will try this as well.</div><div><br></div><div><br></div><div>Thanks again!</div><div><br></div><div><br></div></div><div class="gmail_extra"><div><div>
<br><br><div class="gmail_quote">On Fri, Feb 8, 2013 at 2:59 PM, Dan Dennedy <span dir="ltr"><<a href="mailto:dan@dennedy.org" target="_blank">dan@dennedy.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>On Fri, Feb 8, 2013 at 6:05 AM, el jefe delito <<a href="mailto:eljefedelito@gmail.com" target="_blank">eljefedelito@gmail.com</a>> wrote:<br>
> Thanks for the help.<br>
><br>
><br>
>> To the original poster, you need to provide a sample file, the project<br>
>> settings, and the render settings in order to investigate.<br>
><br>
> My Nikon clips are 1280x720 at 23.98 FPS so that's what I changed my project<br>
> file to use.  I exported this at the H.264 setting with default values, and<br>
> the output appears perfect.  However, I need a logo overlay / watermark and<br>
> trying to do that in the original project, the KDEnlive editor wanted to<br>
> composite that image with a specific video track; my video is edited and on<br>
> multiple tracks so I thought it'd be easier to add as a new project (and<br>
> yes, I'd lose some quality with the re-render).<br>
<br>
</div>Understandable, but for future reference you can also add the first<br>
project to the second project as a clip. However, this H.264 profile<br>
is a very poor choice for this because it is designed for distribution<br>
not for editing because the GOP size (keyframe interval)) is set to<br>
250 frames. At 23.98 fps, that makes the GOP over 10 seconds! That<br>
will make seeking and thereby a/v sync more challenging. You should<br>
use lossless for an intermediate file, and they are faster to encode<br>
as well.<br>
<div><br>
> Ok, so the first output looks great.<br>
<br>
</div>Are you referring to just image quality or also A/V sync? Does the A/V<br>
sync look good in Kdenlive's monitors even after scrubbing or seeking?<br>
<div><br>
>  The next run, new project, same<br>
> project settings and using only the recently exported file and a<br>
> transparent-background jpg, however, tells me at Render time that there are<br>
> No Matching Profiles for the H.264 option — which should be the exact<br>
> profile that I just used!  How can it not match itself?  If I use it<br>
<br>
</div>There appears to be a cosmetic bug here. In a fresh project, the first<br>
time you open the Render dialog it defaults to the HDV group, and<br>
indeed HDV is not compatible with 720p23.98 (according to MLT and<br>
Kdenlive). This message should not apply to the H.264 render profile<br>
as it has no restrictions like that, but I saw the warning as well<br>
when I used your overlay project. So, there is some state bug that<br>
makes the render dialog erroneously issue that warning.<br>
<div><br>
> anyways, I get audio sync issues worse than ever.<br>
><br>
> Attached are the two projects I've been working on (normal edit, and then<br>
> where I just add the overlay watermark).  However, I don't have a short,<br>
> decent clip to use to demo these sync issues so I'll have to shoot that<br>
> later and send it in 10 hours or so.<br>
><br>
<br>
</div>Based on this info, I do not need the original camera clip because it<br>
is the render output of the first project that is giving you a<br>
problem. I have not yet been able to reproduce this. I am not trying<br>
to use your complex first project because that would take some time to<br>
recreate with my own assets, and it does not appear to be necessary.<br>
<br>
So, I locate a 1280x720@23.98 clip in my library, add it a kdenlive<br>
project with same settings, place it on a track by itself, and render<br>
it with the H.264 profile. I check the output in a couple of players<br>
including Shotcut (MLT-based) and Quicktime Player on OS X, both of<br>
which are playing it with good sync.<br>
<br>
I open your overlay kdenlive project and replace the clip that is on a<br>
track with the output from the preceding step. I render that out using<br>
the render settings stored in the project file you provided (dual pass<br>
H.264). The A/V sync of that output is good as well checked using same<br>
players.<br>
<br>
Can you reproduce the problem by simply placing a clip on a timeline<br>
by itself, rendering that, make a new project, add the rendered clip<br>
to a timeline by itself, and render that?<br>
If so, can you reproduce it using one of the binary builds I provided<br>
to this thread yesterday?<br>
<div><div><br>
----------------------</div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div>