From patchwork Mon Feb 11 13:13:01 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Helin X-Patchwork-Id: 12597 Received: from wx-out-0506.google.com ([66.249.82.239]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1JOYT1-0007vS-SW for vdr@linuxtv.org; Mon, 11 Feb 2008 14:13:04 +0100 Received: by wx-out-0506.google.com with SMTP id s11so3947077wxc.17 for ; Mon, 11 Feb 2008 05:13:02 -0800 (PST) Received: by 10.142.246.8 with SMTP id t8mr2970432wfh.8.1202735581314; Mon, 11 Feb 2008 05:13:01 -0800 (PST) Received: by 10.70.75.16 with HTTP; Mon, 11 Feb 2008 05:13:01 -0800 (PST) Message-ID: <3e063bbf0802110513g6c53314fvf01f6a9495936753@mail.gmail.com> Date: Mon, 11 Feb 2008 15:13:01 +0200 From: "Petri Helin" To: "VDR Mailing List" In-Reply-To: <2E23E13B715643699CE9F5C30211F32F@kent> MIME-Version: 1.0 References: <2l0j05-sb3.ln1@davide125.dyndns.org> <4763C547.1080009@googlemail.com> <2E23E13B715643699CE9F5C30211F32F@kent> Subject: Re: [vdr] demuxing subtitles with projectx X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 13:13:04 -0000 Status: O X-Status: X-Keywords: X-UID: 15675 On Feb 10, 2008 3:20 PM, Stefan Wagner wrote: > "Petri Helin" schrieb im Newsbeitrag > news:4763C547.1080009@googlemail.com... > > Has there been any progress regarding this issue? It looks like ProjectX > > will fail in case there are subtitles in a VDR recording made with > > version 1.5.10 or later, because ProjectX does not recognize them being > > subtitles and will eventually get stuck to an unending loop. What might > > be the major difference between the old subtitles plugin's way of saving > > subtitles and the way they are saved now? > > ProjectX 0.90.4.b22 works with vdr 1.5.x recordings. > > but with burn 0.1.0-pre21 i have problems with naming of audio files. > projectx beta named files other than old projectx. > > have anyone a fix for that? > Thanks for informing about the update. Seems to work now with recordings with dvb-subtitles from the Finnish broadcaster, YLE, too. Regarding the renaming of the audio files, I made a few changes in the Project-X in order to fix that: Don't know whether it is "the right way" but with a quick test it seems to work at least. -Petri --- parser/StreamProcessAudio.java.old 2008-02-11 15:09:21.000000000 +0200 +++ parser/StreamProcessAudio.java 2008-02-11 15:08:29.000000000 +0200 @@ -1861,8 +1861,8 @@ { for (int i = 1; i < 4; i++) { - str[0][i] += new_str_1; - str[1][i] += new_str_2; + str[0][i] = new_str_1; + str[1][i] = new_str_2; } }