<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 6 мар. 2023 г., 23:00 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">randrianasulu@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 6 мар. 2023 г., 22:51 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<br>
<br>
<div>Den 06.03.2023 15:02, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">I think you need another software like
(q)dvdauthor or dvdstyler to make DVD - they use *program*
streams, not transport streams as tsMuxer creates ...</div>
</blockquote>
<br>
I thought first to use mkisofs, but didnt really find out the
relevant syntax to make a video dvd iso from the ffmpeg created
dv28.mpg file with pcm audio.<br>
<br>
Had a quick look in DVD styler, but for audio it seemed to support
only AC3 or MP2 audio.<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I think because project still active you can look at their support place and see if anyone made request for this already, or if not - log your own.</div><div dir="auto"><br></div><div dir="auto"><a href="https://sourceforge.net/p/dvdstyler/discussion/318795/thread/00ecc86f13/" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://sourceforge.net/p/dvdstyler/discussion/318795/thread/00ecc86f13/</a><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">=====</div><div dir="auto">If you use Mplex for muxing then Mplex will abort with a message that it
cannot recognize the audio stream. This is an Mplex issue. It is no
problem for Mplex to mux an LPCM audio stream, but the file must have
the extension "lpcm". You can verify this by renaming the audio file in
the DVDStyler cache folder and give it the "lpcm" extension. Then feed
the video and this renamed audio stream to Mplex for muxing, and you
will get a perfect MPEG2 file with PCM audio.<br></div><div dir="auto"><br></div><div dir="auto">====</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Also from mjpegtools mail list archive:</div><div dir="auto"><br></div><div dir="auto"><a href="https://www.mail-archive.com/mjpeg-users@lists.sourceforge.net/msg06753.html" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://www.mail-archive.com/mjpeg-users@lists.sourceforge.net/msg06753.html</a><br></div><div dir="auto"><br></div><div dir="auto"><a href="https://www.mail-archive.com/mjpeg-users@lists.sourceforge.net/msg06759.html" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://www.mail-archive.com/mjpeg-users@lists.sourceforge.net/msg06759.html</a><br></div><div dir="auto"><br></div><div dir="auto">apparently you must use one big mpeg file in this case</div><div dir="auto"><br></div><div dir="auto">=====</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div dir="auto"><p>
<a href="https://www.mail-archive.com/search?l=mjpeg-users@lists.sourceforge.net&q=from:%22bn%22" rel="noreferrer noreferrer noreferrer" target="_blank">bn</a>
<a href="https://www.mail-archive.com/search?l=mjpeg-users@lists.sourceforge.net&q=date:20060505" rel="noreferrer noreferrer noreferrer" target="_blank">Fri, 05 May 2006 20:02:05 -0700</a>
</p>
</div>
<div dir="auto">
Well folks(?),<br><br>No responses but I appear to have made some
headway, which I'll share here in case someone's out there somewhere
scratching their own head over this.<br><br>The problem seems to have to
do with dvdauthor's STC discontinuity at the chapter points when it's
fed one file per chapter; the initial pts/dts values are reset, and this
somehow throws things off during playback, even if audio and video
endpoints are perfectly aligned.<br><br>If the whole titleset is mplexed
as one mpg and then dvdauthored with chapter- point offsets, the gaps
disappear. Also, if the chapter points aren't aligned to GOP
boundaries, dvdauthor will do it anyway and shift them backwards.<br><br>Bahman</div><div dir="auto"><br></div><div dir="auto">=====</div><div dir="auto"><br></div><div dir="auto">I hope this workflow is not bitrotted. According to man page from <a href="https://linux.die.net/man/1/mplex" rel="noreferrer noreferrer" target="_blank">https://linux.die.net/man/1/mplex</a> mplex accept lpcm params:</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">===</div><div dir="auto"><br></div><div dir="auto"><dt><b>L|--lpcm-params</b>
</dt><dd><i>samples_per_sec:channels:bits_per_sample</i><br>
[, <i>samples_per_sec:channels:bits_per_sample</i> ...]<p>
A comma-seperated list of paramter sets for the lpcm audio streams
(given in the order the lpcm streams appear on the command line). Each
parameter set
comprises the sampling rate in Hz, the number of channels, and the
number of bits per sample seperated by colons. For example, the default
48kHz two-channel
16-bit audio would be specified as 48000:2:16.
</p></dd><dt>Note: these parameters are necessary because mplex expects raw LPCM
</dt><dd>audio data without any headers. That is: for each sample point a
group of 16,20, or 24 bit amplitude values, one for each channel.
Amplitude values are
signed with the constituent bytes in big-endian (most significant bytes
first) order. For 20 bit samples I am not sure but what documentation I
have suggests
such samples are padded at the lsb end so that they byte-align at the
most significant bits. </dd></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">====</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><a href="https://www.mail-archive.com/search?l=mjpeg-users%40lists.sourceforge.net&q=lpcm">https://www.mail-archive.com/search?l=mjpeg-users%40lists.sourceforge.net&q=lpcm</a><br></div><div dir="auto"><br></div><div dir="auto">some more reading from 2005-6 era.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<br>
DeVeDe:<br>
So I installed and tried "DeVeDe(NG)" - a "Video DVD creator"
program I had never heard about before recently<br>
<a href="https://www.xmodulo.com/create-video-dvd-linux-desktop.html" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://www.xmodulo.com/create-video-dvd-linux-desktop.html</a><br>
<br>
With DeVeDe I managed to create the video DVD structure and ISO, and
it offered to burn the iso with K3b automatically,<br>
With its Property/Misch buttons the selection in the middle offered:<br>
*Repack audio and video without reencoding (Useful for VOB files)<br>
<br>
The problem is that the Audio (PCM) disappeared from the dv28.mpg
input file<br>
<br>
The burned DVD from iso:<br>
<br>
tree ./DVDVIDEO -sh<br>
<blockquote>./DVDVIDEO<br>
├── [ 40] AUDIO_TS<br>
└── [ 612] VIDEO_TS<br>
├── [ 12K] VIDEO_TS.BUP<br>
├── [ 12K] VIDEO_TS.IFO<br>
├── [ 32K] VIDEO_TS.VOB<br>
├── [ 18K] VTS_01_0.BUP<br>
├── [ 18K] VTS_01_0.IFO<br>
├── [3.6M] VTS_01_0.VOB<br>
├── [ 32K] VTS_01_1.VOB<br>
├── [ 18K] VTS_02_0.BUP<br>
├── [ 18K] VTS_02_0.IFO<br>
├── [ 32K] VTS_02_0.VOB<br>
└── [133M] VTS_02_1.VOB<br>
</blockquote>
2 directories, 11 files<br>
<br>
<br>
The structure and iso created on HDD:<br>
<br>
tree . -sh<br>
<blockquote>.<br>
├── [138M] dv28_DVD.iso<br>
├── [4.0K] dvd_tree<br>
│ ├── [4.0K] AUDIO_TS<br>
│ └── [4.0K] VIDEO_TS<br>
│ ├── [ 12K] VIDEO_TS.BUP<br>
│ ├── [ 12K] VIDEO_TS.IFO<br>
│ ├── [ 32K] VIDEO_TS.VOB<br>
│ ├── [ 18K] VTS_01_0.BUP<br>
│ ├── [ 18K] VTS_01_0.IFO<br>
│ ├── [3.6M] VTS_01_0.VOB<br>
│ ├── [ 32K] VTS_01_1.VOB<br>
│ ├── [ 18K] VTS_02_0.BUP<br>
│ ├── [ 18K] VTS_02_0.IFO<br>
│ ├── [ 32K] VTS_02_0.VOB<br>
│ └── [133M] VTS_02_1.VOB<br>
├── [4.0K] menu<br>
│ ├── [2.0K] menu_0_active_bg.png<br>
│ ├── [ 64K] menu_0_bg.png<br>
│ ├── [3.6M] menu_0B.mpg<br>
│ ├── [3.6M] menu_0.mpg<br>
│ ├── [2.0K] menu_0_selected_bg.png<br>
│ ├── [1.7K] menu_0_unselected_bg.png<br>
│ └── [ 442] menu_0.xml<br>
├── [4.0K] movies<br>
│ └── [133M] movie_0.mpg<br>
└── [4.0K] xml_data<br>
└── [1.7K] dvdauthor.xml<br>
<br>
6 directories, 21 files<br>
</blockquote>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</blockquote></div></div></div>
</blockquote></div></div></div>