<div dir="auto">so my  two patches tested on desktop with Terje's input file made it into playble by mplayer output<div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">bdwrite how reports</div><div dir="auto"><br></div><div dir="auto">warning bdwrite uses field into from stream<br></div><div dir="auto"><br></div><div dir="auto">so, more testing needed!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 8 нояб. 2022 г., 04:33 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">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">вт, 8 нояб. 2022 г., 00:36 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" target="_blank" rel="noreferrer">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 07.11.2022 21:32, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">пн, 7 нояб. 2022 г., 23:12
              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 07.11.2022 19:31, skrev Andrew Randrianasulu:<br>
                </div>
                <blockquote type="cite">
                  <div dir="auto">
                    <div><br>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">пн, 7 нояб.
                          2022 г., 21:27 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer 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 07.11.2022 18:58, skrev Andrew
                              Randrianasulu:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="auto">
                                <div><br>
                                  <br>
                                  <div class="gmail_quote">
                                    <div dir="ltr" class="gmail_attr">пн,
                                      7 нояб. 2022 г., 20:50 Andrew
                                      Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer
                                        noreferrer noreferrer noreferrer
                                        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">пн, 7
                                              нояб. 2022 г., 20:30
                                              Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer
                                                noreferrer noreferrer
                                                noreferrer noreferrer
                                                noreferrer 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">пн,
                                                      7 нояб. 2022 г.,
                                                      19:40 Andrew
                                                      Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer
                                                        noreferrer
                                                        noreferrer
                                                        noreferrer
                                                        noreferrer
                                                        noreferrer
                                                        noreferrer
                                                        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">пн, 7 нояб. 2022 г., 19:10 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer
                                                          noreferrer
                                                          noreferrer
                                                          noreferrer
                                                          noreferrer
                                                          noreferrer
                                                          noreferrer
                                                          noreferrer
                                                          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">Because
                                                          old thread 
                                                          now a bit too
                                                          big for mobile
                                                          gmail  client.</div>
                                                          </blockquote>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </blockquote>
                                                  </div>
                                                </div>
                                              </div>
                                            </blockquote>
                                          </div>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                            <br>
                            Yes, I also discovered that and thougt we
                            should continue on another thread<br>
                            (though Thunderbird/IMAP on my Ultrabook had
                            no problems)<br>
                            <br>
                            <br>
                            <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 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 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 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 dir="auto">
                                                          <div dir="auto"><br>
                                                          </div>
                                                          <div dir="auto">Yes,
                                                          I'll try to
                                                          see if it
                                                          fails same way
                                                          on my end. </div>
                                                          <div dir="auto"><br>
                                                          </div>
                                                          <div dir="auto">code
                                                          seems to check
                                                          first 100
                                                          frames</div>
                                                          <div dir="auto"><br>
                                                          </div>
                                                          <div dir="auto"><br>
                                                          </div>
                                                          <div dir="auto">
                                                          <div dir="auto">2528
                                                          static int
                                                          field_probe(AVFormatContext
                                                          *fmt_ctx,
                                                          AVStream *st)</div>
                                                          <div dir="auto">2529
                                                          {</div>
                                                          <div dir="auto">2530 
                                                           AVDictionary
                                                          *copts = 0;</div>
                                                          <div dir="auto">2531 
 //av_dict_copy(&copts, opts, 0);</div>
                                                          <div dir="auto">2532 
                                                           AVCodecID
                                                          codec_id =
                                                          st->codecpar->codec_id;</div>
                                                          <div dir="auto">2533
                                                          #if
                                                          LIBAVCODEC_VERSION_INT
                                                          <=
                                                          AV_VERSION_INT(58,134,100)</div>
                                                          <div dir="auto">2534 
                                                           AVCodec
                                                          *decoder =
                                                          avcodec_find_decoder(codec_id);</div>
                                                          <div dir="auto">2535
                                                          #endif</div>
                                                          <div dir="auto">2536
                                                          #if
                                                          LIBAVCODEC_VERSION_INT
                                                          >=
                                                          AV_VERSION_INT(59,16,100)</div>
                                                          <div dir="auto">2537 
                                                           const AVCodec
                                                          *decoder =
                                                          avcodec_find_decoder(codec_id);</div>
                                                          <div dir="auto">2538
                                                          #endif</div>
                                                          <div dir="auto">2539 
 AVCodecContext *ctx = avcodec_alloc_context3(decoder);</div>
                                                          <div dir="auto">2540 
                                                           if( !ctx ) {</div>
                                                          <div dir="auto">2541 
                                                           
                                                           fprintf(stderr,"codec
                                                          alloc
                                                          failed\n");</div>
                                                          <div dir="auto">2542 
                                                             return -1;</div>
                                                          <div dir="auto">2543 
                                                           }</div>
                                                          <div dir="auto">2544 
 avcodec_parameters_to_context(ctx, st->codecpar);</div>
                                                          <div dir="auto">2545 
                                                           if(
                                                          avcodec_open2(ctx,
                                                          decoder,
                                                          &copts)
                                                          < 0 ) {</div>
                                                          <div dir="auto">2546 
                                                           
                                                           fprintf(stderr,"codec
                                                          open
                                                          failed\n");</div>
                                                          <div dir="auto">2547 
                                                             return -1;</div>
                                                          <div dir="auto">2548 
                                                           }</div>
                                                          <div dir="auto">2549 
 av_dict_free(&copts);</div>
                                                          <div dir="auto">2550 </div>
                                                          <div dir="auto">2551 
                                                           AVFrame *ipic
                                                          =
av_frame_alloc();</div>
                                                          <div dir="auto">2552 
                                                           AVPacket
                                                          ipkt;</div>
                                                          <div dir="auto">2553 
 av_init_packet(&ipkt);</div>
                                                          <div dir="auto">2554 
                                                           int ilaced =
                                                          -1;</div>
                                                          <div dir="auto">2555 
                                                           for( int
                                                          retrys=100;
                                                          --retrys>=0
                                                          &&
                                                          ilaced<0; )
                                                          {</div>
                                                          <div dir="auto">2556 
                                                           
                                                           av_packet_unref(&ipkt);</div>
                                                          <div dir="auto">2557 
                                                             int ret =
                                                          av_read_frame(fmt_ctx,
                                                          &ipkt);</div>
                                                          <div dir="auto">2558 
                                                             if( ret ==
                                                          AVERROR_EOF )
                                                          break;</div>
                                                          <div dir="auto">2559 
                                                             if( ret !=
                                                          0 ) continue;</div>
                                                          <div dir="auto">2560 
                                                             if(
                                                          ipkt.stream_index
                                                          !=
                                                          st->index )
                                                          continue;</div>
                                                          <div dir="auto">2561 
                                                             if(
                                                          !ipkt.data ||
                                                          !ipkt.size )
                                                          continue;</div>
                                                          <div dir="auto">2562 
                                                             ret =
                                                          avcodec_send_packet(ctx,
                                                          &ipkt);</div>
                                                          <div dir="auto">2563 
                                                             if( ret
                                                          < 0 ) {</div>
                                                          <div dir="auto">2564 
                                                             
                                                           fprintf(stderr,
"avcodec_send_packet failed\n");</div>
                                                          <div dir="auto">2565 
                                                               break;</div>
                                                          <div dir="auto">2566 
                                                             }</div>
                                                          <div dir="auto">2567 
                                                             ret =
                                                          avcodec_receive_frame(ctx,
                                                          ipic);</div>
                                                          <div dir="auto">2568 
                                                             if( ret
                                                          >= 0 ) {</div>
                                                          <div dir="auto">2569 
                                                               ilaced =
ipic->interlaced_frame ? 1 : 0;</div>
                                                          <div dir="auto">2570 
                                                               break;</div>
                                                          <div dir="auto">2571 
                                                             }</div>
                                                          <div dir="auto">2572 
                                                             if( ret !=
AVERROR(EAGAIN) )</div>
                                                          <div dir="auto">2573 
                                                             
                                                           fprintf(stderr,
"avcodec_receive_frame failed %d\n", ret);</div>
                                                          <div dir="auto">2574 
                                                           }</div>
                                                          <div dir="auto">2575 
 av_packet_unref(&ipkt);</div>
                                                          <div dir="auto">2576 
 av_frame_free(&ipic);</div>
                                                          <div dir="auto">2577 
 avcodec_free_context(&ctx);</div>
                                                          <div dir="auto">2578 
                                                           return
                                                          ilaced;</div>
                                                          <div dir="auto"><br>
                                                          </div>
                                                          <div dir="auto">may
                                                          be we can add
                                                          flags to force
                                                          interlaced vs
                                                          progressive to
                                                          bdwrite ...
                                                          and/or debug
                                                          why it fails.</div>
                                                          <div dir="auto"><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                        </div>
                                                        <div dir="auto"><br>
                                                        </div>
                                                        <div dir="auto">sorry,
                                                          not m2t or
                                                          m2ts files
                                                          were found on
                                                          my main
                                                          harddrive, so
                                                          blind shot!</div>
                                                        <div dir="auto"><br>
                                                        </div>
                                                        <div dir="auto">Terje,
                                                          can you
                                                          recompile
                                                          bdwrite with
                                                          attached patch
                                                          and see if it
                                                          improves
                                                          situation?</div>
                                                      </div>
                                                    </blockquote>
                                                  </div>
                                                </div>
                                              </div>
                                            </blockquote>
                                          </div>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                            <br>
                            I hope to avoid recompiling my ultrabook,
                            where I just have installed the CinGG
                            appimage<br>
                             <br>
                            <br>
                            <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 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 dir="auto">
                                                <div dir="auto"><br>
                                                </div>
                                                <div dir="auto"><br>
                                                </div>
                                                <div dir="auto">err, I
                                                  think second patch
                                                  also needed, because
                                                  ilace in bdwrite is
                                                  just 1/0/-1 not more
                                                  detailed.</div>
                                              </div>
                                            </blockquote>
                                          </div>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">finally found
                                          m2t file, for me bdwrite does
                                          not complain but resulting
                                          file is unplayable</div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                            <br>
                            Note:<br>
                            I just used the short m2t file you linked
                            to; maybe it is to short for interlace
                            probe?<br>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">may be! try to cp it under few
                      different names then cat them together to get
                      longer file?</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>  <br>
                            <blockquote>
                              <div dir="auto">this one contain real very
                                short hdv sample with mp2 sound</div>
                              <a href="http://twenkid.com/os/3.m2t" rel="noreferrer noreferrer noreferrer
                                noreferrer noreferrer noreferrer
                                noreferrer noreferrer noreferrer noreferrer" target="_blank">http://twenkid.com/os/3.m2t</a><br>
                            </blockquote>
                            <br>
                            <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 dir="auto">
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">note I used -b
                                          switch for new mkudffs so it
                                          works with 2048 blocks and not
                                          default 512 <br>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                            <br>
                            I used the plain manual step 3 without -b,
                            as also used for 2048 blocks in the sample
                            step 2 ?<br>
                            I 'll do a new attempt with -b and reort the
                            result<br>
                            <br>
                            <br>
                            <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 dir="auto">
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">root@slax:/tmp#
                                          mkudffs -b 2048
                                          /tmp/newfilename.udfs 25915   
                                                 
                                           filename=/tmp/newfilename.udfs 
                                                                       
                                              label=LinuxUDF           
                                                                       
                                                         
                                          uuid=6369651cdf849fbf         
                                                                       
                                                    blocksize=2048     
                                                                       
                                                               
                                          blocks=25915                 
                                                                       
                                                      udfrev=2.01       
                                                                       
                                                                 </div>
                                        <div dir="auto">start=0,
                                          blocks=16, type=ERASE         
                                                                       
                                          start=16, blocks=4, type=VRS 
                                                                       
                                                      start=20,
                                          blocks=76, type=ERASE         
                                                                     
                                          start=96, blocks=16,
                                          type=MVDS                     
                                                        start=112,
                                          blocks=16, type=ERASE         
                                                              start=128,
                                          blocks=4, type=LVID           
                                                              start=132,
                                          blocks=124, type=ERASE       
                                                          start=256,
                                          blocks=1, type=ANCHOR         
                                            </div>
                                        <div dir="auto">start=257,
                                          blocks=25400, type=PSPACE     
                                          start=25657, blocks=1,
                                          type=ERASE    </div>
                                        <div dir="auto">start=25658,
                                          blocks=1, type=ANCHOR         
                                                             
                                          start=25659, blocks=69,
                                          type=ERASE                   
                                                     start=25728,
                                          blocks=16, type=RVDS         
                                                               
                                           start=25744, blocks=170,
                                          type=ERASE                   
                                                  start=25914, blocks=1,
                                          type=ANCHOR                   
                                                     </div>
                                        <div dir="auto">root@slax:/tmp#
                                          mount -o loop
                                          /tmp/newfilename.udfs
                                          /mnt/test           </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">root@slax:/tmp#
                                          bdwrite /mnt/test
                                          /home/guest/20081103140154.m2t 
                                                </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">root@slax:/tmp#
                                          umount /mnt/test<br>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">playing result
                                          in many</div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">root@slax:/tmp#
                                          mplayer -vo null
                                          br://tmp/newfilename.udfs     
                                                </div>
                                        <div dir="auto">  MPlayer
                                          UNKNOWN-11.2.0 (C) 2000-2022
                                          MPlayer Team           </div>
                                        <div dir="auto"> do_connect:
                                          could not connect to socket   
                                                               connect:
                                          No such file or directory     
                                                     </div>
                                        <div dir="auto"> Failed to open
                                          LIRC support. You will not be
                                          able to use your remote
                                          control.                     
                                                                       
                                                                       
                                                                       
                                                                   
                                           Playing
                                          br://tmp/newfilename.udfs.   
                                                                       
                                             The hostname option must be
                                          an integer: tmp             
                                          Struct bluray, field hostname
                                          parsing error: tmp           
                                           libavformat version 59.33.100
                                          (internal)                   
                                                 bluray.c:707: Skipping
                                          broken unit at 0             
                                                          bluray.c:255:
                                          00000.m2ts: no timestamp for
                                          SPN 0 (got 0). clip
                                          46909800-47511000.           
                                                                   
                                           bluray.c:707: Skipping broken
                                          unit at 0                     
                                                  bluray.c:707: Skipping
                                          broken unit at 6144           
                                                      bluray.c:255:
                                          00000.m2ts: no timestamp for
                                          SPN 0 (got 0). clip
                                          46909800-47511000.           
                                                                   
                                           bluray.c:707: Skipping broken
                                          unit at 0                     
                                                   bluray.c:707:
                                          Skipping broken unit at 6144 
                                                           
                                           bluray.c:707: Skipping broken
                                          unit at 12288                 
                                            bluray.c:707: Skipping
                                          broken unit at 18432         
                                                    bluray.c:707:
                                          Skipping broken unit at 24576<br>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">{and so on}</div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">on the other hand
                                  reencoding audio like this</div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">root@slax:/tmp# ffmpeg
                                  -i /home/guest/20081103140154.m2t -c:v
                                  copy -c:a ac3 -b:a 384k 2008.m2ts<br>
                                </div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">and repeating steps with
                                  mkudffs / mount /bdwrite /umount
                                  resulted in working in mplayer file!</div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">I have 'old' 4.4 ffmpeg,
                                  so no bluray encoding for me.</div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">also, I used wcalc as
                                  console calc</div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto"><br>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <br>
                I discovered I had wrong calculated the file size in kb
                instead of bytes, but this didn't change anything, <br>
                <br>
                I attach my 8.7 Mb (small) output.mts with pcm_bluray
                audio created with ffmpeg-5.1.2 on Tumleweed, so you can
                try it.<br>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">thanks, I just copied m2ts file from my desktop
          vua ssh to my tablet, run ffmpeg 5.1.2 on it, moved result
          back to desktop and created bd - no error ...</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">it also play in mplayer and it says</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Selected audio codec: [fflpcm] afm: ffmpeg
          (Blu-ray LPCM)<br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">procedure on filecopy</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">~ $ scp
          <a href="mailto:guest@192.168.1.102:/home/guest/20081103140154.m2t" rel="noreferrer noreferrer" target="_blank">guest@192.168.1.102:/home/guest/20081103140154.m2t</a> .<br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">note dot at the end, I copied in current folder</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">~ $ ffmpeg -i 20081103140154.m2t -c:v copy -c:a
          pcm_bluray 2008_pcm.m2ts<br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">
          <div dir="auto">~ $ mpv 2008_pcm.m2ts</div>
          <div dir="auto">     Video --vid=1 (mpeg2video 1440x1080
            25.000fps)</div>
          <div dir="auto"> (+) Audio --aid=1 (pcm_bluray 2ch 48000Hz)</div>
          <div dir="auto">AO: [opensles] 48000Hz stereo 2ch s16</div>
          <div dir="auto">A: 00:00:13 / 00:00:13 (97%)</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Exiting... (End of file)</div>
          <div dir="auto">~ $ scp 2008_pcm.m2ts
            <a href="mailto:guest@192.168.1.102:/home/guest" rel="noreferrer noreferrer" target="_blank">guest@192.168.1.102:/home/guest</a></div>
          <div dir="auto"><a href="mailto:guest@192.168.1.102" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">guest@192.168.1.102</a>'s
            password:</div>
          <div dir="auto">2008_pcm.m2ts                         100% 
             45MB   5.8MB/s   00:07</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">and via ssh on desktop (102):</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">root@slax:/tmp# du -sb 2008_pcm.m2ts         
                                      47020032        2008_pcm.m2ts     
                                      root@slax:/tmp# mkudffs -b 2048
            /tmp/newfilename.udfs 27055<br>
          </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">root@slax:/tmp# mount -o loop
            /tmp/newfilename.udfs /mnt/test           root@slax:/tmp#
            bdwrite /mnt/test 2008_pcm.m2ts     root@slax:/tmp# umount
            /mnt/test                                   root@slax:/tmp#
            mplayer -vo null -demuxer mpeg br://tmp/newfilename.udfs<br>
          </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">it seems to work.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">So, I see no other way for you but compile
            Cingg/bdwrite with two patches I provided and see if they
            improve situation ... (or may be Phyllis will make special
            appimage for you)</div>
        </div>
      </div>
    </blockquote>
    <br>
    Nice you got it to work :) <br>
    <br>
    Could you also test the same with the output.mts file I sent you and
    list up the steps and output you get.<br>
    This so I can verify if I have managed to enter something wrong, or
    if it is due to your patched bdwrite.<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">with normal (not patched) bdwrite and your file I also got</div><div dir="auto"><br></div><div dir="auto">bdwrite /mnt/test /dev/shm/output.mts                   interlace probe failed<br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">so, next step is compile cingg on my desktop :)</div><div dir="auto"><br></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>
     <br>
    <blockquote type="cite">
      <div dir="auto">
        <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> <br>
                So I sixdoubled this with cat to the bigger 53 Mb
                Output.mts<br>
                <br>
                But sorry, got the same interlace probe error from
                bdwite<br>
                and no content files in the BDMV structure<br>
                <br>
                <br>
                <br>
                <br>
                <br>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div></div></div>
</blockquote></div>