[Cin] Blu-ray compliant MPEG-2 SD video with LPCM audio

Terje J. Hanssen terjejhanssen at gmail.com
Fri Dec 3 12:51:59 CET 2021



Den 03.12.2021 08:21, skrev Andrew Randrianasulu:
>
>
> On Friday, December 3, 2021, Terje J. Hanssen <terjejhanssen at gmail.com 
> <mailto:terjejhanssen at gmail.com>> wrote:
>
>
>
>             ===========
>
>
>                 for minimising disk loss you probably can prep. few
>         samples
>                 with different encoding/muxing params and burn them
>         all on one
>                 disk and see how well/bad your hw player plays (and
>         seeks) them..
>
>             Good idea.
>             I tried to burn dv28_Blu-ray.iso to a DVD-R disc with the gui
>             burners Brasero and K3b, but both quitted at start with
>         Failure.
>
>
>         did they show detailed error message?
>
>
>     DVD-R /DVD+R discs
>     Attach log files from the broken DVD-R burning attempts
>     * K3b.log
>     * brasero-session.log
>
>
> very big thanks. So apparently cdrecord was not patient enough with 
> drive (? unit becoming ready reply from scsi layer) and libburn behind 
> braseo just send something illegal..
>
> I think for now we can limit ourselves to k3b.

Brasero (default) is good for simple burning, but afaik it has no 
Blu-ray support like K3b.
K3b is (more) advanced, but its gui can be somewhat confusing before 
longer experience.



>
>
>
>             Suggestion to how customize the previous "CL for HDV to
>         Blu-ray"
>             to burn the now ready made dv28_Blu-ray.iso (with udf
>         included?)
>             and also the BDMV and CERTIFICATE folders to DVD-R/DVD+R and
>             DVD+RW discs?
>
>
>         try growisofs line from manual with this file?
>
>         also what "file' and udfinfo/bdinfo says about this iso?
>
>         For trying to burn just as data disk - try to drag those
>         folders into k3d and do not forgot to check udf option
>         somewhere (it probably will create hybrid iso/udf 1 fs - not
>         sure if such disk will be seen as avchd by playe.. but worth
>         trying at least once)
>
>
>
>     Confusing even without BDAV, but "avchd" is seemingly just
>     AVC/H264 - MPEG-4 AVC, while BDMV on DVD media can contain both
>     MPEG-2 and AVC MPEG4 stuff ......?
>     https://web.archive.org/web/20110719224338/http://www.cyberlink.com/prog/support/cs/product-faq-content.do?id=5645&prodId=15&prodVerId=-1
>     <https://web.archive.org/web/20110719224338/http://www.cyberlink.com/prog/support/cs/product-faq-content.do?id=5645&prodId=15&prodVerId=-1>
>
>
> yeahhh.. apparently avchd spec says about x264 encoded video, and 
> there was (abandoned? ) specification for BLU-ray on dvd media (with 
> wider codec selection?)
>
>
>     DVD+R
>     Broken attempts again with Brasero, while K3b burned the iso image
>     file itself as on HDD.
>     For the latter a selected New Data project and selected the iso
>     file, which maybe was m fault.
>
>
> is there way to select not New Data Project but 'burn iso image'?

I'll look at and will test more of this next ......


