[Cin] Procedure for making LPCM DVD
Andrew Randrianasulu
randrianasulu at gmail.com
Tue Jan 16 17:33:26 CET 2024
вт, 16 янв. 2024 г., 19:21 Phyllis Smith <phylsmith2017 at gmail.com>:
> 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 <
> cin at lists.cinelerra-gg.org> 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 <dvdauthor-users at lists.sourceforge.net>
>>
>> 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
>> Cin at lists.cinelerra-gg.org
>> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240116/36c1d02f/attachment-0001.htm>
More information about the Cin
mailing list