Re: How to split one MPEG2-PS file into several titles for dvdauthor?

Martin Hilpert <[email protected]> Tue, 24 Feb 2015 00:38:39 +0100
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============7914217720210086781==
Content-Type: multipart/alternative;
	boundary="------------010106030700050001050600"

This is a multi-part message in MIME format.
--------------010106030700050001050600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

For cutting mpeg-files, I recomend to use the 2 freeware programs 
/*ProjectX*/ and*/Cuttermaran/* ,
ProjectX for demuxing video- and audiostreams, Cuttermaran for cutting. 
You can download them  from:
http://www.chip.de/downloads/ProjectX_15629057.html
http://www.chip.de/downloads/Cuttermaran_13014746.html

Am 22.02.2015 21:56, schrieb Lev Serebryakov:
> Hello Dvdauthor-users,
>
>    I have one big PAL-DVD MPEG2 file (720x567, DAT=16:9, one stream of MP2
>   audio). It was prepared with
>
> ffmpeg -y -i in.mp4 --format pal-dvd -f dvd -q:v 1 -pass 1/2 title.mpg
>
>   This file works with dvdauthor, as one title.
>
>   But I want to split it to several titles (in one title set), because
> chapters is very limited: for example, it is not possible to add conditional
> jump to end of chapter.
>
>   How could I do such split? I have 11 split points, accurate up to second,
> and I understand, that proper split could be done only at I frame points, so
> resulting splitting point could be slightly shifted. It is Ok.
>
>   I've tried this (I'm showing only 2 splitting points here, not 11):
>
> ffmpeg -y -i title.mpg \
>   -f dvd -codec:v copy -codec:a copy -to 00:00:20 -sn title_01.mpg \
>   -f dvd -codec:v copy -codec:a copy -ss 00:00:20 -to 00:04:40 -sn
>     title_02.mpg \
>   -f dvd -codec:v copy -codec:a copy -ss 00:57:10 -sn "title_12.mpg"
>
>
>   But afdter this, dvdauthor refuse to use this files, even after remux (but
> not recode, of course!) with DVDStyler. Error occurs on second file and
> message is:
>
> STAT: Processing dvd-cache/entry042.vob...
> STAT: VOBU 50 at 11MB, 10 PGCs
> ...
> STAT: VOBU 466 at 114MB, 10 PGCs
> ERR: Cannot infer pts for VOBU if there is no audio or video and it is the
> ERR: first VOBU.
>
>   But here is a clue: file in question is only 112328704 bytes long! Looks
> like, I'm splitting PS wrong!
>
>   What is proper way to split MPEG2-PS stream for using resulting chunks as
> titles with dvdauthor, to have all frames & smooth transitions between them?
>


--------------010106030700050001050600
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">For cutting mpeg-files, I recomend to
      use the 2 freeware programs&nbsp; <i><b>ProjectX</b></i> and<b><i>
          Cuttermaran</i></b> , <br>
      ProjectX for demuxing video- and audiostreams, Cuttermaran for
      cutting. You can download them&nbsp; from:<br>
      <a href="http://www.chip.de/downloads/ProjectX_15629057.html">http://www.chip.de/downloads/ProjectX_15629057.html</a><br>
      <a href="http://www.chip.de/downloads/Cuttermaran_13014746.html">http://www.chip.de/downloads/Cuttermaran_13014746.html</a><br>
      <br>
      Am 22.02.2015 21:56, schrieb Lev Serebryakov:<br>
    </div>
    <blockquote cite="mid:2510394183.20150222235603-ucEfoC9qvCSoyudp1oBKBy8mxiWnj2XH@public.gmane.org"
      type="cite">
      <pre wrap="">Hello Dvdauthor-users,

  I have one big PAL-DVD MPEG2 file (720x567, DAT=16:9, one stream of MP2
 audio). It was prepared with

ffmpeg -y -i in.mp4 --format pal-dvd -f dvd -q:v 1 -pass 1/2 title.mpg

 This file works with dvdauthor, as one title.

 But I want to split it to several titles (in one title set), because
chapters is very limited: for example, it is not possible to add conditional
jump to end of chapter.

 How could I do such split? I have 11 split points, accurate up to second,
and I understand, that proper split could be done only at I frame points, so
resulting splitting point could be slightly shifted. It is Ok.

 I've tried this (I'm showing only 2 splitting points here, not 11):

ffmpeg -y -i title.mpg \
 -f dvd -codec:v copy -codec:a copy -to 00:00:20 -sn title_01.mpg \
 -f dvd -codec:v copy -codec:a copy -ss 00:00:20 -to 00:04:40 -sn
   title_02.mpg \
 -f dvd -codec:v copy -codec:a copy -ss 00:57:10 -sn "title_12.mpg"


 But afdter this, dvdauthor refuse to use this files, even after remux (but
not recode, of course!) with DVDStyler. Error occurs on second file and
message is:

STAT: Processing dvd-cache/entry042.vob...
STAT: VOBU 50 at 11MB, 10 PGCs
...
STAT: VOBU 466 at 114MB, 10 PGCs
ERR: Cannot infer pts for VOBU if there is no audio or video and it is the
ERR: first VOBU.

 But here is a clue: file in question is only 112328704 bytes long! Looks
like, I'm splitting PS wrong!

 What is proper way to split MPEG2-PS stream for using resulting chunks as
titles with dvdauthor, to have all frames &amp; smooth transitions between them?

</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------010106030700050001050600--


--===============7914217720210086781==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
--===============7914217720210086781==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

--===============7914217720210086781==--