I want to showcase this procedure using alternative tools, and in
case this sooner or later can be of some use for Creating DVD with
CinGG..
1. From DV Video w/native LPCM to DVD-compliant MPG
using FFMpeg (version 4.4.4 on Leap 15.5)
2. From MPG w/o re-encoding to DVD structure and iso using
DeVeDeNG (version 4.17.0 from packman)
3. Burn DVD iso with K3b from DeVeDe (or optional using Xorriso
etc)
So far step 3 is not tested yet.
Playback of the final mpg movie is tested with VLC and FFplay - not
real tested with DVD disc in standalone players.
1. From DV Video w/native LPCM to DVD-compliant MPG using FFMpeg
du -sh dv01_03.dv
2,0G dv01_03.dv
ffmpeg -hide_banner -i dv01_03.dv -f dvd -target pal-dvd -aspect
4:3 -b:v 8M -mbd rd -trellis 1 -cmp 0 -subcmp 2 -c:a pcm_dvd
dv01_03+pcm_dvd.mpg
[dv @
0x5582cbf375c0] Estimating duration from bitrate, this may be
inaccurate
Input #0, dv, from
'dv01_03.dv':
Metadata:
timecode :
00:29:49:11
Duration:
00:09:56.48, start: 0.000000, bitrate: 28800 kb/s
Stream #0:0: Video:
dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], 25000 kb/s, 25
fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio:
pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Multiple -c, -codec,
-acodec, -vcodec, -scodec or -dcodec options specified for
stream 1, only the last option '-c:a pcm_dvd' will be used.
Stream mapping:
Stream #0:0 ->
#0:0 (dvvideo (native) -> mpeg2video (native))
Stream #0:1 ->
#0:1 (pcm_s16le (native) -> pcm_dvd (native))
Press [q] to stop,
[?] for help
Output #0, dvd, to
'dv01_03+pcm_dvd.mpg':
Metadata:
timecode :
00:29:49:11
encoder :
Lavf58.76.100
Stream #0:0: Video:
mpeg2video (Main), yuv420p(bottom coded first (swapped)),
720x576 [SAR 16:15 DAR 4:3], q=2-31, 8000 kb/s, 25 fps, 90k tbn
Metadata:
encoder
: Lavc58.134.100 mpeg2video
Side data:
cpb: bitrate
max/min/avg: 9000000/0/8000000 buffer size: 1835008 vbv_delay:
N/A
Stream #0:1: Audio:
pcm_dvd, 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
encoder
: Lavc58.134.100 pcm_dvd
[dvd @
0x5582cbf54f00] buffer underflow st=1 bufi=452
size=2008ate=9686.6kbits/s speed=5.76x
Last message
repeated 4 times
frame=14912 fps=150
q=3.6 Lsize= 706264kB time=00:09:56.47 bitrate=9699.9kbits/s
speed=5.99x
video:582384kB
audio:112007kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.709779%
du -sh
dv01_03+pcm_dvd.mpg
690M dv01_03+pcm_dvd.mpg
--------------------------
2. From MPG w/o re-encoding to DVD structure and iso using
DeVeDeNG
/usr/bin/devede_ng.py
DeVeDeNG GUI menu
<Video DVD>
<Add File>: dv01_03+pcm_dvd.mpg
Check <dv01_03+pcm_dvd.mpg>
<Properties>
<Misc> on next subwindow and check (important):
*This file is already a DVD/xCD-suitable MPEG-PS file
*Keep default: Use a GOP of 12 frames (improves compatibility)
Optional:
<General> chapters 'a 5 min is default etc
<Preview> 60 sec opens in VLC (w/Audio)
<Use>
<Further>
--------------------------------
The DVD tree structure and iso are generated quick and easy, so I
expect there was no re-encoding of the MPG input file, possibly
re-packaging.
tree -s
DVD-01_03+PCM
DVD-01_03+PCM
├── [ 727859200]
DVD-01_03+PCM.iso
├── [ 4096]
dvd_tree
│ ├── [
4096] AUDIO_TS
│ └── [
4096] VIDEO_TS
│ ├── [
12288] VIDEO_TS.BUP
│ ├── [
12288] VIDEO_TS.IFO
│ ├── [
32768] VIDEO_TS.VOB
│ ├── [
18432] VTS_01_0.BUP
│ ├── [
18432] VTS_01_0.IFO
│ ├── [
3543040] VTS_01_0.VOB
│ ├── [
32768] VTS_01_1.VOB
│ ├── [
22528] VTS_02_0.BUP
│ ├── [
22528] VTS_02_0.IFO
│ ├── [
32768] VTS_02_0.VOB
│ └── [
723214336] VTS_02_1.VOB
├── [ 4096]
menu
│ ├── [
2283] menu_0_active_bg.png
│ ├── [
62873] menu_0_bg.png
│ ├── [
3545088] menu_0B.mpg
│ ├── [
3540992] menu_0.mpg
│ ├── [
2273] menu_0_selected_bg.png
│ ├── [
1705] menu_0_unselected_bg.png
│ └── [
403] menu_0.xml
├── [ 4096]
movies
│ └── [
723214336] movie_0.mpg
└── [ 4096]
xml_data
└── [
1742] dvdauthor.xml
6 directories, 21
files
-------------------------
ffplay -hide_banner
movie_0.mpg
[mpeg @
0x7f4c3c000c80] start time for stream 0 is not set in
estimate_timings_from_pts
Input #0, mpeg, from
'movie_0.mpg':
Duration:
00:09:56.48, start: 0.540000, bitrate: 9699 kb/s
Stream #0:0[0x1bf]:
Data: dvd_nav_packet
Stream #0:1[0x1e0]:
Video: mpeg2video (Main), yuv420p(tv, progressive), 720x576 [SAR
16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Side data:
cpb: bitrate
max/min/avg: 9000000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:2[0xa0]:
Audio: pcm_dvd, 48000 Hz, 2 channels, s16, 1536 kb/s
13.24 A-V: -0.005
fd= 0 aq= 190KB vq= 1142KB sq= 0B f=0/0