How to split one MPEG2-PS file into several titles for dvdauthor?
Lev Serebryakov <[email protected]> Sun, 22 Feb 2015 23:56:03 +0300
| Newsgroups | gmane.comp.multimedia.dvdauthor.user |
|---|---|
| Message-ID | <[email protected]> |
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? -- Best regards, Lev mailto:[email protected] ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk