<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">Den 22.01.2024 17:00, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky5pAo1z=vAxCpi3=TgCtqjbgLyLVQOU_Kpon5GUyqrQOA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">пн, 22 янв. 2024 г., 18:39
              Terje J. Hanssen <<a
                href="mailto:terjejhanssen@gmail.com"
                moz-do-not-send="true" class="moz-txt-link-freetext">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 22.01.2024 15:05, skrev Andrew Randrianasulu:<br>
                </div>
                <blockquote type="cite">
                  <div dir="auto">
                    <div><br>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">пн, 22 янв.
                          2024 г., 16:18 Terje J. Hanssen <<a
                            href="mailto:terjejhanssen@gmail.com"
                            target="_blank" rel="noreferrer"
                            moz-do-not-send="true"
                            class="moz-txt-link-freetext">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 20.01.2024 23:31, skrev Andrew
                              Randrianasulu:<br>
                            </div>
                            <br>
                             <br>
                            <blockquote type="cite">
                              <div dir="auto">
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">I am definitely very
                                  much want to have as error-free
                                  transcode (and as little transcode as
                                  possible in general) as you, for same
                                  reason.</div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">I am not sure you can
                                  absolutely trust ffmpeg for not doing
                                  any conversion by default. For example
                                  6.1 seems to upconvert 16 bit audio
                                  when you select dvd_pcm audio output.</div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">/dev/shm/ffmpeg/ffmpeg
                                  -i /home/guest/CIN51.mp4 -target
                                  pal-dvd -c:a pcm_dvd -f dvd
                                  /dev/shm/cin51.mpeg<br>
                                </div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">ah, it only does so if
                                  decoder output floats by default (aac,
                                  may be mp3 too?)</div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">for dv it was 16 to 16.</div>
                              </div>
                            </blockquote>
                            <br>
                            I haven't succeeded to get DeVeDe to author
                            DVD and create iso again from the ffmpeg
                            encoded and muxed mpg with 16-bit lpcm from
                            dv input. No error from ffmpeg and ok
                            playback of the mpg using VLC. So it is
                            possibly or seemingly working(?) <br>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Just to add here that DevedeNG "works fine again" without
    re-encoding from ffmpeg mpg, as  possibly seen my DVD posts lately.
    If I did note my previous procedure wrongly or they have changed its
    behavior, I don't  know.  The important thing is on its <Misc>
    tab to select<br>
    <blockquote>    *This file is already a DVD/xCD-suitable MPEG-PS
      file<br>
          o<br>
          *Keep default: Use a GOP of 12 frames (improves compatibility)<br>
    </blockquote>
    If it may be of interest to see how DevedeNG manges this, I can
    possibly attach its debug log (long)?<br>
    <br>
    <blockquote type="cite"
cite="mid:CA+rFky5pAo1z=vAxCpi3=TgCtqjbgLyLVQOU_Kpon5GUyqrQOA@mail.gmail.com">
      <div dir="auto">
        <div>
          <div class="gmail_quote">
            <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <blockquote type="cite">
                  <div dir="auto">
                    <div>
                      <div class="gmail_quote">
                        <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div> <br>
                            My follow-up question is if it possible in
                            some way to "feed or code" a similar command
                            line to FFmpeg in CinGG's DVD Create window,
                            and possibly get the DVD structure and iso
                            from this mpg?<br>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">I was trying to make this happen,
                      but while ffmpeg shows no error on muxing -  next
                      stage (dvdauthor) reports some warnings and more
                      importantly resulted iso folder not seekable when
                      played by mpv (mplex muxed one works).</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">So I am stuck a bit on using ffmpeg
                      as dvd muxer ... May be if we let it encode both
                      audio and video in one pass result will be more
                      satisfactory?</div>
                    <div dir="auto"><br>
                    </div>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
        </div>
        <br>
        <div dir="auto">"The question here is if pcm_dvd audio has been
          changed or "transcoded" </div>
        <pre>from "PCM signed 20|24-bit big-endian" to 16 bits?"

</pre>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I think ffmpeg 6.1 defaulted to s32 audio
          conversion by default. So if input was 24 bit or float it
          should be encoded as 24bit dvd pcm audio.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">20 bit probably still not plumbed in inside
          ffmpeg correctly.</div>
        <div dir="auto"><br>
        </div>
      </div>
    </blockquote>
    <br>
    Lately I have got and use ffmpeg 6.1.1 from Packman on Leap 15.5<br>
    <br>
    <blockquote><font face="Courier New, Courier, monospace">S  |
        Name     | Type  | Version             | Arch   | Repository<br>
---+----------+-------+---------------------+--------+-----------<br>
        i+ | ffmpeg-6 | pakke | 6.1.1-150500.3.pm.2 | x86_64 | Packman</font><br>
    </blockquote>
    <br>
    Queyring about pcm_dvd and pcm_bluray verify that the
    encoder/decoder/codecs at least now have support for 16|20|24-bit
    big-endian<br>
    <font face="Courier New, Courier, monospace"><br>
    </font>
    <blockquote><font face="Courier New, Courier, monospace">ffmpeg
        -hide_banner -encoders | egrep "dvd|bluray" </font><br>
      <font face="Courier New, Courier, monospace"> A....D
        pcm_bluray           PCM signed 16|20|24-bit big-endian for
        Blu-ray media</font><br>
      <font face="Courier New, Courier, monospace"> A....D
        pcm_dvd              PCM signed 16|20|24-bit big-endian for DVD
        media</font><br>
      <font face="Courier New, Courier, monospace"> S.....
        dvdsub               DVD subtitles (codec dvd_subtitle)</font><br>
      <br>
      <font face="Courier New, Courier, monospace">ffmpeg -hide_banner
        -decoders | egrep "dvd|bluray" </font><br>
      <font face="Courier New, Courier, monospace"> A....D
        pcm_bluray           PCM signed 16|20|24-bit big-endian for
        Blu-ray media</font><br>
      <font face="Courier New, Courier, monospace"> A....D
        pcm_dvd              PCM signed 16|20|24-bit big-endian for DVD
        media</font><br>
      <font face="Courier New, Courier, monospace"> S.....
        dvdsub               DVD subtitles (codec dvd_subtitle)</font><br>
      <font face="Courier New, Courier, monospace"> S.....
        microdvd             MicroDVD subtitle</font><br>
      <font face="Courier New, Courier, monospace">terje@localhost:~>
      </font><br>
      <br>
      <font face="Courier New, Courier, monospace">ffmpeg -hide_banner
        -codecs | egrep "dvd|bluray" </font><br>
      <font face="Courier New, Courier, monospace"> DEAI.S
        pcm_bluray           PCM signed 16|20|24-bit big-endian for
        Blu-ray media</font><br>
      <font face="Courier New, Courier, monospace"> DEAI.S
        pcm_dvd              PCM signed 20|24-bit big-endian</font><br>
      <font face="Courier New, Courier, monospace"> ..D...
        dvd_nav_packet       DVD Nav packet</font><br>
      <font face="Courier New, Courier, monospace"> DES...
        dvd_subtitle         DVD subtitles (decoders: dvdsub) (encoders:
        dvdsub)</font><br>
      <font face="Courier New, Courier, monospace"> D.S...
        microdvd             MicroDVD subtitle</font><br>
    </blockquote>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>