Start cinelerra-gg from terminal so you can see terminal output Open your source in cinelerra-gg as usual, choice format settings, go to DVD creation window. Select all values as you need, click ok, wait for batchrender window to appear In it, select second line and change codec to RAW PCM, and set it to 16 bit, signed, byteorder Lo-Hi (big endian) click "start". Cingg will finish but job is not! from terminal, note location of dvd.sh file and open it in editor running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading. so mcedit /dev/shm//dvd_20240116-182336/dvd.sh and set mplex parameter " -L 48000:2:16" so full string will look like mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm note, lpcm extension is important! now mv pcm file into same but with new extension (in theory you can change audio file extension into lpcm at batchrender window, not tested) mv /dev/shm//dvd_20240116-182336/dvd.pcm /dev/shm//dvd_20240116-182336/dvd.lpcm run script: bash-5.1$ /dev/shm//dvd_20240116-182336/dvd.sh running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.m2v looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.lpcm looks like an LPCM Audio stream. INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options! INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting dvdauthor DVD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/dvd_20240116-182336/dvd.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 16:9 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 9000000 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: LPCM Audio stream 00 (/dev/shm/dvd_20240116-182336/dvd.lpcm) INFO: [mplex] LPCM AUDIO STREAM: INFO: [mplex] Bit rate : 192000 bytes/sec (1536000) bit/sec) INFO: [mplex] Channels : 2 INFO: [mplex] Bits per sample: 16 INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 10753200 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Run-in delay = 10800 Video delay = 10800 Audio delay = 14400 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM bd completed INFO: [mplex] Multiplex completion at SCR=265362. INFO: [mplex] Video e0: completed INFO: [mplex] Audio bd: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 3101158 bytes INFO: [mplex] Sequence headers: 5 INFO: [mplex] Sequence ends : 0 INFO: [mplex] No. Pictures : 75 INFO: [mplex] No. Groups : 5 INFO: [mplex] No. I Frames : 5 avg. size 51909 bytes INFO: [mplex] No. P Frames : 71 avg. size 39569 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 8160800 bits/sec INFO: [mplex] Peak bit-rate : 8992000 bits/sec INFO: [mplex] BUFFERING min 22252 Buf max 219233 INFO: [mplex] AUDIO_STATISTICS: bd INFO: [mplex] Audio stream length 583680 bytes. INFO: [mplex] Frames : 1823 INFO: [mplex] BUFFERING min 12112 Buf max 52344 INFO: [mplex] MUX STATUS: no under-runs detected. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig Send bug reports to <[email protected]> INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01 STAT: Processing /dev/shm/dvd_20240116-182336/dvd.mpg... INFO: Video pts = 0.160 .. 3.160 INFO: Audio[16] pts = 0.160 .. 3.200 STAT: VOBU 5 at 3MB, 1 PGCs CHAPTERS: VTS[1/1] 0.000 INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 16:9 INFO: Resolution: 720x576 INFO: Audio ch 0 format: ac3/6ch, 48khz drc, 'en' WARN: Audio ch 0 is not used! INFO: Audio ch 1 format: pcm/2ch, 48khz 16bps STAT: fixed 5 VOBUs INFO: dvdauthor creating table of contents INFO: Scanning /dev/shm/dvd_20240116-182336/iso/VIDEO_TS/VTS_01_0.IFO To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /dev/shm/dvd_20240116-182336/iso Завершено ==== you probably need to tweak dvdauthor file to so our audio will be audio channel 0. I'm thinking about making "use PCM" checkbox in (already a bit crowded) DVD creation window ..lets see now it will progress ... example files attached ...
This should still be working as documented in the manual: Profile for bluray only, use the default bluray.m2ts or choose bluray_lpcm.m2ts for linear pulse code modulation for digitally encoding uncompressed audio information. On Tue, Jan 16, 2024 at 8:52 AM Andrew Randrianasulu via Cin < [email protected]> wrote:
Start cinelerra-gg from terminal so you can see terminal output
Open your source in cinelerra-gg as usual, choice format settings, go to DVD creation window.
Select all values as you need, click ok, wait for batchrender window to appear
In it, select second line and change codec to RAW PCM, and set it to 16 bit, signed, byteorder Lo-Hi (big endian)
click "start". Cingg will finish but job is not!
from terminal, note location of dvd.sh file and open it in editor
running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading.
so
mcedit /dev/shm//dvd_20240116-182336/dvd.sh
and set mplex parameter " -L 48000:2:16" so full string will look like
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
note, lpcm extension is important!
now mv pcm file into same but with new extension (in theory you can change audio file extension into lpcm at batchrender window, not tested)
mv /dev/shm//dvd_20240116-182336/dvd.pcm /dev/shm//dvd_20240116-182336/dvd.lpcm
run script:
bash-5.1$ /dev/shm//dvd_20240116-182336/dvd.sh running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.m2v looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.lpcm looks like an LPCM Audio stream. INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options! INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting dvdauthor DVD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/dvd_20240116-182336/dvd.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 16:9 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 9000000 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: LPCM Audio stream 00 (/dev/shm/dvd_20240116-182336/dvd.lpcm) INFO: [mplex] LPCM AUDIO STREAM: INFO: [mplex] Bit rate : 192000 bytes/sec (1536000) bit/sec) INFO: [mplex] Channels : 2 INFO: [mplex] Bits per sample: 16 INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 10753200 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Run-in delay = 10800 Video delay = 10800 Audio delay = 14400 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM bd completed INFO: [mplex] Multiplex completion at SCR=265362. INFO: [mplex] Video e0: completed INFO: [mplex] Audio bd: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 3101158 bytes INFO: [mplex] Sequence headers: 5 INFO: [mplex] Sequence ends : 0 INFO: [mplex] No. Pictures : 75 INFO: [mplex] No. Groups : 5 INFO: [mplex] No. I Frames : 5 avg. size 51909 bytes INFO: [mplex] No. P Frames : 71 avg. size 39569 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 8160800 bits/sec INFO: [mplex] Peak bit-rate : 8992000 bits/sec INFO: [mplex] BUFFERING min 22252 Buf max 219233 INFO: [mplex] AUDIO_STATISTICS: bd INFO: [mplex] Audio stream length 583680 bytes. INFO: [mplex] Frames : 1823 INFO: [mplex] BUFFERING min 12112 Buf max 52344 INFO: [mplex] MUX STATUS: no under-runs detected. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig Send bug reports to <[email protected]>
INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01
STAT: Processing /dev/shm/dvd_20240116-182336/dvd.mpg...
INFO: Video pts = 0.160 .. 3.160 INFO: Audio[16] pts = 0.160 .. 3.200 STAT: VOBU 5 at 3MB, 1 PGCs CHAPTERS: VTS[1/1] 0.000 INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 16:9 INFO: Resolution: 720x576 INFO: Audio ch 0 format: ac3/6ch, 48khz drc, 'en' WARN: Audio ch 0 is not used! INFO: Audio ch 1 format: pcm/2ch, 48khz 16bps
STAT: fixed 5 VOBUs INFO: dvdauthor creating table of contents INFO: Scanning /dev/shm/dvd_20240116-182336/iso/VIDEO_TS/VTS_01_0.IFO To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /dev/shm/dvd_20240116-182336/iso Завершено
====
you probably need to tweak dvdauthor file to so our audio will be audio channel 0.
I'm thinking about making "use PCM" checkbox in (already a bit crowded) DVD creation window ..lets see now it will progress ...
example files attached ... -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
вт, 16 янв. 2024 г., 19:21 Phyllis Smith <[email protected]>:
This should still be working as documented in the manual:
Profile for bluray only, use the default bluray.m2ts or choose bluray_lpcm.m2ts for linear pulse code modulation for digitally encoding uncompressed audio information.
Note, this procedure for DVD (smaller 4.7Gb disks) not their bigger and bluer brothers :)
On Tue, Jan 16, 2024 at 8:52 AM Andrew Randrianasulu via Cin < [email protected]> wrote:
Start cinelerra-gg from terminal so you can see terminal output
Open your source in cinelerra-gg as usual, choice format settings, go to DVD creation window.
Select all values as you need, click ok, wait for batchrender window to appear
In it, select second line and change codec to RAW PCM, and set it to 16 bit, signed, byteorder Lo-Hi (big endian)
click "start". Cingg will finish but job is not!
from terminal, note location of dvd.sh file and open it in editor
running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading.
so
mcedit /dev/shm//dvd_20240116-182336/dvd.sh
and set mplex parameter " -L 48000:2:16" so full string will look like
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
note, lpcm extension is important!
now mv pcm file into same but with new extension (in theory you can change audio file extension into lpcm at batchrender window, not tested)
mv /dev/shm//dvd_20240116-182336/dvd.pcm /dev/shm//dvd_20240116-182336/dvd.lpcm
run script:
bash-5.1$ /dev/shm//dvd_20240116-182336/dvd.sh running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.m2v looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.lpcm looks like an LPCM Audio stream. INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options! INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting dvdauthor DVD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/dvd_20240116-182336/dvd.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 16:9 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 9000000 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: LPCM Audio stream 00 (/dev/shm/dvd_20240116-182336/dvd.lpcm) INFO: [mplex] LPCM AUDIO STREAM: INFO: [mplex] Bit rate : 192000 bytes/sec (1536000) bit/sec) INFO: [mplex] Channels : 2 INFO: [mplex] Bits per sample: 16 INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 10753200 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Run-in delay = 10800 Video delay = 10800 Audio delay = 14400 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM bd completed INFO: [mplex] Multiplex completion at SCR=265362. INFO: [mplex] Video e0: completed INFO: [mplex] Audio bd: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 3101158 bytes INFO: [mplex] Sequence headers: 5 INFO: [mplex] Sequence ends : 0 INFO: [mplex] No. Pictures : 75 INFO: [mplex] No. Groups : 5 INFO: [mplex] No. I Frames : 5 avg. size 51909 bytes INFO: [mplex] No. P Frames : 71 avg. size 39569 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 8160800 bits/sec INFO: [mplex] Peak bit-rate : 8992000 bits/sec INFO: [mplex] BUFFERING min 22252 Buf max 219233 INFO: [mplex] AUDIO_STATISTICS: bd INFO: [mplex] Audio stream length 583680 bytes. INFO: [mplex] Frames : 1823 INFO: [mplex] BUFFERING min 12112 Buf max 52344 INFO: [mplex] MUX STATUS: no under-runs detected. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig Send bug reports to <[email protected]>
INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01
STAT: Processing /dev/shm/dvd_20240116-182336/dvd.mpg...
INFO: Video pts = 0.160 .. 3.160 INFO: Audio[16] pts = 0.160 .. 3.200 STAT: VOBU 5 at 3MB, 1 PGCs CHAPTERS: VTS[1/1] 0.000 INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 16:9 INFO: Resolution: 720x576 INFO: Audio ch 0 format: ac3/6ch, 48khz drc, 'en' WARN: Audio ch 0 is not used! INFO: Audio ch 1 format: pcm/2ch, 48khz 16bps
STAT: fixed 5 VOBUs INFO: dvdauthor creating table of contents INFO: Scanning /dev/shm/dvd_20240116-182336/iso/VIDEO_TS/VTS_01_0.IFO To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /dev/shm/dvd_20240116-182336/iso Завершено
====
you probably need to tweak dvdauthor file to so our audio will be audio channel 0.
I'm thinking about making "use PCM" checkbox in (already a bit crowded) DVD creation window ..lets see now it will progress ...
example files attached ... -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
I plan on testing this now that I realize it is for DVD! and hopefully add to manual. On Tue, Jan 16, 2024 at 8:52 AM Andrew Randrianasulu via Cin < [email protected]> wrote:
Start cinelerra-gg from terminal so you can see terminal output
Open your source in cinelerra-gg as usual, choice format settings, go to DVD creation window.
Select all values as you need, click ok, wait for batchrender window to appear
In it, select second line and change codec to RAW PCM, and set it to 16 bit, signed, byteorder Lo-Hi (big endian)
click "start". Cingg will finish but job is not!
from terminal, note location of dvd.sh file and open it in editor
running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading.
so
mcedit /dev/shm//dvd_20240116-182336/dvd.sh
and set mplex parameter " -L 48000:2:16" so full string will look like
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
note, lpcm extension is important!
now mv pcm file into same but with new extension (in theory you can change audio file extension into lpcm at batchrender window, not tested)
mv /dev/shm//dvd_20240116-182336/dvd.pcm /dev/shm//dvd_20240116-182336/dvd.lpcm
run script:
bash-5.1$ /dev/shm//dvd_20240116-182336/dvd.sh running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.m2v looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.lpcm looks like an LPCM Audio stream. INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options! INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting dvdauthor DVD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/dvd_20240116-182336/dvd.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 16:9 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 9000000 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: LPCM Audio stream 00 (/dev/shm/dvd_20240116-182336/dvd.lpcm) INFO: [mplex] LPCM AUDIO STREAM: INFO: [mplex] Bit rate : 192000 bytes/sec (1536000) bit/sec) INFO: [mplex] Channels : 2 INFO: [mplex] Bits per sample: 16 INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 10753200 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Run-in delay = 10800 Video delay = 10800 Audio delay = 14400 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM bd completed INFO: [mplex] Multiplex completion at SCR=265362. INFO: [mplex] Video e0: completed INFO: [mplex] Audio bd: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 3101158 bytes INFO: [mplex] Sequence headers: 5 INFO: [mplex] Sequence ends : 0 INFO: [mplex] No. Pictures : 75 INFO: [mplex] No. Groups : 5 INFO: [mplex] No. I Frames : 5 avg. size 51909 bytes INFO: [mplex] No. P Frames : 71 avg. size 39569 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 8160800 bits/sec INFO: [mplex] Peak bit-rate : 8992000 bits/sec INFO: [mplex] BUFFERING min 22252 Buf max 219233 INFO: [mplex] AUDIO_STATISTICS: bd INFO: [mplex] Audio stream length 583680 bytes. INFO: [mplex] Frames : 1823 INFO: [mplex] BUFFERING min 12112 Buf max 52344 INFO: [mplex] MUX STATUS: no under-runs detected. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig Send bug reports to <[email protected]>
INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01
STAT: Processing /dev/shm/dvd_20240116-182336/dvd.mpg...
INFO: Video pts = 0.160 .. 3.160 INFO: Audio[16] pts = 0.160 .. 3.200 STAT: VOBU 5 at 3MB, 1 PGCs CHAPTERS: VTS[1/1] 0.000 INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 16:9 INFO: Resolution: 720x576 INFO: Audio ch 0 format: ac3/6ch, 48khz drc, 'en' WARN: Audio ch 0 is not used! INFO: Audio ch 1 format: pcm/2ch, 48khz 16bps
STAT: fixed 5 VOBUs INFO: dvdauthor creating table of contents INFO: Scanning /dev/shm/dvd_20240116-182336/iso/VIDEO_TS/VTS_01_0.IFO To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /dev/shm/dvd_20240116-182336/iso Завершено
====
you probably need to tweak dvdauthor file to so our audio will be audio channel 0.
I'm thinking about making "use PCM" checkbox in (already a bit crowded) DVD creation window ..lets see now it will progress ...
example files attached ... -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Den 16.01.2024 16:34, skrev Andrew Randrianasulu:
Start cinelerra-gg from terminal so you can see terminal output
Open your source in cinelerra-gg as usual, choice format settings, go to DVD creation window.
What source, a DV file, and should this be a Raw "PCM Audio CD" without video? I ask because as default on the next Batchrender window only the Video track is checked, while the Audio track is unchecked and locked.
Select all values as you need, click ok, wait for batchrender window to appear
In it, select second line and change codec to RAW PCM, and set it to 16 bit, signed, byteorder Lo-Hi (big endian)
Now the Audio track is being checked, while the Video track is being uncheked and locked. What I don't see, is the possibility to make a DVD Video with PCM audio from the source DV file? like this: Input #0, mpeg, from '/run/media/terje/Seagate_8TB_back/video/DVD/paldvdhqFS+pcm_PS_DVD_dv01/movies/movie_0.mpg': Duration: 00:09:56.48, start: 0.540000, bitrate: 9655 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
click "start". Cingg will finish but job is not!
from terminal, note location of dvd.sh file and open it in editor
running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading.
so
mcedit /dev/shm//dvd_20240116-182336/dvd.sh
and set mplex parameter " -L 48000:2:16" so full string will look like
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
note, lpcm extension is important!
now mv pcm file into same but with new extension (in theory you can change audio file extension into lpcm at batchrender window, not tested)
mv /dev/shm//dvd_20240116-182336/dvd.pcm /dev/shm//dvd_20240116-182336/dvd.lpcm
run script:
bash-5.1$ /dev/shm//dvd_20240116-182336/dvd.sh running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.m2v looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.lpcm looks like an LPCM Audio stream. INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options! INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting dvdauthor DVD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/dvd_20240116-182336/dvd.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 16:9 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 9000000 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: LPCM Audio stream 00 (/dev/shm/dvd_20240116-182336/dvd.lpcm) INFO: [mplex] LPCM AUDIO STREAM: INFO: [mplex] Bit rate : 192000 bytes/sec (1536000) bit/sec) INFO: [mplex] Channels : 2 INFO: [mplex] Bits per sample: 16 INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 10753200 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Run-in delay = 10800 Video delay = 10800 Audio delay = 14400 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM bd completed INFO: [mplex] Multiplex completion at SCR=265362. INFO: [mplex] Video e0: completed INFO: [mplex] Audio bd: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 3101158 bytes INFO: [mplex] Sequence headers: 5 INFO: [mplex] Sequence ends : 0 INFO: [mplex] No. Pictures : 75 INFO: [mplex] No. Groups : 5 INFO: [mplex] No. I Frames : 5 avg. size 51909 bytes INFO: [mplex] No. P Frames : 71 avg. size 39569 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 8160800 bits/sec INFO: [mplex] Peak bit-rate : 8992000 bits/sec INFO: [mplex] BUFFERING min 22252 Buf max 219233 INFO: [mplex] AUDIO_STATISTICS: bd INFO: [mplex] Audio stream length 583680 bytes. INFO: [mplex] Frames : 1823 INFO: [mplex] BUFFERING min 12112 Buf max 52344 INFO: [mplex] MUX STATUS: no under-runs detected. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig Send bug reports to<[email protected]>
INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01
STAT: Processing /dev/shm/dvd_20240116-182336/dvd.mpg...
INFO: Video pts = 0.160 .. 3.160 INFO: Audio[16] pts = 0.160 .. 3.200 STAT: VOBU 5 at 3MB, 1 PGCs CHAPTERS: VTS[1/1] 0.000 INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 16:9 INFO: Resolution: 720x576 INFO: Audio ch 0 format: ac3/6ch, 48khz drc, 'en' WARN: Audio ch 0 is not used! INFO: Audio ch 1 format: pcm/2ch, 48khz 16bps
STAT: fixed 5 VOBUs INFO: dvdauthor creating table of contents INFO: Scanning /dev/shm/dvd_20240116-182336/iso/VIDEO_TS/VTS_01_0.IFO To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /dev/shm/dvd_20240116-182336/iso Завершено
====
you probably need to tweak dvdauthor file to so our audio will be audio channel 0.
I'm thinking about making "use PCM" checkbox in (already a bit crowded) DVD creation window ..lets see now it will progress ...
example files attached ...
Den 19.01.2024 00:46, skrev Terje J. Hanssen:
Den 16.01.2024 16:34, skrev Andrew Randrianasulu:
Start cinelerra-gg from terminal so you can see terminal output
Open your source in cinelerra-gg as usual, choice format settings, go to DVD creation window.
What source, a DV file, and should this be a Raw "PCM Audio CD" without video? I ask because as default on the next Batchrender window only the Video track is checked, while the Audio track is unchecked and locked.
Select all values as you need, click ok, wait for batchrender window to appear
In it, select second line and change codec to RAW PCM, and set it to 16 bit, signed, byteorder Lo-Hi (big endian)
Now the Audio track is being checked, while the Video track is being uncheked and locked.
What I don't see, is the possibility to make a DVD Video with PCM audio from the source DV file?
like this:
Input #0, mpeg, from '/run/media/terje/Seagate_8TB_back/video/DVD/paldvdhqFS+pcm_PS_DVD_dv01/movies/movie_0.mpg': Duration: 00:09:56.48, start: 0.540000, bitrate: 9655 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
Yes, you know, and HDV MP2 audio 384 kb/s should optional also fit well.
click "start". Cingg will finish but job is not!
from terminal, note location of dvd.sh file and open it in editor
running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading.
so
mcedit /dev/shm//dvd_20240116-182336/dvd.sh
and set mplex parameter " -L 48000:2:16" so full string will look like
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
note, lpcm extension is important!
now mv pcm file into same but with new extension (in theory you can change audio file extension into lpcm at batchrender window, not tested)
mv /dev/shm//dvd_20240116-182336/dvd.pcm /dev/shm//dvd_20240116-182336/dvd.lpcm
run script:
bash-5.1$ /dev/shm//dvd_20240116-182336/dvd.sh running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.m2v looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.lpcm looks like an LPCM Audio stream. INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options! INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting dvdauthor DVD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/dvd_20240116-182336/dvd.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 16:9 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 9000000 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: LPCM Audio stream 00 (/dev/shm/dvd_20240116-182336/dvd.lpcm) INFO: [mplex] LPCM AUDIO STREAM: INFO: [mplex] Bit rate : 192000 bytes/sec (1536000) bit/sec) INFO: [mplex] Channels : 2 INFO: [mplex] Bits per sample: 16 INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 10753200 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Run-in delay = 10800 Video delay = 10800 Audio delay = 14400 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM bd completed INFO: [mplex] Multiplex completion at SCR=265362. INFO: [mplex] Video e0: completed INFO: [mplex] Audio bd: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 3101158 bytes INFO: [mplex] Sequence headers: 5 INFO: [mplex] Sequence ends : 0 INFO: [mplex] No. Pictures : 75 INFO: [mplex] No. Groups : 5 INFO: [mplex] No. I Frames : 5 avg. size 51909 bytes INFO: [mplex] No. P Frames : 71 avg. size 39569 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 8160800 bits/sec INFO: [mplex] Peak bit-rate : 8992000 bits/sec INFO: [mplex] BUFFERING min 22252 Buf max 219233 INFO: [mplex] AUDIO_STATISTICS: bd INFO: [mplex] Audio stream length 583680 bytes. INFO: [mplex] Frames : 1823 INFO: [mplex] BUFFERING min 12112 Buf max 52344 INFO: [mplex] MUX STATUS: no under-runs detected. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig Send bug reports to<[email protected]>
INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01
STAT: Processing /dev/shm/dvd_20240116-182336/dvd.mpg...
INFO: Video pts = 0.160 .. 3.160 INFO: Audio[16] pts = 0.160 .. 3.200 STAT: VOBU 5 at 3MB, 1 PGCs CHAPTERS: VTS[1/1] 0.000 INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 16:9 INFO: Resolution: 720x576 INFO: Audio ch 0 format: ac3/6ch, 48khz drc, 'en' WARN: Audio ch 0 is not used! INFO: Audio ch 1 format: pcm/2ch, 48khz 16bps
STAT: fixed 5 VOBUs INFO: dvdauthor creating table of contents INFO: Scanning /dev/shm/dvd_20240116-182336/iso/VIDEO_TS/VTS_01_0.IFO To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /dev/shm/dvd_20240116-182336/iso Завершено
====
you probably need to tweak dvdauthor file to so our audio will be audio channel 0.
I'm thinking about making "use PCM" checkbox in (already a bit crowded) DVD creation window ..lets see now it will progress ...
example files attached ...
On Tue, Jan 16, 2024 at 6:34 PM Andrew Randrianasulu <[email protected]> wrote:
Start cinelerra-gg from terminal so you can see terminal output
Open your source in cinelerra-gg as usual, choice format settings, go to DVD creation window.
Select all values as you need, click ok, wait for batchrender window to appear
In it, select second line and change codec to RAW PCM, and set it to 16 bit, signed, byteorder Lo-Hi (big endian)
click "start". Cingg will finish but job is not!
from terminal, note location of dvd.sh file and open it in editor
running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading.
so
mcedit /dev/shm//dvd_20240116-182336/dvd.sh
and set mplex parameter " -L 48000:2:16" so full string will look like
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
note, lpcm extension is important!
now mv pcm file into same but with new extension (in theory you can change audio file extension into lpcm at batchrender window, not tested)
mv /dev/shm//dvd_20240116-182336/dvd.pcm /dev/shm//dvd_20240116-182336/dvd.lpcm
run script:
bash-5.1$ /dev/shm//dvd_20240116-182336/dvd.sh running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.m2v looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.lpcm looks like an LPCM Audio stream. INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options! INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting dvdauthor DVD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/dvd_20240116-182336/dvd.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 16:9 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 9000000 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: LPCM Audio stream 00 (/dev/shm/dvd_20240116-182336/dvd.lpcm) INFO: [mplex] LPCM AUDIO STREAM: INFO: [mplex] Bit rate : 192000 bytes/sec (1536000) bit/sec) INFO: [mplex] Channels : 2 INFO: [mplex] Bits per sample: 16 INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 10753200 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Run-in delay = 10800 Video delay = 10800 Audio delay = 14400 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM bd completed INFO: [mplex] Multiplex completion at SCR=265362. INFO: [mplex] Video e0: completed INFO: [mplex] Audio bd: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 3101158 bytes INFO: [mplex] Sequence headers: 5 INFO: [mplex] Sequence ends : 0 INFO: [mplex] No. Pictures : 75 INFO: [mplex] No. Groups : 5 INFO: [mplex] No. I Frames : 5 avg. size 51909 bytes INFO: [mplex] No. P Frames : 71 avg. size 39569 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 8160800 bits/sec INFO: [mplex] Peak bit-rate : 8992000 bits/sec INFO: [mplex] BUFFERING min 22252 Buf max 219233 INFO: [mplex] AUDIO_STATISTICS: bd INFO: [mplex] Audio stream length 583680 bytes. INFO: [mplex] Frames : 1823 INFO: [mplex] BUFFERING min 12112 Buf max 52344 INFO: [mplex] MUX STATUS: no under-runs detected. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig Send bug reports to <[email protected]>
INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01
STAT: Processing /dev/shm/dvd_20240116-182336/dvd.mpg...
INFO: Video pts = 0.160 .. 3.160 INFO: Audio[16] pts = 0.160 .. 3.200 STAT: VOBU 5 at 3MB, 1 PGCs CHAPTERS: VTS[1/1] 0.000 INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 16:9 INFO: Resolution: 720x576 INFO: Audio ch 0 format: ac3/6ch, 48khz drc, 'en' WARN: Audio ch 0 is not used! INFO: Audio ch 1 format: pcm/2ch, 48khz 16bps
STAT: fixed 5 VOBUs INFO: dvdauthor creating table of contents INFO: Scanning /dev/shm/dvd_20240116-182336/iso/VIDEO_TS/VTS_01_0.IFO To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /dev/shm/dvd_20240116-182336/iso Завершено
====
you probably need to tweak dvdauthor file to so our audio will be audio channel 0.
ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is supported, even by ffmpeg's dvd pcm encoder. Also, I am having trouble getting real audio out of it, even if parameters seems correct so, I think we can scrap this for now :/ On the other hand we have Mpeg Audio as standart choice, and there you can select "Layer II" instead of default "Layer III" but MP2 only supports stereo normally (multichannel extension not implemented)
I'm thinking about making "use PCM" checkbox in (already a bit crowded) DVD creation window ..lets see now it will progress ...
example files attached ...
Den 19.01.2024 14:42, skrev Andrew Randrianasulu:
On Tue, Jan 16, 2024 at 6:34 PM Andrew Randrianasulu <[email protected]> wrote:
Start cinelerra-gg from terminal so you can see terminal output
Open your source in cinelerra-gg as usual, choice format settings, go to DVD creation window.
Select all values as you need, click ok, wait for batchrender window to appear
In it, select second line and change codec to RAW PCM, and set it to 16 bit, signed, byteorder Lo-Hi (big endian)
click "start". Cingg will finish but job is not!
from terminal, note location of dvd.sh file and open it in editor
running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading.
so
mcedit /dev/shm//dvd_20240116-182336/dvd.sh
and set mplex parameter " -L 48000:2:16" so full string will look like
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
note, lpcm extension is important!
now mv pcm file into same but with new extension (in theory you can change audio file extension into lpcm at batchrender window, not tested)
mv /dev/shm//dvd_20240116-182336/dvd.pcm /dev/shm//dvd_20240116-182336/dvd.lpcm
run script:
bash-5.1$ /dev/shm//dvd_20240116-182336/dvd.sh running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.m2v looks like an MPEG Video stream. INFO: [mplex] File /dev/shm/dvd_20240116-182336/dvd.lpcm looks like an LPCM Audio stream. INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options! INFO: [mplex] Found 1 audio streams, 1 video streams and 0 subtitle streams INFO: [mplex] Selecting dvdauthor DVD output profile INFO: [mplex] Multiplexing video program stream! INFO: [mplex] Scanning for header info: Video stream e0 (/dev/shm/dvd_20240116-182336/dvd.m2v) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 16:9 display INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 9000000 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: LPCM Audio stream 00 (/dev/shm/dvd_20240116-182336/dvd.lpcm) INFO: [mplex] LPCM AUDIO STREAM: INFO: [mplex] Bit rate : 192000 bytes/sec (1536000) bit/sec) INFO: [mplex] Channels : 2 INFO: [mplex] Bits per sample: 16 INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 10753200 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Run-in delay = 10800 Video delay = 10800 Audio delay = 14400 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000 INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000 INFO: [mplex] STREAM e0 completed INFO: [mplex] STREAM bd completed INFO: [mplex] Multiplex completion at SCR=265362. INFO: [mplex] Video e0: completed INFO: [mplex] Audio bd: completed INFO: [mplex] VIDEO_STATISTICS: e0 INFO: [mplex] Video Stream length: 3101158 bytes INFO: [mplex] Sequence headers: 5 INFO: [mplex] Sequence ends : 0 INFO: [mplex] No. Pictures : 75 INFO: [mplex] No. Groups : 5 INFO: [mplex] No. I Frames : 5 avg. size 51909 bytes INFO: [mplex] No. P Frames : 71 avg. size 39569 bytes INFO: [mplex] No. B Frames : 0 avg. size 0 bytes INFO: [mplex] Average bit-rate : 8160800 bits/sec INFO: [mplex] Peak bit-rate : 8992000 bits/sec INFO: [mplex] BUFFERING min 22252 Buf max 219233 INFO: [mplex] AUDIO_STATISTICS: bd INFO: [mplex] Audio stream length 583680 bytes. INFO: [mplex] Frames : 1823 INFO: [mplex] BUFFERING min 12112 Buf max 52344 INFO: [mplex] MUX STATUS: no under-runs detected. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig Send bug reports to<[email protected]>
INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01
STAT: Processing /dev/shm/dvd_20240116-182336/dvd.mpg...
INFO: Video pts = 0.160 .. 3.160 INFO: Audio[16] pts = 0.160 .. 3.200 STAT: VOBU 5 at 3MB, 1 PGCs CHAPTERS: VTS[1/1] 0.000 INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 16:9 INFO: Resolution: 720x576 INFO: Audio ch 0 format: ac3/6ch, 48khz drc, 'en' WARN: Audio ch 0 is not used! INFO: Audio ch 1 format: pcm/2ch, 48khz 16bps
STAT: fixed 5 VOBUs INFO: dvdauthor creating table of contents INFO: Scanning /dev/shm/dvd_20240116-182336/iso/VIDEO_TS/VTS_01_0.IFO To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /dev/shm/dvd_20240116-182336/iso Завершено
====
you probably need to tweak dvdauthor file to so our audio will be audio channel 0. ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is supported, even by ffmpeg's dvd pcm encoder.
Also, I am having trouble getting real audio out of it, even if parameters seems correct
so, I think we can scrap this for now :/
BD Render has a button use tsmuxer on BD Render. Could DeVeDe be an option on DVD Render using FFmpeg encoding of MPEG-2/PCM?
On the other hand we have Mpeg Audio as standart choice, and there you can select "Layer II" instead of default "Layer III"
but MP2 only supports stereo normally (multichannel extension not implemented)
I'm thinking about making "use PCM" checkbox in (already a bit crowded) DVD creation window ..lets see now it will progress ...
example files attached ...
For inclusion in the Manual based on Andrew's work is the text below. Let me know if it needs changes. Note, that I did not find the following exception. I tested audio at 8K and 80K with no problem.
ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is supported, even by ffmpeg's dvd pcm encoder.
*DVD with LPCM audio *(new small section) By default, the audio when creating a DVD is always AC3 (Arc Consistency Algorithm 3). However you can switch to PCM, Pulse Code Modulator, with just a few additional steps as outlined below. 0) Start CinGG from a terminal window so you will be able to see what is happening. 1) Make sure you have your video with audio loaded and edited in CinGG to your satisfaction. 2) Use the File pulldown and select the "DVD Render" option. 3) In the Create DVD window, accept the defaults or select different values and then click OK. 4) When the Batch Render window pops up, in the big box towards the bottom will be 2 lines with the first line for Video already highlighted. Instead, click on the second line so that it is highlighted. 5) On the top left, you will see the "File Format" set as AC3. Use the down arrow next to the box and change it to "Raw PCM" by clicking on it. 6) When you switch to Raw PCM, you see the extension in the "Output path" change to "pcm" instead of "ac3". Now just reset the extension from "pcm" to "lpcm" as that is required. In most cases if you click on the Audio wrench to see the settings, you will find that the standard settings of 16 bit Linear / Hi Lo work. If not, experiment for alternatives. 7) Now click on the "Start" box in the bottom left hand corner and CinGG will process what it can of the job and put you back at your terminal startup window. 8) You will see a few lines of output, some of which are shown below, and the ERROR: running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading. 8) Change directory to the location as shown on the terminal window of dvd.sh. 9) Using an editor, modify the line in dvd.sh to change "dvd.ac3" to "dvd.lpcm" and change the mplex parameter to include: -L 48000:2:16 The full line will look like this: mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm 10) Now the script is ready to run in the same manner it would have had it been ac3. That is just run via: ./dvd.sh 11) Check to make sure there are no errors in the output shown on the window and proceed as usual. ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is
supported, even by ffmpeg's dvd pcm encoder.
When this text has passed the last revision, let me know that I will put it in latex in the manual.
When this text has passed the last revision, let me know that I will put it in latex in the manual.
OK, thank you Andrea! One correction already is to add the second line below that is in Bold letters. 3) In the Create DVD window, accept the defaults or select different values
and then click OK. *Note: do NOT check "Use FFMPEG" as this procedure will not work in that case.* 4) When the Batch Render window pops up, in the big box towards the bottom will be 2 lines
On Tue, Jan 23, 2024 at 11:58 PM Phyllis Smith <[email protected]> wrote:
For inclusion in the Manual based on Andrew's work is the text below. Let me know if it needs changes. Note, that I did not find the following exception. I tested audio at 8K and 80K with no problem.
ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is supported, even by ffmpeg's dvd pcm encoder.
DVD with LPCM audio (new small section)
By default, the audio when creating a DVD is always AC3 (Arc Consistency Algorithm 3). However you can switch to PCM, Pulse Code Modulator, with just a few additional steps as outlined below.
0) Start CinGG from a terminal window so you will be able to see what is happening. 1) Make sure you have your video with audio loaded and edited in CinGG to your satisfaction. 2) Use the File pulldown and select the "DVD Render" option. 3) In the Create DVD window, accept the defaults or select different values and then click OK. 4) When the Batch Render window pops up, in the big box towards the bottom will be 2 lines with the first line for Video already highlighted. Instead, click on the second line so that it is highlighted. 5) On the top left, you will see the "File Format" set as AC3. Use the down arrow next to the box and change it to "Raw PCM" by clicking on it. 6) When you switch to Raw PCM, you see the extension in the "Output path" change to "pcm" instead of "ac3". Now just reset the extension from "pcm" to "lpcm" as that is required. In most cases if you click on the Audio wrench to see the settings, you will find that the standard settings of 16 bit Linear / Hi Lo work. If not, experiment for alternatives. 7) Now click on the "Start" box in the bottom left hand corner and CinGG will process what it can of the job and put you back at your terminal startup window. 8) You will see a few lines of output, some of which are shown below, and the ERROR:
running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading.
8) Change directory to the location as shown on the terminal window of dvd.sh. 9) Using an editor, modify the line in dvd.sh to change "dvd.ac3" to "dvd.lpcm" and change the mplex parameter to include:
-L 48000:2:16
The full line will look like this:
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
10) Now the script is ready to run in the same manner it would have had it been ac3. That is just run via: ./dvd.sh 11) Check to make sure there are no errors in the output shown on the window and proceed as usual.
I think it also important to remember only 48Khz/16 bit/2 ch will relatively omfortably sit with our default video bitrate. For anything bigger you need to lower video bitrate, as complete stream rate fixed at max 9.8Mbit/s from memory ... Also, how was audio level? You also can change dvdauthor xml part as exist in dvd.sh so it says "pcm" instead of "ac3" - mostly cosmetical due to dvdauthor ignoring empty channel and adding our audio as next stream (1 vs 0)
ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is supported, even by ffmpeg's dvd pcm encoder.
On Tue, Jan 23, 2024 at 11:58 PM Phyllis Smith <[email protected]> wrote:
For inclusion in the Manual based on Andrew's work is the text below. Let me know if it needs changes. Note, that I did not find the following exception. I tested audio at 8K and 80K with no problem.
Are you sure you saw no problem when resulting mpg?VOB was loaded back into cingg? I think wrongly-sampled pcm audio will just change its length .. :(
ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is supported, even by ffmpeg's dvd pcm encoder.
DVD with LPCM audio (new small section)
By default, the audio when creating a DVD is always AC3 (Arc Consistency Algorithm 3). However you can switch to PCM, Pulse Code Modulator, with just a few additional steps as outlined below.
0) Start CinGG from a terminal window so you will be able to see what is happening. 1) Make sure you have your video with audio loaded and edited in CinGG to your satisfaction. 2) Use the File pulldown and select the "DVD Render" option. 3) In the Create DVD window, accept the defaults or select different values and then click OK. 4) When the Batch Render window pops up, in the big box towards the bottom will be 2 lines with the first line for Video already highlighted. Instead, click on the second line so that it is highlighted. 5) On the top left, you will see the "File Format" set as AC3. Use the down arrow next to the box and change it to "Raw PCM" by clicking on it. 6) When you switch to Raw PCM, you see the extension in the "Output path" change to "pcm" instead of "ac3". Now just reset the extension from "pcm" to "lpcm" as that is required. In most cases if you click on the Audio wrench to see the settings, you will find that the standard settings of 16 bit Linear / Hi Lo work. If not, experiment for alternatives. 7) Now click on the "Start" box in the bottom left hand corner and CinGG will process what it can of the job and put you back at your terminal startup window. 8) You will see a few lines of output, some of which are shown below, and the ERROR:
running /dev/shm//dvd_20240116-182336/dvd.sh INFO: [mplex] mplex version 2.1.0 (2.2.7 $Date: 2012/11/17 01:55:16 $) **ERROR: [mplex] Unable to open file /dev/shm/dvd_20240116-182336/dvd.ac3 for reading.
8) Change directory to the location as shown on the terminal window of dvd.sh. 9) Using an editor, modify the line in dvd.sh to change "dvd.ac3" to "dvd.lpcm" and change the mplex parameter to include:
-L 48000:2:16
The full line will look like this:
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
10) Now the script is ready to run in the same manner it would have had it been ac3. That is just run via: ./dvd.sh 11) Check to make sure there are no errors in the output shown on the window and proceed as usual.
ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is supported, even by ffmpeg's dvd pcm encoder.
Andrew,
Are you sure you saw no problem when resulting mpg?VOB was loaded back into cingg? I think wrongly-sampled pcm audio will just change its length .. :(
That is what I found so different from you, but maybe my cases were too simple. I will find some different cases to test, but I found no problems when just taking the defaults and not changing any values.
ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is supported, even by ffmpeg's dvd pcm encoder.
And I did not find this result either. I changed in Settings->Format to audio of 80 and 8000 and it worked just fine. Plus the audio level was correct and not too loud. If you have a video/audio that gave you strange results, you can send it to me privately so I can check.
ср, 24 янв. 2024 г., 02:30 Phyllis Smith <[email protected]>:
Andrew,
Are you sure you saw no problem when resulting mpg?VOB was loaded back into cingg? I think wrongly-sampled pcm audio will just change its length .. :(
That is what I found so different from you, but maybe my cases were too simple. I will find some different cases to test, but I found no problems when just taking the defaults and not changing any values.
hm. I am fairly sure you did something wrong, like not deleting *.mpg file between tests ...I stepped on so many rakes!
ALSO, IMPORTANT! Audio must be 48Khz or 96Khz, nothing else is supported, even by ffmpeg's dvd pcm encoder.
And I did not find this result either. I changed in Settings->Format to audio of 80 and 8000 and it worked just fine. Plus the audio level was correct and not too loud.
If you have a video/audio that gave you strange results, you can send it to me privately so I can check.
No, I used 200mb big voxnews.dv from samples.mplayerhq.hu
The confusion is I did NOT use video input of type DV, but rather mp4 and mpeg. So I need to clarify the suggested procedure to stipulate it is for creating DVDs from user video rather than DV video. I will now test on DV video and make appropriate changes in the document.
Are you sure you saw no problem when resulting mpg?VOB was loaded back into cingg? I think wrongly-sampled pcm audio will just change its length .. :(
That is what I found so different from you, but maybe my cases were too simple. I will find some different cases to test, but I found no problems when just taking the defaults and not changing any values.
hm. I am fairly sure you did something wrong, like not deleting *.mpg file between tests ...I stepped on so many rakes! ...
No, I used 200mb big voxnews.dv from samples.mplayerhq.hu
OK, I will test one of these and fix document tomorrow.
I can not find any problems with the outlined procedure after much more testing to include: 1) started out with new bcast5 so Cinelerra_rc 2) used procedure on karacson.avi (44100) from the url provided; no problems seen and created DVD media and played correctly on TV 3) used procedure on pond.dv from the url provided; ditto above 4) tested on latest Fedora 39 operating system 5) tested on 32-bit Debian 4.9.228 installed 7/2020 with no problems; however, only certain type files can be loaded on this old operating system - pond.dv worked Did not have any bitrate problems AND used default of Raw PCM parameters (16 bit / Signed / Hi Lo). One more test I will do is on a very old 32-bit Slackware just to see if CinGG still compiles and if DVD render works. The confusion is I did NOT use video input of type DV, but rather mp4 and
mpeg. So I need to clarify the suggested procedure to stipulate it is for creating DVDs from user video rather than DV video. I will now test on DV video and make appropriate changes in the document. ...
No, I used 200mb big voxnews.dv from samples.mplayerhq.hu
OK, I will test one of these and fix document tomorrow.
Den 23.01.2024 21:58, skrev Phyllis Smith:
For inclusion in the Manual based on Andrew's work is the text below. Let me know if it needs changes. ..............
8) Change directory to the location as shown on the terminal window of dvd.sh. 9) Using an editor, modify the line in dvd.sh to change "dvd.ac3" to "dvd.lpcm"
There is also a second line in dvd.sh containing "ac3": <audio format="ac3" lang="en"/> Shouldn't also "ac3" in this line be replaced by "lpcm"? If I do so, running the script results in INFO: default video format is PAL ERR: Cannot parse audio option 'lpcm' ----------- dvd.mpg is created and looks ok with lpcm included But the iso is empty!?
and change the mplex parameter to include:
-L 48000:2:16
The full line will look like this:
mplex -f 8 -L 48000:2:16 -o $dir/dvd.mpg $dir/dvd.m2v $dir/dvd.lpcm
10) Now the script is ready to run in the same manner it would have had it been ac3. That is just run via: ./dvd.sh 11) Check to make sure there are no errors in the output shown on the window and proceed as usual.
Terje, I had to stop and try it before responding.
There is also a second line in dvd.sh containing "ac3": <audio format="ac3" lang="en"/> Shouldn't also "ac3" in this line be replaced by "lpcm"?
No, apparently not -- I tested by changing it to both lpcm and pcm but apparently "dvdauthor" does not like that with the rest of the parameters. I will look to see if I can figure out why.
If I do so, running the script results in
INFO: default video format is PAL ERR: Cannot parse audio option 'lpcm' -----------
dvd.mpg is created and looks ok with lpcm included
But the iso is empty!?
Yes, I got an empty iso too.
OK, more testing. You can change it to just "pcm" and that will create the iso. "lpcm" does not work and I have not determined what the "l" stands for. I will experiment using just "pcm" and fix the Manual document. There is also a second line in dvd.sh containing "ac3":
<audio format="ac3" lang="en"/> Shouldn't also "ac3" in this line be replaced by "lpcm"?
If I do so, running the script results in
INFO: default video format is PAL ERR: Cannot parse audio option 'lpcm' -----------
dvd.mpg is created and looks ok with lpcm included
But the iso is empty!?
Strange but "mplex" requires an extension of "lpcm" or else you get the following error:
**ERROR: [mplex] File /tmp/dvd_20240130-160930/dvd.pcm unrecogniseable!
bash: **ERROR:: command not found... But, "dvdauthor" only creates the iso files if <audio format="pcm" lang="en"/> without the "l" on "pcm". However, my LG connected to the TV does report the audio as "PCM" even when I did not change the second "ac3" in dvd.sh. And it has always reported "AC3" when I just took the defaults and then when used Mpeg Audio of Layer II or III, it reported it as just MPEG. According to the web, the difference between PCM and LPCM is:
In a PCM, the amplitude of the analog signal is sampled at uniform intervals. Also, every sample is quantized to the nearest value of digital steps. On the other hand, in Linear pulse-code modulation (LPCM), every sample is quantized uniformly and offers lossless transmission of audio signals
OK, more testing. You can change it to just "pcm" and that will create the
iso. "lpcm" does not work and I have not determined what the "l" stands for. I will experiment using just "pcm" and fix the Manual document.
ср, 31 янв. 2024 г., 02:19 Phyllis Smith <[email protected]>:
Strange but "mplex" requires an extension of "lpcm" or else you get the following error:
**ERROR: [mplex] File /tmp/dvd_20240130-160930/dvd.pcm unrecogniseable!
bash: **ERROR:: command not found...
But, "dvdauthor" only creates the iso files if <audio format="pcm" lang="en"/> without the "l" on "pcm".
yeah, little inconsistence .....
However, my LG connected to the TV does report the audio as "PCM" even when I did not change the second "ac3" in dvd.sh.
I think it just plays audo stream 1 instead of audio stream 0. Pay attention to dvdauthor output in both cases. Not a big problem as long as you do not include other streams manually :) And it has always reported "AC3" when I just took the defaults and then
when used Mpeg Audio of Layer II or III, it reported it as just MPEG.
A bit unfortunate! We hoped for more info :) I tried encode2mpeg script, it semi-works, I needed to manually create 44.1 khz 6 ch aiff from wav extracted by ffmpeg ... but it mux 384khz mp2 stream. Sadly, xine/mplayer all only can decode stereo, and even wine + PowerDVD 7.0 report only stereo (powerdvd hints at absense of extension mpeg2 audio bitstream. I found pdf describing it in more details, but still not sure how it all framed/muxed ....) As noticed by some old forum posts some c-cube based DVD players (ZiVA 3, 4.1, 5) had mpeg2 audio surround support, but not sure if it survived in much newer players! also, 44.1khz pcm audio was supported by same gen. of players, one can hope support was not quietly axed!
According to the web, the difference between PCM and LPCM is:
In a PCM, the amplitude of the analog signal is sampled at uniform intervals. Also, every sample is quantized to the nearest value of digital steps. On the other hand, in Linear pulse-code modulation (LPCM), every sample is quantized uniformly and offers lossless transmission of audio signals
OK, more testing. You can change it to just "pcm" and that will create
the iso. "lpcm" does not work and I have not determined what the "l" stands for. I will experiment using just "pcm" and fix the Manual document.
Den 31.01.2024 00:04, skrev Phyllis Smith:
OK, more testing. You can change it to just "pcm" and that will create the iso. "lpcm" does not work and I have not determined what the "l" stands for. I will experiment using just "pcm" and fix the Manual document.
Can it be as stupid like that dvdauthor accept file extensions with only three caracters?
There is also a second line in dvd.sh containing "ac3": <audio format="ac3" lang="en"/> Shouldn't also "ac3" in this line be replaced by "lpcm"?
If I do so, running the script results in
INFO: default video format is PAL ERR: Cannot parse audio option 'lpcm' -----------
dvd.mpg is created and looks ok with lpcm included
But the iso is empty!?
OK, more testing. You can change it to just "pcm" and that will create the iso. "lpcm" does not work and I have not determined what the "l" stands for. I will experiment using just "pcm" and fix the Manual document.
Can it be as stupid like that dvdauthor accept file extensions with only three caracters?
Oh, that is funny! You might be right as it is pretty old software but I
have not researched any further.
participants (4)
-
Andrea paz -
Andrew Randrianasulu -
Phyllis Smith -
Terje J. Hanssen