[CinCV TNG] Fwd: Re: BD creation in Cinelerra-GG

Andrew Randrianasulu randrianasulu at gmail.com
Sun May 13 09:03:17 CEST 2018


В сообщении от Sunday 13 May 2018 06:13:27 Phyllis Smith написал(а):
> Andrew:  the quoted information below you mentioned is quite interesting so
> thanks for passing it along.  I spent quite a bit of time reading some
> forums when GG was working on bluray a couple of years ago and there is a
> lot of confusion and inconsistency in the media AND the players.

Yeah. Probably because whole technology is proprietary  and well-guarded. And 
many programs for Windows, even if 'freeware' is not open-source, so technical 
details hidden inside them. I saw relatively recent guide involving tsmuxer 
(32-bit only binary application) - and reasoned if Cinelerra has some way of 
writing those files it must have some special component, and looking at git I 
saw bdwrite was based on libbluray sources, at least partially .... So, ffmpeg 
does all encoding and muxing, mkudffs creates 'skeleton' udf fs, and bdwrite 
put files into this FS and add all required items - folder structure, playlist 
files .... As far as I understand Linux's udf fs driver still can't write udf 
2.5/2.6 so unless bdwrite will do all work on fs level by itself it will be 
hard to create full udf 2.5 filesystem, or modify any by just loopback 
mounting. May be you can install NetBSD (?) on virtual machine and use its udf 
fs  driver for modifying some files, but I guess such procedure a bit too 
heavy-handed solution.

http://dirkmittler.homeip.net/blog/archives/3838 - "How To Burn Blu-ray Movies 
using Linux – via the GUI"

Apparently PlayStation3 can play bd5 disks:
https://www.youtube.com/watch?v=HxpxsgBIThc
https://www.youtube.com/watch?v=J7ft-YVB8rA


>
> Also, apparently you can burn so-called bd5/bd9 'formats' to usual DVD
>
> > media,
> > yet not all players will play them ....
> >
> > https://forum.dvdfab.cn/forum/software-support-english/
> > dvdfab-blu-ray-copy/3039-bd9-and-blu-ray-player-compatibility
>
> On Sat, May 12, 2018 at 2:41 PM, Andrew Randrianasulu <
>
> randrianasulu at gmail.com> wrote:
> > sorry, just setting "mkudffs -b 2048 $1/bd.udfs $blks" in bd.sh script
> > fixed
> > this latest problem with udftools post-2.0. (-b flag for mkudffs controls
> > block
> > size).
> > ...
> > Now, after upgrading to udftools master branch Cinelerra can't write
> > (small)
> > m2ts file into udf filesystem:
> > ...
> > cant write: /dev/shm/tmp/bd_20180512-230025/udfs/BDMV/STREAM/00000.m2ts
> > write error: /dev/shm/tmp/bd_20180512-230025/udfs/BDMV/STREAM/00000.m2ts
> > = No
> > space left on device
> > cant copy clip /dev/shm/tmp/bd_20180512-230025/bd.m2ts
> >
> > This is a good tip - we will add the "-b 2048" parameter to mkudffs to
>
> avoid this potential problem in the future on other systems.
>
> I am still trying to decipher the below information you provided earlier.
> Am I correct in stating that Mplayer could not play the udfs you created?

At lest initial ones, created with older (1.0.0b3) mkudffs, if launched as user 
(permission problem!). As root it worked, good enough for video stream at 
least. Mplayer has its own set of demuxers and sometimes modern default 
(lavformat demuxer) simply not work, so -demuxer help + specified native 
demuxer might help. I use this player for historical reasons - it usually was 
fastest way to make some_video_file play.


> I do not have Mplayer installed on our laptop and am hesitant to put any
> more unknown programs here.  You can just "ffplay bd.m2ts" in the bd_...
> directory easily enough and the bd.udfs is that same bd.m2ts with all of
> the requisite bluray formatting on it.  I do not know if Mplayer will play
> the bd.udfs file directly.


Yeah, but ffplay a bit too basic as player, for me. Mplayer is well-known 
program, for me (and today even Ubuntu/debian have it in full form)

http://mplayerhq.hu/design7/news.html

Mplayer might be 'giant hack' [1], but it still plays a lot, and I have  full 
svn tree on my hdd, so following its development somewhat easy for me.

[1] - https://codecs.multimedia.cx/2016/07/telegony-in-floss/ :}

I have somewhat older libbluray (0.4.0) installed, mplayer found it via 
configure and offered some specialized protocol to try. You can launch 
newly-compiled mplayer from its own directory, no need to install.


>
> ... so I figured out testing some formally-present blue-ray support in
>
> > Mplayer will not hurt ....
> >
> > > -------------
> > > Now I can mount resulting udf file:
> > > mount /dev/shm/tmp/bd_20180512-213805/bd.udfs
> > > /dev/shm/tmp/bd_20180512-213805/udfs/ -o
> > > ro
> > >
> > > and play it in Mplayer:
> > >
> > > mplayer br://1//dev/shm/tmp/bd_20180512-213805/udfs/
> > > Warning unknown option lavdops at line 3
> > > MPlayer SVN-r38109-4.9.2 (C) 2000-2018 MPlayer Team
> > >
> > > Playing br://1//dev/shm/tmp/bd_20180512-213805/udfs/.
>
> ...
>
> > > A:  63.4 V:  73.0 A-V: -9.594 ct: -0.100 198/198 ??% ??% ??,?% 0 0
> > > [ac3 @ 0x576476a0]invalid coupling range (15 >= 6)
> > > [ac3 @ 0x576476a0]error decoding the audio block
> > > libbluray/bluray.c:614: Read past EOF !6 198/198 ??% ??% ??,?% 0 0
> > >
> > > TS_PARSE: COULDN'T SYNC
> > > A:  73.2 V:  73.2 A-V:  0.031 ct:  0.012 202/202 ??% ??% ??,?% 0 0
> > >
> > >
> > > Exiting... (End of file)
> > > -------------
>
> Also, you might like to download for Mplayer a freely-available file like
> "Sintel..." from:
>      https://download.blender.org/durian/movies/

Yeah ... Thanks for spending time on this. Blu-Ray might be not best piece of 
engineering (due to DRM and such) but it slowly opens up.




More information about the Cinelerra mailing list