<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><div>Bluray changes have been checked in as tested, noted, patched, provided by Andrew:</div><div><br></div><div>1) the hardware device "none" was giving an error message -- gg fixed this;</div><div>2) in the bluray...m2ts opts files the x264opts was switched to x264-params because of Andrew's note of future deprecation of x264opts (I still have to do the non-bluray ones);<br></div><span class="gmail-im"><div>3) bdcreate patch applied that adds 3 additional bluray settings (1920x1080, 25p and 1280x720p, 29.97p and 25) and changed the method of dealing with the fake_interlace versus tff/bff interlace;</div><div>4) modified bluray.m2ts based on Andrew's recommendation;</div><div>5) added bluray_interlace, bluray_tff, and bluray_bff .m2ts to handle specific cases as noted.<br></div></span></div></div><br><div class="gmail_quote"><div style="font-size:small" class="gmail_default">I did quite a few tests and wore out the carpet between the bluray writer and the TV! so even though bluray is going out, we still use it a lot for home videos.</div><div style="font-size:small" class="gmail_default">Thanks for all of the research/work by Andrew.   gg/Phyllis</div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I tried to patch bdcreate.C but while it worked I'm sure i did it wrong (and you need to fix keyint by hand anyway):<br>
<br>
<br>
cat  /dev/shm/bdcreate.patch<br>
diff --git a/cinelerra-5.1/cinelerra/bdcreate.C b/cinelerra-5.1/cinelerra/bdcreate.C<br>
index 863c5d0..fdafa5c 100644<br>
--- a/cinelerra-5.1/cinelerra/bdcreate.C<br>
+++ b/cinelerra-5.1/cinelerra/bdcreate.C<br>
@@ -44,6 +44,7 @@ static struct bd_format {<br>
        { "1920x1080 29.97p*",  1920,1080, 29.97,  1, ILACE_MODE_NOTINTERLACED },<br>
        { "1920x1080 24p",      1920,1080, 24.,    1, ILACE_MODE_NOTINTERLACED },<br>
        { "1920x1080 25i",      1920,1080, 25.,    1, ILACE_MODE_TOP_FIRST },<br>
+       { "1920x1080 25p",      1920,1080, 25.,    1, ILACE_MODE_NOTINTERLACED },<br>
        { "1920x1080 23.976p",  1920,1080, 23.976, 1, ILACE_MODE_NOTINTERLACED },<br>
        { "1440x1080 29.97i",   1440,1080, 29.97, -1, ILACE_MODE_TOP_FIRST },<br>
        { "1440x1080 25i",      1440,1080, 25.,   -1, ILACE_MODE_TOP_FIRST },<br>
@@ -51,6 +52,8 @@ static struct bd_format {<br>
        { "1440x1080 23.976p",  1440,1080, 23.976,-1, ILACE_MODE_NOTINTERLACED },<br>
        { "1280x720  59.94p",   1280,720,  59.94,  1, ILACE_MODE_NOTINTERLACED },<br>
        { "1280x720  50p",      1280,720,  50.,    1, ILACE_MODE_NOTINTERLACED },<br>
+       { "1280x720  29.97p",   1280,720,  29.97,  1, ILACE_MODE_NOTINTERLACED },<br>
+       { "1280x720  25p",      1280,720,  25.,    1, ILACE_MODE_NOTINTERLACED },<br>
        { "1280x720  24p",      1280,720,  24.,    1, ILACE_MODE_NOTINTERLACED },<br>
        { "1280x720  23.976p",  1280,720,  23.976, 1, ILACE_MODE_NOTINTERLACED },<br>
        { "720x576   25i",       720,576,  25.,    0, ILACE_MODE_BOTTOM_FIRST },<br>
@@ -325,11 +328,23 @@ int CreateBD_Thread::create_bd_jobs(ArrayList<BatchRenderJob*> *jobs, const char<br>
        FFMPEG::set_option_path(option_path, "video/%s", asset->vcodec);<br>
        FFMPEG::load_options(option_path, asset->ff_video_options,<br>
                 sizeof(asset->ff_video_options));<br>
-       const char *opts = 0;<br>
+       char *opts = 0;<br>
+       char *opts1 = 0;<br>
        switch( asset->interlace_mode ) {<br>
        case ILACE_MODE_TOP_FIRST:    opts = ":tff\n";  break;<br>
        case ILACE_MODE_BOTTOM_FIRST: opts = ":bff\n";  break;<br>
        }<br>
+<br>
+       if ((asset->width == 1920) && (asset->height == 1080) && (asset->frame_rate != 24) && (asset->interlace_mode==ILACE_MODE_NOTINTERLACED))<br>
+               opts1="fake-interlaced=1\n";<br>
+       if ((asset->width == 1280) && (asset->height == 720) && (asset->frame_rate == 25 || asset->frame_rate == 29.97 ) && (asset->interlace_mode==ILACE_MODE_NOTINTERLACED))<br>
+               opts1="pulldown=double\n";<br>
+<br>
+       if ((opts1) && (opts)) {<br>
+               int len1 = strlen(opts);<br>
+               char *cp1 = opts + len1-1;<br>
+               strncpy(cp1, opts1, sizeof(opts)-len1);<br>
+       }<br>
        if( opts ) {<br>
                int len = strlen(asset->ff_video_options);<br>
                char *cp = asset->ff_video_options + len-1;<br>
<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div>