>
>
>     DVD+RW
>     I succeeded to burn the iso file to DVD+RW discs using both K3b
>     and Brasero
>     Playback from HDD with VLC works smootly, from DVD+RW disk a bit
>     stuttered (I/O problems) with short "breathing pauses" at regular
>     intervals (now and then) in video&audio. I expect this has to do
>     with the 25 Mbps bitrate 2.5 x of DVD-video. When I get my ordered
>     BD_RE discs I would expect them to manage this well.
>
>
> yeah.. from comments on this old blogpost from 2010 people discovered 
> total bitrate on dvd must be not higher than 16-17 mbit/s, and video 
> alone better not to shot over 13 mbit/s. (considering lpcm audio)
>
>
>     Samsung UBD 8500 player still doesn't accept these discs and put
>     them out after saying they are out of specification.
>     I have not compared all format specifications, but these tables
>     cover Samsung FHD and UHD player respectively
>     https://www.easefab.com/instructabletips/samsung-blu-ray-player-supported-formats.html
>     <https://www.easefab.com/instructabletips/samsung-blu-ray-player-supported-formats.html>
>     http://www.acrok.com/samsung-blu-ray-player-supported-formats/
>     <http://www.acrok.com/samsung-blu-ray-player-supported-formats/>
>
>
>
> thanks, while those not as detailed as bd specs alone..
>
>
>     --------------------
>
>     bd_info /dev/sr0
>     Using libbluray version 1.3.0
>     Volume Identifier   :
>     BluRay detected     : yes
>     First Play supported: yes
>     Top menu supported  : yes
>     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
>
>     -----------------------------
>
>     bluray_info /dev/sr0
>     Disc title: '', Volume name: ' ', Main title: 001, AACS: no, BD-J:
>     no, BD+: no
>     Title: 001, Playlist: 0000, Length: 00:02:16.64, Chapters: 001,
>     Video streams: 01, Audio streams: 01, Subtitles: 00, Angles: 01,
>     Filesize: 00457 MBs
>
>     -------------------------
>
>     ffprobe bluray:/dev/sr0
>     [bluray @ 0x55f6b1d3ebc0] 0 usable playlists:
>     bluray:/dev/sr0: Input/output error
>
>
>     ffmpeg -i /dev/sr0
>     [mpegts @ 0x56143f5aacc0] Could not detect TS packet size,
>     defaulting to non-FEC/DVHS
>     [mpegts @ 0x56143f5aacc0] max resync size reached, could not find
>     sync byte
>         Last message repeated 14 times
>     [mpegts @ 0x56143f5aacc0] changing packet size to 192
>     Input #0, mpegts, from '/dev/sr0':
>       Duration: N/A, start: 4200.000000, bitrate: 26536 kb/s
>       Program 1
>       Stream #0:0[0x1011]: Video: mpeg2video (4:2:2) (HDMV /
>     0x564D4448), yuv422p(tv, progressive), 720x576 [SAR 16:15 DAR
>     4:3], 25000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
>         Side data:
>           cpb: bitrate max/min/avg: 25000000/0/0 buffer size: 3047424
>     vbv_delay: N/A
>       Stream #0:1[0x1100]: Audio: pcm_bluray (HDMV / 0x564D4448),
>     48000 Hz, stereo, s16, 1536 kb/s
>     At least one output file must be specified
>
>     ------------------------------------------
>
> so it looks like disk can be detected as bluray of some sort, and our 
> audio encoded correctly...
>
>
>     df -h /dev/sr0
>     Filesystem      Size  Used Avail Use% Mounted on
>     /dev/sr0        457M  457M     0 100%
>     /run/media/terje/17634ba320202020
>
>
>     tree -h /run/media/terje/17634ba320202020
>     /run/media/terje/17634ba320202020
>     ├── [ 520]  BDMV
>     │   ├── [  40]  AUXDATA
>     │   ├── [ 288]  BACKUP
>     │   │   ├── [  40]  BDJO
>     │   │   ├── [  92]  CLIPINF
>     │   │   │   └── [1.8K]  00000.clpi
>     │   │   ├── [ 290]  MovieObject.bdmv
>     │   │   ├── [  92]  PLAYLIST
>     │   │   │   └── [ 170]  00000.mpls
>     │   │   └── [ 120]  index.bdmv
>     │   ├── [  40]  BDJO
>     │   ├── [  92]  CLIPINF
>     │   │   └── [1.8K]  00000.clpi
>     │   ├── [  40]  JAR
>     │   ├── [  40]  META
>     │   ├── [ 290]  MovieObject.bdmv
>     │   ├── [  92]  PLAYLIST
>     │   │   └── [ 170]  00000.mpls
>     │   ├── [  92]  STREAM
>     │   │   └── [456M]  00000.m2ts
>     │   └── [ 120]  index.bdmv
>     └── [  88]  CERTIFICATE
>         └── [  40]  BACKUP
>
>     14 directories, 9 files
>
>     ----------------------
>
>
>
> looks... correct?

Yes, it seems so
>
>
>     udfinfo /dev/sr0
>     udfinfo: Warning: Device '/dev/sr0' is busy, udfinfo may report
>     bogus information
>     udfinfo: Warning: Second and third Anchor Volume Descriptor
>     Pointer not found
>     filename=/dev/sr0
>     label=
>     uuid=17634ba320202020
>     lvid=
>     vid=
>     vsid=
>     fsid=
>     fullvsid=17634BA3
>     owner=
>     organization=
>     contact=
>     appid=*tsMuxeR git-c483756
>     impid=*tsMuxeR 53a5f1f6
>     winserialnum=0xa6df2fea
>     blocksize=2048
>     blocks=2295104
>     usedblocks=233856
>     freeblocks=0
>     behindblocks=2060912
>     numfiles=9
>     numdirs=15
>     udfrev=2.50
>     udfwriterev=2.50
>     lastblock=2295104
>     integrity=closed
>     accesstype=readonly
>     softwriteprotect=no
>     hardwriteprotect=no
>     start=16, blocks=3, type=VRS
>     start=32, blocks=16, type=MVDS
>     start=64, blocks=1, type=LVID
>     start=256, blocks=1, type=ANCHOR
>     start=288, blocks=233856, type=PSPACE
>     start=234176, blocks=16, type=RVDS
>
>
> so yeah, it is udf 2.50!

yeah, from tsMuxer

>
> can you check what udf_test (udf verifier we talked about earlier) 
> says about this disk?

Attach new udf_test.log file


-------------- next part --------------
A non-text attachment was scrubbed...
Name: udf_test.log
Type: text/x-log
Size: 40236 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211203/0a5c37ae/attachment-0001.log>


More information about the Cin mailing list