The following articles made me aware of some basic Blu-ray tools of interest: https://www.videolan.org/developers/libbluray.html https://wiki.gentoo.org/wiki/Blu-ray https://packages.gentoo.org/packages/media-video/bluray_info ======= After installation on current openSUSE Leap 15.3, this looks like: zypper se -is bluray Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository ---+------------------+---------+------------------+--------+---------------- i+ | libbluray-bdj | package | 1.3.0-lp153.96.1 | noarch | multimedia:libs i+ | libbluray-tools | package | 1.3.0-lp153.96.1 | x86_64 | multimedia:libs i+ | libbluray2 | package | 1.0.2-2.38 | x86_64 | Main Repository i | libbluray2-32bit | package | 1.0.2-2.38 | x86_64 | Main Repository And to list the libbluray-tools: rpm -ql libbluray-tools /usr/bin/bd_info /usr/bin/bd_list_titles /usr/bin/bd_splice A fourth tool, "bluray_info" used in the Gentoo article, I didn't packaged for Leap i.e as rpm, and I didn't succeed to compile and install it using "Linux" procedure in the tar install file. So tip here is welcome ;) http://bluray.beandog.org/bluray_info/ https://sourceforge.net/projects/bluray-info/ ======= Without going in detail on each disc content and structure, here are my preliminary test output for some earlier written BD-RE discs (Nero Linux and bdwrite). Most of them recognized by my Samsung UBD-K8500 player as Data discs. Autoplay not started for /udfs/BDMV/BDAV (as it does for DVD SD and Wide-SD), but it is possible to browse down to STREAM and play video files (m2ts, AC-3, HEVC, h264, HD and SD, but not pure dv.avi). (Browsing is not required with VLC, with Nautilus just open the top directory: Open>with VLC which starts playing a single video file.) Error: ------ bd_info /dev/sr0 Using libbluray version 1.0.2 disc.c:323: failed opening UDF image /dev/sr0 disc.c:424: error opening file BDMV/index.bdmv disc.c:424: error opening file BDMV/BACKUP/index.bdmv bd_open('/dev/sr0', '(null)') failed. bd_info /dev/sr0 Using libbluray version 1.0.2 disc.c:424: error opening file BDMV/index.bdmv disc.c:424: error opening file BDMV/BACKUP/index.bdmv bd_open('/dev/sr0', '(null)') failed. No errors .... --------- bd_info /dev/sr0 Using libbluray version 1.0.2 udfread ERROR: ECMA 167 Volume Recognition failed disc.c:323: failed opening UDF image /dev/sr0 index_parse.c:227: index.bdmv: unknown extension data at 120 BluRay detected : yes First Play supported: yes Top menu supported : no HDMV titles : 1 BD-J titles : 0 UNSUPPORTED titles : 0 BD-J detected : no AACS detected : no BD+ detected : no Application info: initial mode preference : 2D 3D content exists : No video format : ignored (0x0) frame rate : ignored (0x0) initial dynamic range : SDR (0x0) provider data : ' ' No disc library metadata Failed ------ bd_list_titles /dev/sr0 udfread ERROR: ECMA 167 Volume Recognition failed disc.c:323: failed opening UDF image /dev/sr0 index_parse.c:227: index.bdmv: unknown extension data at 120 Main title: 1 index: 1 duration: 00:07:38 chapters: 2 angles: 1 clips: 1 (playlist: 00000.mpls) V:1 A:1 PG:0 IG:0 SV:0 SA:0 bd_list_titles /dev/sr0 disc.c:424: error opening file BDMV/index.bdmv disc.c:424: error opening file BDMV/BACKUP/index.bdmv bd_open(/dev/sr0) failed Error and warnings ------------------ ffprobe bluray:/dev/sr0 ffprobe version 4.4 Copyright (c) 2007-2021 the FFmpeg developers built with gcc 7 (SUSE Linux) [.............] static --enable-gpl --enable-version3 --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-libmfx --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 udfread ERROR: ECMA 167 Volume Recognition failed disc.c:323: failed opening UDF image /dev/sr0 index_parse.c:227: index.bdmv: unknown extension data at 120 [bluray @ 0x556e57ffdbc0] 1 usable playlists: [bluray @ 0x556e57ffdbc0] playlist 00000.mpls (0:07:38) [bluray @ 0x556e57ffdbc0] selected 00000.mpls [h264 @ 0x556e580291c0] non-existing PPS 0 referenced Last message repeated 1 times [.......] [h264 @ 0x556e580291c0] no frame! [mpegts @ 0x556e5801a600] Stream #2: not enough frames to estimate rate; consider increasing probesize [mpegts @ 0x556e5801a600] start time for stream 2 is not set in estimate_timings_from_pts [mpegts @ 0x556e5801a600] stream 2 : no TS found at start of file, duration not set bluray.c:256: 00000.m2ts: no timestamp for SPN 0 (got 0). clip 2040-20628240. [mpegts @ 0x556e5801a600] Could not find codec parameters for stream 2 (Video: h264, none): unspecified size Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Input #0, mpegts, from 'bluray:/dev/sr0': Duration: 00:07:38.29, start: 0.045333, bitrate: 8877 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1100]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 224 kb/s No Program Stream #0:2[0x1fff]: Video: h264, none, 90k tbr, 90k tbn =========== Terje J. H
On Saturday, November 27, 2021, Terje J. Hanssen via Cin < [email protected]> wrote:
The following articles made me aware of some basic Blu-ray tools of interest:
https://www.videolan.org/developers/libbluray.html https://wiki.gentoo.org/wiki/Blu-ray https://packages.gentoo.org/packages/media-video/bluray_info
=======
After installation on current openSUSE Leap 15.3, this looks like:
zypper se -is bluray Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository ---+------------------+---------+------------------+-------- +---------------- i+ | libbluray-bdj | package | 1.3.0-lp153.96.1 | noarch | multimedia:libs i+ | libbluray-tools | package | 1.3.0-lp153.96.1 | x86_64 | multimedia:libs i+ | libbluray2 | package | 1.0.2-2.38 | x86_64 | Main Repository i | libbluray2-32bit | package | 1.0.2-2.38 | x86_64 | Main Repository
And to list the libbluray-tools:
rpm -ql libbluray-tools /usr/bin/bd_info /usr/bin/bd_list_titles /usr/bin/bd_splice
A fourth tool, "bluray_info" used in the Gentoo article, I didn't packaged for Leap i.e as rpm, and I didn't succeed to compile and install it using "Linux" procedure in the tar install file. So tip here is welcome ;)
hm, it requires libbluray - not packaged for termux, adventure continued} In your case be sure you have -dev/-devel packages for libbluray
http://bluray.beandog.org/bluray_info/ https://sourceforge.net/projects/bluray-info/
=======
Without going in detail on each disc content and structure, here are my preliminary test output for some earlier written BD-RE discs (Nero Linux and bdwrite). Most of them recognized by my Samsung UBD-K8500 player as Data discs. Autoplay not started for /udfs/BDMV/BDAV (as it does for DVD SD and Wide-SD), but it is possible to browse down to STREAM and play video files (m2ts, AC-3, HEVC, h264, HD and SD, but not pure dv.avi). (Browsing is not required with VLC, with Nautilus just open the top directory: Open>with VLC which starts playing a single video file.)
well, it was supposed to play as disk, not as file-you-manually-run.. ( probably some bugs in bdwrite ( can you also try udfinfo on those?
Error: ------ bd_info /dev/sr0 Using libbluray version 1.0.2 disc.c:323: failed opening UDF image /dev/sr0 disc.c:424: error opening file BDMV/index.bdmv disc.c:424: error opening file BDMV/BACKUP/index.bdmv bd_open('/dev/sr0', '(null)') failed.
bd_info /dev/sr0 Using libbluray version 1.0.2 disc.c:424: error opening file BDMV/index.bdmv disc.c:424: error opening file BDMV/BACKUP/index.bdmv bd_open('/dev/sr0', '(null)') failed.
No errors .... --------- bd_info /dev/sr0 Using libbluray version 1.0.2 udfread ERROR: ECMA 167 Volume Recognition failed disc.c:323: failed opening UDF image /dev/sr0 index_parse.c:227: index.bdmv: unknown extension data at 120 BluRay detected : yes First Play supported: yes Top menu supported : no HDMV titles : 1 BD-J titles : 0 UNSUPPORTED titles : 0 BD-J detected : no AACS detected : no BD+ detected : no Application info: initial mode preference : 2D 3D content exists : No video format : ignored (0x0) frame rate : ignored (0x0) initial dynamic range : SDR (0x0) provider data : ' ' No disc library metadata
Failed ------ bd_list_titles /dev/sr0 udfread ERROR: ECMA 167 Volume Recognition failed disc.c:323: failed opening UDF image /dev/sr0 index_parse.c:227: index.bdmv: unknown extension data at 120 Main title: 1 index: 1 duration: 00:07:38 chapters: 2 angles: 1 clips: 1 (playlist: 00000.mpls) V:1 A:1 PG:0 IG:0 SV:0 SA:0
bd_list_titles /dev/sr0 disc.c:424: error opening file BDMV/index.bdmv disc.c:424: error opening file BDMV/BACKUP/index.bdmv bd_open(/dev/sr0) failed
Error and warnings ------------------ ffprobe bluray:/dev/sr0 ffprobe version 4.4 Copyright (c) 2007-2021 the FFmpeg developers built with gcc 7 (SUSE Linux) [.............] static --enable-gpl --enable-version3 --disable-openssl --enable-avresample --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-libmfx --enable-vaapi --enable-vdpau --enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 udfread ERROR: ECMA 167 Volume Recognition failed disc.c:323: failed opening UDF image /dev/sr0 index_parse.c:227: index.bdmv: unknown extension data at 120 [bluray @ 0x556e57ffdbc0] 1 usable playlists: [bluray @ 0x556e57ffdbc0] playlist 00000.mpls (0:07:38) [bluray @ 0x556e57ffdbc0] selected 00000.mpls [h264 @ 0x556e580291c0] non-existing PPS 0 referenced Last message repeated 1 times [.......] [h264 @ 0x556e580291c0] no frame! [mpegts @ 0x556e5801a600] Stream #2: not enough frames to estimate rate; consider increasing probesize [mpegts @ 0x556e5801a600] start time for stream 2 is not set in estimate_timings_from_pts [mpegts @ 0x556e5801a600] stream 2 : no TS found at start of file, duration not set bluray.c:256: 00000.m2ts: no timestamp for SPN 0 (got 0). clip 2040-20628240. [mpegts @ 0x556e5801a600] Could not find codec parameters for stream 2 (Video: h264, none): unspecified size Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Input #0, mpegts, from 'bluray:/dev/sr0': Duration: 00:07:38.29, start: 0.045333, bitrate: 8877 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1100]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 224 kb/s No Program Stream #0:2[0x1fff]: Video: h264, none, 90k tbr, 90k tbn
===========
Terje J. H
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Den 27.11.2021 00:03, skrev Andrew Randrianasulu:
On Saturday, November 27, 2021, Terje J. Hanssen via Cin <[email protected] <mailto:[email protected]>> wrote:
And to list the libbluray-tools:
rpm -ql libbluray-tools /usr/bin/bd_info /usr/bin/bd_list_titles /usr/bin/bd_splice
A fourth tool, "bluray_info" used in the Gentoo article, I didn't packaged for Leap i.e as rpm, and I didn't succeed to compile and install it using "Linux" procedure in the tar install file. So tip here is welcome ;)
hm, it requires libbluray - not packaged for termux, adventure continued} In your case be sure you have -dev/-devel packages for libbluray
http://bluray.beandog.org/bluray_info/ <http://bluray.beandog.org/bluray_info/> https://sourceforge.net/projects/bluray-info/ <https://sourceforge.net/projects/bluray-info/>
libbluray-devel was added, and also developement patterns (as I had an end-user desktop+ installed) * Base dev. * Gnome dev. * C/C++ dev. Then I got the installtion of bluray_info installed # autoreconf -fi # ./configure # make # make install Verification: which bluray_info /usr/local/bin/bluray_info ------------ Terje J. H
I have problems producing the manual on some platforms. Mint 20.3: PDF and HTML OK using translate_manual as-is from the git. Mint 19.3: Both Ok except the large (and last) glossary entry about YUV is missing. This appears to be a limit of "makeindex" on Mint 19.3; if you reduces the total size of that entry to 971 characters it is OK. What is worrying is that makeindex reports the same 2.15 version, yet it behaves differently. Fedora 35: Lots missing from the installation chapter in both PDF and HTML versions. This is because Fedora's latex2html (version 2020.2, 2020-07-01) stumbles over the $ in a listing, like 2>&1 . On Mint 20.2 latex2html is version 2021 (2021-01-01). In addition, in translate_manual, I had to change -nouse_dvipng to -use_dvipng. otherwise it has big problems converting images (and texlive-pdfcrop is installed). So at the moment, the only platform I can produces a complete AppImage inclusive from online-help manual is Mint 20.3. @Phyllis, the default translate_manual script line for the html says that is what is used for producing the Cinelerra-GG website manual. Is that indeed the case? MatN
Fedora 35: Lots missing from the installation chapter in both PDF and HTML versions. This is because Fedora's latex2html (version 2020.2, 2020-07-01) stumbles over the $ in a listing, like 2>&1 . On Mint 20.2 latex2html is version 2021 (2021-01-01). In addition, in translate_manual, I had to change -nouse_dvipng to -use_dvipng. otherwise it has big problems converting images (and texlive-pdfcrop is installed).
I am still making the manual on Fedora 32 with LaTeX2HTML Version 2021 (Released January 1, 2021). See: https://www.cinelerra-gg.org/bugtracker/view.php?id=568
@Phyllis, the default translate_manual script line for the html says that is what is used for producing the Cinelerra-GG website manual. Is that indeed the case?
Yes, that is what I base my personal script on -- that is the script provided by Georgy / sge. I will look at it more closely as I think the only changes I made for my personal use was to remove the "rm lines" because since my username is always "root" ; ) I never use rm's in a script. Also, I split the pdflatex commands into a script that I run first just to make the pdf version. This is because generally I have to run the pdf multiple times while I make changes to the manual.
In referring to BT 568, I believe I am using this version:
Latex2html version 2021.2 released: https://github.com/latex2html/latex2html/releases/tag/v2021.2 It finally contains all the recent modifications necessary to translate CGG manual with glossary, namerefs etc. features.
On Sun, Feb 20, 2022 at 2:25 PM Phyllis Smith <[email protected]> wrote:
Fedora 35: Lots missing from the installation chapter in both PDF and HTML versions. This is because Fedora's latex2html (version 2020.2, 2020-07-01) stumbles over the $ in a listing, like 2>&1 . On Mint 20.2 latex2html is version 2021 (2021-01-01). In addition, in translate_manual, I had to change -nouse_dvipng to -use_dvipng. otherwise it has big problems converting images (and texlive-pdfcrop is installed).
I am still making the manual on Fedora 32 with LaTeX2HTML Version 2021 (Released January 1, 2021). See: https://www.cinelerra-gg.org/bugtracker/view.php?id=568
@Phyllis, the default translate_manual script line for the html says that is what is used for producing the Cinelerra-GG website manual. Is that indeed the case?
Yes, that is what I base my personal script on -- that is the script provided by Georgy / sge. I will look at it more closely as I think the only changes I made for my personal use was to remove the "rm lines" because since my username is always "root" ; ) I never use rm's in a script. Also, I split the pdflatex commands into a script that I run first just to make the pdf version. This is because generally I have to run the pdf multiple times while I make changes to the manual.
On Sun, 20 Feb 2022, Phyllis Smith via Cin wrote:
In referring to BT 568, I believe I am using this version:
Latex2html version 2021.2 released: https://github.com/latex2html/latex2html/releases/tag/v2021.2 It finally contains all the recent modifications necessary to translate CGG manual with glossary, namerefs etc. features.
Exactly so! Do not even try to translate CGG manual if your version of latex2html is less than 2021.2! A dozen of new features have been implemented in latex2html especially to enable translation of various constructs that appear in the CGG manual (listings.sty, nameref.sty, nomencl.sty, documentclass memoir, additional parameters for aligning figures, etc.) The process of adapting latex2html was finished only at the version 2021.2. Otherwise it is possible to install older latex2html from sources after applying several important patches listed here: http://nmr.nioch.nsc.ru/latex2html/ But even in this case it would be still better to install it from the latest sources, not from some older ones. Additional requirement: Perl must not be version 5.18. There is a bug in the regex engine of perl-5.18 which influences latex2html. Perl-5.22 (and above) are OK. Perl before 5.18 also OK.
Fedora 35: Lots missing from the installation chapter in both PDF and HTML versions. This is because Fedora's latex2html (version 2020.2, 2020-07-01) stumbles over the $ in a listing, like 2>&1 . On Mint 20.2
In latex2html-2020.2 the support for the listings package was not yet implemented. Could not work per definition!
latex2html is version 2021 (2021-01-01).
In latex2html-2021 (before 2021.2) there is no support for the memoir documentclass, and nameref not yet complete. The translation, although possible, will not give the intended result.
In addition, in translate_manual, I had to change -nouse_dvipng to -use_dvipng. otherwise it has big problems converting images (and texlive-pdfcrop is installed).
latex2html uses several additional tools (mainly from the netpbm package, but also a special package from texlive which is used for cropping). These tools are needed to generate images from that LaTeX constructions which latex2html cannot interpret by itself. latex2html uses somehow different algorithms (and different tools) to generate these images depending on the options -use_dvipng/-nouse_dvipng, and on the kind of the images (gif/png/svg). The result can look slightly differently depending on the options. If the installation is incomplete, it can happen that some combination of the options work, while another does not. For example, if you have no working installation of the package 'gs' (GhostScript == a free PostScript interpreter), then -nouse_dvipng cannot work. The particular problem related to images generation can be debugged. Latex2html leaves the file images.tex in the resulting directory. One can translate this file by pdflatex and inspect how it looks.
I am still making the manual on Fedora 32 with LaTeX2HTML Version 2021 (Released January 1, 2021). See: https://www.cinelerra-gg.org/bugtracker/view.php?id=568
I think, it is not the stock latex2html-2021, it had applied a patch or two. Many companies which produce commertial software containing platform independent components, like manuals or even Java programs (in the form of translated bytecode) do not retranslate their manuals or Java bytecode on every supported platform. Instead, they produce bytecode on some convenient platform and populate the result on the others. I insist, there is no reason to recompile CGG manual on every imaginable platform. It would be more reasonable to compile it somewhere (namely, where it is complete and simply works) and use the result elsewhere. The CGG context help system itself does not depend at all on the origin, where the html manual was produced. _______________________________________________________________________________ Georgy Salnikov NMR Group Novosibirsk Institute of Organic Chemistry Lavrentjeva, 9, 630090 Novosibirsk, Russia Phone +7-383-3307864 Email [email protected] _______________________________________________________________________________
MatN, To verify, I just ran the "translate_manual" script and it produced both the PDF and HTML manuals without failing.
@Phyllis, the default translate_manual script line for the html says that is what is used for producing the Cinelerra-GG website manual. Is that indeed the case?
MatN -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
participants (5)
-
Andrew Randrianasulu -
Georgy Salnikov -
mnieuw@zap.a2000.nl -
Phyllis Smith -
Terje J. Hanssen