Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS (Read 5267 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #25
I'll try mounting the ISO and playing it to see what happens. I've never bothered doing that before. Thanks for the suggestion.

I've managed to play an ISO before without mounting it, but it was always a ripped DVD from K3B with libdvdcss and I haven't done that for many years. It played the AV fine on mplayer (or was it mpv?) as long as I told it which streams to pick on the command line when there was more than one of each type. VLC also used to pick out the titles and chapters of an unmounted DVD iso back then, but everything has changed over the past decade so who knows what these tools do with an iso today. Handbrake and MythTV also changed drastically plus now there's Plex and Kodi and I'm way behind.

I'm temporarily diverting to the following plan: I'll use KDENLive nvenc hardware to generate an mp4 that will fit on a dual layer DVD and see how it looks/sounds. I won't try to make it a standard-compliant DVD because that will lose too much resolution with devede transcoding it to SD. The hardware render time is half what software takes on this machine.

I'll see if the current tsMuxerGUI builds a DVD ISO with chapters that plays on my Sony 4K bluray player. If not, maybe it will play without chapters.

Here are the profiles I've queued up for rendering:

'averaged bit rate'


'constant quantization'


I'm also considering rendering lossless from KDENLive and using x264 plus whatever audio encoder and muxer to build the bluray since that was recommended. I've installed x264 but haven't tried it yet. I don't know what to use for the audio but I'm thinking maybe sox or ffmpeg can output a compatible stream.

An intermediate step might be to render lossless directly to mkv and see if it plays from an ISO with chapters. There are a few lossless/HQ profiles available that are output in MKV container. Here's the available profiles:

mp4 (I think, it doesn't specify)


Here's the mediainfo. This is high quality at 10mbps? but it looks okay given the limited quality of the source so maybe...and given the audio quality of this rough cut source 192 isn't much of a compromise either:

media1@media1-AX370-Gaming-5:/work/media/music/amateur/Hummers, The/2019-11-08 at The Pioneer Saloon/kdenlive$ mediainfo -full *test3*
General
Count                                    : 331
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Audio_Format_List                        : AAC LC
Audio_Format_WithHint_List               : AAC LC
Audio codecs                             : AAC LC
Complete name                            : The Hummers at The Pioneer Saloon 2019-11-08 v2 test3.mp4
File name extension                      : The Hummers at The Pioneer Saloon 2019-11-08 v2 test3.mp4
File name                                : The Hummers at The Pioneer Saloon 2019-11-08 v2 test3
File extension                           : mp4
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name                          : MPEG-4
Format profile                           : Base Media
Internet media type                      : video/mp4
Codec ID                                 : isom
Codec ID                                 : isom (isom/iso2/avc1/mp41)
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible                       : isom/iso2/avc1/mp41
File size                                : 110891291
File size                                : 106 MiB
File size                                : 106 MiB
File size                                : 106 MiB
File size                                : 106 MiB
File size                                : 105.8 MiB
Duration                                 : 84096
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 96 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.096
Duration                                 : 00:01:24;02
Duration                                 : 00:01:24.096 (00:01:24;02)
Overall bit rate                         : 10549019
Overall bit rate                         : 10.5 Mb/s
Frame rate                               : 29.970
Frame rate                               : 29.970 FPS
Frame count                              : 2520
Stream size                              : 93963
Stream size                              : 91.8 KiB (0%)
Stream size                              : 92 KiB
Stream size                              : 92 KiB
Stream size                              : 91.8 KiB
Stream size                              : 91.76 KiB
Stream size                              : 91.8 KiB (0%)
Proportion of this stream                : 0.00085
HeaderSize                               : 93618
DataSize                                 : 110797673
FooterSize                               : 0
IsStreamable                             : Yes
File last modification date              : UTC 2023-02-07 21:22:18
File last modification date (local)      : 2023-02-07 13:22:18
Writing application                      : Lavf58.76.100
Writing application                      : Lavf58.76.100

Video
Count                                    : 380
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4
Format settings, Reference frames        : 4 frames
Format settings, GOP                     : M=4, N=15
Internet media type                      : video/H264
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 84084
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 84 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.084
Duration                                 : 00:01:24;02
Duration                                 : 00:01:24.084 (00:01:24;02)
Bit rate                                 : 10349009
Bit rate                                 : 10.3 Mb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1080
Height                                   : 1 080 pixels
Stored_Height                            : 1088
Sampled_Width                            : 1920
Sampled_Height                           : 1080
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
FrameRate_Mode_Original                  : VFR
Frame rate                               : 29.970
Frame rate                               : 29.970 (30000/1001) FPS
FrameRate_Num                            : 30000
FrameRate_Den                            : 1001
Frame count                              : 2520
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.167
Stream size                              : 108773262
Stream size                              : 104 MiB (98%)
Stream size                              : 104 MiB
Stream size                              : 104 MiB
Stream size                              : 104 MiB
Stream size                              : 103.7 MiB
Stream size                              : 104 MiB (98%)
Proportion of this stream                : 0.98090
Writing library                          : x264 - core 163 r3060 5db6aa6
Writing library                          : x264 core 163 r3060 5db6aa6
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 163 r3060 5db6aa6
Encoding settings                        : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=2 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=15 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=15 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
colour_description_present               : Yes
colour_description_present_Source        : Container / Stream
Color range                              : Limited
colour_range_Source                      : Container / Stream
Color primaries                          : BT.709
colour_primaries_Source                  : Container / Stream
Transfer characteristics                 : BT.709
transfer_characteristics_Source          : Container / Stream
Matrix coefficients                      : BT.709
matrix_coefficients_Source               : Container / Stream
Codec configuration box                  : avcC

Audio
Count                                    : 283
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Format                                   : AAC
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Commercial name                          : AAC
Format settings, SBR                     : No (Explicit)
Format settings, SBR                     : No (Explicit)
Format_AdditionalFeatures                : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 84096
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 96 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.096
Duration                                 : 00:01:23:41
Duration                                 : 00:01:24.096 (00:01:23:41)
Source duration                          : 84117
Source duration                          : 1 min 24 s
Source duration                          : 1 min 24 s 117 ms
Source duration                          : 1 min 24 s
Source duration                          : 00:01:24.117
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 192000
Bit rate                                 : 192 kb/s
Channel(s)                               : 2
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Channel positions                        : 2/0/0
Channel layout                           : L R
Samples per frame                        : 1024
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 4036608
Frame rate                               : 46.875
Frame rate                               : 46.875 FPS (1024 SPF)
Frame count                              : 3942
Source frame count                       : 3943
Compression mode                         : Lossy
Compression mode                         : Lossy
Stream size                              : 2024066
Stream size                              : 1.93 MiB (2%)
Stream size                              : 2 MiB
Stream size                              : 1.9 MiB
Stream size                              : 1.93 MiB
Stream size                              : 1.930 MiB
Stream size                              : 1.93 MiB (2%)
Proportion of this stream                : 0.01825
Source stream size                       : 2024403
Source stream size                       : 1.93 MiB (2%)
Source stream size                       : 2 MiB
Source stream size                       : 1.9 MiB
Source stream size                       : 1.93 MiB
Source stream size                       : 1.931 MiB
Source stream size                       : 1.93 MiB (2%)
Source_StreamSize_Proportion             : 0.01826
Default                                  : Yes
Default                                  : Yes
Alternate group                          : 1
Alternate group                          : 1
Source_Delay                             : -21
Source_Delay_Source                      : Container
mdhd_Duration                            : 84096


Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #26
Here's the mkv lossless option #1:



media1@media1-AX370-Gaming-5:/work/media/music/amateur/Hummers, The/2019-11-08 at The Pioneer Saloon/kdenlive$ mediainfo -full *test4*
General
Count                                    : 332
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 12558844731976437757933790006181364287
Unique ID                                : 12558844731976437757933790006181364287 (0x972BED9FB12A26BAB031DCA7714023F)
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : FFV1
Video_Format_WithHint_List               : FFV1
Codecs Video                             : FFV1
Audio_Format_List                        : FLAC
Audio_Format_WithHint_List               : FLAC
Audio codecs                             : FLAC
Complete name                            : The Hummers at The Pioneer Saloon 2019-11-08 v2 test4.mkv
File name extension                      : The Hummers at The Pioneer Saloon 2019-11-08 v2 test4.mkv
File name                                : The Hummers at The Pioneer Saloon 2019-11-08 v2 test4
File extension                           : mkv
Format                                   : Matroska
Format                                   : Matroska
Format/Url                               : https://matroska.org/downloads/windows.html
Format/Extensions usually used           : mkv mk3d mka mks
Commercial name                          : Matroska
Format version                           : Version 4
File size                                : 2821083553
File size                                : 2.63 GiB
File size                                : 3 GiB
File size                                : 2.6 GiB
File size                                : 2.63 GiB
File size                                : 2.627 GiB
Duration                                 : 84096
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 96 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.096
Duration                                 : 00:01:24;02
Duration                                 : 00:01:24.096 (00:01:24;02)
Overall bit rate mode                    : VBR
Overall bit rate mode                    : Variable
Overall bit rate                         : 268367918
Overall bit rate                         : 268 Mb/s
Frame rate                               : 29.970
Frame rate                               : 29.970 FPS
Frame count                              : 2520
IsStreamable                             : Yes
File last modification date              : UTC 2023-02-07 21:32:19
File last modification date (local)      : 2023-02-07 13:32:19
Writing application                      : Lavf58.76.100
Writing application                      : Lavf58.76.100
Writing library                          : Lavf58.76.100
Writing library                          : Lavf58.76.100
ErrorDetectionType                       : Per level 1

Video
Count                                    : 382
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 12053529132077121923
Format                                   : FFV1
Format                                   : FFV1
Commercial name                          : FFV1
Format version                           : Version 3.4
Format settings, GOP                     : N=1
Codec ID                                 : V_MS/VFW/FOURCC / FFV1
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Duration                                 : 84084.000000
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 84 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.084
Duration                                 : 00:01:24;02
Duration                                 : 00:01:24.084 (00:01:24;02)
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1080
Height                                   : 1 080 pixels
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 29.970
Frame rate                               : 29.970 (30000/1001) FPS
FrameRate_Num                            : 30000
FrameRate_Den                            : 1001
Frame count                              : 2520
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Chroma subsampling                       : 4:2:2
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Compression mode                         : Lossless
Compression mode                         : Lossless
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No
colour_description_present               : Yes
colour_description_present_Source        : Container
Color primaries                          : BT.709
colour_primaries_Source                  : Container
Transfer characteristics                 : BT.709
transfer_characteristics_Source          : Container
Matrix coefficients                      : BT.709
matrix_coefficients_Source               : Container
coder_type                               : Range Coder
MaxSlicesCount                           : 4
ErrorDetectionType                       : Per slice

Audio
Count                                    : 280
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Unique ID                                : 13908075726725776243
Format                                   : FLAC
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Format/Url                               : https://xiph.org/flac/
Commercial name                          : FLAC
Internet media type                      : audio/x-flac
Codec ID                                 : A_FLAC
Codec ID/Url                             : https://xiph.org/flac
Duration                                 : 84096.000000
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 96 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.096
Duration                                 : 00:01:24.096
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Channel(s)                               : 2
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Channel positions                        : 2/0/0
Channel layout                           : L R
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 4036608
Bit depth                                : 16
Bit depth                                : 16 bits
Compression mode                         : Lossless
Compression mode                         : Lossless
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : 0
Delay relative to video                  : 00:00:00.000
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #27
Option 2:



media1@media1-AX370-Gaming-5:/work/media/music/amateur/Hummers, The/2019-11-08 at The Pioneer Saloon/kdenlive$ mediainfo -full *test5*
General
Count                                    : 332
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 105665543791185319453506538032902798421
Unique ID                                : 105665543791185319453506538032902798421 (0x4F7E7188699D7157EBF71D71CAB97C55)
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : HuffYUV
Video_Format_WithHint_List               : HuffYUV
Codecs Video                             : HuffYUV
Audio_Format_List                        : FLAC
Audio_Format_WithHint_List               : FLAC
Audio codecs                             : FLAC
Complete name                            : The Hummers at The Pioneer Saloon 2019-11-08 v2 test5.mkv
File name extension                      : The Hummers at The Pioneer Saloon 2019-11-08 v2 test5.mkv
File name                                : The Hummers at The Pioneer Saloon 2019-11-08 v2 test5
File extension                           : mkv
Format                                   : Matroska
Format                                   : Matroska
Format/Url                               : https://matroska.org/downloads/windows.html
Format/Extensions usually used           : mkv mk3d mka mks
Commercial name                          : Matroska
Format version                           : Version 4
File size                                : 4413922524
File size                                : 4.11 GiB
File size                                : 4 GiB
File size                                : 4.1 GiB
File size                                : 4.11 GiB
File size                                : 4.111 GiB
Duration                                 : 84096
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 96 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.096
Duration                                 : 00:01:24;02
Duration                                 : 00:01:24.096 (00:01:24;02)
Overall bit rate mode                    : VBR
Overall bit rate mode                    : Variable
Overall bit rate                         : 419893695
Overall bit rate                         : 420 Mb/s
Frame rate                               : 29.970
Frame rate                               : 29.970 FPS
Frame count                              : 2520
IsStreamable                             : Yes
File last modification date              : UTC 2023-02-07 21:40:29
File last modification date (local)      : 2023-02-07 13:40:29
Writing application                      : Lavf58.76.100
Writing application                      : Lavf58.76.100
Writing library                          : Lavf58.76.100
Writing library                          : Lavf58.76.100
ErrorDetectionType                       : Per level 1

Video
Count                                    : 379
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 12127814952872797159
Format                                   : HuffYUV
Format                                   : HuffYUV
Commercial name                          : HuffYUV
Format version                           : Version 2
Codec ID                                 : V_MS/VFW/FOURCC / HFYU
Duration                                 : 84084.000000
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 84 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.084
Duration                                 : 00:01:24;02
Duration                                 : 00:01:24.084 (00:01:24;02)
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1080
Height                                   : 1 080 pixels
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 29.970
Frame rate                               : 29.970 (30000/1001) FPS
FrameRate_Num                            : 30000
FrameRate_Den                            : 1001
Frame count                              : 2520
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Chroma subsampling                       : 4:2:2
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No
colour_description_present               : Yes
colour_description_present_Source        : Container
Color primaries                          : BT.709
colour_primaries_Source                  : Container
Transfer characteristics                 : BT.709
transfer_characteristics_Source          : Container
Matrix coefficients                      : BT.709
matrix_coefficients_Source               : Container

Audio
Count                                    : 280
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Unique ID                                : 8218914016987475953
Format                                   : FLAC
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Format/Url                               : https://xiph.org/flac/
Commercial name                          : FLAC
Internet media type                      : audio/x-flac
Codec ID                                 : A_FLAC
Codec ID/Url                             : https://xiph.org/flac
Duration                                 : 84096.000000
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 96 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.096
Duration                                 : 00:01:24.096
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Channel(s)                               : 2
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Channel positions                        : 2/0/0
Channel layout                           : L R
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 4036608
Bit depth                                : 16
Bit depth                                : 16 bits
Compression mode                         : Lossless
Compression mode                         : Lossless
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : 0
Delay relative to video                  : 00:00:00.000
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #28
Option 3:



media1@media1-AX370-Gaming-5:/work/media/music/amateur/Hummers, The/2019-11-08 at The Pioneer Saloon/kdenlive$ mediainfo -full *test6*
General
Count                                    : 332
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 112610078017323050592941025793020909493
Unique ID                                : 112610078017323050592941025793020909493 (0x54B7E9814EDD84677E4FB822B2FDD7B5)
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Audio_Format_List                        : Vorbis
Audio_Format_WithHint_List               : Vorbis
Audio codecs                             : Vorbis
Complete name                            : The Hummers at The Pioneer Saloon 2019-11-08 v2 test6.mkv
File name extension                      : The Hummers at The Pioneer Saloon 2019-11-08 v2 test6.mkv
File name                                : The Hummers at The Pioneer Saloon 2019-11-08 v2 test6
File extension                           : mkv
Format                                   : Matroska
Format                                   : Matroska
Format/Url                               : https://matroska.org/downloads/windows.html
Format/Extensions usually used           : mkv mk3d mka mks
Commercial name                          : Matroska
Format version                           : Version 4
File size                                : 89066915
File size                                : 84.9 MiB
File size                                : 85 MiB
File size                                : 85 MiB
File size                                : 84.9 MiB
File size                                : 84.94 MiB
Duration                                 : 84087
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 87 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.087
Duration                                 : 00:01:24.087
Overall bit rate mode                    : VBR
Overall bit rate mode                    : Variable
Overall bit rate                         : 8473787
Overall bit rate                         : 8 474 kb/s
Stream size                              : 1773215
Stream size                              : 1.69 MiB (2%)
Stream size                              : 2 MiB
Stream size                              : 1.7 MiB
Stream size                              : 1.69 MiB
Stream size                              : 1.691 MiB
Stream size                              : 1.69 MiB (2%)
Proportion of this stream                : 0.01991
IsStreamable                             : Yes
File last modification date              : UTC 2023-02-07 21:50:04
File last modification date (local)      : 2023-02-07 13:50:04
Writing application                      : Lavf58.76.100
Writing application                      : Lavf58.76.100
Writing library                          : Lavf58.76.100
Writing library                          : Lavf58.76.100
ErrorDetectionType                       : Per level 1

Video
Count                                    : 379
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 4672572663950831873
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4
Format settings, Reference frames        : 4 frames
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Duration                                 : 84087.000000
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 87 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.087
Duration                                 : 00:01:24.087
Bit rate                                 : 8193159
Bit rate                                 : 8 193 kb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1080
Height                                   : 1 080 pixels
Stored_Height                            : 1088
Sampled_Width                            : 1920
Sampled_Height                           : 1080
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Frame rate mode                          : VFR
Frame rate mode                          : Variable
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 86117266
Stream size                              : 82.1 MiB (97%)
Stream size                              : 82 MiB
Stream size                              : 82 MiB
Stream size                              : 82.1 MiB
Stream size                              : 82.13 MiB
Stream size                              : 82.1 MiB (97%)
Proportion of this stream                : 0.96688
Writing library                          : x264 - core 163 r3060 5db6aa6
Writing library                          : x264 core 163 r3060 5db6aa6
Encoded_Library_Name                     : x264
Encoded_Library_Version                  : core 163 r3060 5db6aa6
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=2 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No
colour_description_present               : Yes
colour_description_present_Source        : Container / Stream
Color range                              : Limited
colour_range_Source                      : Stream
Color primaries                          : BT.709
colour_primaries_Source                  : Container / Stream
Transfer characteristics                 : BT.709
transfer_characteristics_Source          : Container / Stream
Matrix coefficients                      : BT.709
matrix_coefficients_Source               : Container / Stream

Audio
Count                                    : 280
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 2
ID                                       : 2
Unique ID                                : 13103393856192730291
Format                                   : Vorbis
Format                                   : Vorbis
Format/Url                               : http://www.vorbis.com/
Commercial name                          : Vorbis
Format settings, Floor                   : 1
Internet media type                      : audio/vorbis
Codec ID                                 : A_VORBIS
Codec ID/Url                             : http://www.vorbis.com
Duration                                 : 84031.000000
Duration                                 : 1 min 24 s
Duration                                 : 1 min 24 s 31 ms
Duration                                 : 1 min 24 s
Duration                                 : 00:01:24.031
Duration                                 : 00:01:24.031
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 112000
Bit rate                                 : 112 kb/s
Channel(s)                               : 2
Channel(s)                               : 2 channels
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 4033488
Compression mode                         : Lossy
Compression mode                         : Lossy
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : 0
Delay relative to video                  : 00:00:00.000
Stream size                              : 1176434
Stream size                              : 1.12 MiB (1%)
Stream size                              : 1 MiB
Stream size                              : 1.1 MiB
Stream size                              : 1.12 MiB
Stream size                              : 1.122 MiB
Stream size                              : 1.12 MiB (1%)
Proportion of this stream                : 0.01321
Writing application                      : Lavc58.134.100
Writing application                      : Lavc58.134.100
Writing library                          : Xiph.Org libVorbis I 20200704 (Reducing Environment)
Writing library                          : libVorbis (Reducing Environment) (20200704 (Reducing Environment))
Encoded_Library_Name                     : libVorbis
Encoded_Library_Version                  : (Reducing Environment)
Encoded_Library_Date                     : 20200704 (Reducing Environment)
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #29
Any idea which of these is most likely to transcode with x264? Any idea which audio encoder/frontend to use? Muxer?

It's looking like with the state of these free tools I'm probably doing mkv and hoping my client's older bluray will play it. My Sony 4K will probably handle some mkv but his, I don't know, I don't think his is 4K because he said it's several years old.

Now for mounting that ISO and trying it again...

Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #30
Blu-ray has some really weird restrictions on the encoded bitstream; just putting the video into an MP4 file can cause incompatibility even if you do everything else correctly. If you want to be sure your disc will play correctly on the greatest number of Blu-ray players, you have to use x264 by itself to produce a raw H.264 bitstream separately from the audio and then combine them with your muxer.

There used to be a website that included complete x264 command lines for Blu-ray encoding; you can still read an archived copy.

FFmpeg can output PCM, you just need to select the bit layout when you specify the codec. For example, "pcm_s16le" will give you 16-bit PCM suitable for WAV files (which you can then feed to your muxer). When working with PCM, you'll probably want to use WAV files instead of raw PCM.

The difference between "ac3" and "ac3_fixed" is that "ac3" uses your CPU's floating-point math capabilities and "ac3_fixed" does not. Either one will work equally well for you (though I'm not sure how good FFmpeg's AC3 encoder is).

Thanks so much for this, it's the most comprehensive guide I've seen yet. Funny it's on the Wayback, like an echo of the past, and it's also navigable so somebody thought ahead.

I'll read there and try building a workflow again before posting more questions.

But...it would really help to know if any of the bitstreams that KDENLive generates are appropriate as a starting point for x264, plus which encoder/frontend to use if I can't use the format from KDENLive. I suppose it's a lot easier to transcode audio after rendering so what I really need to know is which format to use, I'm assuming I want AC3 and can extract it with ffmpeg or just about any demuxer from the existing render at 448kbps. Hopefully I don't need to align the timing to the video. I don't seem to have any issues with the existing output but I didn't check to see if there's an offset added automatically.

Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #31
Any idea which of these is most likely to transcode with x264?
It uses the same decoders as ffmpeg, so it should handle all three equally well. However, I notice two of the three have 4:2:2 chroma subsampling, which is incorrect for Blu-ray. As far as I recall, x264 can fix this by itself, but your temporary lossless files will be smaller if you configure Kdenlive to output 4:2:0.

Any idea which audio encoder/frontend to use?
You can configure Kdenlive to render an audio-only file. AC3 with a reasonably high bitrate (320kbps?) should be fine for stereo audio. If you (or your potential future customers) are feeling paranoid, you can use uncompressed 16-bit 48kHz PCM instead, but that's a bit more work since your muxer won't be able to automatically detect what kind of audio it is.

Muxer?
Whatever you use to turn the encoded video and audio into a Blu-ray. You're using tsMuxer, but in theory you could switch to something else without changing the rest of your process.

Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #32
Then there's this:

"Once again - AC-3 official for DVD Video is 448kbps however all Dolby decoders must decode 512kbps and 640kbps - this is part of the Dolby conformance testing so 448kbps may be seen as soft requirement not hard requirement - authoring software of course can be more or less picky on this."

https://forum.videohelp.com/threads/386092-Encoding-audio-in-DTS-in-multi-channels-with-ffmpeg#post2625252

I suppose some guide as to which bitrates actually work is also going to be helpful. I was assuming there's no limit aside from the top end in the spec, but apparently it's not continuously variable.

Maybe there's some limit on the video bit rate choices too?

Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #33
I suppose some guide as to which bitrates actually work is also going to be helpful. I was assuming there's no limit aside from the top end in the spec, but apparently it's not continuously variable.
The available AC3 bitrates are 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, and 640 kbps. All of these should work on Blu-ray.

Maybe there's some limit on the video bit rate choices too?
There's no limit other than the upper limit of 40Mbps.

 

Re: Blu-Ray and DVD Authoring on Ubuntu Linux using only FOSS

Reply #34
Thanks so much.

You're a gold mine of information.