[vdr] demuxing subtitles with projectx

Stefan Wagner stefanwag at gmx.at
Mon Feb 11 21:26:29 CET 2008


Petri Helin <phelin at googlemail.com> wrote:
> 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:
> 
> --- 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;
>                }
>        }
> 
> 
> Don't know whether it is "the right way" but with a quick test it seems to
> work at least.

hm, with a recording from zdf with 2 mpa streams i become this:

-rw-rw-r-- 1 vdr vdr 3638016 11. Feb 21:13 vdrsync-02.mpa
prw-rw-r-- 1 vdr vdr       0 11. Feb 21:12 vdrsync0.mpa
prw-rw-r-- 1 vdr vdr       0 11. Feb 21:12 vdrsync1.mpa
-rw-rw-r-- 1 vdr vdr 1819008 11. Feb 21:13 vdrsync.mpa

vdrsync0.mpa and vdrsync1.mpa only 0 byte, and burn waits for anything.

with 1 audio stream:
prw-rw-r-- 1 vdr vdr       0 11. Feb 21:24 vdrsync1.mpa
-rw-rw-r-- 1 vdr vdr 3638016 11. Feb 21:24 vdrsync.mpa

and the dvd will be created.

Stefan




More information about the vdr mailing list