https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/b67572c7c707d508b15ce05435... need to adapt..... Paul, *BIG* thanks for speedy responce!
attempt at fixing our version of patch to behave the same as new upstream Phyllis, I am terribly sorry - can you retest BBB - > lpcm bluray again with this patch and tsmuxer? ps: I think cmake can generate plain Makefiles, not ninja ones... you can try and tweak linux build script by removing '-G ninja' ... On Monday, May 2, 2022, Andrew Randrianasulu <[email protected]> wrote:
https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/ b67572c7c707d508b15ce0543519208cf5d1fcfb..a84b95dc08da1174b4477e6250077b f22bb543b0:/libavcodec/pcm-blurayenc.c
need to adapt.....
Paul, *BIG* thanks for speedy responce!
YEAH - the BBB case with lpcm and tsmuxer worked at least once. I will verify a couple of things yet. Checked out from current GIT and did full rebuild; then test BBB and get the following: + tsmuxer /tmp/bd_20220502-141005/bd.meta /tmp/bd_20220502-141005/bd.iso tsMuxeR version 2.6.16-dev. github.com/justdan96/tsMuxer Decoding H264 stream (track 1): Profile: [email protected] Resolution: 1920:1080i Frame rate: 29.97 H.264 muxing fps is not set. Get fps from stream. Value: 29.97 0.0% complete Decoding LPCM stream (track 2): Bitrate: 4608Kbps Sample Rate: 48KHz Channels: 5.1 Bits per sample: 16bit 18.0% complete Finalize ISO disk Reading buffer overflow. Possible container streams are not syncronized. Please, verify stream fps. File name: /tmp/bd_20220502-141005/bd.m2ts Patchd with 0001-Fix-lpcm_bluray-for-tsmuxer.patch, did a full rebuild, and get the following: YEAH ! + tsmuxer /tmp/bd_20220502-143029/bd.meta /tmp/bd_20220502-143029/bd.iso tsMuxeR version 2.6.16-dev. github.com/justdan96/tsMuxer Decoding H264 stream (track 1): Profile: [email protected] Resolution: 1920:1080i Frame rate: 29.97 H.264 muxing fps is not set. Get fps from stream. Value: 29.97 0.0% complete Decoding LPCM stream (track 2): Bitrate: 4608Kbps Sample Rate: 48KHz Channels: 5.1 Bits per sample: 16bit 94.9% complete Processed 19016 video frames 100.0% complete Flushing write buffer Creating Blu-ray stream info and seek index Creating Blu-ray playlist Mux successful complete Finalize ISO disk Muxing time: 4 sec + mv /tmp/bd_20220502-143029/bd.iso /tmp/bd_20220502-143029/bd.udfs + echo To burn bluray, load writable media and run: To burn bluray, load writable media and run: + echo for WORM: growisofs -dvd-compat -Z /dev/bd=/tmp/bd_20220502-143029/bd.udfs for WORM: growisofs -dvd-compat -Z /dev/bd=/tmp/bd_20220502-143029/bd.udfs + echo for RW: dd if=/tmp/bd_20220502-143029/bd.udfs of=/dev/bd bs=2048000 for RW: dd if=/tmp/bd_20220502-143029/bd.udfs of=/dev/bd bs=2048000 + kill 448422 Terminated Created the bluray media and played on LG player/TV just fine. On Mon, May 2, 2022 at 12:08 PM Andrew Randrianasulu < [email protected]> wrote:
attempt at fixing our version of patch to behave the same as new upstream
Phyllis, I am terribly sorry - can you retest BBB - > lpcm bluray again with this patch and tsmuxer?
ps: I think cmake can generate plain Makefiles, not ninja ones... you can try and tweak linux build script by removing '-G ninja' ...
On Monday, May 2, 2022, Andrew Randrianasulu <[email protected]> wrote:
https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/b67572c7c707d508b15ce05435...
need to adapt.....
Paul, *BIG* thanks for speedy responce!
A little more testing shows 1 small issue -- it is now just 1 big chapter so you can fast forward but can not skip to the next chapter since there are none. Not sure if having chapters is even possible, but better than giving errors. Thanks. On Mon, May 2, 2022 at 12:08 PM Andrew Randrianasulu < [email protected]> wrote:
attempt at fixing our version of patch to behave the same as new upstream
Phyllis, I am terribly sorry - can you retest BBB - > lpcm bluray again with this patch and tsmuxer?
ps: I think cmake can generate plain Makefiles, not ninja ones... you can try and tweak linux build script by removing '-G ninja' ...
On Monday, May 2, 2022, Andrew Randrianasulu <[email protected]> wrote:
https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/b67572c7c707d508b15ce05435...
need to adapt.....
Paul, *BIG* thanks for speedy responce!
On Tuesday, May 3, 2022, Phyllis Smith <[email protected]> wrote:
A little more testing shows 1 small issue -- it is now just 1 big chapter so you can fast forward but can not skip to the next chapter since there are none.
there is --auto-chapters Insert a chapter every <n> minutes. Used only in BD/AVCHD option for tsmuxer. you can try to set it by hand in bd.meta file and remux, and if it works as intended we can put it into default tsmuxer options...
Not sure if having chapters is even possible, but better than giving errors. Thanks.
On Mon, May 2, 2022 at 12:08 PM Andrew Randrianasulu < [email protected]> wrote:
attempt at fixing our version of patch to behave the same as new upstream
Phyllis, I am terribly sorry - can you retest BBB - > lpcm bluray again with this patch and tsmuxer?
ps: I think cmake can generate plain Makefiles, not ninja ones... you can try and tweak linux build script by removing '-G ninja' ...
On Monday, May 2, 2022, Andrew Randrianasulu <[email protected]> wrote:
https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/ b67572c7c707d508b15ce0543519208cf5d1fcfb..a84b95dc08da1174b4477e6250077b f22bb543b0:/libavcodec/pcm-blurayenc.c
need to adapt.....
Paul, *BIG* thanks for speedy responce!
On Tuesday, May 3, 2022, Andrew Randrianasulu <[email protected]> wrote:
On Tuesday, May 3, 2022, Phyllis Smith <[email protected]> wrote:
A little more testing shows 1 small issue -- it is now just 1 big chapter so you can fast forward but can not skip to the next chapter since there are none.
there is
--auto-chapters Insert a chapter every <n> minutes. Used only in BD/AVCHD
option for tsmuxer.
you can try to set it by hand in bd.meta file and remux, and if it works as intended we can put it into default tsmuxer options...
something like this (ignore first strcpy delete - git rebase pulled same string twice..) $ git diff bdcreate.C diff --git a/cinelerra-5.1/cinelerra/bdcreate.C b/cinelerra-5.1/cinelerra/bdcreate.C index 7930114f..16c655a5 100644 --- a/cinelerra-5.1/cinelerra/bdcreate.C +++ b/cinelerra-5.1/cinelerra/bdcreate.C @@ -230,8 +230,6 @@ CreateBD_Thread::CreateBD_Thread(MWindow *mwindow) strcpy(use_profile,"bluray.m2ts"); - strcpy(use_profile,"bluray.m2ts"); - this->bd_size = BD_SIZE; this->bd_width = BD_WIDTH; this->bd_height = BD_HEIGHT; @@ -349,12 +347,14 @@ int CreateBD_Thread::create_bd_jobs(ArrayList<BatchRenderJob*> *jobs, const char } - fprintf(fp,"MUXOPT --blu-ray --hdmv-descriptors\n"); + fprintf(fp,"MUXOPT --blu-ray --hdmv-descriptors --auto-chapters=5\n"); fprintf(fp,"V_MPEG4/ISO/AVC, bd.m2ts, track=4113\n"); if(!strcmp(use_profile, "bluray.m2ts")) fprintf(fp,"A_AC3, bd.m2ts, track=4352\n"); if(!strcmp(use_profile, "bluray_lpcm.m2ts")) fprintf(fp,"A_LPCM, bd.m2ts, track=4352\n"); + if(!strcmp(use_profile, "bluray_truehd.m2ts")) + fprintf(fp,"A_MLP, bd.m2ts, track=4352\n"); fprintf(fp,"\n"); fclose(fp); $
Not sure if having chapters is even possible, but better than giving errors. Thanks.
On Mon, May 2, 2022 at 12:08 PM Andrew Randrianasulu < [email protected]> wrote:
attempt at fixing our version of patch to behave the same as new upstream
Phyllis, I am terribly sorry - can you retest BBB - > lpcm bluray again with this patch and tsmuxer?
ps: I think cmake can generate plain Makefiles, not ninja ones... you can try and tweak linux build script by removing '-G ninja' ...
On Monday, May 2, 2022, Andrew Randrianasulu <[email protected]> wrote:
https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/b67572c7c7 07d508b15ce0543519208cf5d1fcfb..a84b95dc08da1174b4477e625007 7bf22bb543b0:/libavcodec/pcm-blurayenc.c
need to adapt.....
Paul, *BIG* thanks for speedy responce!
For bluray lpcm profile option, the ffmpeg patch 99 changes and the bdcreate changes in this thread have been checked into GIT. In addition the "chapter intervals" for tsmuxer has been updated in the manual GIT checkin. Truehd is still not working but maybe in the near future it will get resolved as it would be nice to have. On Mon, May 2, 2022 at 3:52 PM Andrew Randrianasulu <[email protected]> wrote:
On Tuesday, May 3, 2022, Andrew Randrianasulu <[email protected]> wrote:
On Tuesday, May 3, 2022, Phyllis Smith <[email protected]> wrote:
A little more testing shows 1 small issue -- it is now just 1 big chapter so you can fast forward but can not skip to the next chapter since there are none.
there is
--auto-chapters Insert a chapter every <n> minutes. Used only in BD/AVCHD
option for tsmuxer.
you can try to set it by hand in bd.meta file and remux, and if it works as intended we can put it into default tsmuxer options...
something like this (ignore first strcpy delete - git rebase pulled same string twice..)
$ git diff bdcreate.C diff --git a/cinelerra-5.1/cinelerra/bdcreate.C b/cinelerra-5.1/cinelerra/bdcreate.C index 7930114f..16c655a5 100644 --- a/cinelerra-5.1/cinelerra/bdcreate.C +++ b/cinelerra-5.1/cinelerra/bdcreate.C @@ -230,8 +230,6 @@ CreateBD_Thread::CreateBD_Thread(MWindow *mwindow)
strcpy(use_profile,"bluray.m2ts");
- strcpy(use_profile,"bluray.m2ts"); - this->bd_size = BD_SIZE; this->bd_width = BD_WIDTH; this->bd_height = BD_HEIGHT; @@ -349,12 +347,14 @@ int CreateBD_Thread::create_bd_jobs(ArrayList<BatchRenderJob*> *jobs, const char }
- fprintf(fp,"MUXOPT --blu-ray --hdmv-descriptors\n"); + fprintf(fp,"MUXOPT --blu-ray --hdmv-descriptors --auto-chapters=5\n"); fprintf(fp,"V_MPEG4/ISO/AVC, bd.m2ts, track=4113\n"); if(!strcmp(use_profile, "bluray.m2ts")) fprintf(fp,"A_AC3, bd.m2ts, track=4352\n"); if(!strcmp(use_profile, "bluray_lpcm.m2ts")) fprintf(fp,"A_LPCM, bd.m2ts, track=4352\n"); + if(!strcmp(use_profile, "bluray_truehd.m2ts")) + fprintf(fp,"A_MLP, bd.m2ts, track=4352\n"); fprintf(fp,"\n"); fclose(fp);
$
Not sure if having chapters is even possible, but better than giving errors. Thanks.
On Mon, May 2, 2022 at 12:08 PM Andrew Randrianasulu < [email protected]> wrote:
attempt at fixing our version of patch to behave the same as new upstream
Phyllis, I am terribly sorry - can you retest BBB - > lpcm bluray again with this patch and tsmuxer?
ps: I think cmake can generate plain Makefiles, not ninja ones... you can try and tweak linux build script by removing '-G ninja' ...
On Monday, May 2, 2022, Andrew Randrianasulu <[email protected]> wrote:
https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/b67572c7c707d508b15ce05435...
need to adapt.....
Paul, *BIG* thanks for speedy responce!
Yes, that works. Still doing more testing though. On Mon, May 2, 2022 at 3:24 PM Andrew Randrianasulu <[email protected]> wrote:
On Tuesday, May 3, 2022, Phyllis Smith <[email protected]> wrote:
A little more testing shows 1 small issue -- it is now just 1 big chapter so you can fast forward but can not skip to the next chapter since there are none.
there is
--auto-chapters Insert a chapter every <n> minutes. Used only in BD/AVCHD
option for tsmuxer.
you can try to set it by hand in bd.meta file and remux, and if it works as intended we can put it into default tsmuxer options...
Not sure if having chapters is even possible, but better than giving errors. Thanks.
On Mon, May 2, 2022 at 12:08 PM Andrew Randrianasulu < [email protected]> wrote:
attempt at fixing our version of patch to behave the same as new upstream
Phyllis, I am terribly sorry - can you retest BBB - > lpcm bluray again with this patch and tsmuxer?
ps: I think cmake can generate plain Makefiles, not ninja ones... you can try and tweak linux build script by removing '-G ninja' ...
On Monday, May 2, 2022, Andrew Randrianasulu <[email protected]> wrote:
https://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff/b67572c7c707d508b15ce05435...
need to adapt.....
Paul, *BIG* thanks for speedy responce!
participants (2)
-
Andrew Randrianasulu -
Phyllis Smith