<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 22 нояб. 2022 г., 19:53 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<br>
<br>
<div>Den 22.11.2022 16:30, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">вт, 22 нояб. 2022 г.,
00:20 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Den 13.11.2022 00:07, skrev Andrew Randrianasulu:<br>
><br>
><br>
> сб, 12 нояб. 2022 г., 21:43 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br>
><br>
> Derived from another thread "HDV files at <a href="http://archive.org" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">archive.org</a><br>
> <<a href="http://archive.org" rel="noreferrer
noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://archive.org</a>>"
I extract and continue this topic in a new<br>
> thread here.<br>
> And if this isn't documented yet, I suggest some
with knowledge to<br>
> setup a Readme and manual section for this.<br>
><br>
><br>
><br>
><br>
> already there<br>
><br>
> <a href="https://cinelerra-gg.org/download/CinelerraGG_Manual/Managing_AppImage.html#sub:managing_appimage" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://cinelerra-gg.org/download/CinelerraGG_Manual/Managing_AppImage.html#sub:managing_appimage</a><br>
><br>
I think I didn't recognized this section equivalent to the
appimage <br>
user-guide section.<br>
<br>
><br>
> try to just unpack appimage and then set<br>
><br>
> export LD_LIBRARY_PATH=$BCASTDIR:$LD_LIBRARY_PATH<br>
><br>
> where $BCASTDIR points at unpacked/mounted
appimages's usr/lib<br>
><br>
> before running bdwrite<br>
><br>
<br>
While waiting for my ordered BD-R/RE discs, I have tried
again and <br>
attach the new terminal output with comments as follows:<br>
<br>
/home/terje/Applications/CinGG-20221031-x86_64.AppImage
--appimage-offset<br>
(AppImageLauncher:16794): GdkPixbuf-CRITICAL **:
20:50:50.433: <br>
gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)'
failed<br>
189632<br>
<br>
sudo mount
/home/terje/Applications/CinGG-20221031-x86_64.AppImage <br>
/home/terje/mountpoint/ -o offset=189632<br>
[sudo] passord for root:<br>
<br>
<br>
find /home/terje/mountpoint -name lib<br>
/home/terje/mountpoint/usr/lib<br>
<br>
export
LD_LIBRARY_PATH=/home/terje/mountpoint/usr/lib:$LD_LIBRARY_PATH<br>
<br>
ls -la 2008_m2t_pcm_bluray.mts<br>
-rw-r--r-- 1 terje users 47020032 Nov 11 22:06
2008_m2t_pcm_bluray.mts<br>
<br>
<br>
mkudffs -b 2048 /tmp/newfilename.udfs 27055<br>
filename=/tmp/newfilename.udfs<br>
label=LinuxUDF<br>
uuid=637bd9b8ea861ad7<br>
blocksize=2048<br>
blocks=27055<br>
udfrev=201<br>
start=0, blocks=16, type=RESERVED<br>
start=16, blocks=3, type=VRS<br>
start=19, blocks=237, type=USPACE<br>
start=256, blocks=1, type=ANCHOR<br>
start=257, blocks=16, type=PVDS<br>
start=273, blocks=1, type=LVID<br>
start=274, blocks=26524, type=PSPACE<br>
start=26798, blocks=1, type=ANCHOR<br>
start=26799, blocks=239, type=USPACE<br>
start=27038, blocks=16, type=RVDS<br>
start=27054, blocks=1, type=ANCHOR<br>
<br>
mount -o loop /tmp/newfilename.udfs /mnt/test<br>
<br>
find /home/terje/mountpoint -name bdwrite<br>
/home/terje/mountpoint/usr/bin/bdwrite<br>
<br>
/home/terje/mountpoint/usr/bin/bdwrite /mnt/test
2008_m2t_pcm_bluray.mts<br>
<br>
No interlace error !<br>
--------------------<br>
<br>
ls /mnt/test<br>
BDMV CERTIFICATE<br>
<br>
tree -h /mnt/test/BDMV<br>
/mnt/test/BDMV<br>
├── [ 40] AUXDATA<br>
├── [ 332] BACKUP<br>
│ ├── [ 40] BDJO<br>
│ ├── [ 92] CLIPINF<br>
│ │ └── [ 480] 00000.clpi<br>
│ ├── [ 40] JAR<br>
│ ├── [ 110] MovieObject.bdmv<br>
│ ├── [ 92] PLAYLIST<br>
│ │ └── [ 184] 00000.mpls<br>
│ └── [ 124] index.bdmv<br>
├── [ 40] BDJO<br>
├── [ 92] CLIPINF<br>
│ └── [ 480] 00000.clpi<br>
├── [ 40] JAR<br>
├── [ 40] META<br>
├── [ 110] MovieObject.bdmv<br>
├── [ 92] PLAYLIST<br>
│ └── [ 184] 00000.mpls<br>
├── [ 92] STREAM<br>
│ └── [ 45M] 00000.m2ts<br>
└── [ 124] index.bdmv<br>
<br>
12 directories, 9 files<br>
<br>
---------------------------------------<br>
<br>
Finally 9 files and [ 45M] 00000.m2ts<br>
<br>
I was able to open /mnt/test/BDMV with VLC and playback
video and <br>
pcm_bluray video OK<br>
<br>
------------------------------------------------------<br>
but not with mplayer as follows:<br>
<br>
<br>
umount /mnt/test<br>
<br>
which mplayer<br>
/usr/bin/mplayer<br>
<br>
mplayer -vo null br://tmp/newfilename.udfs<br>
Creating config file: /root/.mplayer/config<br>
MPlayer 1.2.r38304-Packman-7 (C) 2000-2021 MPlayer Team<br>
do_connect: could not connect to socket<br>
connect: No such file or directory<br>
Failed to open LIRC support. You will not be able to use
your remote <br>
control.<br>
<br>
Playing br://tmp/newfilename.udfs.<br>
The hostname option must be an integer: tmp<br>
Struct bluray, field hostname parsing error: tmp<br>
disc.c:333: failed opening UDF image newfilename.udfs<br>
disc.c:437: error opening file BDMV/index.bdmv<br>
disc.c:437: error opening file BDMV/BACKUP/index.bdmv<br>
bluray.c:2646: nav_get_title_list(newfilename.udfs/)
failed<br>
Couldn't open Blu-ray device: newfilename.udfs<br>
No stream found to handle url br://tmp/newfilename.udfs<br>
<br>
<br>
Exiting... (End of file)<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">mplayer works for me if I start it from /tmp
(where test file is located)</div>
</div>
</blockquote>
<br>
I will try also that next.<br>
<br>
But thinking more about this topic that has several cumbersome and
error-phrone manual steps. Appimage has even complicated these, not
at least for <span>occasionally</span> users. <br>
Therefore I will throw in the following suggestion or RFE:<br>
<br>
Will it be possible or manageable to integrate and run the bundled
'bdwrite' to Bluray within the Cin-GG's run-time environment?<br>
I.e we now has File > BD render (and DVD render). What to add <br>
File > "BD Write" and get sub-window with options to select
HDV/mpeg2 without re-encoding (compression loss) of video from HDD
file, select re-encoding of the MP2 audio to AC3 or PCM for Blu-ray
etc. </div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">may be try to encapsulate manual steps into bash script and then run this script from shell commands system? (not sure how to handle sudo password entering .... xdialog conditional on X DISPLAY variable? ah someone suggested 'sudo -A' and custom script <a href="https://askubuntu.com/questions/314395/proper-way-to-let-user-enter-password-for-a-bash-script-using-only-the-gui-with" target="_blank" rel="noreferrer">https://askubuntu.com/questions/314395/proper-way-to-let-user-enter-password-for-a-bash-script-using-only-the-gui-with</a> )</div><div dir="auto"><br></div><div dir="auto"><a href="https://cinelerra-gg.org/download/CinelerraGG_Manual/Menu_Bar_Shell_Commands.html" rel="noreferrer noreferrer" target="_blank">https://cinelerra-gg.org/download/CinelerraGG_Manual/Menu_Bar_Shell_Commands.html</a><br></div><div dir="auto"><br></div><div dir="auto">if we develop it into being even relatively distro-agnostic and error-proof it hopefully can be included into future versions of CinGG</div><div dir="auto"><br></div><div dir="auto">making mpeg2 hdv compatible _encoding_ profile is also on table, I think ... (this one can be integrated at Blu-ray specific menu choice, because I put some lines of code in there for supporting pcm audio on h264 encoded BD)</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I also found some remaints of direct-copy 'smart-render-like' feature in Cinelerra-CV's libquicktime:</div><div dir="auto"><br></div><div dir="auto"><a href="https://github.com/cinelerra-cv-team/cinelerra-cv/blob/954a91e72bba1ed1ce641b5faee7d4c5f318c074/cinelerra/filemov.C">https://github.com/cinelerra-cv-team/cinelerra-cv/blob/954a91e72bba1ed1ce641b5faee7d4c5f318c074/cinelerra/filemov.C</a><br></div><div dir="auto"><br></div><div dir="auto">around line 730 but it was only working (apparently) with some mpeg4 _divx_ movs, not mpeg2s.</div><div dir="auto"><br></div><div dir="auto">developing mpeg direct-copy routines remained big TODO item. I look at related code from time to time but no promises, sadly.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div> <br>
<br>
After all, Blu-ray images on BD-R/RE discs and possible simpler
DVD-R/RW discs for exchange, are more reliable and playable backups
for video on tape or HDD. <br>
<br>
<br>
<br>
<br>
<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
<br>
<br>
<br>
><br>
><br>
><br>
> Den 12.11.2022 16:36, skrev Andrew Randrianasulu:<br>
> ><br>
> ><br>
> > сб, 12 нояб. 2022 г., 18:30 Terje J. Hanssen<br>
> <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>
<mailto:<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br>
> ><br>
><br>
> > "Finally home again", just to discover
that I have not<br>
> 'bdwrite' available on my workstations upgraded
with the latest<br>
> 31. Oct 2022 CinGG appimages.<br>
> > Therefore I wonder if CinGG Appimage not
provide and make it<br>
> possible to run bdwrite from command line
(similar like no ffmpeg)<br>
> without a single user build?<br>
> ><br>
> ><br>
> > I think you can unpack/mount appimages .<br>
> ><br>
> ><br>
> <a href="https://docs.appimage.org/user-guide/run-appimages.html#mount-an-appimage" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://docs.appimage.org/user-guide/run-appimages.html#mount-an-appimage</a><br>
> ><br>
> > then you hopefully will find bdwrite inside
....<br>
> ><br>
> > or slightly down this question
documentation said you can<br>
> extract content of appimage into directory. So,
if bdwrite<br>
> actually there you can run it from there or copy
it to some place<br>
> ><br>
><br>
><br>
> 1)<br>
> First attempt as Type 1 appimage:<br>
><br>
> terje@localhost:~> sudo mount<br>
>
/home/terje/Applications/CinGG-20221031-x86_64.AppImage<br>
> /home/terje/mountpoint/<br>
><br>
> [sudo] passord for root:<br>
> mount: /home/terje/mountpoint: wrong fs type, bad
option, bad<br>
> superblock on /dev/loop0, missing codepage or
helper program, or<br>
> other error.<br>
><br>
> terje@localhost:~> umount
/home/terje/mountpoint/<br>
> umount: /home/terje/mountpoint: not mounted.<br>
><br>
><br>
> 2)<br>
> Second attempt as Type 2 appimage:<br>
><br>
> terje@localhost:~><br>
>
/home/terje/Applications/CinGG-20221031-x86_64.AppImage<br>
> --appimage-offset<br>
><br>
> but why all these warnings and failed messages?<br>
> ----------<br>
><br>
> /usr/bin/AppImageLauncher:
/usr/lib64/libcurl.so.4: no version<br>
> information available (required by<br>
>
/usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so)<br>
> Warning: Ignoring XDG_SESSION_TYPE=wayland on
Gnome. Use<br>
> QT_QPA_PLATFORM=wayland to run on Wayland anyway.<br>
><br>
> ** (AppImageLauncher:7534): WARNING **:
17:40:13.433: Pixbuf<br>
> theme: Cannot load pixmap file<br>
>
/usr/share/themes/Breeze/gtk-2.0/../assets/progressbar-trough.png:<br>
> Feil under lasting av bilde<br>
>
«/usr/share/themes/Breeze/gtk-2.0/../assets/progressbar-trough.png»:<br>
> Fatal feil i PNG-bildefil: bad parameters to zlib<br>
><br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF
(pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF
(pixbuf)' failed<br>
><br>
> ** (AppImageLauncher:7534): WARNING **:
17:40:13.433: Invalid<br>
> borders specified for theme pixmap:<br>
>
/usr/share/themes/Breeze/gtk-2.0/../assets/progressbar-trough.png,<br>
> borders don't fit within the image<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_n_channels: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_pixels_with_length: assertion
'GDK_IS_PIXBUF<br>
> (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_rowstride: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_n_channels: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_pixels_with_length: assertion
'GDK_IS_PIXBUF<br>
> (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_rowstride: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_n_channels: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_pixels_with_length: assertion
'GDK_IS_PIXBUF<br>
> (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_rowstride: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_n_channels: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_pixels_with_length: assertion
'GDK_IS_PIXBUF<br>
> (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_rowstride: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_n_channels: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_pixels_with_length: assertion
'GDK_IS_PIXBUF<br>
> (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_rowstride: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_n_channels: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_pixels_with_length: assertion
'GDK_IS_PIXBUF<br>
> (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_rowstride: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_n_channels: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_pixels_with_length: assertion
'GDK_IS_PIXBUF<br>
> (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_rowstride: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_n_channels: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_pixels_with_length: assertion
'GDK_IS_PIXBUF<br>
> (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_rowstride: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_n_channels: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_pixels_with_length: assertion
'GDK_IS_PIXBUF<br>
> (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_rowstride: assertion
'GDK_IS_PIXBUF (pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF
(pixbuf)' failed<br>
><br>
> (AppImageLauncher:7534): GdkPixbuf-CRITICAL **:
17:40:13.433:<br>
> gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF
(pixbuf)' failed<br>
> 189632<br>
> ----------------<br>
><br>
><br>
> terje@localhost:~> sudo mount<br>
>
/home/terje/Applications/CinGG-20221031-x86_64.AppImage<br>
> /home/terje/mountpoint/ -o offset=189632<br>
> [sudo] passord for root:<br>
><br>
> terje@localhost:~> cd mountpoint<br>
> terje@localhost:~/mountpoint> ls<br>
> AppRun cin.desktop cin.svg usr<br>
> terje@localhost:~/mountpoint> ls -la<br>
> totalt 40<br>
> drwxr-xr-x 3 root root 102 okt. 31 15:24 .<br>
> drwxr-xr-x 124 terje users 36864 nov. 12 17:31
..<br>
> lrwxrwxrwx 1 root root 11 okt. 31 15:24
AppRun -> usr/bin/cin<br>
> lrwxrwxrwx 1 root root 34 okt. 31 15:24
cin.desktop -><br>
> usr/share/applications/cin.desktop<br>
> lrwxrwxrwx 1 root root 45 okt. 31 15:24
cin.svg -><br>
> usr/share/icons/hicolor/scalable/apps/cin.svg<br>
> lrwxrwxrwx 1 root root 7 okt. 31 15:24
.DirIcon -> cin.svg<br>
> drwxr-xr-x 5 root root 62 okt. 31 15:23
usr<br>
><br>
> terje@localhost:~/mountpoint> find . -name
bdwrite<br>
> ./usr/bin/bdwrite<br>
><br>
> terje@localhost:~/mountpoint> stat
./usr/bin/bdwrite<br>
> Fil: ./usr/bin/bdwrite<br>
> Størrelse: 35940792 [tab]Blokker: 70197
IO Blokk: 1024 <br>
> vanlig fil<br>
> Enhet: 700h/1792d Datanode: 12
Lenker: 1<br>
> Tilgang: (0755/-rwxr-xr-x) Uid: ( 0/ root)
Gid: ( 0/ <br>
> root)<br>
> Tilgang: 2022-10-31 15:23:57.000000000 +0100<br>
> Omgjøring: 2022-10-31 15:23:57.000000000 +0100<br>
> Endring: 2022-10-31 15:23:57.000000000 +0100<br>
> Fødsel: -<br>
><br>
> terje@localhost:~/mountpoint> which bdwrite<br>
> which: no bdwrite in
(/home/terje/bin:/usr/local/bin:/usr/bin:/bin)<br>
><br>
> Copied the mounted bdwrite to /usr/bin:<br>
><br>
> terje@localhost:~/mountpoint> sudo cp
./usr/bin/bdwrite /usr/bin<br>
> [sudo] passord for root:<br>
> terje@localhost:~/mountpoint> ls -la
/usr/bin/bdwrite<br>
> -rwxr-xr-x 1 root root 35940792 nov. 12 18:00
/usr/bin/bdwrite<br>
><br>
> =============<br>
><br>
> 3)<br>
> Tried the extracted bdwrite with a hdv-file
transcoded to Blu-ray<br>
> pcm_bluray audio and mts stream<br>
><br>
> localhost:~ # cd /home/terje/Videoklipp<br>
> localhost:/home/terje/Videoklipp # ls -1 *.mts<br>
> 2008_m2t-ac3.mts<br>
> 2008_m2t_pcm_bluray.mts<br>
> hdv01_05_m2t_pcm_bluray.mts<br>
> hdv01_m2t_pcm_bluray.mts<br>
> hdv_iLink_m2t_pcm_bluray.mts<br>
><br>
><br>
> localhost:/home/terje/Videoklipp # ffprobe
-hide_banner<br>
> 2008_m2t_pcm_bluray.mts<br>
> Input #0, mpegts, from '2008_m2t_pcm_bluray.mts':<br>
> Duration: 00:00:13.44, start: 1.440000,
bitrate: 27988 kb/s<br>
> Program 1<br>
> Metadata:<br>
> service_name : Service01<br>
> service_provider: FFmpeg<br>
> Stream #0:0[0x1011]: Video: mpeg2video (Main)
([2][0][0][0] /<br>
> 0x0002), yuv420p(tv, bt709, top first), 1440x1080
[SAR 4:3 DAR<br>
> 16:9], 25000 kb/s, 25 fps, 25 tbr, 90k tbn<br>
> Side data:<br>
> cpb: bitrate max/min/avg: 25000000/0/0
buffer size: 7340032<br>
> vbv_delay: N/A<br>
> Stream #0:1[0x1100]: Audio: pcm_bluray
([128][0][0][0] /<br>
> 0x0080), 48000 Hz, stereo, s16, 1536 kb/s<br>
> localhost:/home/terje/Videoklipp # du -sb *.mts<br>
> 43333624 2008_m2t-ac3.mts<br>
> 47020032 2008_m2t_pcm_bluray.mts<br>
> 1603362816 hdv01_05_m2t_pcm_bluray.mts<br>
> 2299017216 hdv01_m2t_pcm_bluray.mts<br>
> 399237120 hdv_iLink_m2t_pcm_bluray.mts<br>
><br>
><br>
> localhost:/home/terje/Videoklipp # ls -la
2008_m2t_pcm_bluray.mts<br>
> -rw-r--r-- 1 terje users 47020032 Nov 11 22:06
2008_m2t_pcm_bluray.mts<br>
><br>
><br>
> localhost:/home/terje/Videoklipp # mkudffs -b
2048<br>
> /tmp/newfilename.udfs 27055<br>
> filename=/tmp/newfilename.udfs<br>
> label=LinuxUDF<br>
> uuid=636fdd9d0eee73bf<br>
> blocksize=2048<br>
> blocks=27055<br>
> udfrev=201<br>
> start=0, blocks=16, type=RESERVED<br>
> start=16, blocks=3, type=VRS<br>
> start=19, blocks=237, type=USPACE<br>
> start=256, blocks=1, type=ANCHOR<br>
> start=257, blocks=16, type=PVDS<br>
> start=273, blocks=1, type=LVID<br>
> start=274, blocks=26524, type=PSPACE<br>
> start=26798, blocks=1, type=ANCHOR<br>
> start=26799, blocks=239, type=USPACE<br>
> start=27038, blocks=16, type=RVDS<br>
> start=27054, blocks=1, type=ANCHOR<br>
><br>
><br>
> localhost:/home/terje/Videoklipp # mount -o loop<br>
> /tmp/newfilename.udfs /mnt/test<br>
><br>
> localhost:/home/terje/Videoklipp # bdwrite
/mnt/test<br>
> 2008_m2t_pcm_bluray.mts<br>
><br>
> but got an error message:<br>
><br>
> bdwrite: error while loading shared libraries:<br>
> libIlmImf-2_3.so.24: cannot open shared object
file: No such file<br>
> or directory<br>
><br>
><br>
<br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div></div></div>